Skip to main content

Clinical characteristics and risk factors associated with mortality in patients with severe community-acquired pneumonia and type 2 diabetes mellitus



The present study was performed to investigate the impacts of type 2 diabetes mellitus (T2DM) on severe community-acquired pneumonia (SCAP) and to develop a novel prediction model for mortality in SCAP patients with T2DM.


This was a retrospective observational study conducted in consecutive adult patients with SCAP admitted to the intensive care unit (ICU) of West China Hospital, Sichuan University, China, between September 2011 and September 2019. The primary outcome was hospital mortality. A propensity score matching (PSM) analysis model with a 1:2 ratio was used for the comparisons of clinical characteristics and outcomes between T2DM and nondiabetic patients. The independent risk factors were identified via univariate and then multivariable logistic regression analysis and were then used to establish a nomogram.


In total, 1262 SCAP patients with T2DM and 2524 matched patients without T2DM were included after PSM. Patients with T2DM had longer ICU length of stay (LOS) (13 vs. 12 days, P = 0.016) and higher 14-day mortality (15% vs. 10.8%, P < 0.001), 30-day mortality (25.7% vs. 22.7%, P = 0.046), ICU mortality (30.8% vs. 26.5%, P = 0.005), and hospital mortality (35.2% vs. 31.0%, P = 0.009) than those without T2DM. In SCAP patients with T2DM, the independent risk factors for hospital mortality were increased numbers of comorbidities and diabetes-related complications; elevated C-reactive protein (CRP), neutrophil to lymphocyte ratio (NLR), brain natriuretic peptide (BNP) and blood lactate; as well as decreased blood pressure on admission. The nomogram had a C index of 0.907 (95% CI: 0.888, 0.927) in the training set and 0.873 (95% CI: 0.836, 0.911) in the testing set, which was superior to the pneumonia severity index (PSI, AUC: 0.809, 95% CI: 0.785, 0.833). The calibration curve and decision curve analysis (DCA) also demonstrated its accuracy and applicability.


SCAP patients with T2DM had worse clinical outcomes than nondiabetic patients. The nomogram has good predictive performance for hospital mortality and might be generally applied after more external validations.


Community-acquired pneumonia (CAP) is a leading cause of infection among adults worldwide and is associated with high rates of hospitalization and hospital length of stay (LOS) [1]. The most common pathogens include human rhinovirus, influenza virus, Streptococcus pneumoniae, and Staphylococcus aureus [2]. According to the Infectious Diseases Society of America/American Thoracic Society (IDSA/ATS) consensus guidelines, severe community-acquired pneumonia (SCAP) was defined as fulfilment of at least 1 major criterion (septic shock with need for vasopressors; respiratory failure requiring mechanical ventilation) or 3 minor criteria (respiratory rate ≥ 30 breaths/min; PaO2/FiO2 ratio ≤ 250; multilobar infiltrates; confusion/disorientation; blood urea nitrogen level ≥ 20 mg/dL; white blood cell count < 4000 cells/µL; platelet count < 100,000/µL; core temperature < 36 °C; hypotension requiring aggressive fluid resuscitation) [3]. The mortality related to SCAP has barely changed during the past decades and remains a major concern despite advances in vaccine strategies and rapid diagnostic tests, appropriate and adequate antibiotic coverage, and earlier ventilatory support [4]. Cavallazzi et al. conducted a prospective population-based cohort study including 7449 patients in the USA. They reported that 23% of CAP patients required intensive care, and their mortality rates were 27% at 30 days and 47% at one year [5].

Type 2 diabetes mellitus (T2DM) also places a huge burden on health care systems, with globally increased incidence and prevalence in recent years. It is estimated that 500 million people live with T2DM worldwide [6]. Most prior studies have revealed that individuals with diabetes are at increased risk of CAP and adverse outcomes after CAP, including short-term and long-term mortality rates [7,8,9]. However, one retrospective study including 354 cases of pneumonia in Saudi Arabia also found that there was no significant difference in mortality between diabetic and nondiabetic CAP patients [10], which might be due partly to the heterogeneous study designs, sample sizes, and potential unadjusted confounding factors. Previous studies have also found that, compared with CAP patients without diabetes, those with diabetes were older and had more comorbidities, increased rates of development of pleural effusion, and mortality. However, there were no significant differences in etiology [11].

Considering that little is known about SCAP in T2DM patients, additional studies in different areas and patients are required to further investigate their clinical features and prognosis, which might be beneficial for treatment options. Moreover, considering the high prevalence of T2DM among people with SCAP, early evaluation, risk stratification and prediction of mortality might be crucial for improving prognosis. The CURB-65 score, including confusion, urea > 7 mmol/L, respiratory rate ≥ 30 breaths/min, systolic blood pressure < 90 mm Hg or diastolic blood pressure ≤ 60 mm Hg, and age ≥ 65 years, and pneumonia severity index (PSI), including age, nursing home residence, coexisting illnesses, physical examination findings, and laboratory and radiographic findings, are the two most widely used severity scores for pneumonia. However, their accuracy and applicability are decreased in T2DM patients [12]. Hence, there is an urgent need for novel, reliable and convenient predictive tools.

