2026-02-22 17:06:20 +00:00
|
|
|
|
[
|
2026-02-24 09:21:07 +00:00
|
|
|
|
// Apgar Score
|
|
|
|
|
|
{
|
|
|
|
|
|
"name": "Apgar Score",
|
|
|
|
|
|
"description": r"""
|
2026-02-23 19:02:13 +00:00
|
|
|
|
Newborn health assessment scoring system performed at 1 and 5 minutes after birth.
|
|
|
|
|
|
|
|
|
|
|
|
The Apgar score sums five categories (0–2 points each):
|
|
|
|
|
|
1. Heart rate
|
|
|
|
|
|
2. Respiratory effort
|
|
|
|
|
|
3. Muscle tone
|
|
|
|
|
|
4. Reflex response
|
|
|
|
|
|
5. Color
|
|
|
|
|
|
|
|
|
|
|
|
Total score ranges from 0 to 10. Higher scores indicate better newborn condition.
|
|
|
|
|
|
|
2026-02-24 09:21:07 +00:00
|
|
|
|
""",
|
|
|
|
|
|
"input": [
|
|
|
|
|
|
{"name": "HeartRate", "values": ["Absent", "< 100 bpm>", "> 100 bpm"]},
|
|
|
|
|
|
{"name": "Breathing", "values": ["Absent", "Weak, irregular", "Strong, robust cry"]},
|
|
|
|
|
|
{"name": "MuscleTone", "values": ["None", "Some", "Flexed arms/leg, resists extension"]},
|
|
|
|
|
|
{"name": "Reflexes", "values": ["No response", "Grimace on aggressive stimulation", "Cry on stimulation"]},
|
|
|
|
|
|
{"name": "SkinColor", "values": ["Blue or pale", "Blue extremities, pink body", "Pink"]}
|
|
|
|
|
|
],
|
|
|
|
|
|
"output": {"name": "Result", "unit": "string"},
|
|
|
|
|
|
"d4rtCode": """
|
|
|
|
|
|
var total = indexOf("HeartRate") + indexOf("Breathing") + indexOf("MuscleTone") + indexOf("Reflexes") + indexOf("SkinColor");
|
|
|
|
|
|
late var interpretation;
|
|
|
|
|
|
if( total < 4 ) {
|
|
|
|
|
|
interpretation = 'Critical condition';
|
|
|
|
|
|
}
|
|
|
|
|
|
else if( total < 7 ){
|
|
|
|
|
|
interpretation = 'Needs assistance';
|
|
|
|
|
|
}
|
|
|
|
|
|
else {
|
|
|
|
|
|
interpretation = 'Normal';
|
|
|
|
|
|
}
|
|
|
|
|
|
Result = 'Score: \$total - \$interpretation';
|
|
|
|
|
|
""",
|
|
|
|
|
|
"tags": ["medical", "pediatrics", "assessment"]
|
|
|
|
|
|
}
|
2026-02-22 17:06:20 +00:00
|
|
|
|
]
|