Predicting opioid overdose risk of patients with opioid prescriptions using electronic health records based on temporal deep learning.

J Biomed Inform

Department of Computer Science, Stony Brook University, Stony Brook, NY, United States; Department of Biomedical Informatics, Stony Brook University, Stony Brook, NY, United States. Electronic address:

Published: April 2021


Category Ranking

98%

Total Visits

921

Avg Visit Duration

2 minutes

Citations

20

Article Abstract

The US is experiencing an opioid epidemic, and opioid overdose is causing more than 100 deaths per day. Early identification of patients at high risk of Opioid Overdose (OD) can help to make targeted preventative interventions. We aim to build a deep learning model that can predict the patients at high risk for opioid overdose and identify most relevant features. The study included the information of 5,231,614 patients from the Health Facts database with at least one opioid prescription between January 1, 2008 and December 31, 2017. Potential predictors (n = 1185) were extracted to build a feature matrix for prediction. Long Short-Term Memory (LSTM) based models were built to predict overdose risk in the next hospital visit. Prediction performance was compared with other machine learning methods assessed using machine learning metrics. Our sequential deep learning models built upon LSTM outperformed the other methods on opioid overdose prediction. LSTM with attention mechanism achieved the highest F-1 score (F-1 score: 0.7815, AUCROC: 0.8449). The model is also able to reveal top ranked predictive features by permutation important method, including medications and vital signs. This study demonstrates that a temporal deep learning based predictive model can achieve promising results on identifying risk of opioid overdose of patients using the history of electronic health records. It provides an alternative informatics-based approach to improving clinical decision support for possible early detection and intervention to reduce opioid overdose.

Download full-text PDF

Source
http://dx.doi.org/10.1016/j.jbi.2021.103725DOI Listing

Publication Analysis

Top Keywords

opioid overdose
28
deep learning
16
risk opioid
12
opioid
9
overdose
8
overdose risk
8
electronic health
8
health records
8
temporal deep
8
patients high
8

Similar Publications

Buprenorphine Adherence Trajectories and Their Impact on Opioid Overdose and Healthcare Costs.

Drug Alcohol Rev

September 2025

The Prescription Drug Misuse Education and Research (PREMIER) Center, University of Houston, Houston, Texas, USA.

Introduction: Buprenorphine is effective for opioid use disorder (OUD), yet adherence remains suboptimal. This study aimed to identify adherence trajectories, explore their predictors, and assess their association with opioid overdose risk and healthcare costs.

Methods: A retrospective cohort study was conducted using the Merative MarketScan Commercial Database, which includes a nationally representative sample of individuals with private, employer-sponsored health insurance in the United States.

View Article and Find Full Text PDF

Medications for Opioid Use Disorder in County Jails - Outcomes after Release.

N Engl J Med

September 2025

Department of Health Promotion and Policy, School of Public Health and Health Sciences, University of Massachusetts Amherst, Amherst.

Background: In 2019, seven county correctional facilities (jails) in Massachusetts initiated pilot programs to provide all Food and Drug Administration-approved medications for opioid use disorder (MOUD).

Methods: This observational study used linked state data to examine postrelease MOUD receipt, overdose, death, and reincarceration among persons with probable opioid use disorder (OUD) in carceral settings who did or did not receive MOUD from these programs from September 1, 2019, through December 31, 2020. Log-binomial and proportional-hazards models were adjusted for propensity-score weights and baseline covariates that remained imbalanced after propensity-score weighting.

View Article and Find Full Text PDF

Firefighters often serve as emergency medical services providers and face repeated exposure to potentially traumatic events (PTEs) while participating in opioid overdose responses (OORs), which may impact their mental health. A survey of 173 firefighters who had participated in an OOR in the previous 6 months was used to assess exposure to PTEs during such events, job stress, mental health symptoms, and resources used to address mental health symptoms. Most firefighters (97%) reported experiencing one or more PTEs while responding to an opioid overdose in the past 6 months.

View Article and Find Full Text PDF

Contingency Management for Stimulant Use Disorder and Association With Mortality: A Cohort Study.

Am J Psychiatry

September 2025

Michigan Innovations in Addiction Care Through Research and Education (MI-ACRE) Program, Department of Psychiatry, University of Michigan, Ann Arbor.

Objective: While opioid overdose has begun to decrease in recent years, stimulant overdose has continued to increase and has not been adequately addressed. Unlike opioid use disorder, there are no medications approved by the U.S.

View Article and Find Full Text PDF

Background: Opioids are highly effective for pain management but carry risks. Naloxone quickly reverses opioid overdoses by blocking opioid receptors in the brain. Despite its effectiveness, naloxone remains underutilized.

View Article and Find Full Text PDF