The present study was performed to explore the associations between T2DM and outcomes of SCAP, as well as the risk factors and a novel prediction model for hospital mortality in patients with SCAP and T2DM.


Study design and participants

This was a retrospective observational study conducted in a 172-bed medical intensive care unit (ICU) of a large tertiary care teaching hospital in Sichuan Province, China. It was performed in accordance with the amended Declaration of Helsinki. Ethics approval was obtained from the West China Hospital of Sichuan University Biomedical Research Ethics Committee (No. 2021-828). Written informed consent was waived due to the retrospective noninterventional design.

With approximately 20–30 variables potentially associated with hospital mortality in SCAP patients with T2DM, the minimum sample size required 200–300 deaths to follow the principle of at least ten outcome events per variable in the regression analysis [13]. Considering that the mortality of SCAP was approximately 30%, the sample size of patients with SCAP and T2DM was estimated to be approximately 1000. In addition, 5000 SCAP patients were needed because the incidence of T2DM in SCAP patients was approximately 20% according to previous reports [7,8,9,10,11]. All consecutive adult patients with a diagnosis of SCAP admitted to the ICU between September 2011 and September 2019 were enrolled. SCAP was defined according to the IDSA/ATS guidelines [3].

The exclusion criteria were as follows: (1) under 18 years old; (2) being pregnant; (3) residents of long-term care facilities/nursing homes; (4) prior hospitalization within 30 days of study enrollment; (5) discharged or having incomplete data within 24 h of admission; (6) severe immunosuppression: human immunodeficiency virus infection, autoimmune diseases, chemotherapy, or other immunosuppressive therapy; and (7) prediabetes conditions, type 1 diabetes mellitus (T1DM) or other nonspecific types of diabetes.

Only the first admission was included if the patient had multiple admissions during the study period. The diagnosis of T2DM was based on medical records of previous clinical and/or biochemical diagnosis, self-reported diagnosis confirmed by medical records reviewed by physicians, or use of antidiabetic medicine (oral antidiabetic agents or insulin). T2DM was defined according to the American Diabetes Association guidelines [14]. Diabetes-related complications included retinopathy, nephropathy, vasculopathy and peripheral neuropathy. All patients received standard care and antimicrobial agents at the discretion of the physician in charge and based on the recommendations of the CAP guidelines [3]. The occurrence of diabetic ketoacidosis (DKA) or hyperglycemic hyperosmolar status (HHS) during hospitalization was also diagnosed by the physician in charge.

Study outcomes and data collection

The following clinical data within 24 h of admission to the ICU were collected anonymously from electronic medical records: demographics, comorbidities, primary symptoms and vital signs on admission, as well as laboratory examinations (hematological data, biochemical parameters, inflammatory markers, coagulation indicators, etc.). The most severe value was recorded for analysis if any laboratory examination was repeated more than once within 24 h of admission. The PSI at admission, which had been demonstrated to have a higher discriminative power in predicting mortality than CURB-65, was also used as a severity score [15].

Continuous variables were categorized for further analysis and the development of a prediction model. The threshold value of each continuous variable was determined by the clinically relevant cutoff value or upper limit or lower limit of the normal range. Two trained clinicians reviewed the medical records and completed the data collection independently. Any disagreement was resolved by a third doctor and team discussion until consensus was reached.

Patient follow-up was until hospital discharge. The primary outcome was hospital mortality, and the secondary outcomes included ICU LOS, hospital LOS, ICU mortality, and 14-day and 30-day mortality after the diagnosis of SCAP.

Statistical analysis

Data were all analyzed using IBM SPSS Statistical version 23.0 (SPSS, Chicago, IL, USA) and R software 4.0.2 (R Foundation for Statistical Computing). A two-sided p < 0.05 was considered statistically significant. Age, sex and comorbidities are generally significantly different between CAP patients with and without diabetes and are thought to be risk factors for disease severity and death from CAP [16]. In particular, the comorbidities included cancer, hypertension, chronic hematological diseases, hepatic diseases, renal diseases, cardiovascular diseases, pulmonary diseases and cerebrovascular diseases. Therefore, a propensity score matching (PSM) analysis model with a caliper of 0.2 was used to balance differences in the above variables between groups, eliminate possible selection bias and increase the evidence level of the retrospective study. A PSM ratio of 1:2 was achieved via the “nearest‐neighbor” matching method to select statistically matched pairs of SCAP patients according to age, sex and comorbidities.

Multiple imputation (MI) was used to account for missing data if the missing values were less than 20%, and variables with a missing rate of more than 20% were excluded. MI was performed by using Bayesian methods in SPSS. The data were tested using the Kolmogorov–Smirnov normality test and Bartlett’s test for homogeneity of variance. Data are described as the counts (%) for categorical variables and either the means ± standard deviation (SD) or medians (interquartile range, IQR) for continuous variables as appropriate. The Mann–Whitney U test, Fisher’s exact test and chi-square analysis were used to test for differences between groups as appropriate. Kaplan–Meier plots with log-rank statistics were used to assess differences in survival between the propensity score-matched T2DM and non-T2DM groups. Survival analysis in SCAP patients with T2DM was also conducted to explore the impacts of diabetes-related complications and DKA or HHS on prognosis.

Then, the SCAP patients with T2DM were randomly divided into a training set (70% of patients) and a testing set (30%). The training set was applied to develop a prediction model, and the testing set was used to validate the performance of the model. In the training set, variables associated with mortality in the univariate logistic regression analysis were included in the multivariable analysis to identify independent risk factors. The results were reported as odds ratios (ORs) and 95% confidence intervals (95% CIs). The prediction model was developed through the “rms” package in R based on the results of multivariate logistic regression. Then, a nomogram was established based on the prediction model.

We used the concordance index (C index) with 95% CI, receiver operating characteristic (ROC) curve analysis, calibration curve and decision curve analysis (DCA) to assess the goodness of fit, accuracy and applicability of the predictive nomogram in the training and testing sets [17,18,19]. Meanwhile, ROC curve analysis of PSI was also performed to compare its predictive capacity for hospital mortality with our nomogram. These results are reported as the area under the curve (AUC) and 95% CI.


PSM and clinical characteristics among SCAP patients

In total, 6992 patients were identified with SCAP in the present study. Then, 949 patients were excluded according to the exclusion criteria. Among the remaining 6043 SCAP patients, 1289 (21.3%) patients were found to have T2DM. Finally, 1262 patients with T2DM and 2524 matched patients without T2DM were included in our analysis after PSM (Fig. 1). A histogram matching the pre- and postpropensity scores showed that the PSM was successful (Additional file 1: Fig. S1). As shown in Table 1, covariates including age, sex and comorbidities were all balanced between the groups after matching. Their P values were all above 0.05, and standardized mean differences (SMDs) were all under 0.10.

Fig. 1
figure 1

Study population. SCAP: severe community-acquired pneumonia; ICU: intensive care unit; T1DM: type 1 diabetes mellitus; T2DM: type 2 diabetes mellitus; PSM: propensity score matching

Table 1 Comparisons of clinical characteristics and outcomes among all SCAP patients

When comparing clinical characteristics at admission, patients with T2DM were more likely to have a higher respiratory rate (19 vs. 18 breath/min, P < 0.001), heart rate (98 vs. 96 beat/min, P < 0.001), C-reactive protein (CRP, 70.2 vs. 61.5 mg/L, P = 0.002), procalcitonin (PCT, 0.35 vs. 0.33 µg/L, P < 0.001), D-dimer (4.25 vs. 4.12 mg/L, P = 0.012), brain natriuretic peptide (BNP, 1339 vs. 978 pg/mL, P < 0.001), and blood lactate (1.6 vs. 1.4 mmol/L, P < 0.001) but lower hemoglobin (106 vs. 111 g/L, P < 0.001), platelet (165 vs. 178 × 109/L, P = 0.021), albumin (30.8 vs. 32.7 g/L, P < 0.001), and total bilirubin (10.8 vs. 12.2 µmol/L, P < 0.001). Moreover, substantial differences in clinical outcomes were observed between the two groups. Compared with patients without T2DM, patients with T2DM had a longer ICU LOS (13 vs. 12 days, P = 0.016) and a higher 14-day mortality (15% vs. 10.8%, P < 0.001), 30-day mortality (25.7% vs. 22.7%, P = 0.046), ICU mortality (30.8% vs. 26.5%, P = 0.005), and hospital mortality (35.2% vs. 31.0%, P = 0.009). However, the hospital LOS and need for CPR (cardiac pulmonary resuscitation) during hospitalization were not significantly different between the two groups.

Among all SCAP patients, T2DM was significantly associated with poorer survival (P < 0.001) in the Kaplan–Meier curves (Fig. 2). Furthermore, long-term diabetes-related complications prior to hospital admission and the occurrence of DKA or HHS during hospitalization both had considerable adverse impacts on the prognosis of T2DM patients with SCAP (P < 0.001) (Fig. 3).

Fig. 2
figure 2

Survival curves of SCAP patients after matching

Fig. 3
figure 3

Survival curves of SCAP patients with T2DM. A: impacts of pre-admission diabetes-related complications on survivals; B: impacts of DKA or HHS during hospitalization on survivals; DKA: diabetic ketoacidosis; HHS: hyperglycemic hyperosmolar status

Development of a prediction model in SCAP patients with T2DM

Among the 1262 T2DM patients, 883 patients were randomized to the training set, and 379 patients were included in the testing set. In the training set, 315 (35.7%) patients eventually died. In the univariate logistic regression analysis, 17 variables were found to be associated with hospital mortality. The ORs with 95% CI are shown in Table 2. However, in the multivariate analysis, only 7 factors were independent risk factors for hospital mortality: increased numbers of comorbidities and diabetes-related complications; elevated CRP, neutrophil to lymphocyte ratio (NLR, calculated by division of neutrophils by lymphocytes measured in peripheral blood), BNP and blood lactate; as well as decreased blood pressure. The ORs with 95% CI are shown in Fig. 4.

Table 2 The risk factors for hospital mortality in univariate logistic regression analysis among SCAP patients with T2DM in training set
Fig. 4
figure 4

Independent risk factors for hospital mortality in the training set. Ref: reference; OR: odds ratio; 95% CI: 95% confidence interval. CRP: C-reactive protein; NLR: neutrophil to lymphocyte ratio; BNP: brain natriuretic peptide

As a result, these seven factors were included in the prediction model, as described in Fig. 5. Each predictive factor was assigned a single score, which is presented on the top line of the nomogram. The total score of each patient is the sum of each single score. On the bottom of the nomogram, the probabilities of hospital mortality in SCAP patients with T2DM were predicted in terms of the total scores.

Fig. 5
figure 5

The nomogram for hospital mortality in SCAP patients with T2DM. Blood pressure (mmHg); CRP: C-reactive protein (mg/L); NLR: neutrophil to lymphocyte ratio; BNP: brain natriuretic peptide (pg/mL); blood lactate (mmol/L)

Evaluation and validation of prediction model

Using the bootstrap method, the C index was 0.907 (95% CI: 0.888, 0.927) in the training set, which indicated that our nomogram had good predictive value. The ROC curve is shown in Additional file 1: Fig. S2A. In Fig. 6A, the calibration curve did not significantly deviate from the reference line. There was good consistency between the predicted values by the nomogram and the actual observed values. The bias-corrected C index was 0.898. Subsequently, DCA was performed to evaluate the clinical applicability of the prediction model. As shown in Fig. 7A, DCA demonstrated that the nomogram had good overall net benefits within a wide range of threshold probabilities.

Fig. 6
figure 6

Calibration curves of nomogram. A: training set; B: testing set

Fig. 7
figure 7

DCA of nomogram. A: training set; B: testing set. DCA: decision curve analysis

In the testing set, 129 patients (34.0%) died, and the C index was 0.873 (95% CI: 0.836, 0.911). The ROC curve is shown in Additional file 1: Fig. S2B, and the calibration curve and DCA are shown in Figs. 6B and 7B. The bias-corrected C index was 0.853. Additionally, the AUC of PSI among all SCAP patients with T2DM was 0.809 (95% CI: 0.785, 0.833), which was slightly lower than that of the nomogram (Additional file 1: Fig. S3).


In our study population, there was a high burden of T2DM among SCAP patients. After minimizing the effects of common confounders, of particular concern is that the existence of T2DM, the increased diabetes-related complications, and the occurrence of DKA or HHS all had significant adverse impacts on the prognosis of SCAP patients. These seven easily obtained independent risk factors are important for the early recognition and risk evaluation of patients. Then, we established and validated a predictive nomogram for hospital mortality, which was verified to be superior to PSI in T2DM patients.

The results of the current study are partly concordant with past evidence indicating the association between diabetes and outcomes of CAP. Kornum et al. demonstrated that diabetic patients had greater adjusted 30-day (RR: 1.16, 95% CI: 1.07–1.27) and 90-day mortality (RR: 1.10, 95% CI: 1.02–1.18) following pneumonia than other patients in northern Denmark [8]. Martins et al. reported that CAP episodes in patients with DM had, on average, a 0.8-day longer hospital stay (P < 0.0001) and significantly higher hospital mortality (15.2% vs. 13.5%, P = 0.002) than patients without DM in Portugal [20]. However, López-de-Andrés found that T2DM was only related to higher CAP incidence rates but was not a risk factor for death during CAP (OR 0.92, 95% CI 0.91–0.94) in Spain [21]. One possible explanation might be that the methodology applied by researchers in previous studies was not uniform. More importantly, researchers speculated that patients with diabetes were more likely to be hospitalized with less severe CAP. In our study cohort comprising only patients with SCAP, T2DM was still found to be associated with longer ICU LOS and higher ICU and hospital mortality after matching. Hence, our results might add important evidence to previous information. We further found that SCAP patients with T2DM were less likely to exhibit some classical symptoms, such as fever, cough, dyspnea, and chest pain, than those without diabetes, which is consistent with prior reports [22]. Clinicians should take into account those atypical symptoms for the early diagnosis of SCAP.

