Evidence map›Paper›PMID 40882236›Full record

ArticleJMIR medical informatics2025

A Machine Learning Approach for Identifying People With Neuroinfectious Diseases in Electronic Health Records: Algorithm Development and Validation.

Arjun Singh, Shadi Sartipi, Haoqi Sun, Rebecca Milde, Niels Turley, Carson Quinn, G Kyle Harrold, Rebecca L Gillani, Sarah E Turbett, Sudeshna Das and 4 more

Abstract readValidation Study
In one paragraph

Article in JMIR medical informatics, 2025. The graph could read no effect estimate from its abstract, so it casts no vote on the map. Not yet cited in PubMed.

0numbers the graph read from it
0cells of the map it votes in
0citing papers in PubMed
–field-weighted citation impact
1 · What the graph read from it

What it found

Each row is one number read from the abstract, on the scale the paper reported it, with its interval. Left of the dashed line favours the treatment, right favours the comparator. Under each row is the sentence it came from. New to these charts? A ten-minute tutorial.

The abstract states no effect estimate the extractor could read, or names no intervention and outcome on the map, so this paper lights no cell and moves no belief. It is still indexed, cited and linked below.

2 · The registry

The trial behind it

Trials whose registry record cites this paper, or whose number appears in the abstract. A trial that started after this paper was published is citing it as background, not reporting it.

Neither the registry nor the abstract names a trial number. If this is a trial report, that itself is worth knowing.

3 · Its place in the literature

Who cites it

0 citing papers in PubMed.

No citing paper in PubMed yet.

4 · The record

Corrections and comments

PubMed lists nothing against this paper. Absence here is not a guarantee, only a check that was made.

5 · Who and what money

Authors and funding

14 authors.

Arjun Singh *Department of Neurology, Massachusetts General Hospital, 55 Fruit St, Wang ACC 835, Boston, MA, 02114, United States, 1 2163379887.ORCID 0009-0005-4370-3077
Shadi Sartipi *Department of Neurology, Massachusetts General Hospital, 55 Fruit St, Wang ACC 835, Boston, MA, 02114, United States, 1 2163379887.ORCID 0000-0002-8441-4475
Haoqi SunHarvard Medical School, Boston, MA, United States.ORCID 0000-0002-5041-8312
Rebecca MildeDepartment of Neurology, Beth Israel Deaconess Medical Center, Boston, MA, United States.ORCID 0009-0003-0923-6765
Niels TurleyDepartment of Neurology, Beth Israel Deaconess Medical Center, Boston, MA, United States.ORCID 0009-0009-4806-578X
Carson QuinnDepartment of Neurology, Massachusetts General Hospital, 55 Fruit St, Wang ACC 835, Boston, MA, 02114, United States, 1 2163379887.ORCID 0000-0001-8858-8563
G Kyle HarroldDepartment of Neurology, Massachusetts General Hospital, 55 Fruit St, Wang ACC 835, Boston, MA, 02114, United States, 1 2163379887.ORCID 0000-0001-6166-188X
Rebecca L GillaniDepartment of Neurology, Massachusetts General Hospital, 55 Fruit St, Wang ACC 835, Boston, MA, 02114, United States, 1 2163379887.ORCID 0000-0002-4510-1740
Sarah E TurbettDepartment of Pathology, Massachusetts General Hospital, Boston, MA, United States.ORCID 0000-0002-3603-8110
Sudeshna DasDepartment of Neurology, Massachusetts General Hospital, 55 Fruit St, Wang ACC 835, Boston, MA, 02114, United States, 1 2163379887.ORCID 0000-0002-9486-6811
Sahar ZafarDepartment of Neurology, Massachusetts General Hospital, 55 Fruit St, Wang ACC 835, Boston, MA, 02114, United States, 1 2163379887.ORCID 0000-0001-5252-5376
Marta Fernandes *Department of Neurology, Massachusetts General Hospital, 55 Fruit St, Wang ACC 835, Boston, MA, 02114, United States, 1 2163379887.ORCID 0000-0002-7203-2832
M Brandon WestoverDepartment of Neurology, Massachusetts General Hospital, 55 Fruit St, Wang ACC 835, Boston, MA, 02114, United States, 1 2163379887.ORCID 0000-0003-4803-312X
Shibani S Mukerji *Department of Neurology, Massachusetts General Hospital, 55 Fruit St, Wang ACC 835, Boston, MA, 02114, United States, 1 2163379887.ORCID 0000-0002-5677-6954

Funding

Late-onset Unexplained Epilepsy as a Risk Factor for DementiaR01NS130119 · NINDS · MASSACHUSETTS GENERAL HOSPITAL · PI Alice D Lam · 2023 to 2026
$8.7M
Data-Driven Sleep Biomarkers of Brain Health, Heart Health, and MortalityR01HL161253 · NHLBI · BETH ISRAEL DEACONESS MEDICAL CENTER · PI CLIFFORD, GARI DAVID, MIGNOT, EMMANUEL J · 2022 to 2025
$8.3M
Comparative Safety of Seizure Prophylaxis within the Medicare ProgramR01AG073410 · NIA · MASSACHUSETTS GENERAL HOSPITAL · PI Lidia Maria Veras Rocha de Moura · 2021 to 2026
$4.1M
In Vivo Targeting of Neuroactive Steroid and Immune Networks for Depression in People Living with HIV.R01MH131194 · NIMH · MASSACHUSETTS GENERAL HOSPITAL · PI Shibani Sharon Mukerji · 2022 to 2026
$4.0M
Low Neurophysiologic Resistance to Anesthetics as a Marker of Preclinical/Prodromal Alzheimer's Disease and Neurovascular Pathology, Delirium risk and InattentionR01AG073598 · NIA · STANFORD UNIVERSITY · PI Miles Berger · 2022 to 2026
$3.8M
Integrative Motor Activity Biomarker for the Risk of Alzheimer's RiskRF1AG064312 · NIA · BRIGHAM AND WOMEN'S HOSPITAL · PI HU, KUN · 2019 to 2019
$3.6M
Prospective Validation of Neurophysiologic Outcome Prediction in Acute Brain InjuryR01NS126282 · NINDS · BETH ISRAEL DEACONESS MEDICAL CENTER · PI Aaron F Struck, Michael Brandon Westover · 2023 to 2026
$2.9M
Characterizing HIV-1 reservoirs in the central nervous systemR01MH134823 · NIMH · MASSACHUSETTS GENERAL HOSPITAL · PI MUKERJI, SHIBANI SHARON, YU, XU · 2023 to 2025
$2.4M
Establishing a Brain Health Index from the Sleep ElectroencephalogramRF1NS120947 · NINDS · MASSACHUSETTS GENERAL HOSPITAL · PI CASH, SYDNEY S, THOMAS, ROBERT JOSEPH · 2021 to 2021
$2.4M
Comparative Effectiveness of EEG-Guided Anti-Seizure Treatment in Acute Brain InjuryR01NS131347 · NINDS · MASSACHUSETTS GENERAL HOSPITAL · PI Sahar F Zafar · 2024 to 2026
$1.9M
NHLBI NIH HHS R01 HL161253NIA NIH HHS R01 AG073410NIA NIH HHS R01 AG073598NIA NIH HHS RF1 AG064312NIMH NIH HHS R01 MH131194NIMH NIH HHS R01 MH134823NINDS NIH HHS R01 NS126282NINDS NIH HHS R01 NS130119NINDS NIH HHS R01 NS131347NINDS NIH HHS RF1 NS120947
6 · The paper itself

Abstract

Background: Identifying neuroinfectious disease (NID) cases using International Classification of Diseases billing codes is often imprecise, while manual chart reviews are labor-intensive. Machine learning models can leverage unstructured electronic health records to detect subtle NID indicators, process large data volumes efficiently, and reduce misclassification. While accurate NID classification is needed for research and clinical decision support, using unstructured notes for this purpose remains underexplored. Objective: The objective of this study is to develop and validate a machine learning model to identify NIDs from unstructured patient notes. Methods: Clinical notes from patients who had undergone lumbar puncture were obtained using the electronic health record of an academic hospital network (Mass General Brigham [MGB]), with half associated with NID-related diagnostic codes. Ground truth was established by chart review with 6 NID-expert physicians. NID keywords were generated with regular expressions, and extracted texts were converted into bag-of-words representations using n-grams (n=1, 2, 3). Notes were randomly split into training (80%), 2400 notes out of 3000, and hold-out testing (20%), 600 notes out of 3000, sets. Feature selection was performed using logistic regression with L1 regularization. An extreme gradient boosting (XGBoost) model classified NID cases, and performance was evaluated using the area under the receiver operating curve (AUROC) and the precision-recall curve (AUPRC). The performance of the natural language processing (NLP) model was contrasted with the Llama 3.2 auto-regressive model on the MGB test set. The NLP model was additionally validated on external data from an independent hospital (Beth Israel Deaconess Medical Center [BIDMC]). Results: This study included 3000 patient notes from MGB from January 22, 2010, to September 21, 2023. Of 1284 initial n-gram features, 342 were selected, with the most significant features being "meningitis," "ventriculitis," and "meningoencephalitis." The XGBoost model achieved an AUROC of 0.98 (95% CI 0.96-0.99) and AUPRC of 0.89 (95% CI 0.83-0.94) on MGB test data. In comparison, NID identification using International Classification of Diseases billing codes showed high sensitivity (0.97) but poor specificity (0.59), overestimating NID cases. Llama 3.2 improved specificity (0.94) but had low sensitivity (0.64) and an AUROC of 0.80. In contrast, our NLP model balanced specificity (0.96) and sensitivity (0.84), outperforming both methods in accuracy and reliability on MGB data. When tested on external data from BIDMC, the NLP model maintained an AUROC of 0.98 (95% CI 0.96-0.99), with an AUPRC of 0.78 (95% CI 0.66-0.89). Conclusions: The NLP model accurately identifies NID cases from clinical notes. Validated across 2 independent hospital datasets, the model demonstrates feasibility for large-scale NID research and cohort generation. With further external validation, our results could be more generalizable to other institutions.

Indexed as

AlgorithmsElectronic Health RecordsMachine LearningFemaleHumansMaleNatural Language Processingartificial intelligenceclinical notesdevelopefficiencyEHRelectronic health recordsexpressionslogistic regressionmachine learningneuroinfectiousneuroinfectious diseaseneurologyvalidate

Identifiers

PMID40882236
PMCPMC12396800

What OpenQuestion holds

Textmetadata
LicenceCC BY
Read underepoch 390

Registered trials

None linked

Read under generation 80e0d062 · epoch 390. Bibliography from PubMed, PubMed Central and OpenAlex; grants from NIH RePORTER; trial links from ClinicalTrials.gov; estimates, votes and beliefs from the OpenQuestion graph.