Introduction

Currently, the global incidence of AMI is increasing, with a notable trend towards younger individuals being affected1,2. Cardiovascular diseases have consistently ranked as a leading cause of mortality worldwide, with AMI presenting a significant risk and frequently resulting in severe complications such as arrhythmias, heart failure, cardiac rupture, and shock3,4. These complications contribute to substantial economic and social burdens for nations across the globe5. Despite considerable advancements in treatment modalities as outlined in recent clinical guidelines, the occurrence of adverse cardiovascular events remains elevated among critically ill patients with AMI6,7. Consequently, the early identification of high-risk individuals and the implementation of stratified management strategies are essential for enhancing patient outcomes.

Glucose and potassium levels are integral to cardiovascular health. Glucose functions as a crucial substrate for energy production, facilitating the heart’s pumping mechanism and engaging in various metabolic activities8. Potassium is essential for sustaining the normal excitability, automaticity, and conductivity of myocardial cells9. Controlling blood glucose has always been a key point in cardiovascular management. Hyperglycemia is associated with the development of heart failure in patients with coronary heart disease10. Keskin et al. 11believe that ST—segment elevation myocardial infarction patients with a serum potassium level of ≤ 3.5 mEq/L have a higher risk of in—hospital and long-term mortality, and those with a potassium level of 4 to < 4.5 mEq/L have the lowest mortality risk. Abnormal potassium levels can lead to various arrhythmias, including atrial fibrillation12. The intricate relationship between glucose and potassium has led to the development of the glucose-potassium ratio (GPR)13. The GPR index has been recognized as an early prognostic indicator for various conditions, including aneurysmal subarachnoid hemorrhage, acute intracerebral hemorrhage, severe traumatic brain injury, and ischemic stroke14,15,16,17. Within the cardiovascular field, Demir et al.18 established that the GPR index is a significant predictor of in-hospital mortality among patients admitted to coronary care units. Furthermore, in the context of cardiovascular surgery, the GPR index has been identified as a reliable predictor of postoperative mortality risk in patients with type A aortic dissection19.

Glucose and potassium perturbations are integral to AMI pathophysiology. Stress-induced hyperglycemia and hypokalemia reflect sympathetic activation, potentially exacerbating myocardial injury20. While the GPR index captures these dynamics, its prognostic value in critically ill AMI patients remains underexplored.d. This study focuses on exploring the effectiveness of GPR in assessing the mortality risk of such patients. It is committed to identifying indicators that are closely associated with the all-cause mortality of patients with severe AMI, possess both economic feasibility and detection convenience, and have crucial clinical value in reducing the case fatality rate of patients with AMI, so as to provide a reference for clinical practice. The ultimate goal is to optimize the clinical management system and ensure the rapid and accurate implementation of intervention measures for high-risk patients.

Methods

Study population

