Introduction

Hyperkalemia, defined as serum potassium level over 5.5 mmol/L, is a common electrolyte disorder, which can occur due to a variety of reasons that disrupt the body’s delicate potassium balance1. Most often, hyperkalemia results from impaired urinary potassium excretion due to declined renal function, either acute or chronic. Other reasons include excessive intake, tissue breakdown, medications, and hemolysis2,3,4. The dangers associated with hyperkalemia, if left untreated, are primarily related to its impact on the cardiovascular system and muscle function, including the potential for life-threatening cardiac arrhythmias2. Thus, hyperkalemia is a clinically significant issue that requires vigilant monitoring, especially in high-risk patients, and timely intervention to prevent serious complications.

The prevalence of hyperkalemia is high in hospitalized patients5. Elevated baseline potassium level within reference range is associated with worse clinical outcomes in hospitalized patients6. Substantial increase in healthcare costs associated with hyperkalemia events was observed in patients who had hyperkalemia compared to those who hadn’t7. Previous studies also reported an association between hyperkalemia and increased mortality in cardiac intensive care unit patients8 and patients with comorbidities such as heart failure, chronic kidney disease (CKD), or diabetes9. Hyperkalemia in association with acute kidney injury (AKI) was a strong predictor of in-hospital death10. However, there is still a lack of reports on the association between hyperkalemia and mortalities in critically ill patients.

Therefore, we set out to explore the association of hyperkalemia and short- and mid-term mortality in critically ill patients from multiple perspectives using the Medical Information Mart for Intensive Care database. We sought to gain insight into the adverse effects of hyperkalemia in critically ill patients and enhance the awareness of healthcare professionals to this electrolyte disorder.

Materials and methods

Study population

We used data from the latest Medical Information Mart for Intensive Care (MIMIC-IV-3.0) database to conducted this study11. MIMIC-IV is freely and publicly accessible electronic health record dataset which encompasses over 50,000 ICU admissions at the Beth Israel Deaconess Medical Center in Boston, Massachusetts, from 2008 to 201912 and contains information on demographics, vital signs, test results, and diagnoses categorized using the ninth and tenth revisions codes from the International Classification of Diseases (ICD). Adult (≥ 18 years) ICU patients who had been stayed in ICU for at least 48 h and tested for serum potassium were included in this study. Only the first ICU admission (index ICU admission) was considered for patients with multiple ICU admissions. Patients with record of kidney replacement therapy (KRT) before the onset of AKI and those with death recorded before ICU admission were excluded. We also excluded patients with diagnosis of chronic kidney disease (stage 5), chronic kidney disease (stage 4, severe), and end state renal disease on discharge. Individual patient consent was not needed due to the anonymized nature of the information within this database.

Exposures of hyperkalemia

Hyperkalemia was defined as serum potassium level higher than 5.5 mmol/L1. In this study, we assessed exposures of hyperkalemia from three dimensions. The first dimension was the occurrence of hyperkalemia, including hyperkalemia defined as at least one episode of serum potassium over 5.5 mmol/L and the percentage of hyperkalemia out of the total potassium tests during the index admission. The second dimension was the level of hyperkalemia, defined as the values of potassium at the first occurrence of hyperkalemia and the maximal potassium level during the index admission. The third dimension was the timing of hyperkalemia, including the time from ICU admission to the first episode of hyperkalemia, the time from ICU admission to the maximal potassium level, the time from the first episode of hyperkalemia to the maximal potassium level, and whether the first episode of hyperkalemia was the maximal potassium level.

Outcomes

The primary outcome of this study was ICU mortality. The secondary outcomes included mortality within 7 days and 30 days after admission to the ICU, respectively. The time from ICU admission to death, expressed either in hours and days, was calculated by comparing the time of death to the time of ICU admission. Mortality information for discharged patients was acquired from the US Social Security Death Index.

Variable extractions

Data extracted from the MIMIC-IV database can be divided into the following four categories: (1) Demographic variables: age, sex, and race; (2) Comorbidities: hypertension, diabetes, heart failure, myocardial infarction, shock, and sepsis; (3) Clinical indices: vital signs upon ICU admission, length of stay in ICU, AKI and associated stages, KRT, time of ICU admission, and time of death; and (4) Laboratory variables: white blood cell count (WBC), hemoglobin (HGB), serum creatinine, blood urine nitrogen (BUN), sodium (Na), carbonate (CO2), and chloride (Cl).

Comorbidities were extracted from the diagnosis module in the database and diagnosed using the International Classification of Disease (ICD) code 9 or 10. The definition and staging of acute kidney injury (AKI) were based on changes in serum creatinine using the KDIGO criteria13. Vital signs recorded at admission included heart rate, blood pressure, and oxygen saturation (SpO2). Mean arterial pressure was calculated using (2*systemic blood pressure + diastolic blood pressure)/3. Laboratory variables were the first measurement after admission, except for potassium for which all tests during the index admission were recorded.

To access this database, Yunlin Feng had obtained the necessary certification (certification number: 45370361) and extracted the relevant variables. All information was extracted using PostgresSQL (version 13.7.2) and Navicat Premium (version 16) softwares via Structured Query Language (SQL).

