Abstract
Adverse drug events (ADEs) are common and have serious consequences in older adults. ED visits are opportunities to identify and alter the course of such vulnerable patients. Current practice, however, is limited by inaccurate reporting of medication list, time-consuming medication reconciliation, and poor ADE assessment. This manuscript describes a novel approach to predict, detect, and intervene vulnerable older adults at risk of ADE using machine learning. Toxicologists’ expertise in ADE is essential to creating the machine learning algorithm. Leveraging the existing electronic health records to better capture older adults at risk of ADE in the ED may improve their care.
Keywords: Machine learning, Adverse drug events, Older adults
Introduction
An adverse drug event (ADE) is an injury resulting from medical intervention related to a drug, which includes medication errors (i.e., inappropriate use of drugs), adverse drug reactions (i.e., harm caused by drugs at normal doses), allergic reactions, and overdoses [1]. In 2008, 1.9 million hospitalizations were recorded due to ADEs. The rate of hospitalization due to ADEs increased 52% from 2004 to 2008 [2]. In patients 65 years old or older, the rate of hospitalization due to ADE is four times higher compared to younger patients [3]. Older adults experience serious consequences from ADE. One in five older adults may fall due to ADE, which results in a fracture, functional decline, and death [4, 5]. Up to 39% of delirium could be caused by ADE, which results in increased hospital length of stay, mortality, and decreased functional status [6, 7]. In addition, 88% of these hospitalizations are considered to be preventable [3, 8]. In the course of morbidity experienced from ADE, individuals are commonly evaluated in the emergency department (ED). These ED visits are significant in older patients—they may signal an inflection point in their functional status and worsening progression of diseases [9].
Although pharmacists have led the initiative to reduce medication errors [10], toxicologists have clinical experience of detecting and treating ADEs. ED visits are opportunities to identify and alter the course of such vulnerable patients. ED visits due to ADE is estimated to occur in four per 1000 individuals in 2013 to 2014, and the rate of these ED visits is increasing from 26 to 35% among older adults between 2005 and 2013 [11]. The Geriatric Emergency Department Guidelines recommend that all geriatric patients have medication reconciliations and identify patients at high risk (polypharmacy > 5 medications and presence of high-risk medications using “Beers criteria”) to review appropriate use of such medications [12]. Current practice, however, is limited by inaccurate reporting of medication list, time-consuming medication reconciliation, and poor ADE assessment. A novel approach to accurately identify and intervene vulnerable older adults at risk of ADE is desperately needed.
One potential mechanism to help identify vulnerable patients due to ADE is machine learning. Machine learning is an approach of artificial intelligence that “trains” mathematical algorithms to reveal potential patterns and relationships (e.g., the presence of ADE and other comorbid conditions) that may not be previously anticipated using existing data. Unlike traditional statistical method with parametric or non-parametric assumptions, machine learning can iteratively “learn” from patterns seen in the data alone [13]. Machine learning approaches use big data stored in the electronic health records (EHRs) to provide a data-driven approach to quickly and reliably identify patients who are at high risk for a clinical outcome (e.g., death), as well as to predict future likelihood of such outcomes [14, 15]. In this manuscript, we will explore the use of machine learning to identify older adults at high risk of ADE in the ED as well as to predict the future ADE.
Advantages of Machine Learning as an Approach to Predict Future Adverse Drug Events
Unlike traditional statistical methods used in medicine based on deductive reasoning (i.e., theory-based hypothesis testing), machine learning relies on inductive reasoning (i.e., recognizing patterns within data to infer associations). Machine learning approaches can account for far greater number of pre-specified variables (e.g., single heart rate reading) embedded within the EHRs compared to a limited number (e.g., age, comorbid conditions) that can be included in traditional statistical analysis approaches. [16, 17] Most widely used machine learning approaches are supervised learning and unsupervised learning. In supervised learning, the mathematical algorithm is trained using known, labeled examples (e.g., age > 90 years) to learn by comparing its actual outcome (e.g., mortality) with correct outputs (e.g., age > 90 years, high predicted mortality) to find errors. In unsupervised learning, no historical labels are used, and the algorithm must figure out what is being shown. The inductive reasoning of machine learning hinges on the availability of robust data (such as that generated from every patient encounter and stored in the EHR) and analytical ability to harness the meanings in available data. Although these techniques have been commonly applied to biological and computer research, the frontier for adapting them to medical research has recently opened.
Traditional statistical methods are insufficient to predict patients with future ADEs [18, 19]. Such methods are limited due to selection bias for choosing the variable of interest (i.e., deductive reasoning), parametric and non-parametric statistical assumptions, and a limited number of variables included in the statistical model. Machine learning can overcome these barriers and predict clinical outcomes more accurately than the traditional statistical methods or experienced physician coders, such as mortality [20, 21], drug-drug interactions [22], and clinical impressions documented by the clinicians (e.g., advance care planning conversations) [23].
Roles of the Toxicologist in Machine Learning and Adverse Drug Events in the ED
Medical toxicologists have growing experience with machine learning [24–27] and stewardship in ADE detection/management [28, 29]. Harnessing the potential of machine learning in the ED may allow better detection, prediction, and possible intervention to address the growing number of ADE-related ED visits for vulnerable older adults. While validated decision criteria like the Beers and Screening Tool of Older Persons’ Potentially Inappropriate Prescriptions (STOPP) have been demonstrated to enhance the detection of ADE, they remain complex and lengthy, making their application in the ED difficult [30]. Machine learning can enhance our understanding of ADE, using the Beers or STOPP criteria as a training point to create an algorithm that identifies patients before the onset of ADE ED visits. Identification of these patients may allow medical toxicologists to concentrate their efforts towards a high-risk population to prevent ADE [31]. Machine learning may also identify effective interventions that prevent ADE while boosting medication adherence through long-term follow-up in identified individuals [32]. An improved understanding of how to leverage both unstructured, text (e.g., clinician progress notes) and structured, non-text (e.g., vital signs, laboratory test results) data within EHR will help by extracting as much information available to detect and predict ADE. Toxicologists may apply their expertise in medication side effects and interactions to create this algorithm for non-toxicologists to use in the ED setting.
Potential Concepts and Preliminary Data to Use Machine Learning for Vulnerable Older Adults in the ED
At present, the potential to leverage the EHR data to detect, predict, and intervene ADE in the ED is understudied. We propose the following line of investigations to fill this knowledge gap for older adults in the ED.
Prediction models with high accuracy can be developed using the structured, non-text data (e.g., vitals, laboratory test results) and established methods like random forest. Random forest is a supervised machine learning approach based on traditional decision tree algorithm. Like decision tree algorithm, the data is categorized into binary splits (e.g., age > 90? yes/no) until certain pre-set criteria is met. Each decision point has an attribute (i.e., the reason to be related to the outcome of interest) and a label (e.g., age > 90? yes/no for mortality prediction). The available data is categorized one attribute after another and assigned a final probability for the outcome of interest. In random forest approach, the data is split randomly and decision tree algorithm is performed iteratively to generate a higher accuracy for the outcome prediction [33]. Random forest approach has been used to predict 6-month mortality for older adults with congestive heart failure (a nationally representative 5% sample of all Medicare fee-for-service beneficiaries, N = 2,000,000). Using traditional predictors (e.g., age, sex, comorbid conditions) augmented by markers of disease progression (e.g., number of medical encounters), this model correctly classified patients who died from patients who lived 82.6% of the time (AUC = 0.826). This was substantially higher than traditional model building (AUC = 0.563) [34]. This study demonstrates the feasibility of predicting ADEs using random forest approach. This type of approach would leverage the entire EHR and yield a much higher accuracy of the prediction model compared to the traditional statistical models.
In addition to using the structured, non-text data in EHR, unstructured, text data (e.g., physician notes) could also be leveraged to better capture likely ADE embedded. Natural language processing is another machine learning approach that allows the computers to analyze the unstructured data (e.g., free-text clinician notes) and learns to interpret human language. It breaks down language into shorter, elemental pieces and tries to learn the relationships between pieces of text [35]. Natural language processing approach has been used to detect patient-reported symptoms from free-text EHR notes. Among clinical notes of 2695 breast cancer patients between 1996 and 2015, 103,564 sentences were analyzed to detect patient-reported symptoms like pain, fatigue, and nausea and compared against a gold standard of physician manual review. The final model achieved precisions of 0.82, 0.86, and 0.99 for an active symptom, the absence of a symptom, and no symptoms at all, respectively under 2 min (> 18,000 times faster than physician coders) [23, 36]. These studies demonstrate the feasibility of detecting difficult to detect symptoms of ADEs using natural language processing.
Upon successful development and validation of above algorithms, implementation into the existing ED workflow could be explored to better understand the acceptability and feasibility of such algorithms to alter the clinical course of vulnerable older adults.
Pitfalls and Future Use of Machine Learning to Predict, Detect, and Improve Adverse Drug Events
Despite the promising ability of machine learning to leverage the data within EHR, multiple limitations exist. Prediction and detection of ADE are only as accurate as the integrity of data entered in the EHR. Intentional or unintentional omission or misclassification by the person who entered the data (e.g., harried physician choosing appropriate diagnostic codes) can greatly alter the integrity, yet such incidences are not readily detectable [37]. Further, the data being used is the product of human decisions (e.g., physician’s decision to obtain diagnostic tests), rather than the biologic phenomenon itself (e.g., empiric mechanism of a drug side effect producing the phenotype of ADE) [38]. A large number of variables are included in the machine learning models which may fit too closely to the data (i.e., overfitting). Such over-fitted model may fail to fit in a different dataset and limit its generalizability. When a machine learning model is created, implementation of this model into the EHR in real-time clinical practice will be an additional barrier to its usefulness. The machine learning algorithms may not surpass the human judgment; rather, they could be a powerful tool to circumvent when correctly applied by trained clinicians. Finally, machine learning algorithms are designed to discover meaning within data (i.e., associations) and may not be interpreted as causality (i.e., predictors may not cause ADEs).
In the future, integration of other sources of data that may predict ADE may enhance the predictive strength of a machine learning algorithm. For example, investigations that integrate wearable biosensor data which has previously identified opioid use may be combined with EHR prescribing data to identify the onset of ADE in this population, prompting intervention by a medical toxicologist [39, 40].
Conclusion
Machine learning approaches can be an innovative method to predict, detect, and intervene adverse drug events in the ED. Toxicologists’ expertise in adverse drug events is essential to creating the machine learning algorithm. Leveraging the existing electronic health records to better capture older adults at risk of adverse drug events in the ED may improve their care.
Sources of Funding
Dr. Boyer is supported by the National Institutes of Health 1K24DA037109. Dr. Ouchi is supported by the Grants for Early Medical and Surgical Subspecialists’ Transition to Aging Research award from the National Institute on Aging (1R03AG056449), the Emergency Medicine Foundation (EMF), and the Society of Academic Emergency Medicine (SAEM).
Compliance with Ethical Standards
Conflict of Interest
The authors declare there are no additional conflicts of interest.
References
- 1.Kohn LT, Corrigan JM, Donaldson MS, editors. To err is human: building a safer health system. Washington (DC); 2000. [PubMed]
- 2.Lucado J, Paez K, Elixhauser A. Medication-Related Adverse Outcomes in U.S. Hospitals and Emergency Departments, 2008: Statistical Brief #109. Healthcare Cost and Utilization Project (HCUP) Statistical Briefs. Rockville (MD); 2006. [PubMed]
- 3.Beijer HJ, de Blaey CJ. Hospitalisations caused by adverse drug reactions (ADR): a meta-analysis of observational studies. Pharm World Sci. 2002;24(2):46–54. doi: 10.1023/A:1015570104121. [DOI] [PubMed] [Google Scholar]
- 4.Berry SD, Miller RR. Falls: epidemiology, pathophysiology, and relationship to fracture. Curr Osteoporos Rep. 2008;6(4):149–154. doi: 10.1007/s11914-008-0026-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Tinetti ME, Kumar C. The patient who falls: “It’s always a trade-off”. JAMA. 2010;303(3):258–266. doi: 10.1001/jama.2009.2024. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6.Alagiakrishnan K, Wiens CA. An approach to drug induced delirium in the elderly. Postgrad Med J. 2004;80(945):388–393. doi: 10.1136/pgmj.2003.017236. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Siddiqi N, House AO, Holmes JD. Occurrence and outcome of delirium in medical in-patients: a systematic literature review. Age Ageing. 2006;35(4):350–364. doi: 10.1093/ageing/afl005. [DOI] [PubMed] [Google Scholar]
- 8.Leendertse AJ, Egberts AC, Stoker LJ, van den Bemt PM, Group HS. Frequency of and risk factors for preventable medication-related hospital admissions in the Netherlands. Arch Intern Med. 2008;168(17):1890–1896. doi: 10.1001/archinternmed.2008.3. [DOI] [PubMed] [Google Scholar]
- 9.Nagurney JM, Fleischman W, Han L, Leo-Summers L, Allore HG, Gill TM. Emergency department visits without hospitalization are associated with functional decline in older persons. Ann Emerg Med. 2017;69(4):426–433. doi: 10.1016/j.annemergmed.2016.09.018. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Mangino PD. Role of the pharmacist in reducing medication errors. J Surg Oncol. 2004;88(3):189–194. doi: 10.1002/jso.20127. [DOI] [PubMed] [Google Scholar]
- 11.Shehab N, Lovegrove MC, Geller AI, Rose KO, Weidle NJ, Budnitz DS. US emergency department visits for outpatient adverse drug events, 2013–2014. JAMA. 2016;316(20):2115–2125. doi: 10.1001/jama.2016.16201. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.American College of Emergency Physicians TAGS, Emergency Nurses Association, and the Society for Academic Emergency Medicine. The Geriatric Emergency Department Guidelines. 2013. https://www.saem.org/docs/default-source/saem-documents/education/geri_ed_guidelines_final.pdf?sfvrsn=6.
- 13.Kubota KJ, Chen JA, Little MA. Machine learning for large-scale wearable sensor data in Parkinson’s disease: concepts, promises, pitfalls, and futures. Mov Disord. 2016;31(9):1314–1326. doi: 10.1002/mds.26693. [DOI] [PubMed] [Google Scholar]
- 14.Murdoch TB, Detsky AS. The inevitable application of big data to health care. JAMA. 2013;309(13):1351–1352. doi: 10.1001/jama.2013.393. [DOI] [PubMed] [Google Scholar]
- 15.Janke AT, Overbeek DL, Kocher KE, Levy PD. Exploring the potential of predictive analytics and big data in emergency care. Ann Emerg Med. 2016;67(2):227–236. doi: 10.1016/j.annemergmed.2015.06.024. [DOI] [PubMed] [Google Scholar]
- 16.Bzdok D, Altman N, Krzywinski M. Statistics versus machine learning. Nat Methods. 2018;15:233–234. doi: 10.1038/nmeth.4642. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Bzdok D, Krzywinski M, Altman N. Points of significance: machine learning: a primer. Nat Methods. 2017;14(12):1119–1120. doi: 10.1038/nmeth.4526. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Sakuma M, Bates DW, Morimoto T. Clinical prediction rule to identify high-risk inpatients for adverse drug events: the JADE study. Pharmacoepidemiol Drug Saf. 2012;21(11):1221–1226. doi: 10.1002/pds.3331. [DOI] [PubMed] [Google Scholar]
- 19.Field TS, Gurwitz JH, Harrold LR, Rothschild J, DeBellis KR, Seger AC, et al. Risk factors for adverse drug events among older adults in the ambulatory setting. J Am Geriatr Soc. 2004;52(8):1349–1354. doi: 10.1111/j.1532-5415.2004.52367.x. [DOI] [PubMed] [Google Scholar]
- 20.Kuo PJ, Wu SC, Chien PC, Rau CS, Chen YC, Hsieh HY, Hsieh CH. Derivation and validation of different machine-learning models in mortality prediction of trauma in motorcycle riders: a cross-sectional retrospective study in southern Taiwan. BMJ Open. 2018;8(1):e018252. doi: 10.1136/bmjopen-2017-018252. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21.Taylor RA, Pare JR, Venkatesh AK, Mowafi H, Melnick ER, Fleischman W, Hall MK. Prediction of in-hospital mortality in emergency department patients with sepsis: a local big data-driven, machine learning approach. Acad Emerg Med. 2016;23(3):269–278. doi: 10.1111/acem.12876. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Liu R, AbdulHameed MDM, Kumar K, Yu X, Wallqvist A, Reifman J. Data-driven prediction of adverse drug reactions induced by drug-drug interactions. BMC Pharmacol Toxicol. 2017;18(1):44. doi: 10.1186/s40360-017-0153-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23.Lilley EJ, Lindvall C, Lillemoe KD, Tulsky JA, Wiener DC, Cooper Z. Measuring processes of Care in Palliative Surgery: a novel approach using natural language processing. Ann Surg. 2017:1. 10.1097/SLA.0000000000002579. [DOI] [PubMed]
- 24.Judson R, Elloumi F, Setzer RW, Li Z, Shah I. A comparison of machine learning algorithms for chemical toxicity classification using a simulated multi-scale data model. BMC Bioinformatics. 2008;9:241. doi: 10.1186/1471-2105-9-241. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Zhang Y, Wong YS, Deng J, Anton C, Gabos S, Zhang W, Huang DY, Jin C. Machine learning algorithms for mode-of-action classification in toxicity assessment. BioData Min. 2016;9:19. doi: 10.1186/s13040-016-0098-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26.Chen H, Hu L, Li H, Hong G, Zhang T, Ma J, Lu Z. An effective machine learning approach for prognosis of paraquat poisoning patients using blood routine indexes. Basic Clin Pharmacol Toxicol. 2017;120(1):86–96. doi: 10.1111/bcpt.12638. [DOI] [PubMed] [Google Scholar]
- 27.Wang J, Fang H, Carreiro S, Wang H, Boyer E. A new mining method to detect real time substance use events from wearable biosensor data stream. Int Conf Comput Netw Commun. 2017;2017:465–470. doi: 10.1109/ICCNC.2017.7876173. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28.Smith SW, Farmer BM. Toxicology in the Service of Patient and Medication Safety: a selected glance at past and present innovations. J Med Toxicol. 2015;11(2):245–252. doi: 10.1007/s13181-015-0470-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29.Keller DA, Juberg DR, Catlin N, Farland WH, Hess FG, Wolf DC, Doerrer NG. Identification and characterization of adverse effects in 21st century toxicology. Toxicol Sci. 2012;126(2):291–297. doi: 10.1093/toxsci/kfr350. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Brown JD, Hutchison LC, Li C, Painter JT, Martin BC. Predictive validity of the beers and screening tool of older persons’ potentially inappropriate prescriptions (STOPP) criteria to detect adverse drug events, hospitalizations, and emergency department visits in the United States. J Am Geriatr Soc. 2016;64(1):22–30. doi: 10.1111/jgs.13884. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Levy HB. Polypharmacy reduction strategies: tips on incorporating American Geriatrics Society Beers and Screening Tool of Older People’s Prescriptions Criteria. Clin Geriatr Med. 2017;33(2):177–187. doi: 10.1016/j.cger.2017.01.007. [DOI] [PubMed] [Google Scholar]
- 32.Reeve E, Wiese MD. Benefits of deprescribing on patients’ adherence to medications. Int J Clin Pharm. 2014;36(1):26–29. doi: 10.1007/s11096-013-9871-z. [DOI] [PubMed] [Google Scholar]
- 33.Cafri GLL, Paxton EW, Fan J. Predicting risk for adverse health events using random forest. J Appl Stat. 2017:1–16. 10.1080/02664763.2017.1414166.
- 34.Makar M, Ghassemi M, Cutler DM, Obermeyer Z. Short-term mortality prediction for elderly patients using Medicare claims data. Int J Mach Learn Comput. 2015;5(3):192–197. doi: 10.7763/IJMLC.2015.V5.506. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Nadkarni PM, Ohno-Machado L, Chapman WW. Natural language processing: an introduction. J Am Med Inform Assoc. 2011;18(5):544–551. doi: 10.1136/amiajnl-2011-000464. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36.Forsyth AW, Barzilay R, Hughes KS, Lui D, Lorenz KA, Enzinger A, Tulsky JA, Lindvall C. Machine learning methods to extract documentation of breast cancer symptoms from electronic health records. J Pain Symptom Manag. 2018;55:1492–1499. doi: 10.1016/j.jpainsymman.2018.02.016. [DOI] [PubMed] [Google Scholar]
- 37.Deo RC, Nallamothu BK. Learning about machine learning: the promise and pitfalls of big data and the electronic health record. Circ Cardiovasc Qual Outcomes. 2016;9(6):618–620. doi: 10.1161/CIRCOUTCOMES.116.003308. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38.Obermeyer Z, Lee TH. Lost in thought—the limits of the human mind and the future of medicine. N Engl J Med. 2017;377(13):1209–1211. doi: 10.1056/NEJMp1705348. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39.Carreiro S, Wittbold K, Indic P, Fang H, Zhang J, Boyer EW. Wearable biosensors to detect physiologic change during opioid use. J Med Toxicol. 2016;12(3):255–262. doi: 10.1007/s13181-016-0557-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 40.Chintha KK, Indic P, Chapman B, Boyer EW, Carreiro S. Wearable biosensors to evaluate recurrent opioid toxicity after naloxone administration: a Hilbert transform approach. Proc Annu Hawaii Int Conf Syst Sci. 2018;2018:3247–3252. [PMC free article] [PubMed] [Google Scholar]