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

FhirPath function memberOf does not work correctly with string as input #2588

Closed
marcovisserFurore opened this issue Sep 13, 2023 · 0 comments · Fixed by #2591
Closed

FhirPath function memberOf does not work correctly with string as input #2588

marcovisserFurore opened this issue Sep 13, 2023 · 0 comments · Fixed by #2591
Assignees

Comments

@marcovisserFurore
Copy link
Member

Describe the bug
The FhirPath function memberOf does not work correctly with string as input. For example the following FP expression on the resource Patient does not work:

Patient.address.country.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-2')

The type of country is a string and not a code or CodeableConcept.

Expected behavior
The FP function memberOf should also work with instances of type string.

Tip for the developer
In the inline switch of ElementNavFhirExtensions.MemberOf() the type string should also be possible case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant