Machine learning models to detect opioid misuse in Emergency Department patients at triage.

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 1,123 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 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.

Competing Interest Statement

The authors have declared no competing interest.

Funding Statement

Authors report support from the following grants from the National Institute on Drug Abuse (NIDA)/NIH: K23DA055061 (Chhabra), R61DA057629 (Karnik/Chhabra/Parde). This work was supported, in part, by the National Center for Advancing Translational Sciences (NCATS), through Grant UL1TR002003. The content is solely the responsibility of the authors and does not necessarily represent the official views of the National Institutes of Health.

Author Declarations

I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.

Yes

The details of the IRB/oversight body that provided approval or exemption for the research described are given below:

IRB of University of Illinois Chicago waived ethical approval for this work

I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.

Yes

I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).

Yes

I have followed all appropriate research reporting guidelines, such as any relevant EQUATOR Network research reporting checklist(s) and other pertinent material, if applicable.

Yes

Footnotes

Financial Support: Authors report support from the following grants from the National Institute on Drug Abuse (NIDA)/NIH: K23DA055061 (Chhabra), R61DA057629 (Karnik/Chhabra/Parde). This work was supported, in part, by the National Center for Advancing Translational Sciences (NCATS), through Grant UL1TR002003. The content is solely the responsibility of the authors and does not necessarily represent the official views of the National Institutes of Health.

Data Availability

All data produced in the present study are available upon reasonable request to the authors

Comments (0)

No login
gif