Artificial intelligence for detecting electrolyte imbalance using electrocardiography

Ann Noninvasive Electrocardiol. 2021 May;26(3):e12839. doi: 10.1111/anec.12839. Epub 2021 Mar 15.

Abstract

Introduction: The detection and monitoring of electrolyte imbalance is essential for appropriate management of many metabolic diseases; however, there is no tool that detects such imbalances reliably and noninvasively. In this study, we developed a deep learning model (DLM) using electrocardiography (ECG) for detecting electrolyte imbalance and validated its performance in a multicenter study.

Methods and results: This retrospective cohort study included two hospitals: 92,140 patients who underwent a laboratory electrolyte examination and an ECG within 30 min were included in this study. A DLM was developed using 83,449 ECGs of 48,356 patients; the internal validation included 12,091 ECGs of 12,091 patients. We conducted an external validation with 31,693 ECGs of 31,693 patients from another hospital, and the result was electrolyte imbalance detection. During internal, the area under the receiving operating characteristic curve (AUC) of a DLM using a 12-lead ECG for detecting hyperkalemia, hypokalemia, hypernatremia, hyponatremia, hypercalcemia, and hypocalcemia were 0.945, 0.866, 0.944, 0.885, 0.905, and 0.901, respectively. The values during external validation of the AUC of hyperkalemia, hypokalemia, hypernatremia, hyponatremia, hypercalcemia, and hypocalcemia were 0.873, 0.857, 0.839, 0.856, 0.831, and 0.813 respectively. The DLM helped to visualize the important ECG region for detecting each electrolyte imbalance, and it showed how the P wave, QRS complex, or T wave differs in importance in detecting each electrolyte imbalance.

Conclusion: The proposed DLM demonstrated high performance in detecting electrolyte imbalance. These results suggest that a DLM can be used for detecting and monitoring electrolyte imbalance using ECG on a daily basis.

Keywords: artificial intelligence; deep learning; electrocardiography; electrolytes.

Publication types

  • Multicenter Study
  • Research Support, Non-U.S. Gov't

MeSH terms

  • Artificial Intelligence*
  • Cohort Studies
  • Electrocardiography / methods*
  • Female
  • Humans
  • Male
  • Middle Aged
  • Reproducibility of Results
  • Retrospective Studies
  • Water-Electrolyte Imbalance / diagnosis