-
Notifications
You must be signed in to change notification settings - Fork 296
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 enableWhenExpression #819
Comments
@jingtang10 updated the issue to reference the more recent specification page - http://build.fhir.org/ig/HL7/sdc/expressions.html |
Hello, |
Thanks @delcroip @kunjan8794 Is this something that the Argusoft team could potentially work on? cc: @jingtang10 |
@prajapati-chirag , is there any progress that you have made on this? |
@f-odhiambo , can someone from your team pick this up as part of Sprint 2? |
@fredhersch @jingtang10 the link below has the measurements questionnanire that has some FHIRPath enableWhen expressions. |
In order to provide |
@RaaziaTarique to be honest we are waiting for the support on fhirpath to work on the condition Fhirpath says that we can use the linkid like %linkid but we might change it to %'linkid', therefore the %EmCare.B6.DE02 = true might need to become %'EmCare.B6.DE02' = true or %'EmCare.B6.DE02'.answer.value = true |
@RaaziaTarique Based on what @delcroip has linked, it seems that we also need to support the following FHIR Path supplements:
@delcroip I don't seem to find the spec that defines you example. Could you provide another example. We are also having trouble running it successfully. @RaaziaTarique Let's see if we can support this and have tests for this since it's deifned under the spec and should be supported. However, I think some of the supplements do not make sense for the |
It seems that our current FHIR Path version does not natively support %questionnaire As per http://build.fhir.org/ig/HL7/sdc/expressions.html#fhirpath-supplements
|
|
Thank @ekigamba, after reading it again it seems that i misunderstood, %context works only for the current linkid, as you said, I didn't found what can define my example. (it would have make the enableWhenExpression much clearer) I will update to something similar to the structure proposed
br |
Is your feature request related to a problem? Please describe.
See enableWhenExpression mentioned in http://build.fhir.org/ig/HL7/sdc/expressions.html
Describe the solution you'd like
Probably use fhir path engine to evaluate the expression to assist enablement evaluation.
Describe alternatives you've considered
NA
Additional context
NA
Would you like to work on the issue?
NA
The text was updated successfully, but these errors were encountered: