TruaceTracing the truth around AIWednesday, August 5, 2026
Health·G Space·Evidence-backed gain·Published 2026-07-31

Imminent opioid overdose risk prediction using classical and machine learning survival models following first recorded opioid-related diagnosis: a prospective cohort study from the <i>All of Us</i> research program

Background: Identifying patients at risk of opioid overdose in healthcare settings is critical, yet evidence on predictive models and their performance to predict imminent opioid overdose remains limited. Objective: We compared classical and Machine Learning (ML) survival models to predict 30-day overdose risk following a first opioid-related diagnosis to determine whether algorithmic complexity improves clinical decision support. Methods: We conducted a prospective cohort study using longitudinal Electronic Hea…

TRV-2026-0603Peer-reviewedPermanent record — cite & verify
Imminent opioid overdose risk prediction using classical and machine learning survival models following first recorded opioid-related diagnosis: a prospective cohort study from the <i>All of Us</i> research program

Middlesex Hospital, from "The doctor", 1837. CC BY 4.0 · https://creativecommons.org/licenses/by/4.0

The quick read

Using longitudinal EHR data from the All of Us Research Program, a prospective cohort study tracked adults after a first opioid-related diagnosis to predict overdose within 30 days. Classical and machine learning survival models were tested, with 560 overdoses observed among 14,737 individuals and best test-set C-indices between 0.708 and 0.745.

The findings suggest simple interpretable models may be sufficient for imminent risk stratification since added algorithmic complexity did not meaningfully improve prediction, while highlighting prior overdose and misuse as high-yield intervention targets. Uncertainty remains about generalizability beyond All of Us EHR data and performance in high-risk strata where calibration details were less emphasized.

Main points
  • Prospective cohort study used longitudinal EHR data from All of Us Research Program v8 covering May 2018-October 2023.
  • Among 14,737 adults with first recorded opioid-related diagnosis, 560 incident overdoses occurred within 30 days.
  • Compared Cox proportional hazards, Weibull AFT, and four ML survival models: Elastic-Net Cox, Random Survival Forest, Gradient-Boosted Survival Trees, Survival SVM.
  • Prior overdose had adjusted hazard ratio 5.77 and opioid misuse 3.72, consistently driving risk across models.
Gain

Survival models including machine learning approaches predicted imminent 30-day opioid overdose following a first opioid-related diagnosis with C-indices up to 0.745, identifying prior overdose and opioid misuse as strongest predictors for proactive clinical intervention.

The rundown

Researchers followed 14,737 adults from the All of Us Research Program after their first recorded opioid-related diagnosis for 30 days, observing 560 overdoses for a cumulative incidence of 3.8%. They compared classical Cox and Weibull AFT models against four ML survival models.

Prior overdose (aHR 5.77, 95% CI 4.64-7.17) and opioid misuse (aHR 3.72, 95% CI 2.94-4.70) were the strongest predictors across all models. Test-set C-indices ranged from 0.708 to 0.745, with calibration acceptable and predicted risks closely aligned with observed risks in low and moderate strata.

Reader signal

How should this claim be treated?

The debate