A post-processing algorithm for building longitudinal medication dose data from extracted medication information using natural language processing from electronic health records
Authors:
Preprint
Abstract
Objective: We developed a post-processing algorithm to convert raw natural language processing (NLP) output from electronic health records (EHRs) into a usable format for analysis. This algorithm was specifically developed for creating datasets for use in medication-based studies. Materials and Methods: The algorithm was developed using output from two NLP systems, MedXN and medExtractR. We extracted medication information from deidentified clinical notes from Vanderbilt’s EHR system for two medications, tacrolimus and lamotrigine. The algorithm consists of two parts. Part I parses the raw NLP output and connects entities together. Part II removes redundancies and calculates dose intake and daily dose. We evaluated each part by comparing to human-determined gold standards that were generated using approximately 300 records from 10 subjects for each medication and each NLP system. Results: The algorithm performed well. For MedXN, the F-measures were at or above 0.99 for Part I and at or above 0.97 for Part II. For medExtractR, the F-measures for Part I were 1.00 and for Part II they were at or above 0.98. Discussion: Our post-processing algorithm was developed separately from an NLP system, making it easier to modify and generalize to other systems. It performed well to convert NLP output to analyzable data, but it cannot perform well in certain cases, such as when incorrect information is extracted by the NLP system. Conclusion: Our post-processing algorithm provides a way to convert raw NLP output to a form that is useful for medication-based studies, leading to more opportunities to use EHR data for diverse studies.Keywords
This publication has 11 references indexed in Scilit:
- medExtractR: A targeted, customizable approach to medication extraction from electronic health recordsJournal of the American Medical Informatics Association, 2020
- CLAMP – a toolkit for efficiently building customized clinical natural language processing pipelinesJournal of the American Medical Informatics Association, 2017
- MedXN: an open source medication extraction and normalization tool for clinical textJournal of the American Medical Informatics Association, 2014
- The use of a DNA biobank linked to electronic medical records to characterize pharmacogenomic predictors of tacrolimus dose requirement in kidney transplant recipientsPharmacogenetics and Genomics, 2012
- Lancet: a high precision medication event extraction system for clinical textJournal of the American Medical Informatics Association, 2010
- High accuracy information extraction of medication information from clinical notes: 2009 i2b2 medication extraction challengeJournal of the American Medical Informatics Association, 2010
- Mayo clinical Text Analysis and Knowledge Extraction System (cTAKES): architecture, component evaluation and applicationsJournal of the American Medical Informatics Association, 2010
- An overview of MetaMap: historical perspective and recent advancesJournal of the American Medical Informatics Association, 2010
- MedEx: a medication information extraction system for clinical narrativesJournal of the American Medical Informatics Association, 2010
- A General Natural-language Text Processor for Clinical RadiologyJournal of the American Medical Informatics Association, 1994