EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Heart Failure Detection and Risk Stratification Using Machine Learning on Routinely Collected EMR Variables

Sher Ali, Omair Faqah, Mary Ann Leavitt, Waseem Asghar

AI · 10.11.2026 · 7 (11) · 472

DOI: 10.3390/ai7110472 ↗

Kurz gefasst

Fachartikel in der Zeitschrift AI, online erschienen am 10.11.2026. Verfasst von Sher Ali und 3 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Background

Heart failure (HF) is one of the most prevalent causes of morbidity, mortality, and healthcare expenditures, with approximately 7.7 million adults in the U.S. living with this condition. Early diagnosis of high-risk individuals has been a challenge, as HF-specific symptoms are often ignored or misinterpreted as normal aging, stress, or minor illnesses, leading to delayed diagnosis. This study evaluated whether routinely available electronic medical record (EMR) variables can identify patients with existing HF.

Methods

We trained, tested, and evaluated several models, including logistic regression, SVM, KNN, random forest, XGBoost, MLP, and a custom stacked ensemble using stratified 5-fold cross-validation and 70/30 hold-out split for HF identification on EMR data from the All of Us Research Program. This group consisted of 37,070 adults (13,577 HF; 23,493 non-HF). The predictors included readily available demographics, vital signs, laboratory values, common conditions, lifestyle, and a deprivation index. Preprocessing steps included IQR-based winsorization, median imputation, one-hot encoding, and QuantileTransformer. Predicted probabilities were calibrated and adjusted to an assumed 2.5% prevalence. Permutation importance was used to rank features.

Results

The stacked model obtained an ROC-AUC of 0.927 (95% CI 0.922–0.932), a PR-AUC of 0.895, and an accuracy of 0.856 in the test set, similar to XGBoost alone (0.929) and above an age + sex + atrial fibrillation baseline (0.808). At 2.5% prevalence, the top 10% of predicted risk contained 74.7% of HF cases. Atrial fibrillation, age, hypertensive disorder, anemia, and obesity were the most influential features. A secondary multiclass experiment (No-HF, HF with reduced ejection fraction, and HF with preserved ejection fraction) showed lower discrimination results (macro-AUC 0.91) with limited recall for HFrEF (0.37) and HFpEF (0.50).

Conclusions

Routine EMR variables can identify existing HF with high discrimination. External and prospective validation is needed before clinical use.

Zitieren

APA

Ali, S., Faqah, O., Leavitt, M. A., & Asghar, W. (2026). Heart Failure Detection and Risk Stratification Using Machine Learning on Routinely Collected EMR Variables. AI, 7(11), 472. https://doi.org/10.3390/ai7110472

Vancouver

Ali S, Faqah O, Leavitt MA, Asghar W. Heart Failure Detection and Risk Stratification Using Machine Learning on Routinely Collected EMR Variables. AI. 2026;7(11):472. doi:10.3390/ai7110472

BibTeX
@article{Ali2026,
  author = {Ali, Sher and Faqah, Omair and Leavitt, Mary Ann and Asghar, Waseem},
  title = {Heart Failure Detection and Risk Stratification Using Machine Learning on Routinely Collected EMR Variables},
  journal = {AI},
  year = {2026},
  volume = {7},
  number = {11},
  pages = {472},
  doi = {10.3390/ai7110472}
}
Kostenlos starten →