A Neural Network Model Using Pain Score Patterns to Predict the Need for Outpatient Opioid Refills Following Ambulatory Surgery: Algorithm Development and Validation.

Rodney Allanigue Gabriel, Sierra Simpson, William Zhong, Brittany Nicole Burton, Soraya Mehdipour, Engy Tadros Said
{"title":"A Neural Network Model Using Pain Score Patterns to Predict the Need for Outpatient Opioid Refills Following Ambulatory Surgery: Algorithm Development and Validation.","authors":"Rodney Allanigue Gabriel,&nbsp;Sierra Simpson,&nbsp;William Zhong,&nbsp;Brittany Nicole Burton,&nbsp;Soraya Mehdipour,&nbsp;Engy Tadros Said","doi":"10.2196/40455","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>Expansion of clinical guidance tools is crucial to identify patients at risk of requiring an opioid refill after outpatient surgery.</p><p><strong>Objective: </strong>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.</p><p><strong>Methods: </strong>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.</p><p><strong>Results: </strong>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.</p><p><strong>Conclusions: </strong>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.</p>","PeriodicalId":73557,"journal":{"name":"JMIR perioperative medicine","volume":"6 ","pages":"e40455"},"PeriodicalIF":0.0000,"publicationDate":"2023-02-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9947767/pdf/","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"JMIR perioperative medicine","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.2196/40455","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

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.

Abstract Image

Abstract Image

使用疼痛评分模式预测门诊手术后阿片类药物补充需求的神经网络模型:算法开发和验证。
背景:扩大临床指导工具对于识别门诊手术后需要阿片类药物补充风险的患者至关重要。目的:本研究的目的是开发结合疼痛和阿片类药物特征的机器学习算法,以预测门诊手术后门诊阿片类药物的补充需求。方法:采用神经网络、回归、随机森林和支持向量机对数据集进行评价。对于每个模型,采用过采样和欠采样技术来平衡数据集。进行基于k-fold交叉验证的超参数调优,并根据Shapley加性解释(SHAP)解释器模型对特征重要性进行排序。为了评估性能,我们计算了每个模型的受者工作特征曲线(AUC)下的平均面积、f1评分、敏感性和特异性。结果:共1333例患者,其中144例(10.8%)在门诊手术后2周内补开阿片类药物处方。神经网络模型的k-fold交叉验证计算的平均AUC为0.71。当模型在测试集上进行验证时,AUC为0.75。对模型输出影响最大的特征是局部神经阻滞的表现、麻醉后护理单位最大疼痛评分、麻醉后护理单位中位疼痛评分、积极吸烟史和围手术期阿片类药物总消费量。结论:应用机器学习算法可以让提供者更好地预测需要专业医疗资源(如过渡性疼痛诊所)的结果。该模型可作为早期识别高危患者的临床决策支持,这些患者可能受益于门诊手术围手术期的过渡性疼痛临床护理。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
0.50
自引率
0.00%
发文量
0
审稿时长
12 weeks
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信