Related Experiment Video
Updated: Sep 26, 2025

Estimating Bilateral Atrial Function by Cardiovascular Magnetic Resonance Feature Tracking in Patients with Paroxysmal Atrial Fibrillation
Published on: July 20, 2022
Machine learning-based identification of risk-factor signatures for undiagnosed atrial fibrillation in primary
Renate B Schnabel1,2, Henning Witt3, Jochen Walker4
1Department of Cardiology, University Heart and Vascular Center Hamburg, Martinistraße 52, 20251 Hamburg, Germany.
Insights
Machine learning identified key predictors for atrial fibrillation (AF) in German health data. This approach improves early detection of AF in primary care and post-stroke patients, aiding targeted screening efforts.
Area of Science:
- Cardiology and Health Informatics
- Utilizing machine learning for predictive modeling in healthcare
Background:
- Atrial fibrillation (AF) poses a significant risk for ischemic stroke, with over a third of cases undiagnosed.
- Effective AF screening is crucial, especially for stroke survivors, to mitigate associated risks.
- Identifying undiagnosed AF in primary care and post-stroke populations requires efficient screening strategies.
Purpose of the Study:
- To explore routinely available predictors of incident atrial fibrillation (AF) in primary care and post-stroke patients.
- To leverage machine learning methods for identifying high-risk populations for AF screening using German health claims data.
- To develop and validate predictive models for incident AF and AF post-stroke.
Main Methods:
- Analysis of German health claims data (InGef database, n = 1,476,391) for patients aged over 45.
- Application of machine learning techniques, including component-wise gradient boosting, to identify AF predictors from ICD codes.
- Internal and prospective validation of predictive models for incident AF and AF post-stroke.
Main Results:
- A model with 13 predictors achieved an AUC of 0.829 (internal validation) and 0.755 (prospective validation) for incident AF.
- Confirmed known AF risk factors (male sex, hypertension, heart failure, valvular heart disease, chronic kidney disease).
- Achieved an AUC of 0.67 (internal validation) and 0.766 (prospective validation) for post-stroke AF prediction.
Conclusions:
- Machine learning-selected, ICD-coded clinical variables effectively enhance the identification of patients at risk for newly diagnosed AF.
- This automated approach using readily available data can optimize AF screening in primary care and among stroke survivors.
- The findings support targeted screening to identify high-risk populations for atrial fibrillation.
Aims:
Atrial fibrillation (AF) carries a substantial risk of ischemic stroke and other complications, and estimates suggest that over a third of cases remain undiagnosed. AF detection is particularly pressing in stroke survivors. To tailor AF screening efforts, we explored German health claims data for routinely available predictors of incident AF in primary care and post-stroke using machine learning methods.
Methods And Results:
We combined AF predictors in patients over 45 years of age using claims data in the InGef database (n = 1 476 391) for (i) incident AF and (ii) AF post-stroke, using machine learning techniques. Between 2013-2016, new-onset AF was diagnosed in 98 958 patients (6.7%). Published risk factors for AF including male sex, hypertension, heart failure, valvular heart disease, and chronic kidney disease were confirmed. Component-wise gradient boosting identified additional predictors for AF from ICD-codes available in ambulatory care. The area under the curve (AUC) of the final, condensed model consisting of 13 predictors, was 0.829 (95% confidence interval (CI) 0.826-0.833) in the internal validation, and 0.755 (95% CI 0.603-0.890) in a prospective validation cohort (n = 661). The AUC for post-stroke AF was of 0.67 (95% CI 0.651-0.689) in the internal validation data set, and 0.766 (95% CI 0.731-0.800) in the prospective clinical cohort.
Conclusion:
ICD-coded clinical variables selected by machine learning can improve the identification of patients at risk of newly diagnosed AF. Using this readily available, automatically coded information can target AF screening efforts to identify high-risk populations in primary care and stroke survivors.
Related Concept Videos
Dysrhythmias V: Evaluating Dysrhythmias
Atherosclerosis II: Clinical Manifestations and Diagnostic Tests

