Cargando…
Development and Validation of a Machine Learning Model to Estimate Risk of Adverse Outcomes Within 30 Days of Opioid Dispensation
IMPORTANCE: Machine learning approaches can assist opioid stewardship by identifying high-risk opioid prescribing for potential interventions. OBJECTIVE: To develop a machine learning model for deployment that can estimate the risk of adverse outcomes within 30 days of an opioid dispensation as a po...
Autores principales: | , , , , , , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
American Medical Association
2022
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9857580/ https://www.ncbi.nlm.nih.gov/pubmed/36574245 http://dx.doi.org/10.1001/jamanetworkopen.2022.48559 |
_version_ | 1784873901019365376 |
---|---|
author | Sharma, Vishal Kulkarni, Vinaykumar Jess, Ed Gilani, Fizza Eurich, Dean Simpson, Scot H. Voaklander, Don Semenchuk, Michael London, Connor Samanani, Salim |
author_facet | Sharma, Vishal Kulkarni, Vinaykumar Jess, Ed Gilani, Fizza Eurich, Dean Simpson, Scot H. Voaklander, Don Semenchuk, Michael London, Connor Samanani, Salim |
author_sort | Sharma, Vishal |
collection | PubMed |
description | IMPORTANCE: Machine learning approaches can assist opioid stewardship by identifying high-risk opioid prescribing for potential interventions. OBJECTIVE: To develop a machine learning model for deployment that can estimate the risk of adverse outcomes within 30 days of an opioid dispensation as a potential component of prescription drug monitoring programs using access to real-world data. DESIGN, SETTING, AND PARTICIPANTS: This prognostic study used population-level administrative health data to construct a machine learning model. This study took place in Alberta, Canada (from January 1, 2018, to December 31, 2019), and included all patients 18 years and older who received at least 1 opioid dispensation from a community pharmacy within the province. EXPOSURES: Each opioid dispensation served as the unit of analysis. MAIN OUTCOMES AND MEASURES: Opioid-related adverse outcomes were identified from administrative data sets. An XGBoost model was developed on 2018 data to estimate the risk of hospitalization, an emergency department visit, or mortality within 30 days of an opioid dispensation; validation on 2019 data was done to evaluate model performance. Model discrimination, calibration, and other relevant metrics are reported using daily and weekly predictions on both ranked predictions and predicted probability thresholds using all data from 2019. RESULTS: A total of 853 324 participants represented 6 181 025 opioid dispensations, with 145 016 outcome events reported (2.3%); 46.4% of the participants were men and 53.6% were women, with a mean (SD) age of 49.1 (15.6) years for men and 51.0 (18.0) years for women. Of the outcome events, 77 326 (2.6% pretest probability) occurred within 30 days of a dispensation in the validation set (XGBoost C statistic, 0.82 [95% CI, 0.81-0.82]). The top 0.1 percentile of estimated risk had a positive likelihood ratio (LR) of 28.7, which translated to a posttest probability of 43.1%. In our simulations, the weekly measured predictions had higher positive LRs in both the highest-risk dispensations and percentiles of estimated risk compared with predictions measured daily. Net benefit analysis showed that using machine learning prediction may not add additional benefit over the entire range of probability thresholds. CONCLUSIONS AND RELEVANCE: These findings suggest that prescription drug monitoring programs can use machine learning classifiers to identify patients at risk of opioid-related adverse outcomes and intervene on high-risk ranked predictions. Better access to available administrative and clinical data could improve the prediction performance of machine learning classifiers and thus expand opioid stewardship efforts. |
format | Online Article Text |
id | pubmed-9857580 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2022 |
publisher | American Medical Association |
record_format | MEDLINE/PubMed |
spelling | pubmed-98575802023-02-01 Development and Validation of a Machine Learning Model to Estimate Risk of Adverse Outcomes Within 30 Days of Opioid Dispensation Sharma, Vishal Kulkarni, Vinaykumar Jess, Ed Gilani, Fizza Eurich, Dean Simpson, Scot H. Voaklander, Don Semenchuk, Michael London, Connor Samanani, Salim JAMA Netw Open Original Investigation IMPORTANCE: Machine learning approaches can assist opioid stewardship by identifying high-risk opioid prescribing for potential interventions. OBJECTIVE: To develop a machine learning model for deployment that can estimate the risk of adverse outcomes within 30 days of an opioid dispensation as a potential component of prescription drug monitoring programs using access to real-world data. DESIGN, SETTING, AND PARTICIPANTS: This prognostic study used population-level administrative health data to construct a machine learning model. This study took place in Alberta, Canada (from January 1, 2018, to December 31, 2019), and included all patients 18 years and older who received at least 1 opioid dispensation from a community pharmacy within the province. EXPOSURES: Each opioid dispensation served as the unit of analysis. MAIN OUTCOMES AND MEASURES: Opioid-related adverse outcomes were identified from administrative data sets. An XGBoost model was developed on 2018 data to estimate the risk of hospitalization, an emergency department visit, or mortality within 30 days of an opioid dispensation; validation on 2019 data was done to evaluate model performance. Model discrimination, calibration, and other relevant metrics are reported using daily and weekly predictions on both ranked predictions and predicted probability thresholds using all data from 2019. RESULTS: A total of 853 324 participants represented 6 181 025 opioid dispensations, with 145 016 outcome events reported (2.3%); 46.4% of the participants were men and 53.6% were women, with a mean (SD) age of 49.1 (15.6) years for men and 51.0 (18.0) years for women. Of the outcome events, 77 326 (2.6% pretest probability) occurred within 30 days of a dispensation in the validation set (XGBoost C statistic, 0.82 [95% CI, 0.81-0.82]). The top 0.1 percentile of estimated risk had a positive likelihood ratio (LR) of 28.7, which translated to a posttest probability of 43.1%. In our simulations, the weekly measured predictions had higher positive LRs in both the highest-risk dispensations and percentiles of estimated risk compared with predictions measured daily. Net benefit analysis showed that using machine learning prediction may not add additional benefit over the entire range of probability thresholds. CONCLUSIONS AND RELEVANCE: These findings suggest that prescription drug monitoring programs can use machine learning classifiers to identify patients at risk of opioid-related adverse outcomes and intervene on high-risk ranked predictions. Better access to available administrative and clinical data could improve the prediction performance of machine learning classifiers and thus expand opioid stewardship efforts. American Medical Association 2022-12-27 /pmc/articles/PMC9857580/ /pubmed/36574245 http://dx.doi.org/10.1001/jamanetworkopen.2022.48559 Text en Copyright 2022 Sharma V et al. JAMA Network Open. https://creativecommons.org/licenses/by/4.0/This is an open access article distributed under the terms of the CC-BY License. |
spellingShingle | Original Investigation Sharma, Vishal Kulkarni, Vinaykumar Jess, Ed Gilani, Fizza Eurich, Dean Simpson, Scot H. Voaklander, Don Semenchuk, Michael London, Connor Samanani, Salim Development and Validation of a Machine Learning Model to Estimate Risk of Adverse Outcomes Within 30 Days of Opioid Dispensation |
title | Development and Validation of a Machine Learning Model to Estimate Risk of Adverse Outcomes Within 30 Days of Opioid Dispensation |
title_full | Development and Validation of a Machine Learning Model to Estimate Risk of Adverse Outcomes Within 30 Days of Opioid Dispensation |
title_fullStr | Development and Validation of a Machine Learning Model to Estimate Risk of Adverse Outcomes Within 30 Days of Opioid Dispensation |
title_full_unstemmed | Development and Validation of a Machine Learning Model to Estimate Risk of Adverse Outcomes Within 30 Days of Opioid Dispensation |
title_short | Development and Validation of a Machine Learning Model to Estimate Risk of Adverse Outcomes Within 30 Days of Opioid Dispensation |
title_sort | development and validation of a machine learning model to estimate risk of adverse outcomes within 30 days of opioid dispensation |
topic | Original Investigation |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9857580/ https://www.ncbi.nlm.nih.gov/pubmed/36574245 http://dx.doi.org/10.1001/jamanetworkopen.2022.48559 |
work_keys_str_mv | AT sharmavishal developmentandvalidationofamachinelearningmodeltoestimateriskofadverseoutcomeswithin30daysofopioiddispensation AT kulkarnivinaykumar developmentandvalidationofamachinelearningmodeltoestimateriskofadverseoutcomeswithin30daysofopioiddispensation AT jessed developmentandvalidationofamachinelearningmodeltoestimateriskofadverseoutcomeswithin30daysofopioiddispensation AT gilanifizza developmentandvalidationofamachinelearningmodeltoestimateriskofadverseoutcomeswithin30daysofopioiddispensation AT eurichdean developmentandvalidationofamachinelearningmodeltoestimateriskofadverseoutcomeswithin30daysofopioiddispensation AT simpsonscoth developmentandvalidationofamachinelearningmodeltoestimateriskofadverseoutcomeswithin30daysofopioiddispensation AT voaklanderdon developmentandvalidationofamachinelearningmodeltoestimateriskofadverseoutcomeswithin30daysofopioiddispensation AT semenchukmichael developmentandvalidationofamachinelearningmodeltoestimateriskofadverseoutcomeswithin30daysofopioiddispensation AT londonconnor developmentandvalidationofamachinelearningmodeltoestimateriskofadverseoutcomeswithin30daysofopioiddispensation AT samananisalim developmentandvalidationofamachinelearningmodeltoestimateriskofadverseoutcomeswithin30daysofopioiddispensation |