Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2024 Oct 1;14(1):22868.
doi: 10.1038/s41598-024-71562-5.

Development of deep learning algorithm for detecting dyskalemia based on electrocardiogram

Affiliations

Development of deep learning algorithm for detecting dyskalemia based on electrocardiogram

Jung Nam An et al. Sci Rep. .

Expression of concern in

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.

PubMed Disclaimer

Conflict of interest statement

The authors declare no competing interests.

Figures

Fig. 1
Fig. 1
Study cohorts’ summary.
Fig. 2
Fig. 2
Receiver Operating Characteristic (ROC) curve of DeepECG-Hyperkalemia and DeepECG-Hypokalemia in the Internal testing cohort (A,C, respectively) and the External validation cohort (B,D, respectively).
Fig. 3
Fig. 3
(A) Kaplan–Meier curve for mortality at 30-day follow up according to the hyperkalemia (Total ECGs = 82,984). (B) Kaplan–Meier curve for mortality at 30-day follow up according to the DeepECG-Hyperkalemia diagnosis result. (C) Kaplan–Meier curve for mortality at 30-day follow up according to the DeepECG-Hyperkalemia diagnosis among patients with actual K+ more than 5.5 mEq/L—The patients classified as DeepECG-Hyperkalemia positive showed worse 30-day survival (Total ECGs = 82,320).

References

    1. Einhorn, L. M. et al. The frequency of hyperkalemia and its significance in chronic kidney disease. Arch. Intern. Med.169, 1156–1162. 10.1001/archinternmed.2009.132 (2009). - PMC - PubMed
    1. Goyal, A. et al. Serum potassium levels and mortality in acute myocardial infarction. JAMA307, 157–164. 10.1001/jama.2011.1967 (2012). - PubMed
    1. Gennari, F. J. Hypokalemia. N. Engl. J. Med.339, 451–458. 10.1056/NEJM199808133390707 (1998). - PubMed
    1. Conway, R., Creagh, D., Byrne, D. G., O’Riordan, D. & Silke, B. Serum potassium levels as an outcome determinant in acute medical admissions. Clin. Med. (Lond.)15, 239–243. 10.7861/clinmedicine.15-3-239 (2015). - PMC - PubMed
    1. Betts, K. A. et al. The prevalence of hyperkalemia in the United States. Curr. Med. Res. Opin.34, 971–978. 10.1080/03007995.2018.1433141 (2018). - PubMed

LinkOut - more resources