Introduction

As the global population ages and expands, cardiovascular diseases (CVD) have become the leading causes of mortality and morbidity worldwide [1]. However, individuals with cardiovascular diseases often exhibit metabolic disturbances due to unhealthy dietary and lifestyle habits, potentially exacerbating adverse cardiovascular outcomes [2, 3]. Previous research has shown that elevated blood glucose levels upon hospital admission in patients with CVD are independently associated with poor prognosis [4, 5]. However, hyperglycemia often arises from a combination of acute stress and chronic glucose levels and thus might not necessarily reflect an acute rise in glucose. Consequently, some researchers have employed a novel marker of hyperglycemic state, the Stress Hyperglycemia Ratio (SHR), to represent genuine acute hyperglycemia [6].

Stress-induced hyperglycemia is a relative increase in glucose caused by inflammation and neurohormonal disruptions during severe illness. The interaction between hyperglycemia and illness severity partly mirrors the more intense inflammatory and neurohormonal responses seen with more severe disease stimuli [7]. Many recent studies have demonstrated that acute hyperglycemia upon admission in patients with acute coronary syndrome (ACS) is independently associated with early and late adverse prognoses [8]. A study from the COACT registry revealed that SHR is an effective predictor of post-percutaneous coronary intervention (PCI) major adverse cardiac and cerebrovascular events (MACCE), especially in patients with non-diabetic ST-segment elevation myocardial infarction (STEMI) [9]. Yet, another report indicated no significant correlation between SHR bifurcation and short-term survival in diabetic patients [10]. Thus, the relationship between SHR and short-term mortality risk in patients with a first diagnosis of AMI remains contentious and merits further investigation. Moreover, past research has had limitations, including small sample sizes and overlooking potential confounding factors like the influence of other diseases and medication use, which could affect the results. Hence, in this study, using the MIMIC-IV (version 2.2) database, we aim to understand better the relationship between SHR and short-term mortality risk in patients with a first diagnosis of AMI.

Materials and methods

Data source and study population

This retrospective study utilized health-related data from the MIMIC-IV (version 2.2) database, a comprehensive large-scale database developed and managed by the MIT Computational Physiology Laboratory. The database comprises over 50,000 high-quality medical records of patients admitted to the Intensive Care Unit (ICU) at the Beth Israel Deaconess Medical Center [11]. Notably, all personal identifying information has been anonymized to safeguard patient privacy. In light of the nature of this study, the Institutional Review Board of the Beth Israel Deaconess Medical Center waived the requirement for informed consent [11]. To access the database, the author (XHC) obtained the necessary certification and then extracted the required variables (Certification No.: 58951192). For this study, patients with a first diagnosis of AMI based on the International Classification of Diseases (ICD), ICD-9, and ICD-10 were included. Participants under the age of 18 years (n = 0), those with chronic kidney disease stage 5 (n = 119), with malignant tumors (n = 9), and those with missing glucose and HbA1c data (n = 1580) were excluded. In the final analysis, 1961 individuals were included and categorized into three groups based on the tertiles of their SHR levels (Fig. 1).

Fig. 1
figure 1

Flow diagram of study

Data collection

Data extraction was performed using the PostgreSQL tool (v.14, PostgreSQL Global Development Group, Berkley, California, USA). Diagnoses of patients were retrieved as per ICD-9 and ICD-10 using Structured Query Language (SQL). Baseline characteristics, laboratory indicators, and medication usage records were queried through the item IDs stored in MIMIC-IV and matched to selected patients using a unique identifier (subject_id). Extracted variables included: (1) Baseline characteristics: age, sex, height, weight, systemic inflammatory response (SIRS), sequential organ failure assessment (SOFA); (2) Comorbidities: hypertension, cardiogenic shock, atrial fibrillation, cardiac arrest, heart failure, diabetes, chronic kidney disease stage 5, malignant tumor; (3) Laboratory parameters: red blood cell (RBC), white blood cell (WBC), platelet, creatinine, glucose, hemoglobin A1C (HbA1C); (4) Medication use: vasoactive drugs, antihypertensive drugs, antilipidemic drugs, antiplatelets, insulin; (5) Hospital and ICU admission data: admission and discharge dates, ICU admission and discharge dates, death date and time. All measurements utilized in this study were from the initial 24 h post-admission. Specific details and query codes for each metric are available in Table S1.

Data definitions

The Body Mass Index (BMI) was calculated as weight (kg) divided by the square of height (m). The SHR was determined using the following formula: SHR = admission blood glucose (ABG) (mmol/L)/[1.59 × HbA1c (%) − 2.59] [6]. Diabetes was defined as a history of diabetes or HbA1c > 6.5%. Pre-DM was defined as patients without a history of diabetes but with HbA1c levels between 5.7 and 6.4%. Normoglycemia (NGR) was identified in patients without a history of diabetes or with HbA1c ≤ 5.7% [12].

Outcomes

The primary outcomes were all-cause mortality at 90 and 180 days post-admission, calculated based on the first AMI diagnosis time and the follow-up death dates from MIMIC-IV 2.2.

Statistical analysis

Based on the baseline SHR tertiles, data are expressed as mean (SD) or median (interquartile range) for continuous variables and frequency (percentage) for categorical variables. Differences between SHR tertiles groups were assessed using the chi-squared test (for categorical variables), one-way ANOVA (for normally distributed data), and the Kruskal–Wallis H test (for skewed data). The lowest tertile of SHR served as the reference group. To analyze the association between the SHR index and the risk of 90-day and 180-day death, multivariable Cox proportional hazards regression models were utilized to calculate Hazard ratios (HRs) and 95% confidence intervals (CIs). Model 1 did not adjust for any covariates. Any covariate altering the resulting estimate by more than 10% was included in Model 2 as a potential confounder. If the covariate changed the resulting estimate by more than 10% or had a regression coefficient P-value < 0.1, it was considered a potential confounder in Model 3 [13]. To prevent multicollinearity, variables with a variance inflation factor (VIF) greater than five were excluded from the models. The Kaplan–Meier survival analysis was also employed to assess endpoint occurrence rates based on different SHR levels.

Likewise, analyses were divided into groups according to the following factors: age, sex, BMI, hypertension, heart failure, atrial fibrillation, and diabetes. Except for the stratification variable, the adjustment technique was the same as in Model 3. Log-likelihood ratio tests were employed to evaluate interactions between SHR and outcomes between subgroup factors.

Additionally, restricted cubic splines were used with three knots (10th, 50th, and 90th percentiles) to examine dose–response associations. We then calculated HR for SHR and outcomes by running a log-likelihood ratio test for the non-linearity of the smooth curve fit, contrasting the segmented regression model to the single-linear (non-segmented) model while accounting for relevant confounders.

The highest covariate missing was the BMI (29.63%). We employed a multiple imputation and chained equation technique based on five replications in the R MI process to account for the missing data (BMI, WBC, RBC, PLT, and creatinine) in to prevent a deterioration in the effectiveness and bias of the statistical analyses owing to the direct exclusion of missing values [13]. Cox regression analysis was performed on the five newly created data sets, and the outcomes were merged using Rubin's rules [14, 15]. We performed sensitivity analyses to assess how reliable our results were. Firstly, distributions of variables with missing data comparing observed complete case data. Secondly, the association between SHR and the risk of 90-day or 180-day mortality was investigated using data before multiple imputations (n = 1358). Thirdly, further adjustments were made to the SIRS and SOFA scores based on clinical data (n = 986). Finally, recognizing the varying diabetes status among patients, we performed subgroup analyses. All analyses have been conducted using the data after multiple imputations except Table S3, which used raw data for analyses. R 4.3.0 (http://www.R-project.org) was used for all analyses. A two-sided P-value of less than 0.05 was deemed statistically significant.

Results

Baseline characteristics of patients with AMI

Data were derived from 1961 AMI patients (mean age 66.65 years; 69.10% male). Those with elevated SHR tended to be older males with increased white blood cell counts and glucose levels. Notable differences in age, sex, white blood cell count, red blood cell count, platelets, creatinine, glucose, HbA1c, heart failure, cardiogenic shock, cardiac arrest, atrial fibrillation, hypertension, diabetes, antilipidemic drugs, antiplatelets, vasoactive drugs, 90-day and 180-day mortality were statistically significant across the three patient groups (all P < 0.05) (Table 1).

Table 1 Baseline characteristics of patients according to tertiles of stress hyperglycemia ratio

Associations between SHR and outcomes

Over the 90-day and 180-day follow-up periods post-admission, there were 175 and 210 recorded deaths, respectively. After multivariable adjustment for age, sex, BMI, cardiogenic shock, cardiac arrest, and hypertension, compared with the reference tertiles, the third tertiles showed a significant association with SHR concerning 90-day and 180-day mortality in Model 2. With further adjustments for potential confounder, the results were consistent in Model 3, multivariable-adjusted HRs (95% CIs) tertiless of across SHR were 1.00 (reference), 0.81 (0.50, 1.30), and 1.94 (1.33, 2.82) (P trend < 0.001); and 1.00 (reference), 0.88 (0.58, 1.34), and 1.92 (1.37, 2.70) (P trend < 0.001), respectively (Table 2).

Table 2 Multivariable Cox regression analyses for 90-day and 180-day mortality in patients with acute myocardial infarction

The dose–response relationship between SHR and the adjusted hazard ratio for 90-day and 180-day mortality in AMI patients was depicted using restricted cubic splines. A J-shaped association between SHR and the 90-day and 180-day mortality rates was observed (Fig. 2). Additionally, a combination of Cox proportional hazard models with a two-segmented Cox proportional hazards model was employed to study the non-linear relationship between SHR levels in AMI patients and the mortality mentioned above rates (P for log-likelihood ratio < 0.05) (Table 3). An inflection point was detected at an SHR of 0.9. When the SHR exceeds 0.9, for each unit increase in the SHR level, the adjusted HRs for 90-day and 180-day mortality increase by fivefold (HR 5.74; 95% CI, 3.19–10.33) and fourfold (HR 4.56; 95% CI, 2.62–7.95), respectively. However, when the SHR is below 0.9, there is no significant association with 90-day and 180-day mortality. Survival analysis further suggested a positive relationship between baseline SHR levels, when categorized into tertiles, and the 90-day and 180-day mortality rates (Kaplan–Meier, log-rank P < 0.001) (Fig. 3). Similar results were also observed when categorized into two groups according to the inflection point (Figure S1).

Fig. 2
figure 2

Restricted cubic spline analyses of the association of SHR with all-cause mortality (A all-cause death in 90 days, B all-cause death in 180 days). Heavy central lines represent the estimated adjusted hazard ratios. The 95% confidence interval is represented by the red band. The adjustment strategy is the same as the Model 3

Table 3 Threshold effect analysis of SHR index on 90-day and 180-day mortality in acute myocardial infarction patients. The adjustment strategy is the same as the Model 3
Fig. 3
figure 3

Kaplan–Meier survival analysis curves for all-cause mortality. Footnote SHR index tertiles. Kaplan–Meier curves showing cumulative probability of all-cause mortality according to groups at 90 days (A), and 180 days (B). The adjustment strategy is the same as the Model 3

Stratified analysis

After stratification of studies by age, sex, BMI, hypertension, heart failure, atrial fibrillation, and diabetes to explore the associations with 90-day and 180-day mortality (Figs. 4 and 5). Consistent results were observed in people under age 60 who were female, BMI (> 25 kg/m2), with hypertension, without heart failure. The model's interaction tests for covariates with the SHR were non-significant except for hypertension in 180-day mortality (P for interaction = 0.03) (Fig. 5). Hypertensive patients exhibited a heightened adverse effect from an elevated SHR compared to non-hypertensive individuals.

Fig. 4
figure 4

Forest plots of stratified analyses of SHR index and all-cause mortality (90 days). With the exception of the stratified variable itself, the adjustment approach is the same as for Model 3

Fig. 5
figure 5

Forest plots of stratified analyses of SHR index and all-cause mortality (180 days). With the exception of the stratified variable itself, the adjustment approach is the same as for Model 3

Sensitivity analysis

The characteristics of raw data and data after multiple imputations (Table S2). Similar results were observed when we used data before multiple imputations to investigate the association between SHR and the risk of 90-day and 180-day mortality using multivariate Cox regression models (Table S3). Similar results were also observed when further adjusting for SIRS and SOFA (Table S4). When we conducted a subgroup analysis for individuals with different diabetes statuses, the results were consistent among those with pre-diabetes and diabetes (Tables S5 and S6).

Discussion

Using data from the MIMIC-IV database (version 2.2), our study revealed an independent association between SHR and 90-day and 180-day mortality in patients with a first diagnosis of AMI. This association was especially evident in those with pre-DM. Additionally, we observed a J-shaped curve relationship between SHR levels and 90-day and 180-day mortality for AMI-diagnosed patients. When the SHR was below 0.9, the association was not significant; however, when it exceeded 0.9, a positive correlation emerged. Understanding and optimizing the distribution of SHR levels in AMI patients may facilitate improvements in subsequent health outcomes for these individuals.

Stress hyperglycemia has been identified as a potent predictor of adverse outcomes in ACS patients [16, 17], significantly correlating with adverse cardiovascular and cerebrovascular events [18]. Unlike admission glucose, SHR—when adjusted for background glucose—may be a superior biomarker for severe illness [6]. For instance, a study by Marenzi et al., which included 1553 AMI patients, with the primary endpoint being a composite of cardiogenic shock, acute pulmonary edema, and in-hospital mortality, identified SHR as a better biomarker for in-hospital mortality and morbidity than absolute glucose levels upon admission [19]. Their findings underscored the predictive value of stress hyperglycemia and its role as an independent predictor of post-AMI in-hospital mortality, which can potentially help identify AMI patients at elevated risk for subsequent adverse outcomes. In a longer-term prognosis, Kojima et al. recruited 6287 STEMI patients discharged safely. With endpoints being all-cause mortality and readmission due to heart failure (median follow-up of 1522 days), they found that in non-diabetic patients, those in the highest quartile of SHR faced significantly worse long-term outcomes than those in the lower quartile [20]. In our study, RCS demonstrated a J-shaped relationship between SHR and short-term mortality in AMI patients. Another study involving 5562 ACS patients who underwent PCI reported a U-shaped or J-shaped association between SHR and early and late adverse outcomes [21]. Furthermore, a large cohort study from China demonstrated a J-shaped correlation between SHR and adverse outcomes in diabetes [22].

Our findings align with these previous studies to some extent. Given the above positive relationship between SHR and acute cardiac events, our study's observation of a J-shaped association between SHR and short-term mortality is not unexpected, with an SHR of 0.90 as the inflection point. Moreover, our findings emphasize a strong association between SHR and short-term mortality, especially among pre-DM patients. Compared to diabetic patients, those without diabetes exhibited a significantly heightened in-hospital mortality risk. Such differences have been reported in prior studies. For example, Kerby et al. proposed that stress hyperglycemia correlates closely with mortality in patients without diabetes rather than those with diabetes [23]. Similarly, Wei et al. reported a significant association between SHR and in-hospital mortality risk in STEMI patients without diabetes [24]. The underlying mechanisms remain elusive and may be attributed to several factors. Firstly, our study focused on mortality at 90-day and 180-day post-admission, representing short-term mortality rates. Secondly, patients with diabetes, due to their adaptation to chronic inflammation and oxidative stress over time, may exhibit insensitivity to SHR [25]. Lastly, patient heterogeneity across different regions and the potential beneficial outcomes in patients with diabetes receiving insulin or other anti-inflammatory drugs should be considered [26].

During stress, the hypothalamic–pituitary–adrenal axis and the sympathetic-adrenal system are activated, increasing pro-inflammatory cytokine release, which induces stress hyperglycemia together [27]. Elevated blood glucose during an AMI is considered a primary determinant for the instability and rupture of atherosclerotic plaques, subsequently influencing an increase in coronary thrombus burden [28, 29]. Moderate stress hyperglycemia is a protective response to stress [30]. In animal shock models, the external application of hypertonic glucose can enhance cardiac output and improve survival rates [31]. However, mounting evidence indicates that stress hyperglycemia is associated with larger myocardial infarction in patients with non-obstructive coronary artery myocardial infarction and poor short- and long-term outcomes [32]. This relationship might be linked to decreased endothelium-dependent vasodilation, impaired platelet anti-aggregation, and over-activation of the sympathetic nervous system with pro-inflammatory pathways. Hyperglycemia may manifest as overactivity of the sympathetic nervous system, accompanied by glucose-mediated pro-inflammatory pathways, affecting outcomes [33, 34]. Based on the stratified analysis, we observed a increased risk of mortality in patients with a first diagnosis of AMI with an elevated SHR, especially in patients aged below 60, females, those with a BMI > 25 kg/m2, those with hypertension or pre-DM, without heart failure,. Thus, we should consider SHR levels clinically for patients diagnosed with AMI, especially in populations under 60, female, overweight, with hypertension or pre-DM, and without heart failure.

There are several limitations in our study. Firstly, the study design was retrospective, prohibiting definitive conclusions about causality. Secondly, being a single-center study with limited sample size, even with multivariable adjustment and subgroup analyses, potential biases due to residual confounders may persist. Third, given the inherent limitations of the MIMIC-IV database, considerations such as disease severity, baseline characteristics at admission, and sociodemographic factors like socioeconomic status and education level were not taken into account, possibly introducing potential biases in study outcomes. Additionally, selection bias may have been introduced due to the exclusion of individuals with deficiencies in glucose or HbA1c data. Finally, distinctions between specific types of acute myocardial infarctions the patients presented with and their relationships with evaluated endpoints were not made.

Conclusions

In summary, this study revealed a J-shaped relationship between SHR and short-term outcomes in patients with a first diagnosis of AMI, underscoring the importance of optimal blood glucose control in this context. Our findings emphasize that elevated SHR levels are associated with an increased mortality rate. The inflection point for adverse prognosis with SHR is 0.9. Moreover, the causal relationship between SHR levels and short-term mortality in adult AMI patients requires further investigation.