Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
Comparative Study
. 2021 Aug 1;133(2):304-313.
doi: 10.1213/ANE.0000000000005527.

Prediction of Prolonged Opioid Use After Surgery in Adolescents: Insights From Machine Learning

Affiliations
Comparative Study

Prediction of Prolonged Opioid Use After Surgery in Adolescents: Insights From Machine Learning

Andrew Ward et al. Anesth Analg. .

Abstract

Background: Long-term opioid use has negative health care consequences. Patients who undergo surgery are at risk for prolonged opioid use after surgery (POUS). While risk factors have been previously identified, no methods currently exist to determine higher-risk patients. We assessed the ability of a variety of machine-learning algorithms to predict adolescents at risk of POUS and to identify factors associated with this risk.

Methods: A retrospective cohort study was conducted using a national insurance claims database of adolescents aged 12-21 years who underwent 1 of 1297 surgeries, with general anesthesia, from January 1, 2011 to December 30, 2017. Logistic regression with an L2 penalty and with a logistic regression with an L1 lasso (Lasso) penalty, random forests, gradient boosting machines, and extreme gradient boosted models were trained using patient and provider characteristics to predict POUS (≥1 opioid prescription fill within 90-180 days after surgery) risk. Predictive capabilities were assessed using the area under the receiver-operating characteristic curve (AUC)/C-statistic, mean average precision (MAP); individual decision thresholds were compared using sensitivity, specificity, Youden Index, F1 score, and number needed to evaluate. The variables most strongly associated with POUS risk were identified using permutation importance.

Results: Of 186,493 eligible patient surgical visits, 8410 (4.51%) had POUS. The top-performing algorithm achieved an overall AUC of 0.711 (95% confidence interval [CI], 0.699-0.723) and significantly higher AUCs for certain surgeries (eg, 0.823 for spinal fusion surgery and 0.812 for dental surgery). The variables with the strongest association with POUS were the days' supply of opioids and oral morphine milligram equivalents of opioids in the year before surgery.

Conclusions: Machine-learning models to predict POUS risk among adolescents show modest to strong results for different surgeries and reveal variables associated with higher risk. These results may inform health care system-specific identification of patients at higher risk for POUS and drive development of preventative measures.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflicts of interest.

References

    1. Degenhardt L, Whiteford HA, Ferrari AJ, et al. Global burden of disease attributable to illicit drug use and dependence: findings from the Global Burden of Disease Study 2010. Lancet. 2013;382:1564–1574.
    1. Florence CS, Zhou C, Luo F, Xu L. The economic burden of prescription opioid overdose, abuse, and dependence in the United States, 2013. Med Care. 2016;54:901–906.
    1. Shei A, Hirst M, Kirson NY, Enloe CJ, Birnbaum HG, Dunlop WC. Estimating the health care burden of prescription opioid abuse in five European countries. Clinicoecon Outcomes Res. 2015;7:477–488.
    1. Guy GP Jr, Zhang K, Bohm MK, et al. Vital signs: changes in opioid prescribing in the United States, 2006-2015. MMWR Morb Mortal Wkly Rep. 2017;66:697–704.
    1. DePhillips M, Watts J, Lowry J, Dowd MD. Opioid prescribing practices in pediatric acute care settings. Pediatr Emerg Care. 2019;35:16–21.

Publication types

MeSH terms

Substances