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

IF 2.2 3区 医学 Q1 EMERGENCY MEDICINE
American Journal of Emergency Medicine Pub Date : 2026-06-01 Epub Date: 2026-02-26 DOI:10.1016/j.ajem.2026.02.037
Chirag Chhablani , Usman Shahid , Natalie Parde , Sami Muslmani , Huiyi Hu , Dillon Thorpe , Majid Afshar , Niranjan Karnik , Neeraj Chhabra
{"title":"Machine learning models to detect opioid misuse in emergency department patients at triage","authors":"Chirag Chhablani ,&nbsp;Usman Shahid ,&nbsp;Natalie Parde ,&nbsp;Sami Muslmani ,&nbsp;Huiyi Hu ,&nbsp;Dillon Thorpe ,&nbsp;Majid Afshar ,&nbsp;Niranjan Karnik ,&nbsp;Neeraj Chhabra","doi":"10.1016/j.ajem.2026.02.037","DOIUrl":null,"url":null,"abstract":"<div><h3>Objective</h3><div>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).</div></div><div><h3>Methods</h3><div>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.</div></div><div><h3>Results</h3><div>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.</div></div><div><h3>Conclusion</h3><div>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.</div></div>","PeriodicalId":55536,"journal":{"name":"American Journal of Emergency Medicine","volume":"104 ","pages":"Pages 17-23"},"PeriodicalIF":2.2000,"publicationDate":"2026-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"American Journal of Emergency Medicine","FirstCategoryId":"3","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0735675726001117","RegionNum":3,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/2/26 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"EMERGENCY MEDICINE","Score":null,"Total":0}
引用次数: 0

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.
机器学习模型检测阿片类药物滥用的急诊科患者在分流。
目的:急诊科(ED)的遭遇为阿片类药物滥用患者启动循证治疗提供了宝贵的机会,但很少有人得到这样的护理。普遍的人工筛查已被提出以改善患者的识别,但由于其时间和资源密集的性质是不常见的。我们试图确定在ED分诊时使用机器学习(ML)识别阿片类药物滥用患者的可行性。方法:我们对一家三级医院的1123例急诊患者(2020年9月至2023年3月)进行了回顾性队列研究。遭遇丰富了阿片类药物滥用,手动注释,并按时间顺序分开进行训练,验证和测试。候选的分诊时间特征包括患者人口统计学特征、紧急严重程度指数、到达时间、主诉、合并症和慢性药物。使用F1评分、精确召回曲线下面积(AUPRC)、准确率、召回率和AUROC来评估模型的性能。事后可解释性分析包括SHapley加性解释(SHAP)和特征重要性。结果:所有模型的表现与在遭遇过程中任何时间放置的阿片类药物相关诊断代码相当。随机森林(F1 = 0.75 [95%CI 0.70-0.83], AUPRC = 0.88[0.81-0.93],准确率= 0.79[0.70-0.83])和梯度增强(F1 = 0.77 [0.71-0.82], AUPRC = 0.89[0.85-0.93],准确率= 0.81[0.720.84])的F1得分和AUPRC最高,但置信区间与其他方法重叠。可解释性分析强调了先前的药物使用诊断代码、分诊敏锐度和年龄是最重要的预测因素。结论:ML分类器利用常规收集的分诊数据提供了一种可行且可扩展的替代方法,可以在医生评估之前标记阿片类药物滥用,从而潜在地实现早期危害减少干预。有必要进行前瞻性多站点验证、校准和偏倚评估。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
6.00
自引率
5.60%
发文量
730
审稿时长
42 days
期刊介绍: A distinctive blend of practicality and scholarliness makes the American Journal of Emergency Medicine a key source for information on emergency medical care. Covering all activities concerned with emergency medicine, it is the journal to turn to for information to help increase the ability to understand, recognize and treat emergency conditions. Issues contain clinical articles, case reports, review articles, editorials, international notes, book reviews and more.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书