Related Experiment Video
Updated: May 14, 2026

Estimating Bilateral Atrial Function by Cardiovascular Magnetic Resonance Feature Tracking in Patients with Paroxysmal Atrial Fibrillation
Published on: July 20, 2022
Predicting atrial fibrillation and flutter using electronic health records
Shreyas Karnik1, Sin Lam Tan, Bess Berg
1Biomedical Informatics Research Center, Marshfield Clinic Research Foundation, Marshfield Clinic, 1000 North Oak Avenue, Marshfield, WI 54449, USA.
Researchers explored using Electronic Health Records (EHR) to predict atrial fibrillation and/or atrial flutter (AFF) onset. Textual data from EHRs proved valuable for disease prediction models, complementing coded data.
Area of Science:
- Medical Informatics
- Machine Learning in Healthcare
- Clinical Data Analysis
Background:
- Electronic Health Records (EHR) offer vast potential for predictive modeling of disease onset.
- Predicting the first episode of atrial fibrillation and/or atrial flutter (AFF) is crucial for timely intervention.
Purpose of the Study:
- To investigate the utility of free-text and coded data from EHRs for predicting AFF onset.
- To compare the performance of machine learning models using textual data, coded data, and their combination.
Main Methods:
- Trained and evaluated machine learning models (naïve Bayes, SVM, logistic regression, random forests) on EHR data.
- Utilized 10-fold cross-validation to assess model performance across various pre-onset time intervals (1, 3, 5, all years).
- Analyzed both free-text and coded data, individually and combined.
Main Results:
- Text-based datasets achieved an F-measure of 60.1% when used alone.
- Models utilizing coded data exclusively showed comparable performance to text-based models.
- Combining textual and coded data yielded performance similar to using each data type independently.
Conclusions:
- Free-text data from EHRs is a valuable resource for predicting disease onset, specifically AFF.
- Textual data can effectively complement coded data in machine learning models for disease prediction.
- The findings support the integration of diverse EHR data types for enhanced predictive accuracy.
Related Concept Videos
Dysrhythmias V: Evaluating Dysrhythmias
ECG Interpretation of Arrhythmias II: Atrial, Junctional and Ventricular Arrhythmias
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and the T...
Disturbances in Heart Rhythm
Arrhythmias are categorized by their speed, rhythm, and origin. A slow heart...
Pulse rhythm
Conversely, an irregular pulse pattern is termed dysrhythmia, stemming from disruptions in cardiac muscle...
Dysrhythmias VI: Management of Dysrhythmias

