You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# no adjustment has been made so the child was born at 40 weeks
11
+
# no adjustment has been made so the child was born at 40 weeks or this child is being plotted on the CDC reference, where no adjustment is made for 37-42 weeks or beyond the age of 2 years
12
12
lay_corrected_decimal_age_comment="Your child was born on their due date."
13
13
clinician_corrected_decimal_age_comment="Born at term. No correction has been made for gestation."
14
14
lay_chronological_decimal_age_comment="Your child was born on their due date."
15
15
clinician_chronological_decimal_age_comment="Born Term. No correction has been made for gestation."
16
+
# These fields should only apply to CDC reference, since UK-WHO corrects for all gestations (and therefore corrected_decimal_age will never be equal to chronological_decimal_age if gestation_weeks is not 40)
17
+
ifgestation_weeks<42:
18
+
ifgestation_weeks<37:
19
+
lay_chronological_decimal_age_comment=f"Your child was born at {gestation_weeks}+{gestation_days} weeks gestation. No correction is made for this beyond 2 years of age."
20
+
clinician_chronological_decimal_age_comment=f"Born preterm at {gestation_weeks}+{gestation_days} weeks gestation. No correction is made for this beyond 2 years of age."
21
+
lay_corrected_decimal_age_comment=f"Your child was born at {gestation_weeks}+{gestation_days} weeks gestation. No correction is made for this beyond 2 years of age."
22
+
clinician_corrected_decimal_age_comment=f"Born preterm at {gestation_weeks}+{gestation_days} weeks gestation. No correction is made for this beyond 2 years of age."
23
+
else:
24
+
lay_chronological_decimal_age_comment=f"Your child was born at {gestation_weeks}+{gestation_days} weeks gestation. This is considered term and no correction for gestation has been made."
25
+
clinician_chronological_decimal_age_comment=f"Born at term at {gestation_weeks}+{gestation_days} weeks gestation. No correction for gestation has been made."
26
+
lay_corrected_decimal_age_comment=f"Your child was born at {gestation_weeks}+{gestation_days} weeks gestation. This is considered term and no correction for gestation has been made."
27
+
clinician_corrected_decimal_age_comment=f"Born at term at {gestation_weeks}+{gestation_days} weeks gestation. No correction for gestation has been made."
## adjustment for gestational age has been made - even if >=37 weeks
18
30
lay_corrected_decimal_age_comment=f"Because your child was born at {gestation_weeks}+{gestation_days} weeks gestation an adjustment has been made to take this into account."
0 commit comments