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
Is your feature request related to a problem? Please describe.
To make question fhirpath dynamic and have current questionnaire and item available expression, we need to support fhirpath supplement %questionnaire, and %qItem literal. This allow to get current questionnaire and item into fhirpath expressions on questionnaire items when doing evaluation. Details for spec defined here https://build.fhir.org/ig/HL7/sdc/expressions.html#fhirpath-supplements .
Describe the solution you'd like
Add both literals %questionnaire and %qItem in com.google.android.fhir.datacapture.fhirpath.ExpressionEvaluator#evaluateExpression and ensure that expression evaluation is centralized. Make sure to double check evaluation in enableExpression, and answerExpression if those are implementing their own evaluation instead of using this centralized method.
Is your feature request related to a problem? Please describe.
To make question fhirpath dynamic and have current questionnaire and item available expression, we need to support fhirpath supplement
%questionnaire
, and%qItem
literal. This allow to get current questionnaire and item into fhirpath expressions on questionnaire items when doing evaluation. Details for spec defined here https://build.fhir.org/ig/HL7/sdc/expressions.html#fhirpath-supplements .Describe the solution you'd like
Add both literals
%questionnaire
and%qItem
in com.google.android.fhir.datacapture.fhirpath.ExpressionEvaluator#evaluateExpression and ensure that expression evaluation is centralized. Make sure to double check evaluation in enableExpression, and answerExpression if those are implementing their own evaluation instead of using this centralized method.Linked issue #1849
The text was updated successfully, but these errors were encountered: