# AI calculates pediatric respiratory rate threshold using adult norms, missing tachypnea in a 2-year-old

- **ID:** `medical/pediatric-respiratory-rate-miscalc`
- **Domain:** medical
- **Category:** data_error
- **Error Code:** `PEDS-VITAL-001`
- **Verification:** ai_generated
- **Fix Rate:** 92%

## Root Cause

Normal respiratory rates vary by age: infants 30-60, toddlers 24-40, school-age 18-30, adults 12-20; applying adult thresholds (e.g., >20) to a 2-year-old fails to detect tachypnea (typically >40) indicating pneumonia or distress.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| PALS guidelines 2023 | active | — | — |
| WHO child growth standards v2.1 | active | — | — |
| EMR pediatric module v3.0 | active | — | — |

## Workarounds

1. **Use age-specific RR reference table: `python -c "t={'0-1mo':[30,60],'1-12mo':[24,40],'1-3yr':[24,40],'3-6yr':[22,34],'6-12yr':[18,30],'12+yr':[12,20]}; age='2yr'; print(f'RR range: {t["1-3yr"]}')"`** (95% success)
   ```
   Use age-specific RR reference table: `python -c "t={'0-1mo':[30,60],'1-12mo':[24,40],'1-3yr':[24,40],'3-6yr':[22,34],'6-12yr':[18,30],'12+yr':[12,20]}; age='2yr'; print(f'RR range: {t["1-3yr"]}')"`
   ```
2. **Integrate pediatric vital sign calculator into EHR with age-based alerts; set tachypnea alarm at >40 for age 2** (90% success)
   ```
   Integrate pediatric vital sign calculator into EHR with age-based alerts; set tachypnea alarm at >40 for age 2
   ```
3. **Use WHO or PALS reference chart posted in clinical area; train staff on age-appropriate thresholds** (88% success)
   ```
   Use WHO or PALS reference chart posted in clinical area; train staff on age-appropriate thresholds
   ```

## Dead Ends

- **** — Infants normally breathe 30-60; threshold >20 misses tachypnea; conversely, >40 in adults is extreme but normal in infants (95% fail)
- **** — This overestimates upper limit for young children (e.g., 24 for 2-year-old vs actual 40) and underestimates for infants (80% fail)
- **** — Tachypnea can precede desaturation; early detection of increased work of breathing is critical for intervention (85% fail)
