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

Support BMI for age zscore calculation #1395

Closed
Tracked by #1569 ...
mahalakshme opened this issue May 10, 2024 · 7 comments
Closed
Tracked by #1569 ...

Support BMI for age zscore calculation #1395

mahalakshme opened this issue May 10, 2024 · 7 comments
Assignees

Comments

@mahalakshme
Copy link
Contributor

mahalakshme commented May 10, 2024

Need:

  • To calculate the nutritional status of adoloscents,
  • WFA cant be used because of the following reason mentioned by WHO

Weight-for-age reference data are not available beyond age 10 because this indicator does not distinguish between height and body mass in an age period where many children are experiencing the pubertal growth spurt and may appear as having excess weight (by weight-for-age) when in fact they are just tall.

AC:

  • Use the LMS values provided here to calculate the zscore
  • Need to use appropriate LMS values for both genders
  • Use appropriate formula mentioned here - based on whether |z| <= 3 or not
  • z-score should have 2 decimal places precision
  • BMI value can be calculated by using the existing calculateBMI method in common.js
  • Add appropriate tests

Some of the test cases:

  • check whether able to get nutritional status
  • Need to test in webapp and android app
  • age < 10, between 10 and 20, more than 20
@mahalakshme mahalakshme changed the title Calculate zscore for BMI for age Support BMI for age zscore calculation May 10, 2024
@mahalakshme
Copy link
Contributor Author

Commits to review is available as part of this card: avniproject/avni-health-modules#3

@mahalakshme mahalakshme assigned mahalakshme and sachsk and unassigned mahalakshme May 16, 2024
@mahalakshme
Copy link
Contributor Author

mahalakshme commented May 16, 2024

@sachsk I dont see where we are calculating bmi - I see we have made the comparisons based on weight:
https://github.com/avniproject/avni-health-modules/blob/5328e941fa9c2d23d0a96f9e3d27d78b595fa80d/src/health_modules/adolescent/growthStatusCalculator.js#L31

@mahalakshme
Copy link
Contributor Author

@sachsk also default value cant be 3, it needs to be undefined, since we dont know, this is something found on first look, when someone does proper code review they might add more, you can choose to do the fixes accordingly.

@petmongrels
Copy link
Contributor

  • @sachsk please check with Maha cherry-pick into the right branch, depending on when this should be released
  • @mahalakshme @AchalaBelokar the QA for this has to be the implementation team, we have to only release / deploy it. this code is for lack of other options present in the health-modules, but it should be treated as implementation code

@mahalakshme
Copy link
Contributor Author

@sachsk so the below can be done:

  • code needs to be in 8.1.0 branch of avni client
  • return undefined for those for which we dont ve values
  • also make it accessible from avni-client/any other repo as needed

@mahalakshme
Copy link
Contributor Author

@Dinesh2019 move it to in QA once u ve picked up

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

No branches or pull requests

4 participants