Introduction

Heart failure (HF) is a clinical syndrome with significant abnormalities in cardiac function and structure due to multiple etiologies, and its high morbidity, multiple hospital admissions, and high mortality rates threaten the quality of life and cause a huge socioeconomic burden. In the United States, the prevalence of HF in adults is 1–2%, and the 1-year all-cause mortality rate is 17% [1]. In China, the number of HF patients reached 8.9 million, and the mortality rate of hospitalized patients reached 2.8%, with an increasing trend [2, 3]. In addition, diabetes is a very universal comorbidity in HF, with approximately 20–40% of patients having diabetes in combination, and the risk of adverse events (repeated admission rate, hospital mortality) is markedly higher in HF patients with diabetes in combination compared to those without diabetes [4,5,6].

The prognosis of patients with acute decompensated chronic heart failure (ADCHF) and diabetes is influenced by several factors, such as age, race, comorbidities, electrolyte disturbances, treatment strategies, etc. Different studies have reported in-hospital mortality ranging from 20 to 60% in acute heart failure (AHF) [7,8,9]. Timely and accurate prediction of the risk of in-hospital mortality for such patients based on their clinical information can assist clinicians in rapidly screening high-risk patients and implementing individualized treatment strategies in advance, which will be an effective way to improve in-hospital clinical prognosis. In recent years, nomogram has been used as a visualization tool that can predict disease prognosis [10]. Although studies have been conducted using it as an ideal model to predict poor prognosis in HF, the models developed have poor predictive performance or inconsistent results and do not give a definitive conclusion in clinical practice. More importantly, studies on death during hospital in patients with ADCHF and diabetes are rare, and a simple and well discriminating model to predict the hospital mortality in this group of patients is lacking.

Therefore, this study was conducted to develop and validate a nomogram model to predict hospital mortality based on clinical and laboratory indicators of patients diagnosed with ADCHF and diabetes in the Medical Information Mart for Intensive Care III (MIMIC- III) database, which would help clinicians in risk stratification of patients and guide decision making.

Methods

Database and study population

Data for the retrospective study were collected based on the publicly available MIMIC-III database [11], which contains de-identification-related clinical data (e.g., demographics, comorbidities, drug use, laboratory indicators, etc.) of patients admitted to the intensive care unit (ICU) of Beth Israel Deaconess Medical Center from 2001 to 2012. Notably, the institutional review boards of the Massachusetts Institute of Technology (Cambridge, Massachusetts, USA) and Beth Israel Deaconess Medical Center (Boston, Massachusetts, USA) have approved the free access of researchers around the world to the MIMIC-III database for various studies. In addition, since this study is a retrospective study, written informed consent is not required.

This study included patients admitted for diagnosis of ADCHF and diabetes by using International Classification of Diseases (ICD)-9 diagnosis codes between 2001 and 2012. Inclusion criteria: (1) Adults under 89 years old; (2) ICU stay longer than 48 h; (3) Repeatedly hospitalized patients, only retain the first admission to ICU patients, the specific process was shown in Fig. 1. Patients with clinical information data missing > 20% were excluded from this study. We also counted details of all missing values (Supplementary Table 1).

Fig. 1
figure 1

Flow chart of inclusion and exclusion process of patients admitted with ADCHF and diabetes ADCHF: Acute Decompensated Chronic Heart Failure; ICD: International Classification of Diseases; ICU: Intensive Care Unit

Besides, hospital mortality, as the main endpoint of this study, was defined as all deaths caused by any cause during hospitalization.

Candidate predictors

We extracted the demographic and health-related data of the study participants from the database. Demographics included age, gender, height, weight, obesity, and smoking status; vital signs contained heart rate (HR), systolic blood pressure (SBP), diastolic blood pressure (DBP), and oxygen saturation. Laboratory test indicators included white blood cell, hemoglobin, platelet, red blood cell distribution width (RDW), serum creatinine (Scr), blood urea nitrogen (BUN), glucose, anion gap (GA), chloride, serum potassium, serum sodium, bicarbonate, partial thromboplastin time (PTT), troponin, N-terminal pro brain natriuretic peptide (NT- proBNP), Glycosylated hemoglobin A1c (HbA1c). Comorbidities included acute coronary syndrome (ACS), hypertension (HP), hyperlipidemia, chronic obstructive pulmonary disease (COPD), cerebral infarction, cardiogenic shock, ventricular arrhythmias, history of prior myocardial infarction (prior-MI), chronic renal dysfunction (CKD), atrial fibrillation (AF), and acute renal impairment (AKI). Medications used during hospitalization include angiotensin-converting enzyme inhibitors (ACEI) or angiotensin receptor blockers (ARBs), β-blockers, aspirin, anticoagulant drugs, diuretics, digoxin, insulin; adjuvant therapy includes continuous renal replacement therapy (CRRT), assisted ventilation. Common scoring systems used in the ICU included the Simplified Acute Physiology Score II (SAPS II) and the Sequential Organ Failure Assessment (SOFA) score. It was important to note that all laboratory indicators were obtained from data first tested within 24 h of admission.

Statistical analysis

Stata software (V.11.2) and R (V.3.6.2, Vienna, Austria) software were adopted for data processing, statistical analysis, and plotting. All participants were first divided into No-death and death groups based on their survival status at discharge, and baseline characteristics of the two groups were compared. Continuous variables were expressed as mean ± standard deviation or median (interquartile distance, IQR) and compared using student t test or Mann-Whitney U test, categorical variables were expressed as frequency (percentage) and compared using χ2 or Fisher’s exact test. During data processing, the Winsorize function was used to mitigate the effects of outliers. When the continuous variables in the population were normally distributed, the missing value was replaced by the mean, otherwise, the missing value was replaced by the median. The least absolute shrinkage and selection operator (LASSO) regression and logistics multivariate analysis were adopted to select the important risk variables for predicting hospital mortality. The final prediction model results were visualized using a nomogram. The area under the receiver operating characteristic curve (AUC), known as the consistency index (C-index), calibration curves, and Hosmer-Lemeshow (H-L) test were used to evaluate the goodness-of-fit and calibration performance of the nomogram. Decision curve analysis (DCA) was adopted to determine the nomogram ‘s net benefit. Bootstrap methods (1000 resampling) were used to obtain corrected C-indexes to assess the internal validation of the model performance. When P-values was less than 0.05, indicating significant differences.

Results

Clinical baseline characteristics of the study population with ADCHF and diabetes

After rigorous screening, 867 patients who met the criteria were put into the final analysis. of them, the median age was 72.0 (63.7–80.1) years, 64.2% were male, and 81 (9.3%) died in hospital. All patients were grouped into Non-death and Death groups based on hospital survival, and the clinical baseline characteristics of the two groups are shown in Table 1. Variables such as age, HR, SBP, DBP, Scr, RDW, AG, chloride, serum sodium, and BUN were statistically different in the two groups. In addition, compared with the Non-death group, patients in the Death group had more comorbidities such as shock, AF, and AKI (all P < 0.001); In terms of treatment strategies, patients in the Death group used CRRT and assisted respiratory therapy more frequently (P < 0.05), while medications such as ACEI/ARBs, anticoagulant drugs, statins, insulin therapy, and β-blockers were less frequent (P < 0.05). Not surprisingly, the hospitalization time as well as the length of ICU stay were significantly longer in the Death group, and the SOFA score and SAPII were remarkably higher (all P < 0.01).

Table 1 Baseline characteristics of Non-death and Death groups

Development of nomogram

Taking the occurrence of hospital death as the induced variable, the candidate variables with P < 0.05 in the Table 1 were put into the LASSO regression model, which was designed to avoid over-fitting by imposing penalties on the size of the model coefficients, and 17 variables with non-zero coefficients were selected (Fig. 2). Subsequently, we placed the screened variables into the logistics multiple regression model, and the results suggested that age, HR, RDW, SBP, shock, β-blockers, ACEI/ARBs, assisted ventilation, and BUN were independent factors to predict hospital mortality in ADHF and diabetes, use of β-blockers, SBP, and ACEI/ARBs were negatively correlated with hospital mortality (see Table 2). According to the above nine predictors, we established a nomogram model for hospital death in patients with ADCHF and diabetes (Fig. 3), a way to visualize the results of the logistic multiple regression model to facilitate rapid identification and treatment decision making by clinicians.

Fig. 2
figure 2

Clinical risk feature selection using the least absolute shrinkage and selection operator (LASSO) binary logistic regression model. (a) LASSO coefficient profiles of the 18 Clinical risk features. (b) Tuning parameter (λ) selection in the LASSO model used 10-fold cross-validation via minimum criteria

Table 2 Multi-factor Logistics regression analysis based on LASSO regression
Fig. 3
figure 3

Nomogram to predict the risk of hospital death in patients with acute decompensated chronic heart failure and diabetes. RDW: Red blood cell Distribution Width; ACEI/ARBs: Angiotensin-Converting Enzyme Inhibitors /angiotensin receptor blockers; HR: Heart Rate; SBP: Systolic Blood Pressure; BUN: Blood Urea Nitrogen

Evaluation and validation of nomogram

At the same time, we also evaluated the performance of the nomogram, and the results were shown in Fig. 4, from which we could see that the red and blue curves were very close to the diagonal dotted line, and the H-L test result showed P = 0.954, suggesting that the nomogram had strong calibration capability. AUC, that is C-index, is an index that can be used to judge the distinguishing ability of various models. 0.6–0.75 is considered as a model with certain distinguishing ability, and > 0.75 is considered as a model with good distinguishing ability. As demonstrated in Fig. 5a, the AUC of the nomogram model was 0.873 (95%CI: 0.836–0.911), and that of SAPSII and SOFA score were 0.761 (95%CI: 0.711–0.810) and 0.699 (95%CI: 0.642–0.756), respectively. In addition, the Guidelines-Heart Failure (GWTG-HF) scoring system, which incorporates variables such as age, SBP, BUN, HR, serum sodium, and ethnicity, is a widely known and recognized system for scoring the risk of in-hospital mortality in patients with HF, and we calculated the GWTG-HF score for each patient, which was validated in this study, and the value of the AUC in this study population was 0.782 (95%CI: 0.731–0.835), suggesting that the prediction ability of the nomogram was obviously better than theirs. What’s more, the C-index of the nomogram model was 0.857 (95%CI: 0.825–0.891) by Bootstrap internal verification method. Furthermore, in order to further evaluate and verify the discrimination and predictive power of the model in different situations, we verified it in patients with shock vital signs, and the area under the ROC curve was conducted with an AUC of 0.876 (95% CI: 0.792–0.961), which suggested good discrimination (Supplementary Fig. 1). All in all, these results verified that the nomogram model of this study had good accuracy and discrimination.

Fig. 4
figure 4

The Calibration curves of the nomogram model in patients with acute decompensated chronic heart failure and diabetes

Fig. 5
figure 5

Receiver operating characteristics (ROC) curve analysis and decision curve analysis. (a) The ROC curve analysis and area under the ROC curve (AUC) (b) decision curve analysis. SAPS II: Simplified Acute Physiology Score; SOFA: Sequential Organ Failure Assessment; GWGT-HF: Guidelines-Heart Failure

In addition, we constructed a DCA to assess the clinical net benefit of the nomogram. When the predictive probability threshold was set at 0.1–0.95, the nomogram model curve (red) was above SAPSII (black), SOFA score (blue) as well as GWTG-HF (green), with relatively highest net benefit rates (Fig. 5b), suggesting that the nomogram was more informative for clinicians to develop individualized treatment and reduce hospital mortality.

Discussion

At present, Nomogram is widely used in the medical field, which is more accurate and easier to understand in estimating the survival rate of patients with different diseases, and can better guide clinical decision-making. This study established and validated a new and well-performing predictive model that can be used to evaluate the risk of hospital death in patients with ADCHF and diabetes, especially in those patients after 48 hours of Intensive Care Unit. A nomogram was constructed based on nine key variables (age, HR, SBP, RDW, Shock, ACEI/ARBs, β-blockers, assisted ventilation, and BUN) screened by LASSO regression in this study. Compared with SAPSII, SOFA score, and GWTG-HF score, the nomogram model showed better calibration ability and clinical application value, especially the high C-index indicated that the nomogram model had good predictive ability.

Due to the large number of variables involved in this study, in order to avoid too many variables into the final model which might lead to overfitting and reduced clinical applicability, LASSO regression was adopted to select the key variables in this study, which was a linear regression that avoided overfitting by imposing penalties on the size of model coefficients, and selectively puts key variables into the model to obtain better performance parameters [12]. Therefore, we constructed the first visual nomogram that can calculate the hazard of hospital death in ADCHF and diabetes, and the C-index was 0.857, indicating that this model has good distinguishing ability. Importantly, the nine variables in this nomogram were available after admission and easy to calculate. It was convenient for clinicians to quickly assess the risk of hospital mortality after admission, identify high-risk patients, and provide early interventions to reduce hospital mortality, which had good clinical application value.

Of important, among the nine key variables screened by LASSO regression to plot the nomogram, Shock and age were more heavily weighted in the scores. Shock is the most serious manifestation of ADHF, accounting for approximately 5% of ADHF, and is an independent hazard factor for hospital mortality in patients with ADHF, with a mortality of 30–50% [13]. The occurrence of Shock in patients with ADCHF and diabetes was 7.7% (67/867), and hospital mortality reached 38.8% (26/67), with a strong association with high mortality, which was also reported by other studies [14]. Furthermore, since the patients of this study was ADCHF with diabetes, abnormal vascular endothelial function, abnormal myocardial electrophysiology and high thrombotic load caused by long-term blood glucose fluctuations make ADCHF more likely to progress to Shock, significantly increasing the risk of death [15]. Therefore, early diagnosis, early identification and early evaluation and treatment are very important to improve the clinical prognosis of patients as much as possible.

Advanced age is one important risk factor for poor prognosis in various cardiovascular diseases and is significantly correlated with sarcopenia [16], frailty [17] and multimorbidity, in addition to being a chronic inflammatory condition in itself. In our study, it was found that patients in the Death group were relatively older, which also confirmed that advanced age was related to a high risk of death. Appropriate nutritional intervention, physical activity and control of underlying diseases were particularly important. ACEI/ARBs and β-blockers have been repeatedly shown to reduce HF hospitalization rates and improve survival, and are the cornerstone of treatment for HF [18]. The imbalance of renin-angiotensin-aldosterone system (RAAS) is a characteristic of ADCHF combined with diabetes. Studies have shown that ACEI / ARBs can not only reduce the all-cause mortality and readmission rates of HF with diabetes, but also improve the renal function of patients by reducing proteinuria [19]. In recent years, several studies have reported that RDW is an inflammatory marker, favored by many researchers. It is associated with the severity and prognosis of various cardiovascular diseases including HF, and its potential mechanisms may be related to inflammation, oxidative stress, and ineffective erythropoiesis [20]. Xanthopoulos A et al. found that RDW was a marker of poor prognosis in AHF and DM patients among 218 AHF patients [21], consistent with the results of this study.

Moreover, assisted ventilation and BUN ≥ 20 mg/dL were included in the final model. Assisted ventilation, including non-invasive and mechanically assisted ventilation, is widely used in patients with ADHF, especially in those with acute pulmonary edema symptoms. to improve oxidation by reducing pulmonary edema, and is recommended as an effective treatment strategy [22], but its impact on mortality is unclear. Sharon, A et al. found that intermittent biphasic positive airway pressure was associated with increased acute myocardial infarction and in-hospital mortality in the treatment of ADHF [23]. Other researchers believe that assisted ventilation is an effective treatment strategy to improve the prognosis of ADHF [24]. In another real-world study, Yukino M, et al. found that the in-hospital mortality rate of 3927 patients with noninvasive ventilator was 5.9% higher than that of those without noninvasive ventilator (3.5%). Although there was no statistical difference, the trend was basically consistent with this study [25]. BUN is a sensitive indicator of hemodynamics and renal perfusion, and is a hazard for cardiovascular diseases such as ACS and ADHF [26, 27]. In a large registry of acute decompensated heart failure, the best single predictor of mortality among 39 potential clinical and laboratory variables was high BUN levels at admission [28]. Angraal S et al. developed a model using machine learning to predict readmission and all-cause mortality HF with preserved ejection fraction, in which BUN is one of the important predictors [29]. In a study on the epidemiology of hospitalized HF patients in China, zhang et al. found that high BUN levels were significantly associated with higher mortality, in addition to common variables such as infection, acute myocardial infarction, and low SBP as predictors of death [30]. In our study, similar result was found that BUN ≥ 20 mg/dL was an independent predictor of hospital death in patients with ADCHF and diabetes. Resting heart rate has previously been recognized a potential predictor of mortality in patients with chronic heart failure, but little is known about its role in patients with ADHF. One study found that HR at discharge was independently associated with 1-year mortality in patients with AHF [31]. In this study, in patients with ADCHF combined with diabetes, HR on admission was found to be independently associated with in-hospital mortality, which is consistent with the findings of Lancellotti, Patrizio et al [32].

A few limitations of this study were as following: Firstly, the study population was derived from a single-center ICU, which could not exclude selection bias and might limit the application of nomogram in a larger population and also required external validation of data from different health care institutions; Secondly, due to missing data values > 20%, N-terminal probrain natriuretic peptide (NT-proBNP) and left ventricular ejection fraction(LVEF), which were previously considered as independent risk factors, were not included in the model, and the model should be used with caution before evaluating these two conditions. Thirdly, the data of the study were extracted from the MIMIC-III database, which contains multiple years of data (2001–2012), during which the treatment of cardiovascular diseases, especially heart failure, has been continuously updated and may affect the application of the nomogram. Therefore, it is not yet fully confirmed whether it can be applied to the present population, and further confirmation of the nomogram is needed in the future for larger populations and depending on the year. Finally, because of the nature of retrospective studies, we might not be able to fully adjust for potential confounders, which would partially affect our results, but should not affect its validity.

Conclusion

Overall, this study is groundbreaking in that we first developed and internally validated nomogram to predict hospital mortality risk for patients with ADCHF and diabetes after 48 hours in ICU. Clinicians can use this nomogram to easily and accurately assess the risk of patients, identify high-risk patients in time, and provide optimal individualized care and treatment. However, external validation is required, and further studies are also need to be carried out in order to validate whether individual interventions according to this nomogram will reduce hospital mortality in patients with ADCHF and diabetes.