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

O3-1907 Support for major Ampath Form Helper Functions #18

Merged
merged 4 commits into from
Apr 13, 2023

Conversation

kajambiya
Copy link
Collaborator

@kajambiya kajambiya commented Apr 13, 2023

This PR adds helper functions that were existent in Ampath forms but not in react form engine.
The following helper functions have been incorporated:

  • formatDate
  • calcBSA
  • isEmpty
  • arrayContains
  • arrayContainsAny
  • extractRepeatingGroupValues

The functions below haven't yet been incorporated awaiting some clarity from the ampath team and such a new ticket has been created for them:

  • calcBMIforAgeZscore
  • calcWeightforHeightZscore
  • calcHeightforAgeZscore

@samuelmale samuelmale merged commit ea6a299 into openmrs:main Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants