Development of prediction models for perioperative opioid needs in laparoscopic cholecystectomy patients: A machine-learning approach

Read full text
Authors: Yongmei Huang, Guohua Li, Silvia Saboia Martins, Pia M. Mauro, Ana Isabel Tergas, June YiJuan Hou, Xiao Xu, Elena B. Elkin, Judith S. Jacobson, Jason D. Wright
Cited by: 0
References: 40

Abstract

Background: Changes in opioid prescribing practices have evolved, including perioperative settings. However, computerized clinical decision support systems to guide opioid prescribing remain limited. This study aimed to develop and validate prediction models for perioperative opioid needs among patients undergoing laparoscopic cholecystectomy (LC) and to create a risk-scoring tool. Methods: This was a retrospective cohort study. Using electronic medical records (EMR), we identified patients aged 18-64 years who underwent LC for benign conditions between October 2015 and December 2018. Demographic, clinical, and surgical data were collected. Perioperative opioid needs were classified as none/low (0-3 days), medium (4-6 days), or high (≥7 days), based on self-reported pain scores and prescription duration. The cohort was split into training (70%) and testing (30%) datasets. Prediction models were developed using random forest, Least Absolute Shrinkage and Selection Operator (LASSO), and subject-matter expertise, with performance evaluated by discrimination, calibration, accuracy, precision, recall, and F1 score. Results: = 333), LASSO outperformed random forest with better calibration. The revised LASSO model, incorporating subject-matter knowledge, improved interpretability, achieving an AUC of 0.64 and Brier score of 0.20. Key predictors included gender, pre-operative medication, emergency surgery, anesthesia type, and surgical indications. A nomogram was developed for visual prediction. Conclusions: Prediction of perioperative opioid needs using EMR and machine-learning is feasible and may support individualized pain management, though further refinement of model performance is warranted.

Fields of Study & Subjects

Opioid Use Disorder Treatment Anesthesia and Pain Management Pain Management and Opioid Use

Publication details

Journal / source
Surgery Open Science
Volume
30
Pages
14–22
Publication date
20 January 2026
Language
EN