In this DHIS2 release cycle, the HISP UiO team is focusing on improving DHIS2 support for child nutrition programs, starting with the z-score functions used in program rules (d2:zScoreWFA, d2:zScoreHFA, d2:zScoreWFH). The first improvements are now available.
What is new
-
Results aligned with WHO Anthro. The three functions now use the WHO LMS method, with interpolation for any height. Results match WHO Anthro to 2 decimals, including values beyond ±3 SD.
-
Children and adolescents 5–19 years. Height-for-age now covers 0–228 months and weight-for-age 0–120 months, using the WHO Growth Reference 2007.
Where it is available
| Version | ||
|---|---|---|
| DHIS2 core | Now available in: 42.7 Coming in the next patches: 41.11 and 43.3 |
|
| Capture Web | 107.8.3 and later | |
| Capture Android | 3.5 and later |
Update and configuration tips
-
Update the server and the apps together. The server and the Capture apps (web and Android) each calculate the z-scores. If they run different versions, they can get different results, and the server can reject the event when it is saved or completed. For example: Android 3.5 with a server that does not have the new version yet, or the other way round. Plan the server and app updates at the same time.
-
Check that all inputs have a value. Currently, an empty field (sex, age, weight or height) is treated as 0. This gives invalid z-scores.
- Tip: Add d2:hasValue for every input in the rule condition, for example: d2:hasValue(#{age_months}) && d2:hasValue(#{weight}) && d2:hasValue(A{sex})
-
Tell the user when no z-score can be calculated. If the age or height is outside the WHO tables, the field stays empty without a message.
- Tip: Add a SHOWWARNING rule for these cases, for example when the age is over 120 months for weight-for-age, over 228 monthsfro height-for-age or height outside 45–120 cm for weight-for-height
What comes next
We are also working on additional fixes and improvements. You can follow all of this work in DHIS2-22322.
Thank you to everyone who tested the release candidate and shared detailed cases. Please keep your feedback coming in this thread.