Visual abstractsVisuals
ResearchAmerican Journal of Emergency Medicine · Feb 26, 2026

Machine learning models to detect opioid misuse in emergency department patients at triage

Chhablani C, Shahid U, Parde N, Muslmani S, Hu H, Thorpe D, et al
Emergency MedicineAdult

Study type: Observational study: it can show a link, but not prove that one thing causes another.

Read the full paper free at PubMed Central ↗

Abstract

Objective Emergency department (ED) encounters represent valuable opportunities to initiate evidence-based treatments for patients with opioid misuse, but few receive such care. Universal manual screening has been proposed to improve patient identification but is uncommon due to its time and resource-intensive nature. We sought to determine the feasibility of identifying patients with opioid misuse at the time of ED triage using machine learning (ML). Methods We conducted a retrospective cohort study of 1123 ED encounters (September 2020 - March 2023) at a tertiary hospital. Encounters were enriched for opioid misuse, manually annotated, and chronologically split for training, validation, and testing. Candidate triage-time features included patient demographics, Emergency Severity Index, arrival time of day, chief complaint, comorbidities, and chronic medications. Model performance was evaluated using F1 score, area under the precision-recall curve (AUPRC), accuracy, recall, and AUROC. Post-hoc explainability analyses included SHapley Additive exPlanations (SHAP) and feature importance. Results All models performed comparably to opioid-related diagnosis codes placed at any time during the encounter. Random Forest (F1 = 0.75 [95%CI 0.70-0.83], AUPRC = 0.88 [0.81-0.93], accuracy = 0.79 [0.70-0.83]) and Gradient Boosting (F1 = 0.77 [0.71-0.82], AUPRC = 0.89 [0.85-0.93], accuracy = 0.81 [0.720.84]) had among the highest F1 score and AUPRC but confidence intervals overlapped with other methods. Explainability analyses highlighted prior drug-use diagnosis codes, triage acuity, and age as top predictors. Conclusion ML classifiers leveraging routinely collected triage data offer a feasible and scalable alternative to manual screening in flagging opioid misuse before physician evaluation, potentially enabling early harm-reduction interventions. Prospective multi-site validation, calibration, and bias assessments are warranted.

Topics

Humans; Triage; Emergency Service, Hospital; Retrospective Studies; Female; Machine Learning; Opioid-Related Disorders; Male; Adult; Predictive Learning Models; Middle Aged; Emergency Room Visits

DOI: 10.1016/j.ajem.2026.02.037 · PubMed: 41785519

Spotted a mistake? Suggest a correction

More in Emergency Medicine

Meta-analysisPLOS Med · Nov 19, 2026 · Infectious Disease, Nephrology, Emergency Medicine

New thresholds identified for acute kidney injury in severe malaria patients

Acute kidney injury and death in severe Plasmodium falciparum malaria: An individual patient data meta-analysis

ResearchBMJ Med · Nov 18, 2026 · Emergency Medicine

Direct admission to level 1 trauma centre reduces mortality for severe injuries

Association between direct admission of patients with severe injuries to a level 1 trauma centre and mortality: nationwide cohort study

ResearchAm J Emerg Med · Nov 13, 2026 · Emergency Medicine

ED red blood cell transfusion linked to longer hospital stays in severe anemia

ED red blood cell transfusion in severe anemia: stay and recurrent use-a retrospective cohort study

ResearchAm J Emerg Med · Nov 12, 2026 · Emergency Medicine

Serum lactate levels differ across neurologic emergencies in emergency departments

Serum lactate distribution across neurologic emergencies: implications for seizure identification

ResearchAm J Emerg Med · Nov 12, 2026 · Emergency Medicine

Shorter wait times after emergency buprenorphine increase appointment attendance

Longer wait times after ED-initiated buprenorphine associated with lower appointment attendance