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

Expanded codes of Value set with filter "op" : "is-not-a" includes the code that should not be included #2801

Closed
aswathikrishnan24 opened this issue Jun 25, 2024 · 0 comments · Fixed by #2847
Assignees

Comments

@aswathikrishnan24
Copy link

Describe the bug

Value set http://hl7.org/fhir/ValueSet/patient-contactrelationship(326) expanded by car tool for us core package has a filter "op" : "is-not-a". But O is included in the expanded value sets.

 "compose" : {
    "include" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/v2-0131",
      "filter" : [{
        "property" : "concept",
        "op" : "is-not-a",
        "value" : "O"
      }]
    }]
  }

Expanded value set
BP
C
CP
E
EP
F
I
N
O
PR
S
U

To Reproduce
Steps to reproduce the behavior:

  1. Verify the Code system and the filter in Value set : https://hl7.org/fhir/R4/valueset-patient-contactrelationship.json.html
  2. Verify the Codes from Code system : https://terminology.hl7.org/5.5.0/CodeSystem-v2-0131.json.html
  3. Use latest car file of Us-core-test-5.0.1 generated by car tool 2.1.2
  4. Go to Codes Table and navigate to Value set Id 326
  5. Verify the Codes

Expected behavior
Code O should be omitted and not displayed in Codes Table.

Version used:
FHIR Version: [R4]
Car tool Version: [2.1.2]
Us-core-test-5.0.1 package

@aswathikrishnan24 aswathikrishnan24 changed the title Value set with filter "op" : "is-not-a" includes the code that has to be not included Value set with filter "op" : "is-not-a" includes the code that should not be included Jun 25, 2024
@aswathikrishnan24 aswathikrishnan24 changed the title Value set with filter "op" : "is-not-a" includes the code that should not be included Expanded codes of Value set with filter "op" : "is-not-a" includes the code that should not be included Jun 25, 2024
@mmsmits mmsmits self-assigned this Aug 27, 2024
mmsmits added a commit that referenced this issue Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants