Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] ValueSet $expand doesn't always return a display #562

Open
vesnushka opened this issue Jun 15, 2023 · 0 comments
Open

[BUG] ValueSet $expand doesn't always return a display #562

vesnushka opened this issue Jun 15, 2023 · 0 comments
Labels

Comments

@vesnushka
Copy link

Describe the bug

ValueSet $expand doesn't always return a display

Severity

Major

Steps to reproduce the behavior:

  1. Load terminology http://hl7.org/fhir/ValueSet/yesnodontknow
  2. In REST console try GET /ValueSet/yesnodontknow/$expand
    It returns the result with missing display for Y and N code
...
name: Yes-No-Don't-Know
resourceType: ValueSet
expansion:
  timestamp: 2023-06-15T12:35:09.464Z
  identifier: http://hl7.org/fhir/ValueSet/yesnodontknow
  contains:
    - code: 'N'
      system: http://terminology.hl7.org/CodeSystem/v2-0532
    - code: asked-unknown
      system: http://terminology.hl7.org/CodeSystem/data-absent-reason
      display: Don't know
    - code: 'Y'
      system: http://terminology.hl7.org/CodeSystem/v2-0532
...
id: yesnodontknow
url: http://hl7.org/fhir/ValueSet/yesnodontknow
version: 4.0.1
_source: zen.fhir
...
  1. Meanwhile trying GET /ValueSet/yesnodontknow in REST console
    returns correct ValueSet with all the displays
...
name: Yes-No-Don't-Know
resourceType: ValueSet
expansion:
  contains:
    - code: 'Y'
      system: http://terminology.hl7.org/CodeSystem/v2-0136
      display: 'Yes'
    - code: 'N'
      system: http://terminology.hl7.org/CodeSystem/v2-0136
      display: 'No'
    - code: asked-unknown
      system: http://terminology.hl7.org/CodeSystem/data-absent-reason
      display: Don't know
  timestamp: '2015-07-14T10:00:00Z'
  identifier: urn:uuid:bf99fe50-2c2b-41ad-bd63-bee6919810b4
...
id: yesnodontknow
url: http://hl7.org/fhir/ValueSet/yesnodontknow
version: 4.0.1
_source: zen.fhir

Expected behavior

Request /ValueSet/yesnodontknow/$expand has to return ValueSet with all the displays

...
name: Yes-No-Don't-Know
resourceType: ValueSet
expansion:
  ...
  contains:
    - code: 'N'
      system: http://terminology.hl7.org/CodeSystem/v2-0532
      display: 'No'
    - code: asked-unknown
      system: http://terminology.hl7.org/CodeSystem/data-absent-reason
      display: Don't know
    - code: 'Y'
      system: http://terminology.hl7.org/CodeSystem/v2-0532
      display: 'Yes'
...

Versions:

  • Aidbox image version:

edge
v:2306.9241f01f

@vesnushka vesnushka added the bug label Jun 15, 2023
@vesnushka vesnushka changed the title [BUG] ValueSet $expand doesn't always return a display [BUG] Jun 15, 2023
@vesnushka vesnushka changed the title ValueSet $expand doesn't always return a display [BUG] [BUG] ValueSet $expand doesn't always return a display Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant