Skip to content

wrong for multi-system ValueSet (dev only) #92

@jmandel

Description

@jmandel

Bug

The jurisdiction ValueSet (two code systems) reports total=789 but actually contains 1000+ concepts. The server appears to count only one of the included systems when computing total.

Repro

curl -s 'https://tx-dev.fhir.org/r4/ValueSet/$expand?url=http://hl7.org/fhir/ValueSet/jurisdiction&count=1000' \
  -H 'Accept: application/fhir+json' | jq '{total: .expansion.total, returned: (.expansion.contains | length)}'
# Returns: {"total": 789, "returned": 1000}
# Expected: total >= returned

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions