Cargando…

Safe opioid prescribing: a prognostic machine learning approach to predicting 30-day risk after an opioid dispensation in Alberta, Canada

OBJECTIVE: To develop machine learning models employing administrative health data that can estimate risk of adverse outcomes within 30 days of an opioid dispensation for use by health departments or prescription monitoring programmes. DESIGN, SETTING AND PARTICIPANTS: This prognostic study was cond...

Descripción completa

Detalles Bibliográficos
Autores principales: Sharma, Vishal, Kulkarni, Vinaykumar, Eurich, Dean T, Kumar, Luke, Samanani, Salim
Formato: Online Artículo Texto
Lenguaje:English
Publicado: BMJ Publishing Group 2021
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8160164/
https://www.ncbi.nlm.nih.gov/pubmed/34039572
http://dx.doi.org/10.1136/bmjopen-2020-043964
_version_ 1783700226322726912
author Sharma, Vishal
Kulkarni, Vinaykumar
Eurich, Dean T
Kumar, Luke
Samanani, Salim
author_facet Sharma, Vishal
Kulkarni, Vinaykumar
Eurich, Dean T
Kumar, Luke
Samanani, Salim
author_sort Sharma, Vishal
collection PubMed
description OBJECTIVE: To develop machine learning models employing administrative health data that can estimate risk of adverse outcomes within 30 days of an opioid dispensation for use by health departments or prescription monitoring programmes. DESIGN, SETTING AND PARTICIPANTS: This prognostic study was conducted in Alberta, Canada between 2017 and 2018. Participants included all patients 18 years of age and older who received at least one opioid dispensation. Pregnant and cancer patients were excluded. EXPOSURE: Each opioid dispensation served as an exposure. MAIN OUTCOMES/MEASURES: Opioid-related adverse outcomes were identified from linked administrative health data. Machine learning algorithms were trained using 2017 data to predict risk of hospitalisation, emergency department visit and mortality within 30 days of an opioid dispensation. Two validation sets, using 2017 and 2018 data, were used to evaluate model performance. Model discrimination and calibration performance were assessed for all patients and those at higher risk. Machine learning discrimination was compared with current opioid guidelines. RESULTS: Participants in the 2017 training set (n=275 150) and validation set (n=117 829) had similar baseline characteristics. In the 2017 validation set, c-statistics for the XGBoost, logistic regression and neural network classifiers were 0.87, 0.87 and 0.80, respectively. In the 2018 validation set (n=393 023), the corresponding c-statistics were 0.88, 0.88 and 0.82. C-statistics from the Canadian guidelines ranged from 0.54 to 0.69 while the US guidelines ranged from 0.50 to 0.62. The top five percentile of predicted risk for the XGBoost and logistic regression classifiers captured 42% of all events and translated into post-test probabilities of 13.38% and 13.45%, respectively, up from the pretest probability of 1.6%. CONCLUSION: Machine learning classifiers, especially incorporating hospitalisation/physician claims data, have better predictive performance compared with guideline or prescription history only approaches when predicting 30-day risk of adverse outcomes. Prescription monitoring programmes and health departments with access to administrative data can use machine learning classifiers to effectively identify those at higher risk compared with current guideline-based approaches.
format Online
Article
Text
id pubmed-8160164
institution National Center for Biotechnology Information
language English
publishDate 2021
publisher BMJ Publishing Group
record_format MEDLINE/PubMed
spelling pubmed-81601642021-06-10 Safe opioid prescribing: a prognostic machine learning approach to predicting 30-day risk after an opioid dispensation in Alberta, Canada Sharma, Vishal Kulkarni, Vinaykumar Eurich, Dean T Kumar, Luke Samanani, Salim BMJ Open Epidemiology OBJECTIVE: To develop machine learning models employing administrative health data that can estimate risk of adverse outcomes within 30 days of an opioid dispensation for use by health departments or prescription monitoring programmes. DESIGN, SETTING AND PARTICIPANTS: This prognostic study was conducted in Alberta, Canada between 2017 and 2018. Participants included all patients 18 years of age and older who received at least one opioid dispensation. Pregnant and cancer patients were excluded. EXPOSURE: Each opioid dispensation served as an exposure. MAIN OUTCOMES/MEASURES: Opioid-related adverse outcomes were identified from linked administrative health data. Machine learning algorithms were trained using 2017 data to predict risk of hospitalisation, emergency department visit and mortality within 30 days of an opioid dispensation. Two validation sets, using 2017 and 2018 data, were used to evaluate model performance. Model discrimination and calibration performance were assessed for all patients and those at higher risk. Machine learning discrimination was compared with current opioid guidelines. RESULTS: Participants in the 2017 training set (n=275 150) and validation set (n=117 829) had similar baseline characteristics. In the 2017 validation set, c-statistics for the XGBoost, logistic regression and neural network classifiers were 0.87, 0.87 and 0.80, respectively. In the 2018 validation set (n=393 023), the corresponding c-statistics were 0.88, 0.88 and 0.82. C-statistics from the Canadian guidelines ranged from 0.54 to 0.69 while the US guidelines ranged from 0.50 to 0.62. The top five percentile of predicted risk for the XGBoost and logistic regression classifiers captured 42% of all events and translated into post-test probabilities of 13.38% and 13.45%, respectively, up from the pretest probability of 1.6%. CONCLUSION: Machine learning classifiers, especially incorporating hospitalisation/physician claims data, have better predictive performance compared with guideline or prescription history only approaches when predicting 30-day risk of adverse outcomes. Prescription monitoring programmes and health departments with access to administrative data can use machine learning classifiers to effectively identify those at higher risk compared with current guideline-based approaches. BMJ Publishing Group 2021-05-26 /pmc/articles/PMC8160164/ /pubmed/34039572 http://dx.doi.org/10.1136/bmjopen-2020-043964 Text en © Author(s) (or their employer(s)) 2021. Re-use permitted under CC BY-NC. No commercial re-use. See rights and permissions. Published by BMJ. https://creativecommons.org/licenses/by-nc/4.0/This is an open access article distributed in accordance with the Creative Commons Attribution Non Commercial (CC BY-NC 4.0) license, which permits others to distribute, remix, adapt, build upon this work non-commercially, and license their derivative works on different terms, provided the original work is properly cited, appropriate credit is given, any changes made indicated, and the use is non-commercial. See: http://creativecommons.org/licenses/by-nc/4.0/ (https://creativecommons.org/licenses/by-nc/4.0/) .
spellingShingle Epidemiology
Sharma, Vishal
Kulkarni, Vinaykumar
Eurich, Dean T
Kumar, Luke
Samanani, Salim
Safe opioid prescribing: a prognostic machine learning approach to predicting 30-day risk after an opioid dispensation in Alberta, Canada
title Safe opioid prescribing: a prognostic machine learning approach to predicting 30-day risk after an opioid dispensation in Alberta, Canada
title_full Safe opioid prescribing: a prognostic machine learning approach to predicting 30-day risk after an opioid dispensation in Alberta, Canada
title_fullStr Safe opioid prescribing: a prognostic machine learning approach to predicting 30-day risk after an opioid dispensation in Alberta, Canada
title_full_unstemmed Safe opioid prescribing: a prognostic machine learning approach to predicting 30-day risk after an opioid dispensation in Alberta, Canada
title_short Safe opioid prescribing: a prognostic machine learning approach to predicting 30-day risk after an opioid dispensation in Alberta, Canada
title_sort safe opioid prescribing: a prognostic machine learning approach to predicting 30-day risk after an opioid dispensation in alberta, canada
topic Epidemiology
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8160164/
https://www.ncbi.nlm.nih.gov/pubmed/34039572
http://dx.doi.org/10.1136/bmjopen-2020-043964
work_keys_str_mv AT sharmavishal safeopioidprescribingaprognosticmachinelearningapproachtopredicting30dayriskafteranopioiddispensationinalbertacanada
AT kulkarnivinaykumar safeopioidprescribingaprognosticmachinelearningapproachtopredicting30dayriskafteranopioiddispensationinalbertacanada
AT eurichdeant safeopioidprescribingaprognosticmachinelearningapproachtopredicting30dayriskafteranopioiddispensationinalbertacanada
AT kumarluke safeopioidprescribingaprognosticmachinelearningapproachtopredicting30dayriskafteranopioiddispensationinalbertacanada
AT samananisalim safeopioidprescribingaprognosticmachinelearningapproachtopredicting30dayriskafteranopioiddispensationinalbertacanada