EUVIMEDAtrasti EUVIMED
Open access

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

Yilin Xia iD, Mengqiao He iD, Sijia Basang iD, Leihao Sha iD, Zijie Huang iD, Ling Jin iD, Yifei Duan iD, Yusha Tang iD, Hua Li iD, Wanlin Lai iD, Lei Chen iD

JMIR Medical Informatics · 2024

DOI: 10.2196/57727 ↗

At a glance

Journal article in JMIR Medical Informatics, 2024. Written by Yilin Xia and 10 co-authors. Institution: Department of Neurology, West China Hospital, Sichuan University, #37 Guoxue Alley, Wuhou District, Chengdu, China, 86 18980605819. Major MEDLINE topics: Electronic Health Records, Epilepsy, Machine Learning, Natural Language Processing. 38 references. The full text is freely available in PubMed Central.

SantraukaSubjectsBibliografiniai duomenysCiteRelated studies

Abstract (original language)

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 F 1 -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.

Subjects

MeSH terms (MEDLINE)

Electronic Health RecordsEpilepsyMachine LearningNatural Language ProcessingHumansRetrospective StudiesFemaleMaleAdultMiddle AgedChinaAdolescentChildYoung Adult

Author keywords

ChinaChinesedecision support toolsdiagnosiselectronic health recordepilepsyhealth recordsmachine learningnatural language processingontologyretrospective analysisseizuresemiologysymptomtreatment

Authors and institutions

  • 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.

ORCID profiles: Yilin Xia, Mengqiao He, Sijia Basang, Leihao Sha, Zijie Huang, Ling Jin, Yifei Duan, Yusha Tang, Hua Li, Wanlin Lai, Lei Chen

Cite

APA

Xia, Y., He, M., Basang, S., Sha, L., Huang, Z., Jin, L., Duan, Y., Tang, Y., Li, H., Lai, W., & Chen, L. (2024). Semiology Extraction and Machine Learning–Based Classification of Electronic Health Records for Patients With Epilepsy: Retrospective Analysis. JMIR Medical Informatics. https://doi.org/10.2196/57727

Vancouver

Xia Y, He M, Basang S, Sha L, Huang Z, Jin L, et al. Semiology Extraction and Machine Learning–Based Classification of Electronic Health Records for Patients With Epilepsy: Retrospective Analysis. JMIR Medical Informatics. 2024. doi:10.2196/57727

BibTeX
@article{Xia2024,
  author = {Xia, Yilin and He, Mengqiao and Basang, Sijia and Sha, Leihao and Huang, Zijie and Jin, Ling and Duan, Yifei and Tang, Yusha and Li, Hua and Lai, Wanlin and Chen, Lei},
  title = {Semiology Extraction and Machine Learning–Based Classification of Electronic Health Records for Patients With Epilepsy: Retrospective Analysis},
  journal = {JMIR Medical Informatics},
  year = {2024},
  doi = {10.2196/57727}
}
Start for free →