Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2023 Jul:143:104391.
doi: 10.1016/j.jbi.2023.104391. Epub 2023 May 15.

A deep learning approach for medication disposition and corresponding attributes extraction

Affiliations

A deep learning approach for medication disposition and corresponding attributes extraction

Qiwei Gan et al. J Biomed Inform. 2023 Jul.

Abstract

Objective: This article summarizes our approach to extracting medication and corresponding attributes from clinical notes, which is the focus of track 1 of the 2022 National Natural Language Processing (NLP) Clinical Challenges(n2c2) shared task.

Methods: The dataset was prepared using Contextualized Medication Event Dataset (CMED), including 500 notes from 296 patients. Our system consisted of three components: medication named entity recognition (NER), event classification (EC), and context classification (CC). These three components were built using transformer models with slightly different architecture and input text engineering. A zero-shot learning solution for CC was also explored.

Results: Our best performance systems achieved micro-average F1 scores of 0.973, 0.911, and 0.909 for the NER, EC, and CC, respectively.

Conclusion: In this study, we implemented a deep learning-based NLP system and demonstrated that our approach of (1) utilizing special tokens helps our model to distinguish multiple medications mentions in the same context; (2) aggregating multiple events of a single medication into multiple labels improves our model's performance.

Keywords: Clinical natural language processing; Concept-attribute relation classification; Medication information extraction.

PubMed Disclaimer

Conflict of interest statement

Declaration of Competing Interest The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Figures

Figure 1.
Figure 1.
Aggregating multiple events of the same medication
Figure 2.
Figure 2.
Dissemble multiple events of the same medication.

References

    1. Alsentzer E, Murphy JR, Boag W, Weng WH, Jin D, Naumann T, Mcdermott MBA, 2019. Publicly Available Clinical BERT Embeddings, 72–78 URL: https://aclanthology.org/W19-1909, doi:10.18653/V1/W19-1909. - DOI
    1. Berg-Kirkpatrick Taylor, Burkett David, and Klein Dan. "An empirical investigation of statistical significance in NLP." Proceedings of the 2012 Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning. 2012.
    1. Chapman AB, Peterson KS, Alba PR, DuVall SL, Patterson OV, 2019. Detecting Adverse Drug Events with Rapidly Trained Classification Models. Drug Safety 42, 147. URL: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6373386/, doi:10.1007/S40264-018-0763-Y. - DOI - PMC - PubMed
    1. Eyre H, Chapman AB, Peterson KS, Shi J, Alba PR, Jones MM, Box TL, DuVall SL, Patterson OV, 2021. Launching into clinical space with medspaCy: a new clinical text processing toolkit in Python. AMIA Annual Symposium Proceedings 2021, 438. URL: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8861690/. - PMC - PubMed
    1. Henry Sam, et al. "2018 n2c2 shared task on adverse drug events and medication extraction in electronic health records." Journal of the American Medical Informatics Association 27.1 (2020): 3–12. - PMC - PubMed

Publication types

LinkOut - more resources