1
|
Xia Y, He M, Basang S, Sha L, Huang Z, Jin L, Duan Y, Tang Y, Li H, Lai W, Chen L. Semiology Extraction and Machine Learning-Based Classification of Electronic Health Records for Patients With Epilepsy: Retrospective Analysis. JMIR Med Inform 2024; 12:e57727. [PMID: 39621862 PMCID: PMC11501417 DOI: 10.2196/57727] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 02/25/2024] [Revised: 08/23/2024] [Accepted: 08/25/2024] [Indexed: 03/17/2025] Open
Abstract
BACKGROUND Obtaining and describing semiology efficiently and classifying seizure types correctly are crucial for the diagnosis and treatment of epilepsy. Nevertheless, there exists an inadequacy in related informatics resources and decision support tools. OBJECTIVE We developed a symptom entity extraction tool and an epilepsy semiology ontology (ESO) and used machine learning to achieve an automated binary classification of epilepsy in this study. METHODS Using present history data of electronic health records from the Southwest Epilepsy Center in China, we constructed an ESO and a symptom-entity extraction tool to extract seizure duration, seizure symptoms, and seizure frequency from the unstructured text by combining manual annotation with natural language processing techniques. In addition, we achieved automatic classification of patients in the study cohort with high accuracy based on the extracted seizure feature data using multiple machine learning methods. RESULTS Data included present history from 10,925 cases between 2010 and 2020. Six annotators labeled a total of 2500 texts to obtain 5844 words of semiology and construct an ESO with 702 terms. Based on the ontology, the extraction tool achieved an accuracy rate of 85% in symptom extraction. Furthermore, we trained a stacking ensemble learning model combining XGBoost and random forest with an F1-score of 75.03%. The random forest model had the highest area under the curve (0.985). CONCLUSIONS This work demonstrated the feasibility of natural language processing-assisted structural extraction of epilepsy medical record texts and downstream tasks, providing open ontology resources for subsequent related work.
Collapse
Affiliation(s)
- Yilin Xia
- Department of Neurology, West China Hospital, Sichuan University, #37 Guoxue Alley, Wuhou District, Chengdu, China, 86 18980605819
| | - Mengqiao He
- Department of Neurology, West China Hospital, Sichuan University, #37 Guoxue Alley, Wuhou District, Chengdu, China, 86 18980605819
| | - Sijia Basang
- Department of Neurology, West China Hospital, Sichuan University, #37 Guoxue Alley, Wuhou District, Chengdu, China, 86 18980605819
| | - Leihao Sha
- Department of Neurology, West China Hospital, Sichuan University, #37 Guoxue Alley, Wuhou District, Chengdu, China, 86 18980605819
| | - Zijie Huang
- Department of Neurology, West China Hospital, Sichuan University, #37 Guoxue Alley, Wuhou District, Chengdu, China, 86 18980605819
| | - Ling Jin
- Department of Neurology, West China Hospital, Sichuan University, #37 Guoxue Alley, Wuhou District, Chengdu, China, 86 18980605819
| | - Yifei Duan
- Department of Neurology, West China Hospital, Sichuan University, #37 Guoxue Alley, Wuhou District, Chengdu, China, 86 18980605819
| | - Yusha Tang
- Department of Neurology, West China Hospital, Sichuan University, #37 Guoxue Alley, Wuhou District, Chengdu, China, 86 18980605819
| | - Hua Li
- Department of Neurology, West China Hospital, Sichuan University, #37 Guoxue Alley, Wuhou District, Chengdu, China, 86 18980605819
| | - Wanlin Lai
- Department of Neurology, West China Hospital, Sichuan University, #37 Guoxue Alley, Wuhou District, Chengdu, China, 86 18980605819
| | - Lei Chen
- Department of Neurology, West China Hospital, Sichuan University, #37 Guoxue Alley, Wuhou District, Chengdu, China, 86 18980605819
- Sichuan Provincial Engineering Research Center of Brain-Machine Interface, and Sichuan Provincial Engineering Research Center of Neuromodulation, West China Hospital, Sichuan University, Chengdu, China
| |
Collapse
|
3
|
Gursahani R, Gupta N. The adolescent or adult with generalized tonic-clonic seizures. Ann Indian Acad Neurol 2012; 15:81-8. [PMID: 22566718 PMCID: PMC3345605 DOI: 10.4103/0972-2327.94988] [Citation(s) in RCA: 8] [Impact Index Per Article: 0.6] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Download PDF] [Journal Information] [Subscribe] [Scholar Register] [Received: 12/09/2011] [Revised: 01/03/2012] [Accepted: 02/25/2012] [Indexed: 01/26/2023] Open
Abstract
Primary and secondary generalized tonic-clonic seizures (GTCs) together constitute up to 50% of adolescent and adult patients with epilepsy as diagnosed by history and EEG. Syncope and psychogenic nonepileptic seizures are major differential diagnoses and must be carefully excluded in therapy-resistant cases. Individual episodes can have up to seven phases in secondarily generalized GTCs. The distinction between primary and secondary GTCs depends mainly on history and EEG, and yield can be improved with sleep deprivation or overnight recording. Epilepsies with primary or unclassified GTCs can respond to any one of the five broad-spectrum antiepileptic drugs (AEDs): valproate, lamotrigine, levetiracetam, topiramate and zonisamide. Unless a focal onset is clearly confirmed, a sodium-channel blocking AED should not be used in the initial treatment of these conditions.
Collapse
Affiliation(s)
- Roop Gursahani
- Department of Neurology, P.D. Hinduja National Hospital, Mumbai, India
| | - Namit Gupta
- Department of Neurology, Sir J.J. Hospital, Mumbai, India
| |
Collapse
|