Cargando…
A Neural Network Model Using Pain Score Patterns to Predict the Need for Outpatient Opioid Refills Following Ambulatory Surgery: Algorithm Development and Validation
BACKGROUND: Expansion of clinical guidance tools is crucial to identify patients at risk of requiring an opioid refill after outpatient surgery. OBJECTIVE: The objective of this study was to develop machine learning algorithms incorporating pain and opioid features to predict the need for outpatient...
Autores principales: | , , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
JMIR Publications
2023
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9947767/ https://www.ncbi.nlm.nih.gov/pubmed/36753316 http://dx.doi.org/10.2196/40455 |
_version_ | 1784892632971870208 |
---|---|
author | Gabriel, Rodney Allanigue Simpson, Sierra Zhong, William Burton, Brittany Nicole Mehdipour, Soraya Said, Engy Tadros |
author_facet | Gabriel, Rodney Allanigue Simpson, Sierra Zhong, William Burton, Brittany Nicole Mehdipour, Soraya Said, Engy Tadros |
author_sort | Gabriel, Rodney Allanigue |
collection | PubMed |
description | BACKGROUND: Expansion of clinical guidance tools is crucial to identify patients at risk of requiring an opioid refill after outpatient surgery. OBJECTIVE: The objective of this study was to develop machine learning algorithms incorporating pain and opioid features to predict the need for outpatient opioid refills following ambulatory surgery. METHODS: Neural networks, regression, random forest, and a support vector machine were used to evaluate the data set. For each model, oversampling and undersampling techniques were implemented to balance the data set. Hyperparameter tuning based on k-fold cross-validation was performed, and feature importance was ranked based on a Shapley Additive Explanations (SHAP) explainer model. To assess performance, we calculated the average area under the receiver operating characteristics curve (AUC), F1-score, sensitivity, and specificity for each model. RESULTS: There were 1333 patients, of whom 144 (10.8%) refilled their opioid prescription within 2 weeks after outpatient surgery. The average AUC calculated from k-fold cross-validation was 0.71 for the neural network model. When the model was validated on the test set, the AUC was 0.75. The features with the highest impact on model output were performance of a regional nerve block, postanesthesia care unit maximum pain score, postanesthesia care unit median pain score, active smoking history, and total perioperative opioid consumption. CONCLUSIONS: Applying machine learning algorithms allows providers to better predict outcomes that require specialized health care resources such as transitional pain clinics. This model can aid as a clinical decision support for early identification of at-risk patients who may benefit from transitional pain clinic care perioperatively in ambulatory surgery. |
format | Online Article Text |
id | pubmed-9947767 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2023 |
publisher | JMIR Publications |
record_format | MEDLINE/PubMed |
spelling | pubmed-99477672023-02-24 A Neural Network Model Using Pain Score Patterns to Predict the Need for Outpatient Opioid Refills Following Ambulatory Surgery: Algorithm Development and Validation Gabriel, Rodney Allanigue Simpson, Sierra Zhong, William Burton, Brittany Nicole Mehdipour, Soraya Said, Engy Tadros JMIR Perioper Med Original Paper BACKGROUND: Expansion of clinical guidance tools is crucial to identify patients at risk of requiring an opioid refill after outpatient surgery. OBJECTIVE: The objective of this study was to develop machine learning algorithms incorporating pain and opioid features to predict the need for outpatient opioid refills following ambulatory surgery. METHODS: Neural networks, regression, random forest, and a support vector machine were used to evaluate the data set. For each model, oversampling and undersampling techniques were implemented to balance the data set. Hyperparameter tuning based on k-fold cross-validation was performed, and feature importance was ranked based on a Shapley Additive Explanations (SHAP) explainer model. To assess performance, we calculated the average area under the receiver operating characteristics curve (AUC), F1-score, sensitivity, and specificity for each model. RESULTS: There were 1333 patients, of whom 144 (10.8%) refilled their opioid prescription within 2 weeks after outpatient surgery. The average AUC calculated from k-fold cross-validation was 0.71 for the neural network model. When the model was validated on the test set, the AUC was 0.75. The features with the highest impact on model output were performance of a regional nerve block, postanesthesia care unit maximum pain score, postanesthesia care unit median pain score, active smoking history, and total perioperative opioid consumption. CONCLUSIONS: Applying machine learning algorithms allows providers to better predict outcomes that require specialized health care resources such as transitional pain clinics. This model can aid as a clinical decision support for early identification of at-risk patients who may benefit from transitional pain clinic care perioperatively in ambulatory surgery. JMIR Publications 2023-02-08 /pmc/articles/PMC9947767/ /pubmed/36753316 http://dx.doi.org/10.2196/40455 Text en ©Rodney Allanigue Gabriel, Sierra Simpson, William Zhong, Brittany Nicole Burton, Soraya Mehdipour, Engy Tadros Said. Originally published in JMIR Perioperative Medicine (http://periop.jmir.org), 08.02.2023. https://creativecommons.org/licenses/by/4.0/This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIR Perioperative Medicine, is properly cited. The complete bibliographic information, a link to the original publication on http://periop.jmir.org, as well as this copyright and license information must be included. |
spellingShingle | Original Paper Gabriel, Rodney Allanigue Simpson, Sierra Zhong, William Burton, Brittany Nicole Mehdipour, Soraya Said, Engy Tadros A Neural Network Model Using Pain Score Patterns to Predict the Need for Outpatient Opioid Refills Following Ambulatory Surgery: Algorithm Development and Validation |
title | A Neural Network Model Using Pain Score Patterns to Predict the Need for Outpatient Opioid Refills Following Ambulatory Surgery: Algorithm Development and Validation |
title_full | A Neural Network Model Using Pain Score Patterns to Predict the Need for Outpatient Opioid Refills Following Ambulatory Surgery: Algorithm Development and Validation |
title_fullStr | A Neural Network Model Using Pain Score Patterns to Predict the Need for Outpatient Opioid Refills Following Ambulatory Surgery: Algorithm Development and Validation |
title_full_unstemmed | A Neural Network Model Using Pain Score Patterns to Predict the Need for Outpatient Opioid Refills Following Ambulatory Surgery: Algorithm Development and Validation |
title_short | A Neural Network Model Using Pain Score Patterns to Predict the Need for Outpatient Opioid Refills Following Ambulatory Surgery: Algorithm Development and Validation |
title_sort | neural network model using pain score patterns to predict the need for outpatient opioid refills following ambulatory surgery: algorithm development and validation |
topic | Original Paper |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9947767/ https://www.ncbi.nlm.nih.gov/pubmed/36753316 http://dx.doi.org/10.2196/40455 |
work_keys_str_mv | AT gabrielrodneyallanigue aneuralnetworkmodelusingpainscorepatternstopredicttheneedforoutpatientopioidrefillsfollowingambulatorysurgeryalgorithmdevelopmentandvalidation AT simpsonsierra aneuralnetworkmodelusingpainscorepatternstopredicttheneedforoutpatientopioidrefillsfollowingambulatorysurgeryalgorithmdevelopmentandvalidation AT zhongwilliam aneuralnetworkmodelusingpainscorepatternstopredicttheneedforoutpatientopioidrefillsfollowingambulatorysurgeryalgorithmdevelopmentandvalidation AT burtonbrittanynicole aneuralnetworkmodelusingpainscorepatternstopredicttheneedforoutpatientopioidrefillsfollowingambulatorysurgeryalgorithmdevelopmentandvalidation AT mehdipoursoraya aneuralnetworkmodelusingpainscorepatternstopredicttheneedforoutpatientopioidrefillsfollowingambulatorysurgeryalgorithmdevelopmentandvalidation AT saidengytadros aneuralnetworkmodelusingpainscorepatternstopredicttheneedforoutpatientopioidrefillsfollowingambulatorysurgeryalgorithmdevelopmentandvalidation AT gabrielrodneyallanigue neuralnetworkmodelusingpainscorepatternstopredicttheneedforoutpatientopioidrefillsfollowingambulatorysurgeryalgorithmdevelopmentandvalidation AT simpsonsierra neuralnetworkmodelusingpainscorepatternstopredicttheneedforoutpatientopioidrefillsfollowingambulatorysurgeryalgorithmdevelopmentandvalidation AT zhongwilliam neuralnetworkmodelusingpainscorepatternstopredicttheneedforoutpatientopioidrefillsfollowingambulatorysurgeryalgorithmdevelopmentandvalidation AT burtonbrittanynicole neuralnetworkmodelusingpainscorepatternstopredicttheneedforoutpatientopioidrefillsfollowingambulatorysurgeryalgorithmdevelopmentandvalidation AT mehdipoursoraya neuralnetworkmodelusingpainscorepatternstopredicttheneedforoutpatientopioidrefillsfollowingambulatorysurgeryalgorithmdevelopmentandvalidation AT saidengytadros neuralnetworkmodelusingpainscorepatternstopredicttheneedforoutpatientopioidrefillsfollowingambulatorysurgeryalgorithmdevelopmentandvalidation |