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

Support interpolation of rule variables into conditionalFhirPathExpression #3537

Open
LZRS opened this issue Oct 4, 2024 · 0 comments · Fixed by #3538
Open

Support interpolation of rule variables into conditionalFhirPathExpression #3537

LZRS opened this issue Oct 4, 2024 · 0 comments · Fixed by #3538
Assignees
Labels
Enhancement New feature or request

Comments

@LZRS
Copy link
Contributor

LZRS commented Oct 4, 2024

Describe the feature request.
Support passing of computed rule variables as part of the fhirpath expression used in conditionalFhirPathExpression

Additional context
In the wdf project, a usecase came up where we needed to show a list of medications filter by the latest date of encounter. This feature would assist in passing the latest medication date as part of the conditionalFhirPathExpression

  {
                  "id": "availableMedication",
                  "relatedResourceId": "availableMedicationRequest",
                  "resourceType": "MedicationRequest",
                  "conditionalFhirPathExpression": "MedicationRequest.id.toString().contains('@{latestMedicationDateSimpleFormat}')",
        }
@LZRS LZRS added the Enhancement New feature or request label Oct 4, 2024
@LZRS LZRS self-assigned this Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant