Electronic Health Record-Based Machine-Learning for Cardiac Arrhythmia Identification in Adults with High-Risk Chronic Disease: Model Development and Validation Study

Background: Cardiac arrhythmias may remain unrecognized in adults with chronic disease. Established risk scores primarily address atrial fibrillation. Objective: To develop and internally evaluate an electronic health record (EHR)-based machine-learning model to identify patients more likely to receive a documented cardiac arrhythmia diagnosis. Methods: We retrospectively evaluated EHR data (2018-2025) from one healthcare organization among adults with type 2 diabetes, chronic obstructive pulmonary disease, chronic kidney disease, or coronary artery disease. Logistic regression, random forest, and XGBoost were compared. XGBoost was selected using internal validation, reduced to 30 features using Shapley additive explanations, and evaluated in a holdout set with data ending one day before the index date. Sensitivity analyses excluded information recorded within 30, 90, or 180 days before the index date. An atrial fibrillation/flutter-specific analysis compared XGBoost with CHARGE-AF and HARMS2-AF. Results: Among 30,356 patients, 6,835 (22.5%) had a qualifying arrhythmia diagnosis. In 3,051 holdout patients, XGBoost achieved an area under the receiver operating characteristic curve (AUROC) of 0.894 (95% CI 0.879-0.908) and an area under the precision-recall curve of 0.792 (95% CI 0.763-0.822). At a 0.5 threshold, sensitivity was 0.564, specificity 0.971, and precision 0.857. AUROC remained 0.896-0.897 across earlier cutoffs. In the common score-calculable atrial fibrillation/flutter subset (n = 2,436), AUROCs were 0.883 for XGBoost, 0.712 for CHARGE-AF, and 0.554 for HARMS2-AF. Conclusions: XGBoost demonstrated strong internal discrimination for documented arrhythmias. External validation and prospective evaluation are needed to assess generalizability and clinical utility.

Authors

Publication Details

Journal
medRxiv
Published
2026-11-02
DOI
https://doi.org/10.64898/2026.10.30.26366947
Primary Topic
Machine Learning in Healthcare
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
preprint

Electronic Health Record-Based Machine-Learning for Cardiac Arrhythmia Identification in Adults with High-Risk Chronic Disease: Model Development and Validation Study

Yasmin Karasu Benyes, Andrei Petruș, Mansi Goel, Shelby Matlock et al.
medRxiv
Machine Learning in Healthcare
preprint

Electronic Health Record-Based Machine-Learning for Cardiac Arrhythmia Identification in Adults with High-Risk Chronic Disease: Model Development and Validation Study

Yasmin Karasu Benyes, Andrei Petruș, Mansi Goel, Shelby Matlock, Nanthini Narayanan, Jeremy Howard, Colin Cogan, Thomas George Brazeal, Eric Navarro
preprint en

Abstract

Background: Cardiac arrhythmias may remain unrecognized in adults with chronic disease. Established risk scores primarily address atrial fibrillation. Objective: To develop and internally evaluate an electronic health record (EHR)-based machine-learning model to identify patients more likely to receive a documented cardiac arrhythmia diagnosis. Methods: We retrospectively evaluated EHR data (2018-2025) from one healthcare organization among adults with type 2 diabetes, chronic obstructive pulmonary disease, chronic kidney disease, or coronary artery disease. Logistic regression, random forest, and XGBoost were compared. XGBoost was selected using internal validation, reduced to 30 features using Shapley additive explanations, and evaluated in a holdout set with data ending one day before the index date. Sensitivity analyses excluded information recorded within 30, 90, or 180 days before the index date. An atrial fibrillation/flutter-specific analysis compared XGBoost with CHARGE-AF and HARMS2-AF. Results: Among 30,356 patients, 6,835 (22.5%) had a qualifying arrhythmia diagnosis. In 3,051 holdout patients, XGBoost achieved an area under the receiver operating characteristic curve (AUROC) of 0.894 (95% CI 0.879-0.908) and an area under the precision-recall curve of 0.792 (95% CI 0.763-0.822). At a 0.5 threshold, sensitivity was 0.564, specificity 0.971, and precision 0.857. AUROC remained 0.896-0.897 across earlier cutoffs. In the common score-calculable atrial fibrillation/flutter subset (n = 2,436), AUROCs were 0.883 for XGBoost, 0.712 for CHARGE-AF, and 0.554 for HARMS2-AF. Conclusions: XGBoost demonstrated strong internal discrimination for documented arrhythmias. External validation and prospective evaluation are needed to assess generalizability and clinical utility.

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

Laika access coming soon
Electronic Health Record-Based Machine-Learning for Cardiac Arrhythmia Identification in Adults with High-Risk Chronic Disease: Model Development and Validation Study — Yasmin Karasu Benyes, Andrei Petruș, et al. · medRxiv (2026) | TGRS Research Map | TGRS