You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, in our variable expression calculation, we don't incorporate the questionnaire response item.... this means we cannot pass the questionnarie response item to the fhir path engine as the %context fhir path supplement.
Describe the solution you'd like
questionnaire response item needs to be added as a parameter in the evaluateVariable function.
Describe alternatives you've considered
There's no alternative really
Additional context
The issue #2590 is resolved using a different approach using just enable when elements instead of expressions. Please refer to the issue itself.
Would you like to work on the issue?
Sure but happen to guide someone else to do this too. @f-odhiambo@f-odhiambo@allan-on if you guys are interested lmk ☺️
The text was updated successfully, but these errors were encountered:
jingtang10
changed the title
Incorporate @context into variable expression evaluation
Incorporate %context into variable expression evaluation
Jul 9, 2024
Is your feature request related to a problem? Please describe.
In trying to resolve #2590, I started a discussion on fhir chat https://chat.fhir.org/#narrow/stream/179266-fhirpath/topic/parent.28.29.20or.20siblings.28.29.3F and was pointed to a solution where
%context
is used in variable expressions which are then used by enable when expressions to evaluate the enabled status of nested questions.I authored a questionnaire that follows this approach:
However, in our variable expression calculation, we don't incorporate the questionnaire response item.... this means we cannot pass the questionnarie response item to the fhir path engine as the
%context
fhir path supplement.Describe the solution you'd like
questionnaire response item needs to be added as a parameter in the
evaluateVariable
function.Describe alternatives you've considered
There's no alternative really
Additional context
The issue #2590 is resolved using a different approach using just enable when elements instead of expressions. Please refer to the issue itself.
Would you like to work on the issue?☺️
Sure but happen to guide someone else to do this too. @f-odhiambo @f-odhiambo @allan-on if you guys are interested lmk
The text was updated successfully, but these errors were encountered: