Strengths and limitations of this study

  1. 1.

    The study had a large sample size based on the MIMIC III database.

  2. 2.

    ΔAG is associated with hospital mortality and 90-day mortality.

  3. 3.

    There is an inevitable bias in the retrospective observational cohort study design.

  4. 4.

    A large number of patients were excluded due to unavailability of AG data.

Introduction

Acid-basic disturbances are common in patients who are critically ill. Some methods [1, 2] were exploited to evaluate the acid-basic status. Lactate, pH, bicarbonate, AG, strong ion gap (SIG), etc., are widely applied in clinical practice. The AG is calculated from the difference in serum cation and anion concentrations through the formula: AG = [Na+]–[Cl]–[HCO3] [3]. As a simple way to evaluate acid-basic status, AG played an essential role in the diagnosis and prognosis of common critical illness, such as acute kidney injury (AKI) [4], sepsis [5], acute myocardial infarction[6]. It was reported that increased AG might result in elevated intensive care unit (ICU) admission and mortality for emergent patients[7]. While several studies focusing on the relationship between anion gap and mortality in critically ill patients showed different results [8,9,10].

Meanwhile, increased delta AG (ΔAG) was regarded as related to metabolic acidosis [11], which might be devoted to all-cause mortality. Many relevant studies had been carried out to explore the association. Gabow et al. [12] proposed the concept of ΔAG in 1980 for the first time. ΔAG was reported as a novel predictor of outcome in severe patients [13]. Meanwhile, ΔAG was reported as a predictor of all-cause mortality in the critically ill in the study of Lipnick and his colleagues [14]. A systematic review and meta-analysis [15], including 19 studies, reported that using a single AG measurement for risk stratification in critically ill patients could not be recommended. Thus, whether the ΔAG could predict the mortality of severe patients remains still controversial. To explore the strength of this association, we identified patients admitted to CSRU from the MIMIC III database. Unlike other researchers, we defined ΔAG as the difference between maximum and minimum values of AG during the first 3 days of ICU stay due to the lack of pre-hospital AG data [Formula: ΔAG = AGmax − AGmin].

Materials and methods

Data source

