Title | Automated detection of sudden unexpected death in epilepsy risk factors in electronic medical records using natural language processing. |
Publication Type | Journal Article |
Year of Publication | 2019 |
Authors | Barbour K, Hesdorffer DC, Tian N, Yozawitz EG, McGoldrick PE, Wolf S, McDonough TL, Nelson A, Loddenkemper T, Basma N, Johnson SB, Grinspan ZM |
Journal | Epilepsia |
Volume | 60 |
Issue | 6 |
Pagination | 1209-1220 |
Date Published | 2019 Jun |
ISSN | 1528-1167 |
Abstract | OBJECTIVE: Sudden unexpected death in epilepsy (SUDEP) is an important cause of mortality in epilepsy. However, there is a gap in how often providers counsel patients about SUDEP. One potential solution is to electronically prompt clinicians to provide counseling via automated detection of risk factors in electronic medical records (EMRs). We evaluated (1) the feasibility and generalizability of using regular expressions to identify risk factors in EMRs and (2) barriers to generalizability. METHODS: Data included physician notes for 3000 patients from one medical center (home) and 1000 from five additional centers (away). Through chart review, we identified three SUDEP risk factors: (1) generalized tonic-clonic seizures, (2) refractory epilepsy, and (3) epilepsy surgery candidacy. Regular expressions of risk factors were manually created with home training data, and performance was evaluated with home test and away test data. Performance was evaluated by sensitivity, positive predictive value, and F-measure. Generalizability was defined as an absolute decrease in performance by <0.10 for away versus home test data. To evaluate underlying barriers to generalizability, we identified causes of errors seen more often in away data than home data. To demonstrate how small revisions can improve generalizability, we removed three "boilerplate" standard text phrases from away notes and repeated performance. RESULTS: We observed high performance in home test data (F-measure range = 0.86-0.90), and low to high performance in away test data (F-measure range = 0.53-0.81). After removing three boilerplate phrases, away performance improved (F-measure range = 0.79-0.89) and generalizability was achieved for nearly all measures. The only significant barrier to generalizability was use of boilerplate phrases, causing 104 of 171 errors (61%) in away data. SIGNIFICANCE: Regular expressions are a feasible and probably a generalizable method to identify variables related to SUDEP risk. Our methods may be implemented to create large patient cohorts for research and to generate electronic prompts for SUDEP counseling. |
DOI | 10.1111/epi.15966 |
Alternate Journal | Epilepsia |
PubMed ID | 31111463 |
Grant List | / / Epilepsy Research Fund (Epilepsy Research Risk Detection and Prevention of Death Fund) / U01DP006089 / / Centers for Disease Control and Prevention / |
Automated detection of sudden unexpected death in epilepsy risk factors in electronic medical records using natural language processing.
Submitted by chz4003 on August 12, 2019 - 2:31pm
Division:
Health Policy & Economics
Category:
Faculty Publication