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

Profile validation fails for il.core.fhir.r4 #4253

Open
abanadisc opened this issue Nov 5, 2024 · 0 comments
Open

Profile validation fails for il.core.fhir.r4 #4253

abanadisc opened this issue Nov 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@abanadisc
Copy link

Describe the bug
Profile validation seems to fail for a il.core.fhir.r4 profile (https://simplifier.net/packages/il.core.fhir.r4). Validating a patient gets this error:
Code 'http://fhir.health.gov.il/identifier/il-national-id' is not a valid member of ValueSet with URL=http://fhir.health.gov.il/ValueSet/passport-uri and version=0.15.3

Environment
Which version of LinuxForHealth FHIR Server?
Version 5.1.1 of fhir-validation and fhir-profile.

To Reproduce
Steps to reproduce the behavior:

  1. Load il.core.fhir.r4 profile (https://simplifier.net/packages/il.core.fhir.r4) and all its dependencies
  2. Make a $validate call for /Patient/$validate?profile=http://fhir.health.gov.il/StructureDefinition/il-core-patient|0.15.3
    The body of the request is the "patient-with-israeli-id" example (https://simplifier.net/packages/il.core.fhir.r4/0.15.4/files/2636174)
  3. Error:
    Code 'http://fhir.health.gov.il/identifier/il-national-id' is not a valid member of ValueSet with URL=http://fhir.health.gov.il/ValueSet/passport-uri and version=0.15.3

Expected behavior
The example resource is valid, so the validation should succeed.

Additional context
This seems to be related to how the identifier slices are being interpreted.

@abanadisc abanadisc added the bug Something isn't working label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant