Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Hotfix] Aggregated NCDA: Account for MUAC and Stunting level taken at NCDA activity #1382

Merged
merged 2 commits into from
Dec 13, 2024

Conversation

anvmn
Copy link
Collaborator

@anvmn anvmn commented Dec 12, 2024

@anvmn
Copy link
Collaborator Author

anvmn commented Dec 12, 2024

Before:

Selection_1072

After:

Selection_1073

// Accounting for MUAC.
if (!empty($ncda->field_muac) && !empty($ncda->field_muac[LANGUAGE_NONE][0]['value'])) {
$value = $ncda->field_muac[LANGUAGE_NONE][0]['value'];
if ($value <= 11.5) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have these threshold at other places too? Perhaps consts?

@anvmn anvmn merged commit 214bb28 into main Dec 13, 2024
4 checks passed
@anvmn anvmn deleted the issue-1381 branch December 13, 2024 12:04
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants