Artificial Intelligence-Enabled Comprehensive Electronic Health Record Phenotyping at a Large Scale

Abstract The Electronic health record (EHR) contains rich and ever-growing information, especially for the gerontologic population with multiple comorbidities. With the advent of powerful artificial intelligence (AI) tools, we can perform accurate EHR phenotyping, which is the foundation for downstream analyses. Here, we performed EHR phenotyping of ten diseases in a large multi-site clinical dataset of 145,787 unique patients, including epilepsy (and subtypes), ischemic stroke, subarachnoid hemorrhage, subdural hematoma, Alzheimer’s diseases and related dementias, Parkinson’s disease, cardiac arrest, traumatic brain injury, brain tumor, and congestive heart failure. We used AI-enabled natural language processing that extracts the presence of keywords from unstructured clinical notes while considering negations, as well as structured diagnosis codes (ICD) and medications. We used logistic regression, random forest, and XGBoost. The dataset was constructed from two sites by sampling an equal number of participants in people with or without ICD or medication in the EHR, which forms four groups: ICD+Med+, ICD+Med-, ICD-Med+, and ICD-Med-. We manually annotated each case as positive or negative by reading the clinical notes. In this way, the dataset has a roughly balanced positive/negative ratio to ease training. We then did leave-one-site-out cross-validation. The areas under the receiver operator curve are higher than 0.95 across the diseases. The areas under the precision-recall curve are higher than 0.83 across the diseases. For each disease, we conducted detailed error analyses for both false positives and negatives. The results lead to accurate phenotyping and insights from patient phenotypes at both population and individual levels.

Authors

Institutions

Publication Details

Journal
Innovation in Aging
Published
2025-12-01
DOI
https://doi.org/10.1093/geroni/igaf122.2241
Primary Topic
Machine Learning in Healthcare
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Artificial Intelligence-Enabled Comprehensive Electronic Health Record Phenotyping at a Large Scale

Manohar Ghanta, Sahar F. Zafar, Niels Turley, Aditya Gupta et al.
Innovation in Aging
Machine Learning in Healthcare
article

Artificial Intelligence-Enabled Comprehensive Electronic Health Record Phenotyping at a Large Scale

Manohar Ghanta, Sahar F. Zafar, Niels Turley, Aditya Gupta, Robert Thomas, M Brandon Westover, Marta Fernandes, Haoqi Sun
article en

Abstract

Abstract The Electronic health record (EHR) contains rich and ever-growing information, especially for the gerontologic population with multiple comorbidities. With the advent of powerful artificial intelligence (AI) tools, we can perform accurate EHR phenotyping, which is the foundation for downstream analyses. Here, we performed EHR phenotyping of ten diseases in a large multi-site clinical dataset of 145,787 unique patients, including epilepsy (and subtypes), ischemic stroke, subarachnoid hemorrhage, subdural hematoma, Alzheimer’s diseases and related dementias, Parkinson’s disease, cardiac arrest, traumatic brain injury, brain tumor, and congestive heart failure. We used AI-enabled natural language processing that extracts the presence of keywords from unstructured clinical notes while considering negations, as well as structured diagnosis codes (ICD) and medications. We used logistic regression, random forest, and XGBoost. The dataset was constructed from two sites by sampling an equal number of participants in people with or without ICD or medication in the EHR, which forms four groups: ICD+Med+, ICD+Med-, ICD-Med+, and ICD-Med-. We manually annotated each case as positive or negative by reading the clinical notes. In this way, the dataset has a roughly balanced positive/negative ratio to ease training. We then did leave-one-site-out cross-validation. The areas under the receiver operator curve are higher than 0.95 across the diseases. The areas under the precision-recall curve are higher than 0.83 across the diseases. For each disease, we conducted detailed error analyses for both false positives and negatives. The results lead to accurate phenotyping and insights from patient phenotypes at both population and individual levels.

Innovation in AgingVol. 9(Supplement_2)
Beth Israel Deaconess Medical Center (US), Massachusetts General Hospital (US)
Quality Education
Openalex Percentile: Top 17%
Machine Learning in Healthcare
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.