Open tamuri opened 5 years ago
Input form for "measurement to/from sds" from LMSgrowth add-in:
How can we handle multiple sheet in the same workbook?
The first two look very similar in practice. I’d prefer not the third. The user will need to provide rectangular data.
Copying Tim's comments on #25 here:
I've finally got round to finding a suitable file to test the multiple tab. It uses the ukwhopt reference. sample z scores3 csv.txt
Separately we need an option to adjust age for gestational age in preterm babies. The calculation is:
adjusted age = postnatal age + gestational age - 40 weeks
Preterm is gestational age < 37 weeks, while term is 37 to <42 weeks, with 40 weeks the expected term gestational age.
The adjustment is applied up to 2 years postnatal age but not beyond. As an example, a baby born at 27 weeks and measured at 52 postnatal weeks has an adjusted (or post-term) age of 39 weeks.
Example plots from SMART Growth Chart app:
From meeting on 17/1:
From Tim (https://github.com/UCL/LMSgrowth2/pull/43#issuecomment-602607350):
The IOTF reference is for BMI, but it doesn't work with the sample dataset as there is no BMI column. There needs to be a way to say, calculate BMI from weight and height. And ideally it would use a user-specified formula that could be extended to other constructed measures such as sitting height divided by leg length.
measurement-to-sds and sds-to-measurement
given table of input data
measurements determined by what's available in reference
units of measurements are fixed (metric)