This phenotype returns the BMI percentile and z-score per case based on the patient's age, sex, height (cm) and weight (kg) at time of surgery.
Step I: Obtain BMI value from its respective collation.
Height and Weight collations have specific valid ranges which are defined in their respective collation documentation. See these collation documents for more information.
Step II: Determine BMI percentile based on CDC reference tables
**The CDC reference tables list age at the half month point for the entire month; for example, 1.5 months represents 1.0-1.99 months or 1.0 month up to but not including 2.0 months of age
- Calculate Age in months, based on mid point for age in years:= (Age in Years * 12) + 6.5
- Return BMI percentile for Age
Step III: Calculate the corresponding z-score based on LMS parameters listed in CDC reference table
- X: BMI Value
- L: Power in the Box-Cox transformation
- M: Median
- S: Generalized coefficient of variation