AI in Emergency Medicine
Triage Severity Scoring
Emergency Severity Index (ESI)
| ESI Level | Acuity | Target Time |
|---|---|---|
| 1 | Resuscitation | Immediate |
| 2 | Emergent | < 10 minutes |
| 3 | Urgent | < 30 minutes |
| 4 | Less Urgent | < 60 minutes |
| 5 | Non-Urgent | < 120 minutes |
class TriageAI:
def __init__(self):
self.vital_thresholds = {
'heart_rate': (50, 120), 'respiratory_rate': (10, 30),
'systolic_bp': (90, 180), 'spo2': (92, 101)}
def compute_acuity(self, vitals, chief_complaint):
score = sum(2 for v, val in vitals.items()
if v in self.vital_thresholds and
(val < self.vital_thresholds[v][0] or val > self.vital_thresholds[v][1]))
if chief_complaint in ['chest_pain', 'difficulty_breathing', 'stroke']:
score += 3
return min(max(score, 1), 5)
Trauma Prediction
Injury Severity Score
class TraumaPredictor:
def predict_mortality(self, iss, age, gcs, sbp):
risk = (min(iss/75, 1.0) * 0.3 + min(age/100, 1.0) * 0.2 +
max(0, (14-gcs)/14) * 0.25 + max(0, (90-sbp)/90) * 0.15)
return min(risk, 1.0)
Emergency Resource Allocation
Evaluation
- Undertriage rate < 5% for ESI 1-2
- Overtriage rate < 50% for ESI 4-5