» Articles » PMID: 37114472

Long-term Epilepsy Outcome Dynamics Revealed by Natural Language Processing of Clinic Notes

Overview
Journal Epilepsia
Specialty Neurology
Date 2023 Apr 28
PMID 37114472
Authors
Affiliations
Soon will be listed here.
Abstract

Objective: Electronic medical records allow for retrospective clinical research with large patient cohorts. However, epilepsy outcomes are often contained in free text notes that are difficult to mine. We recently developed and validated novel natural language processing (NLP) algorithms to automatically extract key epilepsy outcome measures from clinic notes. In this study, we assessed the feasibility of extracting these measures to study the natural history of epilepsy at our center.

Methods: We applied our previously validated NLP algorithms to extract seizure freedom, seizure frequency, and date of most recent seizure from outpatient visits at our epilepsy center from 2010 to 2022. We examined the dynamics of seizure outcomes over time using Markov model-based probability and Kaplan-Meier analyses.

Results: Performance of our algorithms on classifying seizure freedom was comparable to that of human reviewers (algorithm F = .88 vs. human annotator = .86). We extracted seizure outcome data from 55 630 clinic notes from 9510 unique patients written by 53 unique authors. Of these, 30% were classified as seizure-free since the last visit, 48% of non-seizure-free visits contained a quantifiable seizure frequency, and 47% of all visits contained the date of most recent seizure occurrence. Among patients with at least five visits, the probabilities of seizure freedom at the next visit ranged from 12% to 80% in patients having seizures or seizure-free at the prior three visits, respectively. Only 25% of patients who were seizure-free for 6 months remained seizure-free after 10 years.

Significance: Our findings demonstrate that epilepsy outcome measures can be extracted accurately from unstructured clinical note text using NLP. At our tertiary center, the disease course often followed a remitting and relapsing pattern. This method represents a powerful new tool for clinical research with many potential uses and extensions to other clinical questions.

Citing Articles

Semiology Extraction and Machine Learning-Based Classification of Electronic Health Records for Patients With Epilepsy: Retrospective Analysis.

Xia Y, He M, Basang S, Sha L, Huang Z, Jin L JMIR Med Inform. 2024; 12:e57727.

PMID: 39621862 PMC: 11501417. DOI: 10.2196/57727.


Annotation of epilepsy clinic letters for natural language processing.

Fonferko-Shadrach B, Strafford H, Jones C, Khan R, Brown S, Edwards J J Biomed Semantics. 2024; 15(1):17.

PMID: 39277770 PMC: 11402197. DOI: 10.1186/s13326-024-00316-z.


Artificial intelligence in epilepsy - applications and pathways to the clinic.

Lucas A, Revell A, Davis K Nat Rev Neurol. 2024; 20(6):319-336.

PMID: 38720105 DOI: 10.1038/s41582-024-00965-9.


Disparities in seizure outcomes revealed by large language models.

Xie K, Ojemann W, Gallagher R, Shinohara R, Lucas A, Hill C J Am Med Inform Assoc. 2024; 31(6):1348-1355.

PMID: 38481027 PMC: 11105138. DOI: 10.1093/jamia/ocae047.


Alcohol for seizure induction in the epilepsy monitoring unit.

Emmert B, Xie K, Conrad E, Ghosn N, Bauman K, Korzun J Epilepsy Behav. 2023; 150:109572.

PMID: 38070406 PMC: 10842723. DOI: 10.1016/j.yebeh.2023.109572.


References
1.
Xie K, Gallagher R, Conrad E, Garrick C, Baldassano S, Bernabei J . Extracting seizure frequency from epilepsy clinic notes: a machine reading approach to natural language processing. J Am Med Inform Assoc. 2022; 29(5):873-881. PMC: 9006692. DOI: 10.1093/jamia/ocac018. View

2.
Liljequist D, Elfving B, Skavberg Roaldsen K . Intraclass correlation - A discussion and demonstration of basic features. PLoS One. 2019; 14(7):e0219854. PMC: 6645485. DOI: 10.1371/journal.pone.0219854. View

3.
Sillanpaa M, Schmidt D, Saarinen M, Shinnar S . Remission in epilepsy: How long is enough?. Epilepsia. 2017; 58(5):901-906. DOI: 10.1111/epi.13732. View

4.
Sillanpaa M, Schmidt D . Natural history of treated childhood-onset epilepsy: prospective, long-term population-based study. Brain. 2006; 129(Pt 3):617-24. DOI: 10.1093/brain/awh726. View

5.
Callaghan B, Schlesinger M, Rodemer W, Pollard J, Hesdorffer D, Hauser W . Remission and relapse in a drug-resistant epilepsy population followed prospectively. Epilepsia. 2011; 52(3):619-26. PMC: 3147304. DOI: 10.1111/j.1528-1167.2010.02929.x. View