Background

Cardiogenic shock presents a high mortality rate ranging from 27 to 51% in hospitals [1], highlighting the significance of optimizing patient management in this condition. While current guidelines primarily focus on hemodynamic treatment and primary pathologies, comprehensive recommendations regarding glycemic control are relatively limited [2]. Managing blood glucose (BG) levels poses a challenge in the treatment of cardiogenic shock, given the presence of stress states, disruptions in glucose metabolism, and other factors that contribute to significant fluctuations in BG levels. These fluctuations may harm patient outcomes [3]. Therefore, the effective control of BG is an imperative topic that warrants discussion in the treatment process of patients with cardiogenic shock.

Existing research has already explored the correlation between hyperglycemia and adverse outcomes in acute myocardial infarction and cardiogenic shock [4,5,6,7]. It has been proved that the BG level on admission can serve as a prognostic indicator for patients diagnosed with cardiogenic shock. Patients with admission BG levels exceeding 7.8 mmol/L exhibit elevated mortality rates during their hospital stay, as well as within one year and five years post-admission [8]. Similarly, a retrospective study revealed that individuals experiencing acute myocardial infarction and exhibiting a random BG maximum value surpassing 140 mg/dl face a heightened risk of developing cardiogenic shock [9]. Additionally, a study involving 3078 patients revealed an association between the highest in-hospital BG levels ≥ 11.5 mmol/L and increased mortality in patients with acute coronary syndrome. All these findings underscore the potential hazards of hyperglycemia in individuals with cardiogenic shock [10].

The detrimental effects of hypoglycemia on cardiovascular diseases are also gradually receiving attention. Researchers found in a nationwide population-based cohort study of over 1.5 million individuals in South Korea that experiencing severe hypoglycemic events can lead to an increase in adverse cardiovascular events and all-cause mortality. This risk escalates with the frequency of hypoglycemic episodes [11]. Subsequently, the same team of researchers discovered that for patients with acute heart failure, hypoglycemic events (BG < 3.9 mmol/L) increase the risk of major adverse cardiovascular events and all-cause mortality [12].

The studies mentioned above predominantly focused on a single random BG record or the maximum BG level during specific periods, thereby neglecting an examination of the dynamic fluctuations in BG levels. Patients in the intensive care unit (ICU) often exhibit a high degree of variability in their BG due to their changing pathophysiological state [13]. Assessing overall BG levels based solely on a single measurement is inadequate. Hence, we contend that utilizing dynamic recordings of BG data is appropriate for evaluating the overall level of glycemic control in patients with cardiogenic shock during their ICU stay. While previous studies have examined the impact of BG on the prognosis of patients with cardiogenic shock [14, 15], they have not provided sufficient evidence to delineate the optimal range for BG control. In view of both excessively elevated and excessively diminished BG levels can give rise to unfavorable outcomes, we hypothesize the existence of an optimal level for glycemic control in patients with cardiogenic shock. However, existing guidelines for intensive glycemic control do not provide specific recommendations for BG management in this population, and there is a lack of high-quality clinical evidence regarding BG management in conditions such as cardiac arrest and related diseases.

Our research aims to explore the optimal level of BG control in patients with cardiogenic shock by analyzing time series BG records. By comparing the mortality of patients within and outside this range, we aim to provide a rational target for optimal BG control.

Methods

The Medical Information Mart for Intensive Care IV (MIMIC-IV) database version 2.0 was used for our retrospective observational study, in compliance with the REporting of studies Conducted using Observational Routinely collected health Data (RECORD) declaration. Data gathered from patients admitted to Beth Israel Deaconess Medical Center's intensive care units between 2008 and 2019 are included in the MIMIC-IV database. Yi-Le Ning, a member of our team, has been granted authorization to access the MIMIC-IV database (Record ID 40974208). The Beth Israel Deaconess Medical Center's Institutional Review Board (IRB #2001P001699) approved a waiver of informed consent because the patient information had been de-identified.

Study population

The International Classification of Disease (ICD) codes were used to identify adult patients with cardiogenic shock. Patients who were taken out of the ICU in less than 24 h were not included. The components of the time series data for BG were all the BG records and the related record time stamps of the patients during their stay in the ICU, which we retrieved. We intended to align the BG records into 1-h resolution time series data by imputation with Stineman interpolation algorithm [16]. We therefore removed patients whose total counts of BG records were fewer than 3 in order to facilitate the interpolation using the previously proposed algorithm. Furthermore, we verified that patients maintain a minimum of one BG record daily. Here are the specific exclusion standards that were established for this retrospective observational study: (1) ICU stay less than 24 h; (2) non-adult patients younger than 18; and (3) no BG is recorded on any given day of the ICU stay, or fewer than 3 BG records in total.

Data extraction

In order to obtain all the patient data necessary for the study, we collected all BG records, demographic information, study outcomes, laboratory results, vital signs, and scoring systems like the SAPS II and SOFA score, within the first 24 h of ICU admission. Structured query language (SQL) codes were developed and tested using DBeaver Community version 23.1.2. The DBI package was then used to execute the codes, creating the relevant tables in the MIMIC-IV database and related variables in the R global environment for data collection.

Exposure and outcomes

We measured total BG control during an ICU stay using the time-weighted average BG (TWA-BG). This was achieved by calculating the area under the dynamic BG-time curve and dividing the result by the total ICU stay duration. The nonlinear relationship between TWA-BG and 28-day mortality was examined using a restricted cubic spline (RCS) curve based on the Cox regression model using rms package [17], determining the optimal threshold for patient grouping as the exposure factor. In the present investigation, the primary outcome was set as 28-day mortality, with the secondary outcome being mortality specifically within the confines of the ICU and hospital.

Covariates

In the current study, a comprehensive set of 38 variables, clustered into 5 distinct categories, served as potential confounders. These categories encompassed demographic and admission data (e.g., age, sex, weight, SAPS II, SOFA score, Charlson comorbidity index), therapeutic interventions [e.g., coronary artery bypass grafting (CABG), percutaneous coronary intervention (PCI), intra-aortic balloon pump (IABP), pulse index continuous cardiac output (PiCCO), non-invasive cardiac output monitoring (NICOM), mechanical ventilation, sedative therapy], pre-existing comorbid conditions [e.g., heart failure (HF), hypertension, atrial fibrillation (AFIB), type 2 diabetes mellitus (T2DM), chronic renal disease, liver disease, chronic obstructive pulmonary disease (COPD), coronary artery disease (CAD), stroke, malignancy, cardiomyopathy, heart valvular disease (HVD)], vital signs [e.g., mean arterial pressure (MAP), temperature, heart rate], along with laboratory tests (e.g., white blood cell (WBC) count, hemoglobin, platelet count, potential of hydrogen (pH), partial pressure of oxygen (PO2), partial pressure of carbon dioxide (PCO2), lactate, creatinine, cardiac output (CO), central venous pressure (CVP)].

Statistical analysis

We executed the Shapiro–Wilk normality test to gauge the normal distribution of the data. Bartlett's examination (for the original cohort) or the F-test (for the pairwise cohort) was applied to assess the equality of variances. Given the circumstances where the data exhibited normal distribution across groups and the homogeneity of variance test revealed no statistical difference, we conducted one-way ANOVA (for the original cohort) or the t-test (for the pairwise cohort) for continuous covariates. In contrast, if such conditions were not met, the Kruskal–Wallis test (for the original cohort) or the Wilcoxon test (for the pairwise cohort) was deemed suitable. The Chi-square test was utilized for categorical covariates, while Fisher's exact test was used if the sample size for any cell was less than 10. Continuous variables were articulated as mean (standard deviation), while categorical variables were conveyed as numerical values (percentage).

We employed both pairwise propensity score matching (PSM) and inverse probability of treatment weighting (IPTW) based on the propensity score to adjust for covariates, thereby fortifying the robustness of our results. The Matching package was utilized to conduct pairwise PSM, resulting in the creation of two matched cohorts (Cohort 1: optimal TWA-BG group versus low TWA-BG group, and Cohort 2: optimal TWA-BG group versus high TWA-BG group). The propensity score, generated with the logistic regression model, was used as the basis for further propensity score-based analysis. We 1:1 matched cohorts with the Match function in Matching package based on their propensity scores with a caliper width equal to 0.2 of the standard deviation of the logit of the propensity score [18,19,20]. Whether the absolute values of standardized mean difference (SMD) of all covariates between groups exceeded the threshold of 0.1 was used to assess the balance of covariates. Multiple imputations were performed with the mice package for these two pairwise cohorts before pairwise PSM. Variables with missing values exceeding 40% will not be included as covariates in the model for analysis [21]. The unadjusted log-rank test was employed with the survival package [22] to estimate the original cohort.

To ensure the robustness of the results, we applied a series of models, such as sensitivity analysis for 28-day, ICU, and in-hospital mortality, which included the multivariate Cox model adjusted with all covariates, multivariate Cox model adjusted with unbalanced covariates, multivariate Cox model adjusted with all covariates using IPTW, and doubly robust estimation (survey-weighted Cox model) with all covariates using IPTW. The assumption of proportional hazards was tested via the analysis of Schoenfeld residuals. In the event that the assumption of proportional hazards was statistically significant, time-changing covariates with time-transform features were incorporated with the tt function into the Cox regression model or survey-weighted Cox model.

All statistical approaches were deployed with R version 4.2.3. The threshold of statistical significance is established at p < 0.05.

Results

Baseline characters and grouping

We initially identified a total of 2990 patients with cardiogenic shock using ICD codes in the database. After excluding 977 patients, a final cohort of 2013 patients was included in the data analysis (Fig. 1). To investigate the optimal cut-off value of TWA-BG for 28-day mortality, we performed the RCS curve based on the Cox regression model (Fig. 2), which indicated a nonlinear relationship between TWA-BG and the 28-day mortality in patients with cardiogenic shock (p < 0.001, nonlinear p < 0.01). Thus, we identified an optimal TWA-BG range of 104 to 138 mg/dL. BG levels exceeding 138 mg/dL and falling below 104 mg/dL were associated with an increased risk of 28-day mortality. Based on these findings, we categorized the patients into 3 groups according to the TWA-BG levels: low TWA-BG group (TWA-BG ≤ 104 mg/dL, n = 136), optimal TWA-BG group (104 mg/dL < TWA-BG ≤ 138 mg/dL, n = 893), and high TWA-BG group (TWA-BG > 138 mg/dL, n = 984). The frequency distribution of TWA-BG data of all included patients can be found in Additional file 1, which revealed that the lowest TWA-BG recorded was 69 mg/dl, with a relatively fewer proportion of patients below 104 mg/dl. And the range distribution of TWA-BG was showed in Additional file 2. Interestingly, we observed a smaller number of patients in the low TWA-BG group compared to the optimal and high TWA-BG groups. This may be attributable to a clinical preference among ICU medical staff to maintain patients' BG levels within a safer (namely higher) cushion range. We simultaneously analyzed the first 24 h, 48 h, 72 h, and 7 days TWA-BG trend for each group. It can be observed that the trend in TWA-BG aligns with the characteristic BG distributions for each group (Additional file 3: Fig. S1).

Fig. 1
figure 1

The study flowchart outlines the inclusion and exclusion criteria utilized to select the final cohort of 2013 patients

Fig. 2
figure 2

The nonlinear relationship of TWA-BG and the risk of 28-day mortality fit by multivariate Cox regression with RCS analysis

In the study population, the overall mean age was 68.24 ± 14.32 years. There were 733 female cases, constituting 36.41% of the total. The average weight was 83.58 ± 21.93 kg, the mean SAPS II score was 44.89 ± 15.02, and the average SOFA score was7.71 ± 3.82. There exists imbalance among the 3 groups in terms of age, weight, SAPS II score, Charlson comorbidity index, and other baseline characteristics. Detailed baseline characteristics data of original cohort are shown in Additional file 4: Table S1.

To mitigate bias arising from the imbalances in baseline characteristics, we employed pairwise PSM: the high and low TWA-BG groups were each matched with the optimal TWA-BG group, respectively, resulting in two matched cohorts (cohort 1: optimal TWA-BG group versus low TWA-BG group; cohort 2: optimal TWA-BG group versus high TWA-BG group). The detailed comparison of before and after PSM of these two cohorts is shown in Tables 1 and 2. After pairwise PSM, the SMDs of all covariates with greater than 0.1 between groups were notably reduced, indicating improved baseline balance between the matched groups (Additional file 4: Table S2-S7, Additional file 3: Fig. S2).

Table 1 Baseline characteristics before and after propensity score matching of cohort 1
Table 2 Baseline characteristics before and after propensity score matching of cohort 2

Primary and secondary outcome

In our study population of 2013 patients with cardiogenic shock, the incidence of 28-day mortality was 22.84% (204 patients) in the optimal TWA-BG group, 34.56% (47 patients) and 35.26% (347 patients) in the low and high TWA-BG groups. The unadjusted Kaplan–Meier survival analysis revealed the lowest 28-day mortality in the optimal TWA-BG group compared to the low and high TWA-BG groups (Fig. 3A). The unadjusted log-rank test further revealed that the low TWA-BG group (HR:1.67, 95% CI: 1.19–2.33, p = 0.002) and high TWA-BG group (HR:1.72, 95% CI: 1.46–2.03, p < 0.001) both carried more than 1.6 times higher risk of 28-day mortality than the optimal TWA-BG group (Additional file 4: Table S8).

Fig. 3
figure 3

Unadjusted Kaplan–Meier survival curve for primary and secondary outcome of original cohort. A Unadjusted Kaplan–Meier survival curve for 28-day mortality. B Unadjusted Kaplan–Meier survival curve for ICU mortality. C Unadjusted Kaplan–Meier survival curve for in-hospital mortality

Similar trends were observed for both ICU mortality and in-hospital mortality. The unadjusted Kaplan–Meier curves delineated the difference in ICU mortality (Fig. 3B) and in-hospital mortality (Fig. 3C) among groups. The unadjusted log-rank test revealed increased risks of ICU mortality in the low TWA-BG group (HR: 2.30, 95% CI: 1.40–3.79, p < 0.001) and the high TWA-BG group (HR: 1.77, 95% CI: 1.45–2.17, p < 0.001) compared to the optimal TWA-BG group (Additional file 4: Table S9). In terms of in-hospital mortality, the unadjusted log-rank test indicated unfavorable prognosis in the low TWA-BG group (HR: 1.73, 95% CI: 1.19–2.51, p = 0.001) and the high TWA-BG group (HR: 1.64, 95% CI: 1.38–1.95, p < 0.001) relative to the optimal TWA-BG group (Additional file 4: Table S10).

Sensitivity analysis and subgroup analysis

To validate the robustness of our findings, we employed a series of models to perform the sensitivity analysis. These models comprise the following: multivariate Cox model adjusted with all covariates, multivariate Cox model adjusted with unbalanced covariates, Cox model adjusted with all covariates using IPTW, and survey-weighted Cox model adjusted with all covariates using IPTW. As summarized in Table 3, all estimated models converge towards the same conclusion: patients with TWA-BG levels ranging from 104–138 mg/dl exhibit the lowest mortality risk (including 28-day, ICU, and in-hospital mortality). Detailed estimates of covariates for each model can be found in Additional file 4: Table S11–S34.

Table 3 Primary and secondary outcome analyses with different models for cohort 1 and cohort 2

Furthermore, we conducted a stratified analysis of the two cohorts based on age, gender, SAPS II score [23], PCI, IABP, HF, Hypertension, AFIB, CAD, and T2DM. As depicted in Fig. 4, for cohort 1, patients older than 60 years, male, SAPS II score ≥ 66, without PCI, IABP, HF, AFIB, CAD, T2DM, and with hypertension, displayed a higher 28-day mortality risk in the low TWA-BG group compared to the optimal TWA-BG group. Conversely, in cohort 2, the high TWA-BG group exhibited a higher 28-day mortality risk across most strata. Similar outcomes were observed for ICU mortality rate and in-hospital mortality rate (Additional file 3: Figs. S3, S4).

Fig. 4
figure 4

Forest plot of subgroup analysis for 28-day mortality in cohort 1 (A) and cohort 2 (B)

Discussion

In our study, by analyzing time series BG data from a large sample of patients with cardiogenic shock, we have identified a potential optimal level for BG control. The research reveals that patients with 104 < TWA-BG ≤ 138 mg/dl exhibit the most favorable outcomes in terms of 28-day, in-hospital, and ICU mortality. Through control bias with PSM-based IPTW and subsequent sensitivity analysis with multiple models, this conclusion remains robust. It suggested that maintaining BG levels within this optimal range yields the best clinical prognosis, as deviations towards higher or lower BG levels result in increased mortality. Our study expands upon previous research and provides clinicians with reasonable evidence for BG control in patients with cardiogenic shock.

Previous research has extensively discussed the correlation between hyperglycemia and adverse prognosis in cardiovascular diseases. Critically ill patients often experience disturbances in glucose metabolism or stress-induced hyperglycemia [24], leading to elevated BG levels. Excessively high BG levels can disrupt cellular function in patients, including elevated cytokines, increased oxidative stress, and impaired nitric oxide production [25,26,27]. These factors can activate inflammatory responses, subsequently causing secondary damage to the heart. Elevated fasting BG [7], admission hyperglycemia [4], elevated peak BG levels during hospitalization [10], and random BG elevations [9] are all associated with poor outcomes in cardiac patients. These outcomes include higher in-hospital mortality rates, increased incidence of major adverse cardiovascular events, and a greater likelihood of developing cardiogenic shock. A study from Poland analyzed 258 patients with cardiogenic shock, comparing those with hyperglycemia upon admission to those with BG levels < 7.8 mmol/L. The study revealed that patients with elevated BG had a higher in-hospital mortality rate (41.5% vs. 28%, p = 0.041), as well as higher 1-year (51.4% vs. 34.7%, p = 0.015) and 5-year mortality rates (65.8% vs. 43.3%, p = 0.034) [8]. Another study conducted in China, which included 2412 patients with acute myocardial infarction, also found that compared to individuals with BG levels below 140 mg/dL, patients with BG levels ranging from 140–200 mg/dL (odds ratio (OR): 1.68, 95% CI: 1.21–2.31) and above 200 mg/dL (OR: 3.72, 95% CI: 2.50–5.46) had a higher risk of developing cardiogenic shock [9]. Insulin therapy serves as the primary approach to manage hyperglycemic events in critically ill patients [28].

The use of insulin can protect mitochondrial function, reduce inflammation factors, and mitigate endothelial activation, thereby exerting a cardioprotective effect [29]. Excessively strict BG control often carries the risk of hypoglycemic events [30, 31]. Low BG levels can also lead to adverse outcomes in cardiac patients [32,33,34]. A study from Korea found that among heart failure patients upon admission, those with BG levels < 3.9 mmol/L and concomitant type 2 diabetes had a higher risk of 3-point major cardiovascular event (3P-MACE) (HR: 2.29, 95% CI: 1.04–5.06) and increased all-cause mortality (HR: 2.58, 95% CI: 1.26–5.31) compared to patients without severe hypoglycemia or diabetes [12]. Moreover, a greater number of occurrences of hypoglycemic events were associated with adverse cardiovascular outcomes and increased all-cause mortality [11], and iatrogenic hypoglycemic events can also contribute to poor prognosis in critically ill patients [35]. However, research has shown that insulin therapy-induced hypoglycemia can be better detected and promptly treated in ICU patients, thereby reducing adverse events caused by low BG [36]. For patients without early parenteral nutrition in ICU, tight BG control (maintaining BG within the range of 80–110 mg/dl) does not increase ICU length of stay or 90-day mortality. Moreover, there is no significant difference in the incidence of severe hypoglycemia [37]. Current guidelines also recommend maintaining BG levels between 6.1–7.8 mmol/L (109.8–140.4 mg/dl) for ICU patients without diabetes. For critically ill patients newly admitted, the interval for BG monitoring should not exceed 1 h until stable BG and insulin infusion levels are achieved [28]. This provides a foundation for more precise BG control. Additionally, with the introduction of various BG control and insulin treatment protocols, protocol-driven BG monitoring can standardize monitoring practices, potentially reducing the frequency of BG measurements [38].

The CardShock study revealed a significant correlation between admission BG levels and in-hospital mortality in patients with cardiogenic shock. Patients with severe hyperglycemia (≥ 16.0 mmol/L) and hypoglycemia (< 4.0 mmol/L) have the highest rates of in-hospital mortality. Severe hyperglycemia emerges as an independent predictive factor for in-hospital mortality in patients with cardiogenic shock (OR: 3.7, 95% CI: 1.19–11.7, p = 0.02) [5]. Hence, there has been a continuous endeavor to identify a rational BG control level. As early as 2013, researchers discovered that strict BG control yields better outcomes compared to lenient control for critically ill patients [39]. Another trial compared the prognosis of cardiac and thoracic surgical patients with BG control at 80–110 mg/dl versus 90–140 mg/dl. The results revealed lower 30-day mortality in the 80–110 mg/dl group, indicating that stringent BG control contributes to improved prognosis in cardiac patients [40]. However, to date, despite considerable academic research, a robust consensus on optimal BG level for patients during hospitalization specifically for patients with cardiogenic shock remains elusive. Therefore, our study provides novel insight and strategies regarding BG control during hospitalization for critically ill patients with cardiogenic shock.

The aforementioned study shares a common limitation, namely the assessment of BG based solely on single BG measurements or extreme values. However, in clinical practice, patients' BG levels may exhibit dynamic fluctuations during the progression of the disease or treatment. Therefore, relying solely on single BG values or extremes does not adequately reflect the overall control of patients' BG levels throughout their hospitalization.

In addition, in comparison to previous findings, our discoveries possess distinct advantages. Firstly, we selected TWA-BG as the target for BG control, which better reflects the overall BG control level throughout the hospitalization process compared to fasting BG, admission BG, or the highest and lowest BG values. Secondly, through extensive analysis of large-scale data, we identified a reasonable BG control level. This target range of 104–138 mg/dl is clinically feasible to achieve, particularly in situations where continuous BG monitoring methods are lacking. Selecting a reasonable range not only facilitates better attainment of the target but also reduces the occurrence of hypoglycemic events.

The sensitivity analysis further corroborated the robustness of the results, confirming that TWA-BG within the range of 104–138 mg/dl exhibited a better prognosis compared to excessively high or low BG levels. Subgroup analyses also supported these findings. Adverse outcomes have been observed with both excessively high and low BG levels across varying disease severities, etiologies of cardiogenic shock, comorbidities, age groups, and treatment modalities. This underscores the importance of maintaining BG within an optimal range to improve the 28-day, ICU, and in-hospital mortality rates in patients with cardiogenic shock. Despite the occurrence of nonsignificant outcomes in a minority of strata, the overall trend remained consistent with the previously mentioned results, indicating an increased mortality rate with both excessively high and low BG levels. The nonsignificance in the low TWA-BG group might be attributed to the relatively smaller sample volume, potentially underestimating the actual adverse effects of low BG. Further prospective trials are necessary to validate these particular findings.

Our study has several limitations. Firstly, it is a retrospective study, and therefore, subsequent prospective, randomized controlled trials are needed to confirm our conclusions. Secondly, the number of patients in the hypoglycemia group within our study population is significantly lower compared to the other two groups, and data on severely hypoglycemic patients are even scarcer. Therefore, further validation of the lower cut-off value of the optimal BG level may require a larger sample size. Thirdly, due to variations in the frequency of BG measurements in the database, there may be undetected episodes of BG abnormalities. Although we conducted time series imputation to address this issue, a more rigorous randomized controlled study is still necessary to mitigate this bias. Lastly, despite controlling for all possible confounding factors, there may be unmeasured confounders that could affect the results. Moreover, due to inherent limitations in the database, a substantial number of missing values were identified for crucial parameters related to cardiogenic shock, such as cardiac function, cardiac output, and filling pressures. Including these variables in the analysis could introduce further bias. Hence, this study opted not to incorporate these variables. Future randomized controlled trials should comprehensively include these parameters to assess their potential impact on outcomes more thoroughly.

Conclusion

In our retrospective observational study, an optimal glycemic control threshold in the ICU for critically ill patients suffering from cardiogenic shock was identified between the level of 104–138 mg/dL through analysis of time series BG records. Within this target range of BG, included patients exhibit the most favorable outcomes, as evidenced by minimized risks of 28-day, ICU, and in-hospital mortality. Further rigorously and strictly designed randomized controlled trials with time series BG records are needed to validate our findings.