Copy of snippet "SMART NICU"

SMART NICU Test

Specific: Baby will gain a total of {formtext: name=target_gain; default=10} pounds over the next {formtext: name=target_weeks; default=8} weeks by consistently following appropriate nutrition.

Measurable: RN will track my weight changes using the entries below in either pounds & ounces or grams.

Achievable: This rate of gain is realistic and aligned with baby's current health status and plan.

Relevant: Gaining this weight supports baby's overall health, performance, and well-being goals.

Time-bound: RN will reassess my progress on {formdate: YYYY-MM-DD; name=review_date}.

Weight Entry

Select unit: {formmenu: Pounds & Ounces; Grams; name=unit}

{if: unit = "Pounds & Ounces"}
Pounds: {formtext: name=lbs; default=0}
Ounces: {formtext: name=oz; default=0}

{valid_lbs=lbs if isnumber(lbs) else 0}
{valid_oz=oz if isnumber(oz) else 0}

Total weight:
- Pounds & Ounces: {=valid_lbs} lb {=valid_oz} oz
- Grams (approx): {=valid_lbs*453.592 + valid_oz*28.3495; format=.1f} g

{elseif: unit = "Grams"}
Grams: {formtext: name=g; default=0}

{valid_g=g if isnumber(g) else 0}

Total weight:
- Grams: {=valid_g} g
- Pounds (approx): {=valid_g/453.592; format=.2f} lb
- Ounces (approx): {=valid_g/28.3495; format=.2f} oz
{endif}SMART Weight Gain Goal