This retrospective cohort study was based on the Multiparameter Intelligent Monitoring in Intensive Care III (MIMIC III) database [16] (https://mimic.physionet.org/), which is openly available. The MIMIC III database includes more than 40,000 ICU patients and more than 60,000 ICU admissions in Beth Israel Deaconess Medical Center (Boston, MA, USA) from 2001 to 2012. To apply for access to the database, we completed the National Institutes of Health’s web-based course and passed the Protecting Human Research Participants exam (ID 9006491).

Data extraction

Structured Query Language (SQL) with PostgreSQL (version 11.5) was applied to extract data [17]. Clinical variables, including demographic characteristics, International Classification of Diseases (ICD-9) codes, physiological findings, commonalities, laboratory tests, scoring systems, and other variables, were extracted from the MIMIC III database. The physiological findings included temperature, respiratory rate, heart rate, mean blood pressure, and SpO2. The comorbidities included coronary heart disease (CHD), hypertension, chronic obstructive pulmonary disease (COPD), diabetes. The laboratory tests included red blood cell (RBC), white blood cell (WBC), platelet, Serum creatinine, blood urea nitrogen (BUN), AG, glucose, albumin, pH, base excess (BE), and lactate. Scoring systems included the sequential organ failure assessment (SOFA) score [18], simplified acute physiology score II (SAPSII) [19], and systemic inflammatory response syndrome (SIRS) score [20]. Postoperative complications including acidosis (ICD-9 code: 2762), acute kindney failure (AKF, ICD-9 codes: 5845, 5846, 5847, 5848, 5849), Arrhythmia (atrial fibrillation: ICD-9 code: 42731; ventricular fibrillation: ICD-9 code: 42741), acute respiratory failure (ICD-9 codes: 51851, 51853, 51881), pneumonia (ICD-9 codes: 99731, 99732), pulmonary embolism (ICD-9 codes: 41511, 41512, 41519) were extracted to conduct subgroup analyses. We also extracted variables including mechanical ventilation (ICD-9 codes: 9390, 9670, 9671, 9672), ICU length of stay (LOS) and hospital LOS. Survival information from Social Security Death Index records were extracted, and the OS was calculated for the dead patients.

Definition of AKF

AKF was defined according to the Kidney Disease: Improving Global Outcomes (KDIGO) criteria [21] as an absolute increase of serum creatinine of > 0.3 mg/dL within 48 h or a relative increase of > 50% in no more than 7 days.

The selection criteria were as follows: (1) Adults patients (age ≥ 18 years); (2) patients admitted in CSRU; (3) Only first ICU admission was eligible; (4) ICU LOS > 1. The exclusion criteria were: (1) without AG data in ICU admission; (2) individual data missing > 5%; (3) patients who died during ICU stay.

The exposures of interest were ΔAG. The primary outcome of interest was hospital mortality, defined as death during the hospital stays. The secondary endpoints included 90-day mortality and overall survival.

Patient and public involvement

Patients and/or the public were not involved in the design, or conduct, orreporting, or dissemination plans of this research.

Statistical analysis

Continuous variables were presented in the tables as the mean with standard deviation or median with interquartile ranges (IQR). The Student T-test, or Wilcoxon rank-sum test was applied to compare the difference between groups as appropriate. Categorical variables were presented as a percentage, and the X2 test or Fisher exact test was conducted to compare the difference between groups. The missing data were filled by multiple compensations. To explore the crude relationship between ΔAG and hospital mortality, the Lowess Smoothing technique was performed. A stepwise backward elimination method with a significance level of 0.05 was applied to establish the logistic regression models, which used ΔAG as a design variable. A variance inflation factor (VIF) was utilized to estimate the potential multicollinearity, with a value of ≥ 5 indicating multicollinearity. The goodness of fit was assessed for the logistic regression models. Based on the presence or absence of postoperative complications, subgroup analyses were conducted. Sensitivity analysis comparing baseline characteristics between patients with/without AG data was conducted. ROC curves were depicted to show the diagnostic performance, and the appropriate cut-off values were determined by calculating the Youden index (sensitivity + specificity − 1). Cox regression model and Kaplan Meier curve were utilized to identify prognostic factors of 90-day OS. Stata/SE 16.0 (Stata Corp LLC, college station, USA) and R software (version 4.0.0) were applied in performing all statistical analyses. Statistical significance was defined as a two-tailed p < 0.05.

Results

Population and baseline characteristics

A total of 2860 patients were identified from the MIMIC III database. The selection flow diagram is presented in Fig. 1. Reasons for CSRU admission are presented in Table 1. Generally, 2261 (79.1%) patients are white. The average age is 67.8 ± 12.1 years, and 1934 (67.6%) patients are male. The median follow-up period was 277 days. The median duration between maximum AG and minimum AG measurements was 0.96 days (IQR: 0.42–2.00). Comparison of characteristics between survivors and non-survivors are presented in Table 2. There were 2841 survivors and 19 deaths, establishing an initial hospital mortality rate of 0.7%. ΔAG of non-survivors is significantly higher than survivors (median: 7 vs. 2, p < 0.001). The incidences of AKF (57.9% vs. 13.4%, p < 0.001) and acidosis (21.1% vs. 5.1%, p = 0.015) are significantly higher in death group.

Fig. 1
figure 1

Selecting flow diagram

Table 1 Reason for CSRU admission
Table 2 Comparisons of characteristics between Survivors and Non–survivors

Considering that a large proportion of patients in CSRU (4034/6894) were excluded due to the unavailability of AG data, we furtherly conducted a sensitivity analysis, comparing the basic characteristics among patients with/without AG data (Table 3). It demonstrated that the two groups of patients were comparable without significant difference observed.

Table 3 Comparison of characteristics among patients with/without AG data

Primary outcomes

The relationship between ΔAG and hospital mortality was presented in Fig. 2, using the Lowess Smoothing technique. Significantly progressive increase of hospital mortality was observed with the increase of ΔAG (χ2 for trend, p < 0.001), especially when ΔAG ≥ 12. To identify the cut-off value of ΔAG, we utilized the ROC curve and calculated the Youden index. It indicated that ΔAG ≥ 7 was the optimal cut-off value (Sensitivity: 57.89%, specificity: 87.40%, AUC = 0.769).

Fig. 2
figure 2

The crude association between ΔAG and hospital mortality using Lowess smoothing technique

We conducted univariate analyses of variables in Table 1 to recognize prognostic factors of hospital mortality (Table 4). Using the stepwise backward elimination method, we established the logistic regression model in which ΔAG, age, gender, race, BMI, mechanical ventilation, SOFA score, SAPSII score, SIRS score, AKF, acidosis, diabetes, serum creatine, urea nitrogen, base excess, and lactate were considered. Besides, interaction term between ΔAG and AKF was forced into the final models. Finally, ΔAG, age, base excess, AKF, and ΔAG × AKF were included in the logistic model (Model 1), demonstrating a clear relationship between ΔAG and hospital mortality for patients admitted in CSRU (OR = 1.24 per 1 mEq/L increase, 95% CI: 1.11–1.39, p < 0.001). Besides, we found age (OR = 1.14, 95% CI: 1.07–1.21, p < 0.001), base excess (OR = 0.81, 95% CI: 0.72–0.90, p < 0.001), and AKF (OR = 14.87, 95% CI: 2.81–77.55) were independent prognostic factors of hospital for patients in CSRU. Therefore, we proposed the following formula to estimate hospital mortality for patients who underwent cardiothoracic surgery:

$${\text{Logit}}\left( {\text{P}} \right) = \, - {15}.{69} + 0.{21}\Delta {\text{AG}} + 0.{\text{13age}} - 0.{\text{21BE}} + {2}.{\text{69AKF}},$$
Table 4 Univariate and multivariate analysis for ΔAG predicting hospital mortality

Notes ΔAG: mEq/L; Age: years; BE: base excess, mEq/L; AKF, acute kidney failure, 1 for present and 0 for absent.

Meanwhile, we established another logistic model using ΔAG (≥ 7 vs < 7) as a design variable (Model 2). The result indicated that ΔAG, age, base excess, and AKF were still independent prognostic factors of hospital mortality. Compared with ΔAG < 7, patients with ΔAG ≥ 7 had a more than three-fold increased risk of hospital mortality (OR = 4.23, 95% CI: 1.22–14.63, p = 0.023). Significant interaction effect between ΔAG and AKF was not observed in both model 1 and model 2 (both p > 0.05).

Subgroup analysis

Considering that the presence of postoperative complications might influence the results, we conducted a subgroup analysis (Additional file 1: Fig. S1). The results indicated that association between ΔAG and hospital mortality was stable except when patients had arrhythmia and/or pneumonia.

We conducted ROC curves to evaluate the diagnostic efficiency of Acid–Base variables, including ΔAG, initial AG, lactate, pH, and BE (Fig. 3). ΔAG demonstrated a good predictive performance in predicting hospital mortality (AUC = 0.769), higher than other acid–base indicators.

Fig. 3
figure 3

ROC curves of acid–base variables in predicting hospital mortality

Secondary outcomes

Patients with ΔAG ≥ 7 had a significantly shorter OS than those with ΔAG < 7 (median OS: 113.7 vs 341.4 days). Considering that all patients were followed up for at least 3 months, we conducted multivariate Cox regression analysis and Kaplan Meier curve to identify prognostic factors of 90-day OS. There are totally 85 patients died within 90 days of admission, including 47 patients in low ΔAG group (ΔAG < 7, n = 2491) and 38 in high ΔAG group (ΔAG ≥ 7, n = 369). A higher 90-day mortality rate was observed in patients with ΔAG ≥ 7 (Adjusted HR = 3.20, 95% CI: 1.81–5.65, p < 0.001) (Fig. 4). Meanwhile, age (HR = 1.05, 95% CI: 1.03–1.08, p < 0.001), and AKF (HR = 4.79, 95% CI: 2.33–9.84, p < 0.001) was found as independent prognostic factors of the 90-day OS. Interaction term between ΔAG and AKF was forced into the Cox regression model but significant effect was not observed (p = 0.583).

Fig. 4
figure 4

Kaplan Meier curve of 90-day OS stratified by ΔAG ≥ 7 and ΔAG < 7

Discussion

The AG was regarded as a crucial indicator in diagnosing acid-basic disturbance, while the association between AG and mortality was unclear. Gabow et al. [12] proposed the concept of ΔAG in 1980. In the study of Lipnick et al. [14], ΔAG was defined as the difference between the initial AG of ICU admission and prehospital admission AG. The ΔAG presented strong predictive efficiency in 30-day all-cause mortality in critically ill patients. Based on the MIMIC III database, Cheng et al. [22] explored the relationship between AG and all-cause mortality in critically ill patients with AKI, suggesting a “U-shaped” relationship between AG and 30-day mortality. In this study, we explored the association between ΔAG and hospital mortality. After adjusting by confounding factors, we found that ΔAG was associated with increased hospital mortality (β = 0.19), and patients with ΔAG ≥ 7 were regarded as at high risk of hospital mortality.

A significant increase of AG (> 30 mEq/L) was regarded as the diagnostic basis of acidosis, including lactic acidosis, ketoacidosis, and acidosis caused by toxins or uremia [12, 23]. For critically ill newborns, AG > 16 mEq/L could predict lactic acidosis [24]. Causes of high AG acidosis include carbon monoxide, cyanide, alcohol intoxication, alcoholic ketoacidosis, toluene, methanol, uremic acidosis, diabetic ketoacidosis, diethylene glycol, paraldehyde, pyroglutamic acid, propylene glycol, iron, ibuprofen, isopropyl alcohol, lactic acidosis, ethylene glycol, and salicylates[3, 25]. A high level of AG was reported to relate to many factors, such as hypertension, reduced cardiopulmonary fitness, and decreased renal function. Accumulation of organic acid might devote to an increased serum AG, which might result in hypertension [26]. Abramowitz and his colleagues reported that a higher serum AG was related to the reduced cardiopulmonary fitness in patients aged 20–49 years [27]. Uremia was one reason for elevated AG, which might cause the death of patients with chronic kidney disease [28]. Besides, elevated anion gap was reported not only to be associated with hyperlactatemia [29] but also a higher mortality of AKF patients [22], which means that lactate and AKF were possible intermediates on a causal pathway between change in anion gap and mortality. Renal failure, diabetic ketoacidosis, and lactic acidosis are the most common causes of high AG acidosis [30]. Graciela et al. reported that critically ill patients may present severe hyperlactatemia with normal values of BE due to that the acidifying effect of severe hyperlactatemia is frequently masked by alkalinizing processes that normalize the BE [31]. Thus, BE might be an important confounding factor. Low cardiac output syndrome often occurs in patients undergoing cardiothoracic surgery due to various reasons such as long operation time, which might cause tissue hypoperfusion and potassium metabolism disorder. ΔAG was a parameter which presented the changes of patients’ pathophysiologic condition during ICU stay. It can be assumed that when the patient’s AG changes greatly, the patient may have the following situations: one is the occurrence of acidosis or the alteration of acid–base balance disorder types, and the other is the higher incidences of postoperative complications such as AKF. Then clinicians would be warned if a patient has a large ΔAG during the ICU stay because they might have a higher mortality according to the present study.

Other biomarkers of metabolic acidosis, such as pH, BE, SIG, and lactate, showed different predictive efficacy in the previous researches [10, 32, 33]. To compare the predictive efficiency of these biomarkers in acid–base balance disorder, the ROC curves were conducted. The calculated AUC values suggested that ΔAG presented a good predictive efficacy, better than initial AG, pH, lactate, and BE, which was similar to Ho’s study [34].

There were several strengths for this study. Primarily, ΔAG-mortality association remains controversial, and most of the previous researches had a small sample size. The study was based on the MIMIC III database, which contained more than 60,000 ICU admissions. In addition, for observational studies, hospital mortality is a fair outcome closely related to clinical practice. Secondary outcomes like 90-day OS was considered too. Moreover, all patients were followed up for at least 90 days after discharge, with a median follow-up period of 230 days.

The limitations of the study are as follows. There is an inevitable bias in the retrospective observational cohort study design. Although confounding factors were included as much as possible in the logistic regression model through a stepwise backward elimination method, other factors like intravenous fluids might influence the AG levels [15]. High ΔAG might be observed during critical state of dying patients which means that postoperative complications and causes of death were important confounding factors. Subgroup analyses according to presence or absence of complications indicated the ΔAG-mortality association a stable one. While, causes of death cannot be provided by MIMIC III database, so we cannot answer the question as to whether ΔAG-mortality association would be affected by the causes of death. The underlying mechanism between higher ΔAG and poor clinical outcomes is still not clear. More researches which are based on causal mediation analysis [35, 36] to investigate the mediating effects of confounding factors on delta AG in terms of mortality are needed in the future studies. Besides, Patients with long operation time were more likely to suffer from acid–base balance disorder after surgery because of tissue ischemia and hypoxia, while these data were not available in the MIMIC III database. Furthermore, only 813 (28.2%) patients had measured the albumin levels, and it was inappropriate to correct for ΔAG using the formula: cAG = AG + (4.4 − albumin) × 2.5 [37, 38]. Besides, the ratio of ΔAG/ΔHCO3 was reported to play a role in diagnosing mixed acid–base imbalance [39, 40], which could be added in future research.

Conclusion

In aggregate, ΔAG is an independent prognostic factor of hospital mortality and 90-day OS for patients who underwent cardiothoracic surgery. Besides, ΔAG ≥ 7 might be applied as an indicator of risk stratification for severe patients in CSRU.

Patient and public involvement

Patients and/or the public were not involved in the design, or conduct, or reporting, or dissemination plans of this research.