This investigation employed a retrospective analysis of data sourced from the MIMIC-IV (https://mimic.mit.edu) database, an open-access repository developed and maintained by the Computational Physiology Laboratory at the Massachusetts Institute of Technology. The MIMIC-IV database contains extensive and detailed medical records of patients who were admitted to the intensive care units (ICUs) at Beth Israel Deaconess Medical Center. Data extraction for this study was performed by Wen Pan, one of the co-authors. To gain access to the database, Wen Pan obtained certification from the Collaborative Institutional Training Initiative (CITI) and subsequently extracted the variables pertinent to this research (Certification Number: 13574487).

The focus of this study was on the research population in MIMIC-IV, which consisted of 3,811 individuals. Inclusion criteria: Participants were eligible for inclusion in the study if they met the following conditions: (a) diagnosed with acute myocardial infarction according to ICD-9 or ICD-10 codes; (b) aged 18 years or older; (c) admitted to the intensive care unit (ICU) for the first time during their initial hospitalization. Exclusion criteria: Participants were excluded from the study if they met any of the following criteria: (a) died within the initial 24 h of ICU admission, as their clinical trajectories may have been incompletely recorded or had negative survival time values; (b) had missing crucial laboratory data, specifically glucose and potassium levels, on the first day of ICU admission, as these are essential for our analytical purposes. Consequently, a total of 3,811 patients were included in this study (Fig. 1).

Fig. 1
figure 1

Flowchart of patient selection.

Data collection

Data extraction was performed using the pgAdmin PostgreSQL tool (version 6.1) from the MIMIC-IV database. The collected data were consistent with the study’s objectives and encompassed the following categories: 1. Demographic information, which included age, gender, body mass index (BMI), tobacco use status, and racial background. 2. Comorbidities, which consisted of hypertension, diabetes mellitus, heart failure (HF), chronic kidney disease(CKD), acute renal failure (ARF), stroke, Malignant tumor, and cardiogenic shock. 3. Laboratory indicators documented within the first 24 h of admission, including sodium, potassium, total calcium, chloride, blood glucose, anion gap, White Blood Cell Count (WBC), Red Blood Cell Count (RBC), Neutrophil Count (NEUT), Lymphocyte Count (LYM), Platelet Count (PLT), Hemoglobin Concentration (Hb), Red Cell Distribution Width (RDW), Hematocrit (HCT), Albumin Concentration (ALB), Globulin Concentration (GLB), Total Protein (TP), Sodium, Potassium, Total Calcium, Chloride, Blood Glucose (GLU), Glycated Hemoglobin (HbA1c), Anion Gap (AG), Blood Urea Nitrogen (BUN), Creatinine (Cr), Uric Acid (UA), Lactate Dehydrogenase (LDH), Creatine Kinase (CK), Creatine Kinase—MB (CK-MB), Triglycerides (TG), Total Cholesterol (TC), High-Density Lipoprotein (HDL), Low-Density Lipoprotein (LDL), Total Bilirubin (TBIL), Direct Bilirubin (DBIL), Indirect Bilirubin (IBIL), Alanine Aminotransferase (ALT), Aspartate Aminotransferase (AST), Thrombin Time (TT), Plasma Prothrombin Time (PT), Fibrinogen Concentration (FIB), Activated Partial Thromboplastin Time (APTT), Prothrombin International Normalized Ratio (INR), D-dimer, pH, Partial Pressure of Carbon Dioxide (PCO2), Partial Pressure of Oxygen (PO2), Blood Gas Lactate (Lac), Total Carbon Dioxide (TCO2), Ionized Calcium (iCa2+), B-type Natriuretic Peptide (BNP), Troponin T (cTnT), Troponin I (cTnI), Urine Protein (U-PRO), Urine Glucose (U-GLU), Urine White Blood Cell (U-WBC), Urine Nitrite (U-NIT), Urine Bilirubin (U-BIL), Urine Albumin (U-ALB), and Urine Albumin-to-Creatinine Ratio (UACR). In cases where multiple results were available, the mean value was calculated. 4. Reconstruction (including Percutaneous Coronary Intervention and Coronary Artery Bypass Grafting). 5. Survival status and follow-up duration within 1 year post-admission. To reduce potential bias, variables with missing values exceeding 10% were excluded from the analysis. For variables with missing data below the 10% threshold, multiple imputation techniques were utilized to maintain the maximum possible sample size.

The GPR was determined utilizing the following formula

$${\text{GPR}} = {\text{Glucose concentration }}\left( {{\text{mmol}}/{\text{L}}} \right)/{\text{Potassium concentration }}\left( {{\text{mmol}}/{\text{L}}} \right).$$

Outcome

The principal outcome of the study was all-cause mortality occurring within one year following hospitalization, while the secondary outcome was all-cause mortality within a 180-day period post-hospitalization.

Statistical analysis

Continuous variables were reported as mean ± standard deviation (SD) or median with interquartile range (IQR), depending on the distribution of the data. Comparisons of continuous variables across groups were conducted using t-tests or analysis of variance (ANOVA) for data that followed a normal distribution, while the Mann–Whitney U test or Kruskal–Wallis test were utilized for data that did not conform to a normal distribution. Categorical variables were presented as counts (n) or percentages (%) and were compared using the Pearson chi-square test or Fisher’s exact test, as deemed appropriate.

The GPR index was categorized into four quartiles to assess the occurrence of outcome events over time in relation to varying levels of the GPR index. Kaplan–Meier survival analysis was utilized, with group differences evaluated through the log-rank test. To estimate hazard ratios (HRs) and their associated 95% confidence intervals (95% CIs), Cox proportional hazards regression models were applied, accounting for multiple confounding variables. Three distinct models were developed: Model 1 was unadjusted; Model 2 was adjusted for age, gender, BMI, race, tobacco use status, and the presence of hypertension, HF, stroke, ARF, CKD, diabetes, cardiogenic shock, as well as revascularization status; and Model 3 included additional adjustments for potassium, chloride, GLU, AG, WBC, RBC, PLT, Hb, RDW, HCT, PT, APTT, BUN, and Cr, based on Model 2. The predictive capability, sensitivity, and specificity of the GPR index for forecasting the primary outcome were evaluated through receiver-operating characteristic (ROC) curve analysis. A restricted cubic spline analysis was conducted to elucidate the dose–response relationship between the GPR index and the risk of the primary outcome. Furthermore, subgroup analyses were performed, stratified by age (< 65 years vs. ≥ 65 years), gender (male vs. female), body mass index (BMI < 24 kg/m2 vs. BMI ≥ 24 kg/m2), cardiogenic shock (absent vs. present) and diabetes history (absent vs. present). Interactions between the GPR index and the stratification variables were assessed using likelihood ratio tests. All statistical analyses were executed using R version 4.1.2 (R Foundation), with statistical significance established at a two-sided P-value of < 0.05.

Results

Baseline characteristics

After carefully reviewing the MIMIC-IV database, we found that there were a total of 5726 patients with acute myocardial infarction who were admitted to the ICU for the first time during their initial hospitalization. After applying the inclusion and exclusion criteria, 3811 patients were included in the study (Fig. 1). Table 1 presents the baseline characteristics of patients with acute myocardial infarction (AMI) categorized according to the quartiles of the GPR index, which are defined as follows: Quartile Q1 (0.20–1.40), Q2 (1.40–1.70), Q3 (1.70–2.25), and Q4 (2.25–40.57). The mean age of the participants was 77 years, with a male representation of 70.38%. It was observed that patients with a higher GPR index tended to be older, exhibited a lower percentage of males, and had a reduced proportion of Caucasians, alongside an increased representation of Black individuals and other racial groups. Furthermore, these patients demonstrated a higher prevalence of HF, stroke, ARF, CKD, diabetes andcardiogenic shock. The proportion of revascularization is relatively low. They also presented with lower levels of potassium, chloride, PT, and INR, while exhibiting elevated levels of GLU, anion gap, WBC, RBC, PLT, Hb, RDW, HCT, APTT, UA, and Cr, with all comparisons yielding p-values less than 0.05. The prevalence of hypertension was notably higher in the Q2 and Q3 groups, whereas it was lower in the Q1 and Q4 groups. Additionally, an increase in the GPR index was associated with a rise in the 1-year all-cause mortality rate, a trend that was similarly reflected in the 180-day all-cause mortality rate (all p < 0.05).

Table 1 Patient demographics and baseline characteristics.

Primary outcomes

The Kaplan–Meier survival analysis curves depicting the primary outcomes across the quartile groups of the GPR index are illustrated in Fig. 2. Patients exhibiting elevated GPR index values demonstrated a markedly increased 1-year mortality rate in comparison to those with lower GPR index values (log-rank P < 0.001). A comparable pattern was noted during the 180-day follow-up period (log-rank P < 0.001).

Fig. 2
figure 2

(A) 1-year KM survival curve; (B) 180-day KM survival curve.

Table 2 delineates three multivariate Cox proportional hazards models employed to evaluate the relationship between the GPR index and primary outcomes. For the purpose of sensitivity analysis, three distinct Cox proportional hazards models were developed. In the fully adjusted Model 3, a 10-unit increment in the GPR index was correlated with a 70% heightened risk of all-cause mortality at 1 year (HR: 1.70; 95% CI 1.34–2.15; P < 0.001) and an 71% increased risk of all-cause mortality at 180 days (HR: 1.71; 95% CI 1.36–2.17; P < 0.001). To further clarify the association between the GPR index and primary outcomes, the study stratified the GPR index into quartiles. In the unadjusted model [HR: 2.34; 95% CI 1.97–2.78; P < 0.001], partially adjusted model [HR: 1.52; 95% CI 1.27–1.82; P < 0.001], and fully adjusted model [HR: 1.70; 95% CI 1.40–2.07; P < 0.001], higher GPR index values (Q4 vs. Q1) were significantly associated with increased 1-year mortality, demonstrating a clear upward trend in mortality with increasing GPR index.Analysis of 180-day all-cause mortality using quartile stratification of the GPR index yielded similar results, where higher GPR index values (Q4 vs. Q1) were significantly associated with increased 180-day mortality: unadjusted model [HR: 2.50; 95% CI 2.07–3.02; P < 0.001], partially adjusted model [HR: 1.63; 95% CI 1.34–1.98; P < 0.001], and fully adjusted model [HR: 1.87; 95% CI 1.51–2.31; P < 0.001].Furthermore, restricted cubic spline regression modeling indicated a “J”-shaped nonlinear relationship between the GPR index and the risks of both 1-year all-cause mortality (all P for nonlinearity < 0.001) (Fig. 3). The ROC curve analysis suggested that the GPR index possesses moderate predictive capability for 1-year all-cause mortality (AUC = 0.77; 95% CI 0.75–0.79), with an optimal cut-off point of 1.891, specificity of 74%, and sensitivity of 69% (Fig. 4, Table 3).

Table 2 Cox regression model.
Fig. 3
figure 3

(A) Results of one-year all-cause mortality from RCS analysis, (B) Results of 180-day all-cause mortality from RCS analysis. Results of 180-day all-cause mortality from restricted cubic spline (RCS) analysis. The horizontal dashed line represents a hazard ratio of 1.0. HR hazard ratio; CI confidence interval.

Fig. 4
figure 4

The ROC curve was used to evaluate the predictive ability of the GPR index for 1 year all—cause mortality.

Table 3 Cox regression model.

Subgroup analysis

In order to further elucidate the association between the GPR index and subsequent mortality, a series of subgroup analyses were performed, as depicted in Fig. 5. These analyses encompassed variables such as age, gender, BMI, diabetes status and cardiogenic shock status. The findings indicated that the relationship between the GPR index and the risk of 1-year all-cause mortality remained stable across most subgroups, with no significant interactions detected (P for interaction > 0.05). However, it is noteworthy that among patients with a BMI of 24 or greater, the predictive capacity of the GPR index was significantly enhanced [BMI < 24, HR (95% CI): 1.41 (0.90–2.20) vs. BMI ≥ 24, HR (95% CI): 2.56 (1.74–3.75), interaction P value = 0.022]. Comparable patterns were observed in the subgroup analysis concerning 180-day all-cause mortality.

Fig. 5
figure 5

(A) Subgroup analysis of the association between the GPR and 1-year all-cause mortality, (B) Subgroup analysis of the association between the GPR and 180-day all-cause mortality. Adjusted for age, sex, BMI, race, tobacco use, hypertension, HF, stroke, ARF, CKD, diabetes, cardiogenic shock, revascularization status, potassium, chloride, GLU, AG, WBC, red blood cell count, PLT, Hb, RDW, HCT, PT, APTT, BUN, and Cr, excluding the subgroup factors themselves.

Discussion

This research represents the inaugural investigation establishing a significant correlation between the GPR index and the 1-year mortality risk among critically ill patients with AMI. Notably, this association persists even after controlling for potential confounding variables. Consequently, the GPR index may function as a valuable indicator for risk stratification within this patient population and could be utilized as a tool for clinical decision-making.

Cardiovascular diseases have become a significant global health concern, especially in low-income nations1. AMI is marked by its abrupt onset, critical nature, and considerable associated morbidity and mortality. Notwithstanding the progress made in percutaneous coronary intervention (PCI), the mortality rate associated with AMI has been increasing at a concerning pace7. Timely identification of patients at high risk for adverse outcomes is essential for the implementation of personalized management strategies aimed at enhancing patient prognosis.

Blood glucose and blood potassium serve as readily accessible biological markers in clinical settings8. The heart predominantly utilizes glucose as its energy source, making stable glucose metabolism crucial for optimal cardiac function. Research indicates that fluctuations in blood glucose levels may enhance the expression of myocardial fibrosis markers, including type III collagen and α-smooth muscle actin21. A substantial body of literature consistently identifies blood glucose as a significant prognostic indicator in patients with cardiovascular disease22,23. For instance, the study conducted by Chen et al. demonstrates a correlation between blood glucose variability and the prognosis of critically ill patients suffering from cardiovascular conditions24. Elevated blood glucose levels can exacerbate cellular dysfunction, induce oxidative stress, activate intracellular inflammatory pathways, and trigger apoptosis25,26. In patients with ST-segment elevation myocardial infarction complicated by cardiogenic shock, hyperglycemia at admission is an independent predictor of in-hospital mortality, highlighting its role in the stratification of high-risk populations27. Similarly, in a group of acute coronary syndrome patients requiring intra-aortic balloon pump support, poor glycemic control is associated with prolonged ICU stays and an increased incidence of arrhythmias28. The Intermountain Risk Score validated by Mert İlker, H., et al. uses blood glucose as a key parameter for predicting the short- and long-term mortality of patients with cardiogenic shock29. Notably, even in the absence of diabetes, transient hyperglycemia during acute stress episodes in critically ill cardiovascular patients is associated with an increased risk of short-term mortality30. Following an AMI, the activation of the sympathetic nervous system results in heightened levels of cortisol and catecholamines, which contribute to stress-induced hyperglycemia20. This condition subsequently elevates free fatty acid concentrations, potentially exerting toxic effects on the infarcted myocardium31,32. Furthermore, blood glucose levels have been linked to postoperative wound infection rates following cardiac surgery, which may influence patient prognosis33.

Blood potassium is essential for sustaining the automaticity and excitability of myocardial cells. Abnormal blood potassium levels are widely acknowledged in the cardiovascular domain as factors that elevate the risk of sudden cardiac death34. Both hyperkalemia and hypokalemia can disrupt the resting membrane potential of myocardial cells, leading to an increased likelihood of sudden cardiac death. Stress-induced elevations in catecholamines can interfere with potassium transport via the sodium–potassium adenosine triphosphatase (Na + /K + -ATPase), resulting in hypokalemia. Research by Shiyovich et al. has established a relationship between blood potassium levels and in-hospital mortality among AMI patients35. Additionally, in individuals undergoing maintenance hemodialysis, greater variability in blood potassium levels is associated with an increased risk of cardiovascular mortality, even within normal physiological ranges36.

The relationship between potassium and glucose is intricate and multifaceted. ATP-sensitive potassium channels are integral to the regulation of glucose homeostasis, facilitating glucose uptake in skeletal muscle and enhancing counter-regulatory mechanisms against hypoglycemia through the increased secretion of hormones such as glucagon. However, the specific mechanisms by which the GPR index influences prognosis remain ambiguous13. An elevation in the GPR index may signify heightened sympathetic nerve activation, which could correlate with disease severity, thereby serving as a potential prognostic indicator for mortality risk. Recent studies have corroborated these findings. The GPR index has been the subject of extensive investigation within the field of neurology, where it has been established as an early prognostic marker for various conditions, including aneurysmal subarachnoid hemorrhage, acute intracerebral hemorrhage, severe traumatic brain injury, and ischemic stroke14,15,16,17. In cardiovascular research, a study conducted by Chen et al. demonstrated that a high GPR index is a significant predictor of in-hospital mortality following A-type aortic dissection surgery, thereby highlighting the association between the GPR index and postoperative outcomes in cardiovascular interventions18. Furthermore, a national multicenter study from Turkey confirmed the GPR index as a reliable predictor of in-hospital mortality risk within coronary care units, aligning with prior research. Additionally, a cohort study in the United States focusing on heart failure with preserved ejection fraction indicated that the GPR index possesses substantial predictive value, particularly among non-diabetic patients and those exhibiting milder heart failure symptoms37. The GPR index has also demonstrated prognostic utility in other medical conditions, including abdominal blunt trauma and carbon monoxide poisoning38,39.

The GPR index demonstrates a “J”-shaped relationship with the mortality risk among critically ill patients suffering from AMI. Both low and high values of the GPR index are associated with an elevated risk of mortality. A low GPR index may correlate with elevated serum potassium levels and diminished glucose levels. Elevated potassium levels can result in arrhythmias, reduced myocardial contractility, muscular weakness, cognitive impairment, acid–base disturbances, and renal injury40. Conversely, low glucose levels can adversely affect cerebral function, leading to neuronal damage and the potential for seizures. Additionally, hypoglycemia may provoke sympathetic nervous system activation, thereby increasing myocardial oxygen demand41. Further investigation is warranted to delineate the optimal range of the GPR index and its prognostic implications, with the aim of enhancing clinical outcomes.

In the subgroup analysis, a significant interaction was observed between BMI and the GPR index. Specifically, in the analysis of 1-year mortality risk, the prognostic impact of the GPR index was not significant for individuals with a BMI of less than 24. Conversely, for individuals with a BMI of 24 or greater, the GPR index had a significant prognostic impact, indicating a higher risk. Similar findings were noted in the 180-day subgroup analysis. These results suggest that elevated BMI amplifies the influence of changes in the GPR index on the prognosis of patients with AMI, indicating a potential synergistic effect. Increased BMI is frequently associated with metabolic disturbances, such as insulin resistance, which can disrupt glucose and lipid metabolism and impair vascular endothelial function42,43. In this context, metabolic signaling pathways related to glucose and potassium may be more prone to inducing cellular damage and dysfunction, thereby heightening the risk of adverse outcomes44,45. Furthermore, obesity is characterized by a chronic inflammatory state, with adipose tissue secreting various inflammatory mediators, including interleukin-646. This chronic inflammation can compromise the integrity of the vascular endothelium, and subsequent elevations in glucose and potassium levels may activate inflammatory pathways, exacerbating myocardial injury47. Additionally, obesity contributes to increased cardiac workload and myocardial hypertrophy48. An elevation in the GPR index can disrupt normal cardiovascular regulatory mechanisms, thereby increasing the likelihood of arrhythmias in the presence of myocardial hypertrophy. Therefore, in the treatment of obese AMI patients, weight management should be emphasized to improve prognosis risk.

This study is subject to several limitations. The data were sourced from a single database, which restricts the generalizability of the findings. Additionally, the retrospective design of the study complicates the establishment of causal relationships, thereby diminishing the robustness of the conclusions drawn. Furthermore, potential confounding variables that were not measured, such as serum hormone levels of catecholamines and cortisol, as well as echocardiographic data, cannot be excluded. It is advisable to undertake further multi-center, prospective studies to validate these findings. Moreover, this study concentrated on the GPR index recorded at the initial admission, neglecting the dynamic fluctuations of the GPR index over time.

Conclusion

In conclusion, the GPR index demonstrates a significant association with unfavorable outcomes in critically ill patients suffering from AMI, exhibiting a “J”-shaped nonlinear relationship. Consequently, the GPR index holds promise as a swift predictive marker for this patient population.