Related Experiment Video
Updated: Jun 11, 2025

Patient Directed Recording of a Bipolar Three-Lead Electrocardiogram using a Smartwatch with ECG Function
Published on: December 11, 2019
Development of deep learning algorithm for detecting dyskalemia based on electrocardiogram
Jung Nam An1, Minje Park2, Sunghoon Joo2
1Division of Nephrology, Department of Internal Medicine, Hallym University Sacred Heart Hospital, Hallym University College of Medicine, 22, Gwanpyeong-ro 170 Beon-gil, Dongan-gu, Anyang-si, Gyeonggi-do, 14068, Republic of Korea.
Abstract:
Dyskalemia is a common electrolyte abnormality. Since dyskalemia can cause fatal arrhythmias and cardiac arrest in severe cases, it is crucial to monitor serum potassium (K+) levels on time. We developed deep learning models to detect hyperkalemia (K+ ≥ 5.5 mEq/L) and hypokalemia (K+ < 3.5 mEq/L) from electrocardiograms (ECGs), which are noninvasive and can be quickly measured. The retrospective cohort study was conducted at two hospitals from 2006 to 2020. The training set, validation set, internal testing cohort, and external validation cohort comprised 310,449, 15,828, 23,849, and 130,415 ECG-K+ samples, respectively. Deep learning models demonstrated high diagnostic performance in detecting hyperkalemia (AUROC 0.929, 0.912, 0.887 with sensitivity 0.926, 0.924, 0.907 and specificity 0.706, 0.676, 0.635 for 12-lead, limb-lead, lead I ECGs) and hypokalemia (AUROC 0.925, 0.896, 0.885 with sensitivity 0.912, 0.896, 0.904 and specificity 0.790, 0.734, 0.694) in the internal testing cohort. The group predicted to be positive by the hyperkalemia model showed a lower 30-day survival rate compared to the negative group (p < 0.001), supporting the clinical efficacy of the model. We also compared the importance of ECG segments (P, QRS, and T) on dyskalemia prediction of the model for interpretability. By applying these models in clinical practice, it will be possible to diagnose dyskalemia simply and quickly, thereby contributing to the improvement of patient outcomes.
Related Concept Videos
Dysrhythmias V: Evaluating Dysrhythmias
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...
Electrocardiogram Fundamentals
An electrocardiogram (ECG) is a diagnostic tool for identifying cardiac conditions such as arrhythmias, conduction abnormalities, and myocardial ischemia.
Definition
An electrocardiogram (ECG) visualizes the heart's electrical activity by tracing the electrical movement associated with each heartbeat on a graph or monitor. As the heart beats, an electrical wave passes through it, correlating with the cardiac cycle events.
Parts of an ECG
An ECG utilizes electrodes on the skin...
Pulse rhythm
Conversely, an irregular pulse pattern is termed dysrhythmia, stemming from disruptions in cardiac...
Dysrhythmias I: Introduction
Holter Monitor: 24-Hour Monitoring