The relationship between T2DM and the prognosis of SCAP might be mediated by several factors. First, evidence has been found that the reduction in diffusion capacity in pulmonary function abnormalities and microangiopathy due to impaired pulmonary microvasculature alveolar epithelial basal lamina in diabetes might be related to more severe CAP [23]. Then, it is plausible that impaired immunocompetence, disturbances in pulmonary host defense and dysregulated pulmonary inflammatory function play a major role in the poor prognosis of SCAP. For instance, excessive or chronic activation of the NLRP3 inflammasome, an important innate immune sensor and inflammation regulator, and subsequent interleukin release are implicated in the pathogenesis of diabetes and pneumococcal pneumonia [24]. However, these conclusions are not supported by strong scientific evidence. It has also been reported that the mechanism of association between pre-existing diabetes and a higher risk of death following CAP might not be due to an altered immune response but to worsening of pre-existing cardiovascular and kidney disease [25]. In addition, some other risk factors that negatively affect immune function and host defense mechanisms, such as obesity and other lifestyle factors, might be involved [26]. Although we have demonstrated a clear association between T2DM and mortality among SCAP patients after adjusting for confounders, more research about the pathophysiological mechanisms in SCAP patients with T2DM is warranted. In addition, the true association of T2DM and SCAP needs more verification after excluding other potential confounders, such as prior use of pneumococcal vaccine, treatments of T2DM, duration of symptoms prior to admission, and time to first dose of appropriate antibiotic therapy [27].

Cheng et al. established a risk score, including NLR ≥ 4, pulse ≥ 125/min, confusion, and glucose on admission ≥ 9 mmol/L, to predict in-hospital mortality among 1360 patients with T2DM and concomitant CAP (AUC: 0.858) [28]. In another recent study, Ma et al. included 531 patients and developed a similar nomogram consisting of age, pulse, urea and albumin for predicting in-hospital mortality of CAP in patients with T2DM (AUC: 0.814, 95% CI: 0.770–0.853) [29]. However, the present study still has some strengths. First, our study had a large sample size and focused solely on ICU settings and SCAP patients, which had significantly increased systemic complications and mortality during hospitalization. Then, we included more comprehensive independent risk factors, including comorbidities, indicators of shock and cardiac insufficiency, and inflammatory and acidosis indices. It should be noted that the increased serum glucose and HbA1c levels at admission might inevitably be affected by information that was difficult to capture or remained unmeasured. In addition, they were not significantly associated with the risk of death in CAP patients with diabetes, which was shown in previous studies and the current study [30, 31]. Therefore, we speculate that prehospital T2DM-related complications might be better suited than serum glucose or HbA1c levels to reflect the chronicity and severity of diabetes and could be used to predict mortality. Additionally, compared with the two above predictive tools, the current nomogram had a higher C index and greater net benefits in DCA in both the training cohort and testing cohort.

In SCAP patients with T2DM, the predictive values of comorbidities and decreased blood pressure or signs of shock at admission are in agreement with previous reports from general CAP patients. The increased NLR during SCAP represents the ratio of increased neutrophils reflecting aggravated inflammation and systemic inflammatory storms and decreased lymphocytes representing dysregulated and compromised immune responses. It could effectively overcome the drawbacks of absolute values that may be affected by factors such as dehydration and was independently associated with hospital and ICU mortality in patients with SCAP [32]. As another common inflammatory index, the association of increased CRP at admission or sequential evaluation after admission and poor outcome of SCAP has been widely identified and confirmed. [33, 34] Christ-Crain et al. concluded that BNP, a common marker of cardiac stress and heart failure, is still a powerful and independent predictor of death and treatment failure (AUC: 0.75) in CAP after the exclusion of patients with a history of heart failure and coronary or hypertensive heart disease. Furthermore, they found that, when used in conjunction with PSI, BNP significantly improved the risk prediction compared with PSI alone (AUC 0.78 vs. 0.71; P = 0.02) [35]. In this situation, we might attribute increased BNP to hypoxia, leading to pulmonary vasoconstriction, pulmonary hypertension and right heart overload [36]. Meanwhile, proinflammatory cytokines could also induce BNP secretion [37]. As expected, in line with prior studies about CAP, our investigation showed that blood lactate level remained a significant prognostic factor of mortality in multivariate analysis [38, 39]. We speculate that hypoxia, circulatory disorder and hypoperfusion, and organ failure might cause increased lactate.

Based on these results, more intensive and individualized surveillance should be considered, and efforts should be made to improve the management strategies for patients admitted with T2DM in the ICU due to its significant adverse impacts on the prognosis of SCAP. For SCAP patients with T2DM, a cost-effective, convenient and accurate tool may help identify patients at increased risk of death and curb poor outcomes. However, several questions remain unanswered. There is still a knowledge gap in the available literature concerning the features of chest computed tomography (CT) images of T2DM patients, the biological mechanisms underlying the associations between DKA or HHS and outcomes of SCAP, and the clinical characteristics of SCAP patients with T1DM. Additionally, definite recommendations on the optimal cutoff values of these risk factors used in prediction models are lacking. Therefore, our nomogram needs to be updated or recalibrated in further studies.

Our study is subject to several limitations. First, this was a retrospective, single-center study with routinely collected data in a limited number of patients. A small percentage of the potential study population had no available clinical data and therefore was not included. Meanwhile, some participants might have had undetected or undiagnosed T2DM on admission. These conditions could have led to bias or misclassification in our results. Although we divided patients into a training cohort and a testing cohort, the nomogram was derived from particular periods and places where data were collected. We did not have more external validation study data for our prediction model and therefore were unable to formally determine the robustness of the results. Second, the results might have been affected by some unadjusted confounders or other risk factors, such as interventions and antibiotic therapies. Third, we lacked dynamic clinical and laboratory data and failed to perform follow-up after discharge due to the scarcity of relevant information.


In summary, SCAP patients with T2DM have distinct clinical characteristics and higher mortality than nondiabetic patients. The subset of patients with increased numbers of diabetes-related complications and the development of DKA or HHS had a poor prognosis. Independent factors on admission for mortality in SCAP patients with T2DM were increased numbers of comorbidities and diabetes-related complications; elevated CRP, NLR, BNP and blood lactate; as well as decreased blood pressure. Our nomogram has good predictive performance for hospital mortality and might be generally applied after more external validations.

Availability of data and materials

The datasets used and/or analyzed during the current study are available from the corresponding author on reasonable request.



Type 2 diabetes mellitus


Severe community-acquired pneumonia


Intensive care unit


Propensity score matching


Length of stay


C-reactive protein


Neutrophil to lymphocyte ratio


Brain natriuretic peptide


Pneumonia Severity Index


Area under the curve


Decision curve analysis


Type 1 diabetes mellitus


Diabetic ketoacidosis


Hyperglycemic hyperosmolar status


Odds ratio

95% CI:

95% Confidence interval

C index:

Concordance index


Receiver operating characteristic


  1. Welte T, Torres A, Nathwani D. Clinical and economic burden of community-acquired pneumonia among adults in Europe. Thorax. 2012;67(1):71–9.

    CAS  Article  PubMed  Google Scholar 

  2. Jain S, Self WH, Wunderink RG, et al. Community-acquired pneumonia requiring hospitalization among U.S. adults. N Engl J Med. 2015;373(5):415–27.

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  3. Metlay JP, Waterer GW, Long AC, et al. Diagnosis and treatment of adults with community-acquired pneumonia. An official clinical practice guideline of the American Thoracic Society and Infectious Diseases Society of America. Am J Respir Crit Care Med. 2019;200(7):e45–67.

    Article  PubMed  PubMed Central  Google Scholar 

  4. Nair GB, Niederman MS. Updates on community acquired pneumonia management in the ICU. Pharmacol Ther. 2021;217:107663.

    CAS  Article  PubMed  Google Scholar 

  5. Cavallazzi R, Furmanek S, Arnold FW, et al. The burden of community-acquired pneumonia requiring admission to ICU in the United States. Chest. 2020;158(3):1008–16.

    Article  PubMed  Google Scholar 

  6. Chatterjee S, Khunti K, Davies MJ. Type 2 diabetes [published correction appears in Lancet. 2017 Jun 3;389(10085):2192]. Lancet. 2017;389(10085):2239–51.

    CAS  Article  PubMed  Google Scholar 

  7. Torres A, Blasi F, Dartois N, Akova M. Which individuals are at increased risk of pneumococcal disease and why? Impact of COPD, asthma, smoking, diabetes, and/or chronic heart disease on community-acquired pneumonia and invasive pneumococcal disease. Thorax. 2015;70(10):984–9.

    Article  PubMed  Google Scholar 

  8. Kornum JB, Thomsen RW, Riis A, Lervang HH, Schønheyder HC, Sørensen HT. Type 2 diabetes and pneumonia outcomes: a population-based cohort study. Diabetes Care. 2007;30(9):2251–7.

    Article  PubMed  Google Scholar 

  9. Lopez-de-Andres A, Albaladejo-Vicente R, de Miguel-Diez J, et al. Incidence and outcomes of hospitalization for community-acquired, ventilator-associated and non-ventilator hospital-acquired pneumonias in patients with type 2 diabetes mellitus in Spain [published correction appears in BMJ Open Diabetes Res Care. 2020 Jul;8(1)]. BMJ Open Diabetes Res Care. 2020;8(1):e001447.

    Article  PubMed  PubMed Central  Google Scholar 

  10. Akbar DH. Bacterial pneumonia: comparison between diabetics and non-diabetics. Acta Diabetol. 2001;38(2):77–82.

    CAS  Article  PubMed  Google Scholar 

  11. Falguera M, Pifarre R, Martin A, Sheikh A, Moreno A. Etiology and outcome of community-acquired pneumonia in patients with diabetes mellitus. Chest. 2005;128(5):3233–9.

    Article  PubMed  Google Scholar 

  12. Ma CM, Wang N, Su QW, Yan Y, Yin FZ. The performance of CURB-65 and PSI for predicting in-hospital mortality of community-acquired pneumonia in patients with type 2 diabetes compared with the non-diabetic population. Diabetes Metab Syndr Obes. 2021;14:1359–66.

    Article  PubMed  PubMed Central  Google Scholar 

  13. Peduzzi P, Concato J, Kemper E, Holford TR, Feinstein AR. A simulation study of the number of events per variable in logistic regression analysis. J Clin Epidemiol. 1996;49(12):1373–9.

    CAS  Article  PubMed  Google Scholar 

  14. American Diabetes Association. 2. Classification and diagnosis of diabetes: Standards of medical care in diabetes-2020. Diabetes Care. 2020;43(Suppl 1):S14–S31. doi:

  15. Fine MJ, Auble TE, Yealy DM, et al. A prediction rule to identify low-risk patients with community-acquired pneumonia. N Engl J Med. 1997;336(4):243–50.

    CAS  Article  PubMed  Google Scholar 

  16. Arias Fernández L, Pardo Seco J, Cebey-López M, et al. Differences between diabetic and non-diabetic patients with community-acquired pneumonia in primary care in Spain. BMC Infect Dis. 2019;19(1):973.

    Article  PubMed  PubMed Central  Google Scholar 

  17. Caetano SJ, Sonpavde G, Pond GR. C-statistic: a brief explanation of its construction, interpretation and limitations. Eur J Cancer. 2018;90:130–2.

    CAS  Article  PubMed  Google Scholar 

  18. Alba AC, Agoritsas T, Walsh M, et al. Discrimination and calibration of clinical prediction models: users’ guides to the medical literature. JAMA. 2017;318(14):1377–84.

    Article  PubMed  Google Scholar 

  19. Vickers AJ, Elkin EB. Decision curve analysis: a novel method for evaluating prediction models. Med Decis Making. 2006;26(6):565–74.

    Article  PubMed  PubMed Central  Google Scholar 

  20. Martins M, Boavida JM, Raposo JF, et al. Diabetes hinders community-acquired pneumonia outcomes in hospitalized patients. BMJ Open Diabetes Res Care. 2016;4(1):e000181.

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  21. López-de-Andrés A, de Miguel-Díez J, Jiménez-Trujillo I, et al. Hospitalisation with community-acquired pneumonia among patients with type 2 diabetes: an observational population-based study in Spain from 2004 to 2013. BMJ Open. 2017;7(1):e013097.

    Article  PubMed  PubMed Central  Google Scholar 

  22. Di Yacovo S, Garcia-Vidal C, Viasus D, et al. Clinical features, etiology, and outcomes of community-acquired pneumonia in patients with diabetes mellitus. Medicine (Baltimore). 2013;92(1):42–50.

    Article  Google Scholar 

  23. Marvisi M, Bartolini L, del Borrello P, et al. Pulmonary function in non-insulin-dependent diabetes mellitus. Respiration. 2001;68(3):268–72.

    CAS  Article  PubMed  Google Scholar 

  24. Surabhi S, Cuypers F, Hammerschmidt S, Siemens N. The role of NLRP3 inflammasome in pneumococcal infections. Front Immunol. 2020;11:614801.

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  25. Yende S, van der Poll T, Lee M, et al. The influence of pre-existing diabetes mellitus on the host immune response and outcome of pneumonia: analysis of two multicentre cohort studies. Thorax. 2010;65(10):870–7.

    Article  PubMed  Google Scholar 

  26. Frasca D, McElhaney J. Influence of obesity on pneumococcus infection risk in the elderly. Front Endocrinol (Lausanne). 2019;10:71.

    Article  PubMed  PubMed Central  Google Scholar 

  27. Bader MS, Yi Y, Abouchehade K, Haroon B, Bishop LD, Hawboldt J. Community-acquired pneumonia in patients with diabetes mellitus: predictors of complications and length of hospital stay. Am J Med Sci. 2016;352(1):30–5.

    Article  PubMed  Google Scholar 

  28. Cheng S, Hou G, Liu Z, et al. Risk prediction of in-hospital mortality among patients with type 2 diabetes mellitus and concomitant community-acquired pneumonia. Ann Palliat Med. 2020;9(5):3313–25.

    Article  PubMed  Google Scholar 

  29. Ma CM, Wang N, Su QW, Yan Y, Yin FZ. Age, pulse, urea and albumin (APUA) model: a tool for predicting in-hospital mortality of community-acquired pneumonia adapted for patients with type 2 diabetes. Diabetes Metab Syndr Obes. 2020;13:3617–26.

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  30. Eurich DT, Gamble JM, Marrie TJ, Majumdar SR. Dysglycaemia and 90 day and 1 year risks of death or readmission in patients hospitalised for community-acquired pneumonia. Diabetologia. 2010;53(3):497–503.

    CAS  Article  PubMed  Google Scholar 

  31. Lepper PM, Ott S, Nüesch E, et al. Serum glucose levels for predicting death in patients admitted to hospital for community acquired pneumonia: prospective cohort study. BMJ. 2012;344:e3397.

    Article  PubMed  PubMed Central  Google Scholar 

  32. Qiu Y, Su Y, Tu GW, et al. Neutrophil-to-lymphocyte ratio predicts mortality in adult renal transplant recipients with severe community-acquired pneumonia. Pathogens. 2020;9(11):913.

    CAS  Article  PubMed Central  Google Scholar 

  33. Bruns AH, Oosterheert JJ, Hak E, Hoepelman AI. Usefulness of consecutive C-reactive protein measurements in follow-up of severe community-acquired pneumonia. Eur Respir J. 2008;32(3):726–32.

    CAS  Article  PubMed  Google Scholar 

  34. Coelho LM, Salluh JI, Soares M, et al. Patterns of c-reactive protein RATIO response in severe community-acquired pneumonia: a cohort study. Crit Care. 2012;16(2):R53.

    Article  PubMed  PubMed Central  Google Scholar 

  35. Christ-Crain M, Breidthardt T, Stolz D, et al. Use of B-type natriuretic peptide in the risk stratification of community-acquired pneumonia. J Intern Med. 2008;264(2):166–76.

    CAS  Article  PubMed  Google Scholar 

  36. Ando T, Ogawa K, Yamaki K, Hara M, Takagi K. Plasma concentrations of atrial, brain, and C-type natriuretic peptides and endothelin-1 in patients with chronic respiratory diseases. Chest. 1996;110(2):462–8.

    CAS  Article  PubMed  Google Scholar 

  37. Ma KK, Ogawa T, de Bold AJ. Selective upregulation of cardiac brain natriuretic peptide at the transcriptional and translational levels by pro-inflammatory cytokines and by conditioned medium derived from mixed lymphocyte reactions via p38 MAP kinase. J Mol Cell Cardiol. 2004;36(4):505–13.

    CAS  Article  PubMed  Google Scholar 

  38. Liu W, Peng L, Hua S. Clinical significance of dynamic monitoring of blood lactic acid, oxygenation index and C-reactive protein levels in patients with severe pneumonia. Exp Ther Med. 2015;10(5):1824–8.

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  39. Frenzen FS, Kutschan U, Meiswinkel N, Schulte-Hubbert B, Ewig S, Kolditz M. Admission lactate predicts poor prognosis independently of the CRB/CURB-65 scores in community-acquired pneumonia. Clin Microbiol Infect. 2018;24(3):306.e1-306.e6.

    CAS  Article  Google Scholar 

Download references




This work was supported by the National Natural Science Foundation of China (82072156), the Science and Technology Department of Sichuan Province (2019YFS0443, 2018JY0389), and the National Key Research and Development Program of China (2016YFC1304303).

Author information

Authors and Affiliations



DH, DH, WW, YS and ZL gave the study concept and design; all authors acquired, analyzed, and interpreted the data, and critically revised the manuscript for important intellectual content; DH, DH and LG drafted the manuscript; DH carried out the statistical analysis; YS and ZL supervised the study; All authors read and approved the final manuscript.

Corresponding authors

Correspondence to Yujun Shi or Zongan Liang.

Ethics declarations

Ethics approval and consent to participate

Ethics approval was obtained from the West China Hospital of Sichuan University Biomedical Research Ethics Committee (No.2021-828), with waiver of written informed consent due to retrospective noninterventional design. All patient data were maintained with confidentiality.

Consent for publication

Consent for publication was provided by all authors.

Competing interests

The authors declare that they have no competing interests.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary Information

Additional file 1.

Fig. S1 Histograms of propensity scores before and after matching. Fig. S2 The ROC curves of nomogram. A. training set; B. testing set. ROC: receiver operating characteristic. Fig. S3 ROC curve of PSI in SCAP patients with T2DM. ROC: receiver operating characteristic; PSI: Pneumonia Severity Index.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit The Creative Commons Public Domain Dedication waiver ( applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Huang, D., He, D., Gong, L. et al. Clinical characteristics and risk factors associated with mortality in patients with severe community-acquired pneumonia and type 2 diabetes mellitus. Crit Care 25, 419 (2021).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI:


  • Severe community-acquired pneumonia
  • Type 2 diabetes mellitus
  • Clinical characteristics
  • Risk factors
  • Nomogram