Details
-
Type: Sub-task
-
Status: Ready for Work
-
Priority: Major
-
Resolution: Unresolved
-
Labels:
Description
The suggested input for this ticket are:
- Weight (Concept ID 5089)
- Height (Concept ID 5090) (input should be in cm)
The form should use the two inputs to calculate Biomass index (Concept ID 1342), using the formula:
BMI = body weight in kilograms/height in meters squared.
The messages to be triggered should corresponding to the following BMI values
- below 18.5 – you're in the underweight range
- between 18.5 and 24.9 – you're in the healthy weight range
- between 25 and 29.9 – you're in the overweight range
- between 30 and 39.9 – you're in the obese range
Update
The form developed should be usable on the OpenMRS instance available at https://demo1.muzima.org. (username admin and password test).
See the following resources for more information:
https://wiki.muzima.org/display/muzima/Reusable+Javascript+Functions
https://wiki.muzima.org/display/muzima/Encounter+Form
https://wiki.muzima.org/display/muzima/Form+Observation+Section
https://github.com/muzima/muzima-android/blob/master/app/src/main/assets/www/forms/js/muzima.js
Sample forms: