Extraction of Information Related to Adverse Drug Events from Electronic Health Record Notes: Design of an End-to-End Model Based on Deep Learning
- PMID: 30478023
- PMCID: PMC6288593
- DOI: 10.2196/12159
Extraction of Information Related to Adverse Drug Events from Electronic Health Record Notes: Design of an End-to-End Model Based on Deep Learning
Abstract
Background: Pharmacovigilance and drug-safety surveillance are crucial for monitoring adverse drug events (ADEs), but the main ADE-reporting systems such as Food and Drug Administration Adverse Event Reporting System face challenges such as underreporting. Therefore, as complementary surveillance, data on ADEs are extracted from electronic health record (EHR) notes via natural language processing (NLP). As NLP develops, many up-to-date machine-learning techniques are introduced in this field, such as deep learning and multi-task learning (MTL). However, only a few studies have focused on employing such techniques to extract ADEs.
Objective: We aimed to design a deep learning model for extracting ADEs and related information such as medications and indications. Since extraction of ADE-related information includes two steps-named entity recognition and relation extraction-our second objective was to improve the deep learning model using multi-task learning between the two steps.
Methods: We employed the dataset from the Medication, Indication and Adverse Drug Events (MADE) 1.0 challenge to train and test our models. This dataset consists of 1089 EHR notes of cancer patients and includes 9 entity types such as Medication, Indication, and ADE and 7 types of relations between these entities. To extract information from the dataset, we proposed a deep-learning model that uses a bidirectional long short-term memory (BiLSTM) conditional random field network to recognize entities and a BiLSTM-Attention network to extract relations. To further improve the deep-learning model, we employed three typical MTL methods, namely, hard parameter sharing, parameter regularization, and task relation learning, to build three MTL models, called HardMTL, RegMTL, and LearnMTL, respectively.
Results: Since extraction of ADE-related information is a two-step task, the result of the second step (ie, relation extraction) was used to compare all models. We used microaveraged precision, recall, and F1 as evaluation metrics. Our deep learning model achieved state-of-the-art results (F1=65.9%), which is significantly higher than that (F1=61.7%) of the best system in the MADE1.0 challenge. HardMTL further improved the F1 by 0.8%, boosting the F1 to 66.7%, whereas RegMTL and LearnMTL failed to boost the performance.
Conclusions: Deep learning models can significantly improve the performance of ADE-related information extraction. MTL may be effective for named entity recognition and relation extraction, but it depends on the methods, data, and other factors. Our results can facilitate research on ADE detection, NLP, and machine learning.
Keywords: adverse drug event; deep learning; multi-task learning; named entity recognition; natural language processing; relation extraction.
©Fei Li, Weisong Liu, Hong Yu. Originally published in JMIR Medical Informatics (http://medinform.jmir.org), 26.11.2018.
Conflict of interest statement
Conflicts of Interest: None declared.
Figures






Similar articles
-
Extraction of Information Related to Drug Safety Surveillance From Electronic Health Record Notes: Joint Modeling of Entities and Relations Using Knowledge-Aware Neural Attentive Models.JMIR Med Inform. 2020 Jul 10;8(7):e18417. doi: 10.2196/18417. JMIR Med Inform. 2020. PMID: 32459650 Free PMC article.
-
Clinical Relation Extraction Toward Drug Safety Surveillance Using Electronic Health Record Narratives: Classical Learning Versus Deep Learning.JMIR Public Health Surveill. 2018 Apr 25;4(2):e29. doi: 10.2196/publichealth.9361. JMIR Public Health Surveill. 2018. PMID: 29695376 Free PMC article.
-
Overview of the First Natural Language Processing Challenge for Extracting Medication, Indication, and Adverse Drug Events from Electronic Health Record Notes (MADE 1.0).Drug Saf. 2019 Jan;42(1):99-111. doi: 10.1007/s40264-018-0762-z. Drug Saf. 2019. PMID: 30649735 Free PMC article. Review.
-
Adverse Drug Events Detection in Clinical Notes by Jointly Modeling Entities and Relations Using Neural Networks.Drug Saf. 2019 Jan;42(1):135-146. doi: 10.1007/s40264-018-0764-x. Drug Saf. 2019. PMID: 30649738
-
Leveraging Natural Language Processing and Machine Learning Methods for Adverse Drug Event Detection in Electronic Health/Medical Records: A Scoping Review.Drug Saf. 2025 Apr;48(4):321-337. doi: 10.1007/s40264-024-01505-6. Epub 2025 Jan 9. Drug Saf. 2025. PMID: 39786481 Free PMC article.
Cited by
-
Automated Identification of Patients With Immune-Related Adverse Events From Clinical Notes Using Word Embedding and Machine Learning.JCO Clin Cancer Inform. 2021 May;5:541-549. doi: 10.1200/CCI.20.00109. JCO Clin Cancer Inform. 2021. PMID: 33989017 Free PMC article.
-
Machine Learning in Modeling of Mouse Behavior.Front Neurosci. 2021 Sep 14;15:700253. doi: 10.3389/fnins.2021.700253. eCollection 2021. Front Neurosci. 2021. PMID: 34594182 Free PMC article.
-
Bleeding Entity Recognition in Electronic Health Records: A Comprehensive Analysis of End-to-End Systems.AMIA Annu Symp Proc. 2021 Jan 25;2020:860-869. eCollection 2020. AMIA Annu Symp Proc. 2021. PMID: 33936461 Free PMC article.
-
Naranjo Question Answering using End-to-End Multi-task Learning Model.KDD. 2019 Aug;2019:2547-2555. doi: 10.1145/3292500.3330770. KDD. 2019. PMID: 31799022 Free PMC article.
-
Deep learning in clinical natural language processing: a methodical review.J Am Med Inform Assoc. 2020 Mar 1;27(3):457-470. doi: 10.1093/jamia/ocz200. J Am Med Inform Assoc. 2020. PMID: 31794016 Free PMC article. Review.
References
-
- Bates DW, Cullen DJ, Laird N, Petersen LA, Small SD, Servi D, Laffel G, Sweitzer BJ, Shea BF, Hallisey R. Incidence of adverse drug events and potential adverse drug events. Implications for prevention. ADE Prevention Study Group. JAMA. 1995 Jul 05;274(1):29–34. - PubMed
-
- Fattinger K, Roos M, Vergères P, Holenstein C, Kind B, Masche U, Stocker DN, Braunschweig S, Kullak-Ublick GA, Galeazzi RL, Follath F, Gasser T, Meier PJ. Epidemiology of drug exposure and adverse drug reactions in two swiss departments of internal medicine. Br J Clin Pharmacol. 2000 Feb;49(2):158–67. https://onlinelibrary.wiley.com/resolve/openurl?genre=article&sid=nlm:pu... bcp132 - PMC - PubMed
-
- Classen DC, Pestotnik SL, Evans RS, Lloyd JF, Burke JP. Adverse drug events in hospitalized patients. Excess length of stay, extra costs, and attributable mortality. JAMA. 1997;277(4):301–6. - PubMed
-
- Bates DW, Spell N, Cullen DJ, Burdick E, Laird N, Petersen LA, Small SD, Sweitzer BJ, Leape LL. The costs of adverse drug events in hospitalized patients. Adverse Drug Events Prevention Study Group. JAMA. 1997;277(4):307–11. - PubMed
Grants and funding
LinkOut - more resources
Full Text Sources
Research Materials