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

FHIR-46548: where clause on alias #1748 #1752

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

oliveregger
Copy link
Contributor

This PR adds source variable handling to FHIR Path expression for FHIR-46548: where clause on alias #1748.

The source variables are not prefixed with %, the FHIRPath expressions need to be adapted for that, this is done by not caching the FHIRPath expression first and then when the source variables are known, the expression is adapted and cached, following the same approach as @brianpos has done in https://github.com/brianpos/fhir-net-mappinglanguage/blob/develop2/Hl7.Fhir.MappingLanguage/JavaStructureMapUtils-Execute.cs.

In addition the source variable in the iteration has been added that the where, check and log clause are working on with the current iteration variable.

a test case has been created, for that the https://github.com/FHIR/fhir-test-cases/pull/190/files needs to be integrated first, before the test can run successfully.

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 this pull request may close these issues.

1 participant