Development and Validation of Machine Learning Algorithms for Predicting Prolonged Postoperative Opioid Use in Spinal Metastatic Disease

Introduction: Operative management of spinal metastatic disease is largely for symptom palliation and revolves around the expectation that postoperative survival will exceed the recovery period. Long-term postoperative opioid use is a clinically useful indicator of recovery. Few studies have developed machine learning models to predict this outcome in spinal metastatic disease patients.The Merative™ Marketscan® Commercial Database and Medicare Supplement were analyzed to identify adult patients who underwent surgery for extradural spinal metastatic disease between 2006 and 2023. Patients were required to have at least 6 months of continuous preadmission data, and 6 months of continuous post-discharge follow-up. The primary outcome was prolonged opioid use, defined as filling a perioperative prescription followed by another between 90- and 180-days post-discharge. Cumulative days of postoperative opioid supply was assessed as a secondary outcome. Five models (stochastic gradient boosting, support vector machine, neural network, random forest and penalized logistic regression) were trained on a 70% training sample and validated on the withheld 30%. A total of 732 patients were included, of which 341 (46.6%) had prolonged post-discharge opioid use. The random forest algorithm had the best predictive performance in terms of discrimination (area under the curve [AUC]: 0.611), calibration (intercept: 0.18, slope: 0.613) and overall accuracy (Brier score: 0.24). We developed and validated parsimonious predictive models to estimate risk of prolonged opioid use after surgery for extradural spinal metastatic disease. Integrating these models into physician- and patient-facing interfaces may improve prognostication, enhance clinical decision-making, and ultimately optimize pain management to support more tailored postoperative care strategies.

Authors

Institutions

Publication Details

Journal
American Journal of Hospice and Palliative Medicine®
Published
2025-05-08
DOI
https://doi.org/10.1177/10499091251341450
Primary Topic
Pain Management and Opioid Use
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Development and Validation of Machine Learning Algorithms for Predicting Prolonged Postoperative Opioid Use in Spinal Metastatic Disease

Renuka Chintapalli, Atman Desai, Philip Heesen
American Journal of Hospice and Palliative Medicine®
Pain Management and Opioid Use
article

Development and Validation of Machine Learning Algorithms for Predicting Prolonged Postoperative Opioid Use in Spinal Metastatic Disease

Renuka Chintapalli, Atman Desai, Philip Heesen
article en

Abstract

Introduction: Operative management of spinal metastatic disease is largely for symptom palliation and revolves around the expectation that postoperative survival will exceed the recovery period. Long-term postoperative opioid use is a clinically useful indicator of recovery. Few studies have developed machine learning models to predict this outcome in spinal metastatic disease patients.The Merative™ Marketscan® Commercial Database and Medicare Supplement were analyzed to identify adult patients who underwent surgery for extradural spinal metastatic disease between 2006 and 2023. Patients were required to have at least 6 months of continuous preadmission data, and 6 months of continuous post-discharge follow-up. The primary outcome was prolonged opioid use, defined as filling a perioperative prescription followed by another between 90- and 180-days post-discharge. Cumulative days of postoperative opioid supply was assessed as a secondary outcome. Five models (stochastic gradient boosting, support vector machine, neural network, random forest and penalized logistic regression) were trained on a 70% training sample and validated on the withheld 30%. A total of 732 patients were included, of which 341 (46.6%) had prolonged post-discharge opioid use. The random forest algorithm had the best predictive performance in terms of discrimination (area under the curve [AUC]: 0.611), calibration (intercept: 0.18, slope: 0.613) and overall accuracy (Brier score: 0.24). We developed and validated parsimonious predictive models to estimate risk of prolonged opioid use after surgery for extradural spinal metastatic disease. Integrating these models into physician- and patient-facing interfaces may improve prognostication, enhance clinical decision-making, and ultimately optimize pain management to support more tailored postoperative care strategies.

American Journal of Hospice and Palliative Medicine®
University of Zurich (CH), Stanford University (US)
Peace, Justice and strong institutions
Openalex Percentile: Top 82%
Pain Management and Opioid Use
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.