-
Notifications
You must be signed in to change notification settings - Fork 294
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 calculatedExpression #971
Support calculatedExpression #971
Comments
@maimoonak @f-odhiambo can you please comment on the priority of this issue and if you have any bandwidth to take this on? thanks! |
Rightnow this issue is not a blocker for us. However, many of the forms we have seen in previous apps included the calculated expressions to make forms concise and self dependent and also accommodate simple decisions for Health workers. A very common example is deriving risk factor for patient OR calculate next followup date. I would rate this 4/5 on priority. |
@maimoonak is 4/5 high or low priority? Thanks for the comments! |
Hello, |
Thanks @delcroip @kunjan8794 Is this something that the Argusoft team could potentially work on? cc: @jingtang10 |
@kunjan8794 , did you get a chance to work on this? |
@f-odhiambo , can someone from your team pick this up as part of Sprint 2? |
@f-odhiambo I noticed @maimoonak's comment about design. Let's make sure we spend some time on this before we dive into the implementation. |
@Tarun-Bhardwaj Kindly assign this ticket to @maimoonak |
The method Each time an answer changes the code will find all items which have calculated-expression extension and would use FhirPathEngine to evaluate and set the value (incase it has changed). |
The draft PR for current issue has basic implementation.
Issues
|
PR for issue is ready for review
|
Is your feature request related to a problem? Please describe.
See #803
See example of calculatedExpression and variable: http://build.fhir.org/ig/HL7/sdc/examples.html#using-calculatedexpression-and-variable
@maimoonak provided this example where we want to take age OR birthdate as input and calculate the other from one which was input: https://github.com/google/android-fhir/blob/mssng-quest-feat/datacapturegallery/src/main/assets/sample_family_member_registration_calculatedexpression.json
Describe the solution you'd like
Probably use FHIRPath
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: