A Machine-Learning Algorithm to Optimise Automated Adverse Drug Reaction Detection from Clinical Coding
- 378 Downloads
Adverse drug reaction (ADR) detection in hospitals is heavily reliant on spontaneous reporting by clinical staff, with studies in the literature pointing to high rates of underreporting . International Classification of Diseases, 10th Revision (ICD-10) codes have been used in epidemiological studies of ADRs and offer the potential for automated ADR detection systems.
The aim of this study was to develop an automated ADR detection system based on ICD-10 codes, using machine-learning algorithms to improve accuracy and efficiency.
For a 12-month period from December 2016 to November 2017, every inpatient episode receiving an ICD-10 code in the range Y40.0–Y59.9 (ADR code) was flagged for review as a potential ADR. Each flagged admission was assessed by an expert pharmacist and, if needed, reviewed at regular ADR committee meetings. For each report, a determination was made about ADR probability and severity. The dataset was randomly split into training and test sets. A machine-learning model using the random forest algorithm was developed on the training set to discriminate between true and false ADR reports. The model was then applied to the test set to assess accuracy using the area under the receiver operating characteristic (AUC).
In the study period, 2917 Y40.0–Y59.9 codes were applied to admissions, resulting in 245 ADR reports after review. These 245 reports accounted for 44.5% of all ADR reporting in our hospital in the study period. A random forest model built on the training set was able to discriminate between true and false reports on the test set with an AUC of 0.803.
Automated ADR detection using ICD-10 coding significantly improved ADR detection in the study period, with improved discrimination between true and false reports by applying a machine-learning model.
CK: Principal Investigator. CM and CK were responsible for the study design and conception; all authors were responsible for acquisition and validation of the data; CM was responsible for analysis and interpretation of the data; and all authors contributed to reviewing drafts of the manuscript and approved the final version for publication.
Compliance with Ethical Standards
No sources of funding were used to assist in the preparation of this study.
Conflict of interest
Christopher McMaster, David Liew, Claire Keith, Parnaz Aminian and Albert Frauman have no conflicts of interest that are directly relevant to the content of this study.
This study was approved by the institutional Human Research Ethics Committee.
- 8.World Health Organization. Drugs, medicaments and biological substances causing adverse effects in therapeutic use (Y40-Y59). 2016 [cited 28 November 2018]. http://apps.who.int/classifications/icd10/browse/2016/en#/Y40-Y59. Accessed 28 Nov 2018
- 9.Du W, Pearson S-A, Buckley N, Day C, Banks E. Diagnosis-based and external cause-based criteria to identify adverse drug reactions in hospital ICD-coded data: application to an Australia population-based study. Public Heal Res Pract. 2017;27(2):1–6.Google Scholar
- 13.Kubat M, Matwin S, Rosario GE, Rundensteiner EA, Brown DC, Ward MO, et al. Addressing the curse of imbalanced training sets: one-sided selection. Nashville, USA; 1997. p. 179–86. https://arxiv.org/pdf/1609.06570.pdf
- 15.R Core Team. R: a language and environment for statistical computing. R Foundation for Statistical Computing, Vienna. 2018 [cited 28 November 2018]. https://www.R-project.org/. Accessed 28 Nov 2018
- 16.Meyer D, Dimitriadou E, Hornik K, Weingessel A, Leisch F. e1071: Misc functions of the department of statistics, probability theory group (Formerly: E1071), TU Wien. R package version 1.7-0. 2018 [cited 28 November 2018]. https://CRAN.R-project.org/package=e1071. Accessed 28 Nov 2018
- 17.Liaw A, Wiener M. Classification and Regression by randomForest. R News. 2002;2(3):18–22.Google Scholar
- 18.Allaire J, Chollet F. keras: R Interface to ‘Keras’. R package version 2.2.4. 2018 [cited 28 November 2018]. https://CRAN.R-project.org/packag=keras. Accessed 28 Nov 2018
- 19.Abadi M, et al. TensorFlow: large-scale machine learning on heterogeneous systems, 2015. Software available from http://tensorflow.org. Accessed 28 Nov 2018
- 20.Pennington J, Socher R, Manning CD. GloVe: global vectors for word representation. 2014. https://nlp.stanford.edu/pubs/glove.pdf. Accessed 28 Nov 2018
- 21.Provisional approval pathway: prescription medicines. Therapeutic goods administration. 2018 [cited 28 November 2018]. https://www.tga.gov.au/provisional-approval-pathway-prescription-medicines. Accessed 28 Nov 2018