Development of machine learning algorithms for prediction of prolonged opioid prescription after surgery for lumbar disc herniation

Aditya V. Karhade, Paul T. Ogink, Quirina C. B. S. Thio, Thomas D. Cha, William B. Gormley, Stuart H. Hershman, Timothy R. Smith, Jianren Mao, Andrew J. Schoenfeld, Christopher M. Bono, Joseph H. Schwab

Research output: Contribution to journalArticleAcademicpeer-review

77 Citations (Scopus)

Abstract

BACKGROUND CONTEXT: Spine surgery has been identified as a risk factor for prolonged postoperative opioid use. Preoperative prediction of opioid use could improve risk stratification, shared decision-making, and patient counseling before surgery. PURPOSE: The primary purpose of this study was to develop algorithms for prediction of prolonged opioid prescription after surgery for lumbar disc herniation. STUDY DESIGN/SETTING: Retrospective, case-control study at five medical centers. PATIENT SAMPLE: Chart review was conducted for patients undergoing surgery for lumbar disc herniation between January 1, 2000 and March 1, 2018. OUTCOME MEASURES: The primary outcome of interest was sustained opioid prescription after surgery to at least 90 to 180 days postoperatively. METHODS: Five models (elastic-net penalized logistic regression, random forest, stochastic gradient boosting, neural network, and support vector machine) were developed to predict prolonged opioid prescription. Explanations of predictions were provided globally (averaged across all patients) and locally (for individual patients). RESULTS: Overall, 5,413 patients were identified, with sustained postoperative opioid prescription of 416 (7.7%) at 90 to 180 days after surgery. The elastic-net penalized logistic regression model had the best discrimination (c-statistic 0.81) and good calibration and overall performance; the three most important predictors were: instrumentation, duration of preoperative opioid prescription, and comorbidity of depression. The final models were incorporated into an open access web application able to provide predictions as well as patient-specific explanations of the results generated by the algorithms. The application can be found here: https://sorg-apps.shinyapps.io/lumbardiscopioid/ CONCLUSION: Preoperative prediction of prolonged postoperative opioid prescription can help identify candidates for increased surveillance after surgery. Patient-centered explanations of predictions can enhance both shared decision-making and quality of care.
Original languageEnglish
Pages (from-to)1764-1771
JournalSpine Journal
Volume19
Issue number11
DOIs
Publication statusPublished - Nov 2019

Cite this