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

Add SDK support for FHIRPath Math operations for FHIR Specification R4B #2068

Closed
allan-on opened this issue Jul 10, 2023 · 1 comment
Closed

Comments

@allan-on
Copy link
Contributor

Is your feature request related to a problem? Please describe.
The R4 FHIR spec version supported by the SDK includes an FHIRPath spec version that doesn't have support for Math functions like .exp(), .power(), .abs()... that can be used in FHIRPath expressions for computations such as (%weight/(%height.power(2))).round(1).

Describe the solution you'd like
Support for Math functions should be added by adding implementation of the operations that aren't supported in the FHIRPath Spec.

Describe alternatives you've considered
Some of the alternatives we've considered include:

  • Upgrading to a much more recent FHIR Spec version that supports FHIRPath Math functions e.g. R5
  • Delegating of computations that require the math functions to a Service class in the app that can be invoked (probably during post-processing of the QuestionnaireResponse?)

Additional context
See FHIRPath Specification: Publication (Version) History

Would you like to work on the issue?
Yes

@allan-on
Copy link
Contributor Author

This has been addressed in FHIR Engine 0.1.0 beta05 Pre-release
🙌🏾

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Complete
1 participant