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 #1606
mahalakshme opened this issue May 10, 2024 · 7 comments
Closed
Tracked by #1606

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 converted this from a draft issue May 10, 2024
@mahalakshme mahalakshme changed the title Calculate zscore for BMI for age Support BMI for age zscore calculation May 10, 2024
@mahalakshme mahalakshme moved this from In Analysis to In Analysis Review in Avni Product May 10, 2024
@mahalakshme mahalakshme moved this from In Analysis Review to Analysis Complete in Avni Product May 10, 2024
@sachsk sachsk moved this from Analysis Complete to Code Review Ready in Avni Product May 16, 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 petmongrels moved this from Code Review Ready to In Code Review in Avni Product May 17, 2024
@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

@petmongrels petmongrels moved this from In Code Review to Code Review with Comments in Avni Product May 17, 2024
@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 mahalakshme moved this from Code Review with Comments to QA Ready in Avni Product May 23, 2024
@mahalakshme
Copy link
Contributor Author

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

@Dinesh2019 Dinesh2019 moved this from QA Ready to Done in Avni Product May 23, 2024
@Dinesh2019 Dinesh2019 moved this from Done to In QA in Avni Product May 23, 2024
@Dinesh2019 Dinesh2019 moved this from In QA to Done in Avni Product May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

4 participants