Statistical analysis

Continuous variables were presented as mean ± standard deviation (SD) or median (interquartile range, IQR) based on normality testing results by Kolmogorov–Smirnov test. Categorical variables were reported as number and percentage. Statistical comparisons between groups were performed using Student’s t-test, ANOVA test, Wilcoxon rank sum test, and chi-square test as appropriate. Missing data were imputed using multiple imputation.

Survival curves for the three examined outcome were calculated according to Kaplan–Meier analysis and log-rank test was employed to evaluate the differences in the mortalities stratified by the occurrence of hyperkalemia. Univariate Cox proportional hazard regression model was applied to estimate the hazard ratio (HR) and corresponding 95% confidence interval (CI) of each exposure for the risk of examined outcomes. Three multivariable Cox proportional hazard regression models were established to estimate the HR and 95% CI of hyperkalemia for the risk of the three outcomes after adjustment for: (1) demographic information (sex, age, and race) in Model 1; (2) the above demographic information and clinical variables (blood pressure, heart rate, creatinine, urine nitrogen, and hemoglobin) in Model 2; and (3) the above demographic and clinical variables and comorbidities (diabetes, sepsis, hypertension, heart failure, shock, and myocardial infarction) in Model 3. Subgroup analyses based on sex, age, diabetes, sepsis, AKI, and AKI stages were conducted to explore the specific effects of the occurrence and timing of hyperkalemia on the risk of the examined mortalities in the fully adjusted Model 3.

The statistical analysis was performed using R 4.0.3 (R Foundation for Statistical Computing, Vienna, Austria) with the R packages “survival” and “ggplot2”. A two-sided p value less than 0.05 was considered statistically significant.

Results

Study population

A total of 22,370 critically ill patients were included in this study (Fig. 1). The mean age of the whole population was 65.7 (SD: 16.9) years and 56.4% were men. 4,195 (4,195/22,370, 18.8%) patients developed hyperkalemia after ICU admission, among which about one half (2,221/4,195, 52.9%) only had one episode, while the other half (1,974/4,195, 47.1%) had recurrent hyperkalemia. The episodes of hyperkalemia during a single admission varied greatly from 1 to 27 times.

Fig. 1
figure 1

The study flow chart. Abbreviations: AKI, acute kidney injury; CKD, chronic kidney disease; ESRD, end stage renal disease; ICU, intensive care unit; K, potassium; n, number; y/o, years old.

Baseline characteristics

The baseline characteristics of the overall populations and subgroups based on the presence of hyperkalemia are shown in Table 1. Patients with and without hyperkalemia differed significantly in a number of baseline characteristics. The prevalence of diabetes, heart failure, myocardial infarction, and shock was more common in patients with hyperkalemia, whereas hypertension was more commonly observed in patients without hyperkalemia. Vital signs including blood pressure, heart rate, and oxygen saturation did not differ between the two groups. The patients with hyperkalemia tended to stay longer in ICU (medians: 5.0 vs. 3.6 days), have longer length of stay in hospital (medians: 11.9 vs. 8.1 days), received more KRT (13.3% vs. 1.4%), and were more likely to be diagnosed with AKI (65.3% vs. 34.8%) and higher grades of AKI compared to those without hyperkalemia. The level of serum creatinine was significantly higher in patients with hyperkalemia in comparison to those without hyperkalemia (means: 1.8 vs. 1.1 mg/dL).

Table 1 Baseline characteristics of the study population.

Outcomes and survival analysis

The ICU mortality, 7 days mortality, and 30 days mortality rates in the overall population were 12.6% (2,820/22,370), 9.5% (2,121/22,370), and 19.1% (4,275/22,370), respectively. Patients with hyperkalemia had significantly higher ICU morality rate (25.2% vs. 7.9%), 7 days mortality rate (15.3% vs. 8.1%), and 30 days mortality rate (31.6% vs. 16.2%) in comparison to those without hyperkalemia (Table 2). The Kaplan-Meier curves derived from survival analysis indicated patients with hyperkalemia had significantly higher risk for the ICU mortality, 7 days mortality, and 30 days mortality (Fig. 2).

Table 2 Outcomes of the study population.
Fig. 2
figure 2

The Kaplan–Meier curves showing the association between hyperkalemia and the risk of the examined mortality outcomes.

Cox regression analysis results

Univariable regression analysis indicated the occurrence of hyperkalemia in terms of hyperkalemia itself and the percentage of hyperkalemia out of the total blood potassium tests was associated with higher risk of both short-term and mid-term mortalities (Table 3). The absolute value of potassium at the occurrence of hyperkalemia, neither at the first occurrence of hyperkalemia nor the maximal potassium level, was not associated with higher risk of the short-term and mid-term mortalities. The longer the time from admission to the onset of hyperkalemia, the lower the risk of mortality. Patients who had the maximal potassium level at the first occurrence of hyperkalemia had lower risk of mortality than those who had not. In addition, the increased duration from the first occurrence of hyperkalemia to the maximal potassium was associated with higher risk of mortality. These associations remained unchanged in the multiple regression analysis after full adjustment for the demographic variables, clinical tests, and comorbidities (Table 4; Figs. 3, 4 and 5). Subgroups analysis indicated none of the examined covariates including sex, age, diabetes, sepsis, AKI, and AKI stages impact the survival outcomes (sFigs. 1, 2, 3, 4 and 5).

Table 3 Univariable regression analysis of the exposures of hyperkalemia and the risk of the outcomes.
Table 4 Multivariable regression analysis of the exposures of hyperkalemia and the risk of the outcomes.
Fig. 3
figure 3

The association between the exposures of hyperkalemia and the risk of ICU mortality based on the multivariate Cox regression analysis. Abbreviations: CI, confidence interval; HR, hazard ratio; K+, potassium.

Fig. 4
figure 4

The association between the exposures of hyperkalemia and the risk of 7 days mortality based on the multivariate Cox regression analysis. Abbreviations: CI, confidence interval; HR, hazard ratio; K+, potassium.

Fig. 5
figure 5

The association between the exposures of hyperkalemia and the risk of 30 days mortality based on the multivariate Cox regression analysis. Abbreviations: CI, confidence interval; HR, hazard ratio; K+, potassium.

Discussion

The main findings of this study indicated that after full adjustment, the occurrence of hyperkalemia is closely associated with the ICU mortality (HR: 1.39; 95% CI: 1.22–1.58) and 30 days mortality (HR: 1.16; 95% CI: 1.03–1.31) of the critically ill patients. The values of potassium at the occurrence of hyperkalemia are not significantly associated with the mortalities. The timing of hyperkalemia is also associated with the risk of mortalities. The longer the time from admission to the onset of hyperkalemia or the shorter the duration from the first occurrence of hyperkalemia to the maximal potassium, the lower the risk of mortality. These associations remained unchanged in the multiple regression analysis after full adjustment for the demographic variables, clinical tests, and comorbidities.

The close association between hyperkalemia and higher risk of mortality is consistent with previous reports2,6,8,10 and has already been recognized by well accepted clinical scores14, among which APACHE II15 and SAPS II16 include serum potassium as one predictive variable to assess the risk of patients. After adjusting for multiple factors including demographic variables, clinical tests, and comorbidities, we have once again confirmed the increased short- and mid-term mortalities at the occurrence of hyperkalemia in a broader ICU patient population, rather than a specific ICU population and this correlation remained stable across various subgroups. Unexpectedly, our results suggested that the specific numerical values of the serum potassium upon the first occurrence of hyperkalemia were not significantly related to the mortalities, and the association between the occurrence of hyperkalemia and the outcomes was stronger than that between the numeric value of maximal potassium and the outcomes. The explanation to this finding might be that hyperkalemia draws close attention from medical professionals; thus, prompt interventions are undertaken regardless of the numerical value due to the well-known complications including life-threatening cardiac arrhythmias, muscle weakness and paralysis, neurological symptoms, and digestive issues.

An interesting finding of this study is that the timing of hyperkalemia and the speed at which serum potassium levels rise to their peak are both closely related to the risk of mortality, which has not been previously reported in the literature. We found that the longer the time from ICU admission to the first occurrence of hyperkalemia or the highest serum potassium value, the lower the risk of death. In other words, the earlier hyperkalemia occurs, which may reflect more severe disease or more complex life-threatening situations, the greater the risk of death. Furthermore, the longer the time from the first occurrence of hyperkalemia to the highest serum potassium value, the greater the risk of death, indicating that the risk of mortality increases with the time to reach peak potassium levels. Additionally, we found that patients who had the highest serum potassium values at their first episode of hyperkalemia had a lower risk of death, for which the underlying reason might be that these patients received more aggressive interventions due to their high serum potassium levels, leading to better outcomes.

This is the largest sample study so far on the correlation between hyperkalemia and the risk of mortality in a well-organized dataset. Our findings once again confirm the dangers of hyperkalemia and, for the first time, analysed the correlation between the timing of hyperkalemia and the risk of mortality. The findings suggest that we clinicians should pay attention to hyperkalemia and, once it occurs, actively manage it to restore serum potassium levels to normal as quickly as possible. There are some limitations to be noted. First, this is a retrospective study, which can only prove correlation, instead of causality. As is well known, hyperkalemia often coexists with a variety of critical illnesses, which already have a high risk of death, so hyperkalemia may merely reflect the severity of the condition. Second, there are many factors that affect the mortality of ICU patients and it is impossible to completely rule out every potentially confounding factor. This should be taken into account when interpreting the results.

Conclusions

The results of this study indicated that the occurrence and timing of hyperkalemia are both closely associated with the ICU mortality and 30 days mortality of critically ill patients. The earlier hyperkalemia occurs, or the longer the time from the first occurrence of hyperkalemia to peak potassium level, the greater the risk of death. These significant associations remained unchanged after full adjustment. We should pay attention to hyperkalemia and, once it occurs, actively manage it to restore serum potassium levels, regardless of the numeric values, to normal as quickly as possible.