Electronic Health Record-Based Machine-Learning for Cardiac Arrhythmia Identification in Adults with High-Risk Chronic Disease: Model Development and Validation Study
M. Goel, S. Matlock, Y. Karasu Benyes, N. Narayanan, J. Howard, T. G. Brazeal, C. Cogan, E. Navarro,
Key points
From the paper's conclusion- 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.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Multicenter validation of an artificial intelligence–enabled ECG model to predict 1-year risk of atrial fibrillation or flutterHeart Rhythm · 2026
- Multi-national assessment of clinical factors, genetic scores, and electrocardiogram-based artificial intelligence for atrial fibrillation predictionEuropean Heart Journal · 2026
- Interpretable arrhythmia detection in ECG scans using deep learning ensembles: a genetic programming approachnpj Digital Medicine · 2025
- Sex- and age-specific temporal patterns of multimorbidity before and after incident atrial fibrillation: a longitudinal electronic health records analysisEuropean Heart Journal · 2026
- Artificial intelligence and machine learning–driven predictive models for arrhythmia risk prediction and sudden cardiac death stratification: a systematic review and meta-analysisFrontiers in Artificial Intelligence · 2026
- Deep Learning Applied to 12-Lead ECGs for Detection of Structural, Metabolic and Systemic Disease.Diagnostics (Basel, Switzerland) · 2026