Implementation of an opioid use disorder (OUD) machine-learning phenotype in real-time for the ADAPT clinical trial.
Huan Li, Mark Iscoe, John Lutz, Carolina Diniz Hopper, Sabrina Fried, Josue Minaya, Caroline Raymond King, Olga Reykhart,
Department of Emergency Medicine, Yale University School of Medicine, New Haven, Connecticut, United States of America. · Biomedical Informatics and Data Science, Yale University School of Medicine, New Haven, Connecticut, United States of America.
Key points
From the paper's conclusion- We developed and deploy a real‑time, electronic health record‑integrated machine learning phenotype to identify emergency department patients with opioid use disorder for prospective clinical trial screening and buprenorphine initiation.
Abstract
We developed and deploy a real‑time, electronic health record‑integrated machine learning phenotype to identify emergency department patients with opioid use disorder for prospective clinical trial screening and buprenorphine initiation. We conducted a multi‑phase study across three emergency departments in a single United States health system from 2014 to 2025. Using visit‑level data available at or before triage, we trained a random‑forest classifier to estimate opioid use disorder risk and embedded scoring in the electronic health record to trigger point‑of‑care alerts for trial eligibility review. A high-specificity computable training label supported retrospective development, and a clinician gold-standard reference was established through structured chart review. Performance was summarized using discrimination, calibration, and threshold-based classification metrics; prospective validation used a stratified random sample of flagged and unflagged encounters. Retrospective discrimination compared to the high-specificity computable training label was high (area under the receiver operating characteristic curve, 0.99; 95% CI, 0.98-0.99; area under the precision-recall curve, 0.92; 95% CI, 0.90-0.94), and calibration plots informed operating‑point selection for real‑time use. In prospective gold‑standard validation (n = 217), 89.3% of model-positive encounters and 95.7% of model-negative encounters agreed with physician adjudication at the prespecified threshold. Because the sample was stratified on model prediction, these are within-stratum agreement estimates; weighting them by the source-population flag rate (28,284 of 866,569 eligible encounters, 3.26%) yields design-weighted estimates of population-level prevalence (7.1%), sensitivity (0.40, 95% CI 0.24-0.64), and specificity (0.996). An electronic health record‑embedded, machine learning phenotype can accurately and feasibly identify emergency department patients with opioid use disorder in real time, streamlining clinical trial enrollment and treatment initiation. Ongoing work will report operational metrics (e.g., alert volume and latency), monitor performance drift and equity across subgroups, and evaluate downstream clinical and trial outcomes.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A generalizable deep learning model for predicting opioid use disorder using language modeling for cross-EHR data harmonizationnpj Digital Medicine · 2026
- Integrating Clinical Priorities into the Technical Validation of Machine Learning Classifiers: A Generalizable Framework Demonstrated on Opioid Misuse Screening.Journal of clinical medicine · 2026
- Predicting early treatment termination in opioid use disorder: a machine learning model for risk stratification.The American journal of drug and alcohol abuse · 2026
- Artificial intelligence for alcohol, opioid, and cannabis use disorders screening and management: a narrative review of barriers and facilitators to clinical implementation.Frontiers in digital health · 2026
- Patient-Reported Survey Data Improve Prediction of Opioid Use DisorderarXiv · 2026
- Brief report on screening data from a randomized controlled trial of in-hospital buprenorphine initiation strategiesAddiction Science & Clinical Practice · 2026