Comorbidities and their impact on in-hospital mortality in hospitalized adult patients with bacterial community-acquired pneumonia: a cohort study
Original Article

Comorbidities and their impact on in-hospital mortality in hospitalized adult patients with bacterial community-acquired pneumonia: a cohort study

Ting Cheng1,2,3,4#, Yong Li1,2,3,4#, Weimin Gu5, Mu Sun5, Yun Feng1,2,3,4, Qijian Cheng1,2,3,4

1Department of Pulmonary and Critical Care Medicine, Ruijin Hospital, Shanghai Jiao Tong University School of Medicine, Shanghai, China; 2Institute of Respiratory Diseases, Shanghai Jiao Tong University School of Medicine, Shanghai, China; 3Shanghai Key Laboratory of Emergency Prevention, Diagnosis and Treatment of Respiratory Infectious Diseases, Shanghai, China; 4Shanghai Municipal Hospital Respiratory and Critical Care Medicine Clinical Competence Improvement and Advancement Specialist Alliance, Shanghai, China; 5Department of Statistical Information, Ruijin Hospital, Shanghai Jiao Tong University School of Medicine, Shanghai, China

Contributions: (I) Conception and design: T Cheng, Y Li, Y Feng, Q Cheng; (II) Administrative support: Y Feng, Q Cheng; (III) Provision of study materials or patients: T Cheng, Y Li, W Gu, M Sun; (IV) Collection and assembly of data: T Cheng, Y Li, W Gu, M Sun; (V) Data analysis and interpretation: T Cheng, Y Li, W Gu, M Sun; (VI) Manuscript writing: All authors; (VII) Final approval of manuscript: All authors.

#These authors contributed equally to this work as co-first authors.

Correspondence to: Yun Feng, MD, PhD; Qijian Cheng, MD, PhD. Department of Pulmonary and Critical Care Medicine, Ruijin Hospital, Shanghai Jiao Tong University School of Medicine, Shanghai, China; Institute of Respiratory Diseases, Shanghai Jiao Tong University School of Medicine, Shanghai, China; Shanghai Municipal Hospital Respiratory and Critical Care Medicine Clinical Competence Improvement and Advancement Specialist Alliance, Shanghai, China; Shanghai Key Laboratory of Emergency Prevention, Diagnosis and Treatment of Respiratory Infectious Diseases, No. 197, Ruijin Er Lu, Shanghai 200025, China. Email: fy01057@163.com; qijiancc@outlook.com or 13917425214@126.com.

Background: As a leading global health burden, community-acquired pneumonia (CAP) continues to account for substantial morbidity and mortality, particularly among patients with pre-existing comorbidities. This study investigated the prognostic impact of comorbidities on in-hospital mortality in adult patients with bacterial CAP.

Methods: Secondary diagnoses were considered comorbidities if present at admission and reflective of chronic conditions. Multidimensional comorbidity assessment included: Charlson Comorbidity Index (CCI), Elixhauser Comorbidity Index (ECI), condition counts of comorbidities in the Charlson list and Elixhauser list, and binary variable for every medical condition including the comorbidities in the Charlson list and Elixhauser list, every Clinical Classifications Software Refined (CCSR) category, International Statistical Classification of Diseases and Related Health Problems-10th Revision (ICD-10) chapter, block, category, and subcategory. Univariate and multivariate logistic regression analyses were used to evaluate the relationship between comorbidity and in-hospital mortality of CAP. Using split-sample validation, prediction models for in-hospital mortality were developed on a randomly selected derivation cohort (60%), with performance metrics rigorously assessed on an independent validation cohort (40%).

Results: Of the total of 11,164 patients, 380 (3.40%) died in the hospital. The most frequent comorbidities in the Charlson and Elixhauser lists are hypertension (44%), Congestive heart failure (19%), diabetes (15%) and cerebrovascular disease (14%). All comorbidity indicators are independent risk factors for in-hospital death. Alcohol abuse, tumor, cerebrovascular disease, congestive heart failure, dementia, neurological disorders, and renal diseases are independent risk factors for in-hospital death. All the multivariate models show good performance in predicting in-hospital death in the validation group. The area under the receiver operating characteristic curve (AUROC) ranges from 0.753 to 0.871. The best performing model based on AUROC includes binary variable for each comorbidity in the Charlson and Elixhauser comorbidity list.

Conclusions: Comorbidities significantly contribute to CAP mortality risk. The multivariate model using age, sex and comorbidities can predict the risk of in-hospital death of CAP with good performance.

Keywords: Community-acquired pneumonia (CAP); comorbidity; mortality; prognostic factors; elderly


Submitted Nov 29, 2024. Accepted for publication Mar 31, 2025. Published online Jul 28, 2025.

doi: 10.21037/jtd-2024-2081


Highlight box

Key findings

• Comorbidities significantly contributes to community-acquired pneumonia (CAP) mortality risk.

• The multivariate model using age, sex and comorbidities can predict the risk of in-hospital death of CAP with good performance.

What is known and what is new?

• Previous studies have reported a relationship between comorbidities and pneumonia outcomes. The relationship between individual comorbidity and pneumonia outcome has not been fully analyzed.

• The present study, as a district-level multicenter study across administrative divisions in Chinese municipalities, was designed to describe the prevalence of comorbidities in patients admitted for CAP, analyze the relationship between in-hospital death risk and comorbidities, compare multiple assessment methods for the comorbidities, and establish a prediction model of in-hospital death risk in CAP patients based on comorbidities and demographic characteristics. The most frequent comorbidities in the Charlson and Elixhauser lists are hypertension (44%), Congestive heart failure (19%), diabetes (15%) and cerebrovascular disease (14%). All comorbidity indicators are independent risk factors for in-hospital death. Alcohol abuse, tumor, cerebrovascular disease, congestive heart failure, dementia, neurological disorders, and renal diseases are independent risk factors for in-hospital death. All the multivariate models show good performance in predicting in-hospital death in the validation group. The area under the curve (AUC) range from 0.753 to 0.871. The best performing model based on AUC includes binary variable for each comorbidity in the Charlson and Elixhauser comorbidity lists.

What is the implication, and what should change now?

• Patients with more comorbidities may have poor prognosis and need early identification, multidisciplinary discussion, and active treatment. Further investigation is warranted to elucidate the complex interactions between various comorbidities and pneumonia. The targeted treatment plan needs to be further explored.


Introduction

Community-acquired pneumonia (CAP) remains a major cause of morbidity and mortality worldwide, and hospitalizations for CAP have been increasing rapidly (1). Lower respiratory infections lead to 2.37 million deaths (36.8/100,000) globally in 2016 (2). Non-coronavirus disease 2019 (COVID-19) lower respiratory infections lead to 2.18 million deaths (27.7/100,000) globally in 2021 (3). Accurate risk stratification through mortality prediction is therefore crucial for optimizing CAP management (4). Pneumonia patients often have comorbidities related to mortality (5). Evaluating the relationship between comorbidities and mortality can help predict outcomes and illustrate the interaction between pneumonia and comorbidities.

Comorbidities can be classified according to the Charlson list, Elixhauser list (6), Clinical Classifications Software Refined (CCSR) (7,8) and International Statistical Classification of Diseases and Related Health Problems (ICD)-10th revision (ICD-10). Diseases can be classified into chapters, blocks of categories, categories, subcategories on different levels according to ICD-10. Current comorbidity assessment methodologies mainly rely on weighted scoring systems, such as the Charlson Comorbidity Index (CCI) and the Elixhauser Comorbidity Index (ECI) (6).

While several previous studies (5,9-11) have reported a relationship between comorbidities and pneumonia outcomes, critical knowledge gaps still persist. Most studies have analyzed composite comorbidity indices rather than individual condition-specific effects. The relationship between individual comorbidity and pneumonia outcome has not been fully analyzed. Different assessment methods for comorbidities have not been compared. Most studies were conducted in the United States of America (9,10), France (5), and Brazil (11). Many studies were even conducted based on the diagnosis coded by ICD-9. International variations in ICD coding practices necessitate validation of comorbidity assessment tools within China’s ICD-10 framework. There were only a few such studies carried out in China, and only a few comorbidities have been evaluated (12).

Hence, the present study, as a district-level multicenter study across administrative divisions in Chinese municipalities, was designed to describe the prevalence of comorbidities in patients admitted for CAP, analyze the relationship between in-hospital death risk and comorbidities, compare multiple assessment methods for the comorbidities, and establish a prediction model of in-hospital death risk in CAP patients based on comorbidities and demographic characteristics. We present this article in accordance with the STROBE reporting checklist (available at https://jtd.amegroups.com/article/view/10.21037/jtd-2024-2081/rc).


Methods

This cohort study included adult patients admitted with bacterial CAP across all healthcare institutions in Jiading District, Shanghai, China, between January 2013 and December 2018. The participating institutions comprised 31 hospitals (2 tertiary public hospitals, 6 secondary public hospitals, 10 primary public hospitals and 13 private hospitals) with a combined inpatient capacity exceeding 5,000 beds. Bacterial CAP cases were identified using a three-tier diagnostic algorithm: (I) primary ICD-10 diagnosis codes J13–J18; (II) the Present on Admission (POA) status of “pneumonia” was ‘1-Yes’ or ‘2-Suspected (unconfirmed)’; (III) absence of hospital-acquired pneumonia diagnoses. Clinical data including demographic characteristics, primary and secondary diagnoses (coded in ICD-10), and outcomes were extracted from the standardized Front Page of Inpatient Medical Record (China)—a functional equivalent to the U.S. Uniform Hospital Discharge Data Set (UHDDS). Only secondary diagnoses with a POA status of ‘1-Yes’ or ‘2-Suspected (unconfirmed)’ were included. No missing data were found.

We mapped the ICD-10 Chinese clinical modified version to ICD-10-CM version 2021 by U.S. Centers for Medicare & Medicaid Services. Then, we used the Chronic Condition Indicator (13) to identify chronic ICD-10 codes as comorbidities. Two senior clinicians (T.C. and Y.L.) and a certified medical coder (W.G.), each with >10 years of relevant experience, further revised the chronic condition indicator in the context of pneumonia according to Chinese clinical and coding practice. D68.9#Coagulation defect, D69.600#Thrombocytopenia, D70#Neutropenia, D72.8#Other disorders of white blood cells, D72.802#Elevated white blood cell count, D72.803#Lymphocytopenia, D72.804#Lymphocytosis (symptomatic), D72.806#Leukemoid reaction, D72.9#Disorder of white blood cells, unspecified, E77.801#hypoproteinemia, were recognized as possible manifestations of pneumonia rather than comorbidities and were further excluded.

Comorbidities were classified according to the Charlson list and Elixhauser list [using Simard’s mapping table (6)], CCSR (7) and ICD-10 (on chapters, blocks of categories, categories, subcategories levels). The comorbidity situation was evaluated by CCI (14), ECI (15), the number of comorbidities in the Charlson list and Elixhauser list, and binary variable for every medical condition (1 = with, 0 = without) in the Charlson and Elixhauser list, CCSR category, ICD-10 chapter, ICD-10 block, ICD-10 category and ICD-10 subcategory. Patients were grouped by age: 18–44, 45–64, 65–74, 75–84 and ≥85 years. Primary diagnoses were classified as “severe pneumonia”, “non-severe pneumonia” and “pneumonia with severity not specified” based on the primary diagnostic codes in the ICD-10 Chinese Clinical Modification. Specifically, “J15.902# community-acquired pneumonia, non-severe” was classified as “non-severe pneumonia”. “J15.903# Community-acquired pneumonia, severe” and “J18.903# Severe pneumonia” were classified as “severe pneumonia”. All other relevant diagnosis codes were categorized as pneumonia with unspecified severity. The severity assessment followed the Chinese pneumonia guidelines (16), wherein severe pneumonia was diagnosed if a patient met either any major criterion or at least three minor criteria. Major criteria: (I) requiring tracheal intubation and mechanical ventilation; (II) septic shock, and still in need of vasoactive drugs after active fluid resuscitation. Minor criteria: (I) respiratory rate (RR) ≥30 bpm; (II) oxygenation index ≤250 mmHg (1 mmHg =0.133 kPa); (III) infiltrates in multiple lung lobes; (IV) disturbance of consciousness and (or) disorientation; (V) blood urea nitrogen (BUN) ≥7.14 mmol/L; (VI) systolic blood pressure (SBP) <90 mmHg, requiring active fluid resuscitation. This study was conducted in accordance with the Declaration of Helsinki and its subsequent amendments. This study was approved by the Ruijin Hospital Ethics Committee (No. 2018-015-1). Given that the study was retrospective and all data were anonymous, the requirement for informed consent was waived.

Statistical analysis

The prevalence and in-hospital mortality of each age group, gender, primary diagnosis, and presence or absence of comorbidities were described. Univariate logistic regression analysis was used to analyze the relationship between age, gender, primary diagnosis, presence or absence of comorbidities and in-hospital mortality. Predictive models were developed using a stratified random split-sample approach, allocating 60% (derivation cohort) and 40% (validation cohort) of the study population. In the derivation group, multivariate logistic regression analysis was performed with in-hospital death or not as the dependent variable and age, gender and comorbidities as the independent variables. Comorbidities were respectively transformed into CCI, number of comorbidities in the Charlson list, ECI, number of comorbidities in the Elixhauser list, binary variable for every comorbidity in the Charlson and Elixhauser lists, binary variable for every comorbidity classified in CCSR, binary variable for every comorbidity classified in ICD-10 chapter, binary variable for every comorbidity classified in ICD-10 block of category, binary variable for every comorbidity classified in ICD-10 category, binary variable for every comorbidity classified in ICD-10 subcategory, Pneumonia Severity Index (PSI) score Comorbidity Index, binary variable for every comorbidity in PSI comorbidity list in Models B–M. Model A, using only demographic characteristics and primary diagnosis, also served as a control group. After including the impact of the main diagnosis, Models A2–M2 was further established with age, gender, main diagnosis and comorbidities as independent variables. Comorbidities were transformed into variables by the same manner as Models A–M and were used to calculate the risk of in-hospital death for each patient. The predicted value of in-hospital mortality was calculated for each patient based on Models A–M and Models A2–M2. The receiver operating characteristic (ROC) curve was depicted and the area under the curve (AUC, namely AUROC) was calculated for each model in the derivation group and validation group. Because there was only one death in the 18–44-year group, 45–64-year group was used as the reference group for logistic regression analysis. In the multivariate analysis, potential independent variables were selected through the following process: first, primary screening retained comorbidities with >1‰ prevalence to maintain model stability. Subsequently, rare comorbidities (<1‰ prevalence) that showed significant associations with mortality (P<0.05) in univariate analyses were incorporated to account for their potential clinical relevance, despite their low frequency. Finally, independent variables were selected using bidirectional stepwise regression. Statistical analysis utilized SPSS v25.0 (IBM Corp., New York, USA) with graphical representations created in GraphPad Prism v8.0 (Dotmatics Corp., USA).


Results

A total of 11,164 patients were enrolled, with a median age of 70 [interquartile range (IQR), 56–82] years. 380 patients (3.40%) died during hospitalization. The median length of hospital stay was 11 [IQR, 9–15] days. The demographic characteristics, primary diagnosis, comorbidities and in-hospital mortality of patients in each group are shown in Tables 1,2 and the online table (available at https://cdn.amegroups.cn/static/public/jtd-2024-2081-1.pdf). The number of comorbidities, CCI and ECI are shown in Figure 1. The patients who were older and those who died in the hospital had higher comorbidity burdens and indices. The prevalence of each comorbidity is shown in Figure 2. The most frequent comorbidities in the Charlson and Elixhauser classifications were hypertension (44%), congestive heart failure (19%), diabetes (15%), and cerebrovascular disease (14%). Under the CCSR classification system, the most frequent comorbidities were CIR007#Essential hypertension (44%), CIR011#Coronary atherosclerosis and other heart disease (22%), and CIR019#Heart failure (18%). Univariate analysis on the relationship between in-hospital mortality and age, gender, primary diagnosis, comorbidities, and complications on admission is shown in Tables 1,2 and the online table (available at https://cdn.amegroups.cn/static/public/jtd-2024-2081-1.pdf).

Table 1

The demographic characteristics and in-hospital mortality in the adult CAP patients

Variables Value In-hospital death (mortality%) P value OR (95% CI)
Total 11,164 (100.000) 380 (3.40)
Age 70 [56–82] 83 [77–87] vs. 70 [55–81]a <0.001
   18–44 years 1,709 (15.308) 1 (0.06) 0.003 0.049 (0.007–0.363)b
   45–64 years 2,738 (24.525) 32 (1.17) <0.001 Reference group
   65–74 years 2,042 (18.291) 54 (2.64) <0.001 2.3 (1.48–3.57)b
   75–84 years 2,824 (25.296) 136 (4.82) <0.001 4.28 (2.9–6.31)b
   ≥85 years 1,851 (16.580) 157 (8.48) <0.001 7.84 (5.33–11.5)b
Gender
   Female 5,619 (50.331) 152 (2.71)
   Male 5,545 (49.669) 228 (4.11) <0.001 1.54 (1.25–1.9)
Pneumonia
   Severity unspecified 7,178 (64.296) 186 (2.59) <0.001
   Non-severe 2,844 (25.475) 10 (0.35) <0.001 0.133 (0.070–0.251)c
   Severe 1,142 (10.229) 184 (16.11) <0.001 7.22 (5.83–8.95)c
Number of comorbidities (Charlson list) 0 [0–1] 1 [1–2] vs. 0 [0–1]a <0.001 1.82 (1.67–1.99)d
   0 5,734 (51.362) 87 (1.52)
   1 3,381 (30.285) 140 (4.14)
   2 1,520 (13.615) 97 (6.38)
   3 421 (3.771) 41 (9.74)
   4 88 (0.788) 12 (13.64)
   ≥5 20 (0.179) 3 (15.00)
Number of comorbidities (Elixhauser list) 1 [0–2] 2 [1–3] vs. 1 [0–2]a <0.001 1.46 (1.35–1.57)d
   0 3,968 (35.543) 70 (1.76)
   1 3,333 (29.855) 102 (3.06)
   2 2,244 (20.100) 100 (4.46)
   3 1,116 (9.996) 67 (6.00)
   4 403 (3.610) 31 (7.69)
   ≥5 100 (0.896) 10 (10.00)
Charlson Comorbidity Index 0 [0–1] 1 [1–2] vs. 0 [0–1]a <0.001 1.51 (1.42–1.61)e
Elixhauser Comorbidity Index 0 [0–5] 6 [0–9] vs. 0 [−1 to 4]a <0.001 1.14 (1.12–1.16)e

Data are presented as n (%) or median [IQR]. a, patients who died in hospital vs. the patients who survived to discharge; b, compared with the 45–64-year group; c, compared with “pneumonia, severity unspecified”; d, for each 1 increase in number of comorbidities; e, for each 1 increase in comorbidity index. CAP, community-acquired pneumonia; CI, confidence interval; IQR, interquartile range; OR, odds ratio.

Table 2

The frequency of main comorbidities in the adult CAP patients, in-hospital mortality of each group, and univariate analysis of the risk factors

Comorbidities N (%) In-hospital death (mortality%) OR (95% CI)
With comorbidity Without comorbidity P value
Comorbidities classified by the Charlson and Elixhauser lists
   AIDS/HIV 3 (0.027) 0 380 (3.40) >0.99 0
   Alcohol abuse 8 (0.072) 3 (37.50) 377 (3.38) <0.001 17.2 (4.08–72)
   Any tumor without metastasis 316 (2.831) 28 (8.86) 352 (3.24) <0.001 2.9 (1.94–4.33)
   Solid tumor without metastasis 292 (2.616) 27 (9.25) 353 (3.25) <0.001 3.04 (2.02–4.57)
   Lymphoma 27 (0.242) 1 (3.70) 379 (3.40) 0.93 1.09 (0.148–8.07)
   Cardiac arrhythmias 1,411 (12.639) 83 (5.88) 297 (3.05) <0.001 1.99 (1.55–2.56)
   Cerebrovascular disease 1,572 (14.081) 124 (7.89) 256 (2.67) <0.001 3.12 (2.5–3.9)
   Chronic pulmonary disease 659 (5.903) 27 (4.10) 353 (3.36) 0.31 1.23 (0.824–1.83)
   Coagulopathy 8 (0.072) 0 380 (3.41) >0.99 0
   Congestive heart failure 2,093 (18.748) 160 (7.64) 220 (2.43) <0.001 3.33 (2.7–4.11)
   Deficiency anemia 1 (0.009) 0 380 (3.40) >0.99 0
   Dementia 200 (1.791) 26 (13.00) 354 (3.23) <0.001 4.48 (2.93–6.85)
   Depression 57 (0.511) 2 (3.51) 378 (3.40) 0.96 1.03 (0.251–4.25)
   Diabetes, complicated 140 (1.254) 5 (3.57) 375 (3.40) 0.91 1.05 (0.428–2.58)
   Diabetes (total) 1,664 (14.905) 70 (4.21) 310 (3.26) 0.051 1.3 (0.999–1.7)
   Hypertension 4,910 (43.981) 175 (3.56) 205 (3.28) 0.40 1.09 (0.888–1.34)
   Hypothyroidism 176 (1.576) 9 (5.11) 371 (3.38) 0.21 1.54 (0.782–3.04)
   Liver disease (total) 449 (4.022) 13 (2.90) 367 (3.43) 0.54 0.841 (0.48–1.47)
   Moderate or severe liver disease 27 (0.242) 0 380 (3.41) >0.99 0
   Metastatic cancer 36 (0.322) 3 (8.33) 377 (3.39) 0.11 2.59 (0.792–8.49)
   Myocardial infarction 57 (0.511) 5 (8.77) 375 (3.38) 0.03 2.75 (1.09–6.93)
   Neurological disorders 335 (3.001) 35 (10.45) 345 (3.19) <0.001 3.55 (2.46–5.11)
   Obesity 3 (0.027) 0 380 (3.40) >0.999 0
   Paralysis 4 (0.036) 1 (25.00) 379 (3.40) 0.052 9.48 (0.984–91.4)
   Peripheral vascular disorders 278 (2.490) 3 (1.08) 377 (3.46) 0.041 0.304 (0.097–0.953)
   Psychoses 17 (0.152) 0 380 (3.41) >0.99 0
   Pulmonary circulation disorders 45 (0.403) 4 (8.89) 376 (3.38) 0.051 2.79 (0.993–7.82)
   Renal disease 431 (3.861) 48 (11.14) 332 (3.09) <0.001 3.93 (2.85–5.4)
   Rheumatoid arth OR collagen vascular disease_Elixhauster criteria 165 (1.478) 6 (3.64) 374 (3.40) 0.86 1.07 (0.471–2.44)
   Rheumatoid arth/collagen vascular disease_Charlson criteria 147 (1.317) 4 (2.72) 376 (3.41) 0.64 0.792 (0.292–2.15)
   Ulcer disease_Charlson criteria 47 (0.421) 2 (4.26) 378 (3.40) 0.74 1.26 (0.305–5.22)
   Ulcer disease_Elixhauster criteria 41 (0.367) 1 (2.44) 379 (3.41) 0.73 0.709 (0.0972–5.17)
   Valvular disease 69 (0.618) 2 (2.90) 378 (3.41) 0.81 0.846 (0.207–3.47)
   Weight loss 11 (0.099) 3 (27.27) 377 (3.38) <0.001 10.7 (2.83–40.6)
Comorbidities classified by CCSR list
   BLD003#Aplastic anemia 26 (0.233) 3 (11.54) 377 (3.38) 0.03 3.72 (1.11–12.5)
   BLD007#Diseases of white blood cells 81 (0.726) 0 380 (3.43) >0.99 0
   BLD008#Immunity disorders 36 (0.322) 0 380 (3.41) >0.99 0
   CIR001#Chronic rheumatic heart disease 50 (0.448) 0 380 (3.42) >0.99 0
   CIR003#Nonrheumatic and unspecified valve disorders 34 (0.305) 1 (2.94) 379 (3.41) 0.88 0.86 (0.117–6.3)
   CIR004#Endocarditis and endocardial disease 56 (0.502) 2 (3.57) 378 (3.40) 0.94 1.05 (0.255–4.33)
   CIR005#Myocarditis and cardiomyopathy 787 (7.049) 52 (6.61) 328 (3.16) <0.001 2.17 (1.6–2.93)
   CIR007#Essential hypertension 4,889 (43.793) 174 (3.56) 206 (3.28) 0.42 1.09 (0.885–1.34)
   CIR008#Hypertension with complications and secondary hypertension 52 (0.466) 1 (1.92) 379 (3.41) 0.56 0.555 (0.0765–4.03)
   CIR009#Acute myocardial infarction 11 (0.099) 2 (18.18) 378 (3.39) 0.01 6.33 (1.36–29.4)
   CIR011#Coronary atherosclerosis and other heart disease 2,481 (22.223) 155 (6.25) 225 (2.59) <0.001 2.5 (2.03–3.09)
   CIR014#Pulmonary heart disease 45 (0.403) 4 (8.89) 376 (3.38) 0.051 2.79 (0.993–7.82)
   CIR015#Other and ill-defined heart disease 24 (0.215) 0 380 (3.41) >0.99 0
   CIR016#Conduction disorders 130 (1.164) 10 (7.69) 370 (3.35) 0.009 2.4 (1.25–4.62)
   CIR017#Cardiac dysrhythmias 1,364 (12.218) 79 (5.79) 301 (3.07) <0.001 1.94 (1.5–2.5)
   CIR019#Heart failure 2,030 (18.183) 156 (7.68) 224 (2.45) <0.001 3.31 (2.68–4.09)
   CIR020#Cerebral infarction 625 (5.598) 54 (8.64) 326 (3.09) <0.001 2.96 (2.19–4)
   CIR021#Acute hemorrhagic cerebrovascular disease 44 (0.394) 5 (11.36) 375 (3.37) 0.006 3.67 (1.44–9.37)
   CIR022#Sequela of hemorrhagic cerebrovascular disease 74 (0.663) 5 (6.76) 375 (3.38) 0.11 2.07 (0.83–5.16)
   CIR024#Other and ill-defined cerebrovascular disease 99 (0.887) 7 (7.07) 373 (3.37) 0.049 2.18 (1–4.74)
   CIR025#Sequela of cerebral infarction and other cerebrovascular disease 753 (6.745) 64 (8.50) 316 (3.04) <0.001 2.97 (2.24–3.92)
   CIR026#Peripheral and visceral vascular disease 258 (2.311) 3 (1.16) 377 (3.46) 0.056 0.329 (0.105–1.03)
   CIR029#Aortic; peripheral; and visceral artery aneurysms 13 (0.116) 0 380 (3.41) >0.99 0
   CIR030#Aortic and peripheral arterial embolism or thrombosis 11 (0.099) 0 380 (3.41) >0.99 0
   CIR032#Other specified and unspecified circulatory disease 45 (0.403) 1 (2.22) 379 (3.41) 0.66 0.644 (0.0885–4.69)
   CIR037#Vasculitis 8 (0.072) 2 (25.00) 378 (3.39) 0.006 9.5 (1.91–47.2)
   DIG004#Esophageal disorders 48 (0.430) 0 380 (3.42) >0.99 0
   DIG005#Gastroduodenal ulcer 41 (0.367) 1 (2.44) 379 (3.41) 0.73 0.709 (0.0972–5.17)
   DIG007#Gastritis and duodenitis 340 (3.046) 4 (1.18) 376 (3.47) 0.02 0.331 (0.123–0.891)
   DIG017#Biliary tract disease 18 (0.161) 2 (11.11) 378 (3.39) 0.09 3.56 (0.816–15.5)
   DIG019#Other specified and unspecified liver disease 436 (3.905) 13 (2.98) 367 (3.42) 0.62 0.868 (0.495–1.52)
   END001#Thyroid disorders 342 (3.063) 11 (3.22) 369 (3.41) 0.84 0.941 (0.512–1.73)
   END002#Diabetes mellitus without complication 1,274 (11.412) 57 (4.47) 323 (3.27) 0.02 1.39 (1.04–1.85)
   END003#Diabetes mellitus with complication 479 (4.291) 16 (3.34) 364 (3.41) 0.93 0.98 (0.589–1.63)
   END005#Diabetes mellitus, type 2 1,299 (11.636) 60 (4.62) 320 (3.24) 0.01 1.44 (1.09–1.92)
   END006#Diabetes mellitus, due to underlying condition, drug or chemical induced, or other specified type 426 (3.816) 14 (3.29) 366 (3.41) 0.89 0.963 (0.56–1.66)
   END008#Malnutrition 11 (0.099) 3 (27.27) 377 (3.38) <0.001 10.7 (2.83–40.6)
   END010#Disorders of lipid metabolism 179 (1.603) 0 380 (3.46) >0.99 0
   END015#Other specified and unspecified endocrine disorders 35 (0.314) 3 (8.57) 377 (3.39) 0.10 2.67 (0.815–8.77)
   END016#Other specified and unspecified nutritional and metabolic disorders 45 (0.403) 2 (4.44) 378 (3.40) 0.70 1.32 (0.319–5.48)
   EYE002#Cataract and other lens disorders 18 (0.161) 0 380 (3.41) >0.99 0
   EYE005#Retinal and vitreous conditions 13 (0.116) 0 380 (3.41) >0.99 0
   FAC025#Other specified status 11 (0.099) 0 380 (3.41) >0.99 0
   GEN001#Nephritis; nephrosis; renal sclerosis 64 (0.573) 1 (1.56) 379 (3.41) 0.42 0.449 (0.0621–3.25)
   GEN002#Acute and unspecified renal failure 252 (2.257) 38 (15.08) 342 (3.13) <0.001 5.49 (3.82–7.88)
   GEN003#Chronic kidney disease 182 (1.630) 10 (5.49) 370 (3.37) 0.12 1.67 (0.874–3.18)
   GEN006#Other specified and unspecified diseases of kidney and ureters 11 (0.099) 0 380 (3.41) >0.99 0
   GEN012#Hyperplasia of prostate 543 (4.864) 23 (4.24) 357 (3.36) 0.27 1.27 (0.827–1.96)
   INF007#Hepatitis 15 (0.134) 0 380 (3.41) >0.99 0
   INF008#Viral infection 14 (0.125) 0 380 (3.41) >0.99 0
   INF011#Sequela of specified infectious disease conditions 36 (0.322) 0 380 (3.41) >0.99 0
   INJ030#Drug induced or toxic related condition 15 (0.134) 0 380 (3.41) >0.99 0
   INJ031#Allergic reactions 15 (0.134) 0 380 (3.41) >0.99 0
   MAL001#Cardiac and circulatory congenital anomalies 35 (0.314) 2 (5.71) 378 (3.40) 0.45 1.72 (0.412–7.21)
   MBD001#Schizophrenia spectrum and other psychotic disorders 17 (0.152) 0 380 (3.41) >0.99 0
   MBD002#Depressive disorders 56 (0.502) 2 (3.57) 378 (3.40) 0.94 1.05 (0.255–4.33)
   MBD005#Anxiety and fear-related disorders 58 (0.520) 0 380 (3.42) >0.99 0
   MBD013#Miscellaneous mental and behavioral disorders/conditions 47 (0.421) 3 (6.38) 377 (3.39) 0.26 1.94 (0.6–6.28)
   MBD017#Alcohol-related disorders 12 (0.107) 4 (33.33) 376 (3.37) <0.001 14.3 (4.3–47.8)
   MUS003#Rheumatoid arthritis and related disease 104 (0.932) 4 (3.85) 376 (3.40) 0.80 1.14 (0.416–3.1)
   MUS006#Osteoarthritis 12 (0.107) 1 (8.33) 379 (3.40) 0.36 2.58 (0.333–20.1)
   MUS007#Other specified joint disorders 21 (0.188) 1 (4.76) 379 (3.40) 0.73 1.42 (0.19–10.6)
   MUS011#Spondylopathies/spondyloarthropathy (including infective) 94 (0.842) 4 (4.26) 376 (3.40) 0.64 1.26 (0.462–3.46)
   MUS013#Osteoporosis 63 (0.564) 1 (1.59) 379 (3.41) 0.43 0.456 (0.0631–3.3)
   MUS024#Systemic lupus erythematosus and connective tissue disorders 61 (0.546) 2 (3.28) 378 (3.40) 0.95 0.962 (0.234–3.95)
   MUS033#Gout 97 (0.869) 7 (7.22) 373 (3.37) 0.043 2.23 (1.03–4.84)
   MUS038#Low back pain 41 (0.367) 1 (2.44) 379 (3.41) 0.73 0.709 (0.0972–5.17)
   NEO005#Head and neck cancers-nasopharyngeal 11 (0.099) 0 380 (3.41) >0.99 0
   NEO012#Gastrointestinal cancers-esophagus 19 (0.170) 2 (10.53) 378 (3.39) 0.10 3.35 (0.771–14.6)
   NEO013#Gastrointestinal cancers-stomach 28 (0.251) 2 (7.14) 378 (3.39) 0.28 2.19 (0.518–9.26)
   NEO015#Gastrointestinal cancers-colorectal 21 (0.188) 3 (14.29) 377 (3.38) 0.01 4.76 (1.4–16.2)
   NEO017#Gastrointestinal cancers-liver 16 (0.143) 1 (6.25) 379 (3.40) 0.53 1.89 (0.25–14.4)
   NEO019#Gastrointestinal cancers-gallbladder 2 (0.018) 1 (50.00) 379 (3.40) 0.01 28.5 (1.78–456)
   NEO022#Respiratory cancers 115 (1.030) 8 (6.96) 372 (3.37) 0.03 2.15 (1.04–4.43)
   NEO025#Skin cancers-melanoma 2 (0.018) 1 (50.00) 379 (3.40) 0.01 28.5 (1.78–456)
   NEO030#Breast cancer-all other types 13 (0.116) 1 (7.69) 379 (3.40) 0.40 2.37 (0.307–18.3)
   NEO033#Female reproductive system cancers-ovary 4 (0.036) 2 (50.00) 378 (3.39) 0.001 28.5 (4.01–203)
   NEO039#Male reproductive system cancers-prostate 13 (0.116) 1 (7.69) 379 (3.40) 0.40 2.37 (0.307–18.3)
   NEO043#Urinary system cancers-bladder 4 (0.036) 2 (50.00) 378 (3.39) 0.001 28.5 (4.01–203)
   NEO058#Non-Hodgkin lymphoma 15 (0.134) 0 380 (3.41) >0.99 0
   NEO065#Multiple myeloma 11 (0.099) 1 (9.09) 379 (3.40) 0.32 2.84 (0.363–22.3)
   NEO070#Secondary malignancies 30 (0.269) 2 (6.67) 378 (3.40) 0.33 2.03 (0.482–8.56)
   NVS004#Parkinson`s disease 161 (1.442) 14 (8.70) 366 (3.33) <0.001 2.77 (1.58–4.84)
   NVS006#Other specified hereditary and degenerative nervous system conditions 63 (0.564) 10 (15.87) 370 (3.33) <0.001 5.47 (2.76–10.8)
   NVS008#Paralysis (other than cerebral palsy) 3 (0.027) 1 (33.33) 379 (3.40) 0.03 14.2 (1.29–157)
   NVS009#Epilepsy; convulsions 117 (1.048) 10 (8.55) 370 (3.35) 0.003 2.7 (1.4–5.2)
   NVS011#Neurocognitive disorders 241 (2.159) 32 (13.28) 348 (3.19) <0.001 4.65 (3.16–6.85)
   NVS012#Transient cerebral ischemia 31 (0.278) 0 380 (3.41) >0.99 0
   NVS013#Coma; stupor; and brain damage 25 (0.224) 5 (20.00) 375 (3.37) <0.001 7.18 (2.68–19.2)
   NVS016#Sleep wake disorders 12 (0.107) 0 380 (3.41) >0.99 0
   NVS018#Myopathies 8 (0.072) 2 (25.00) 378 (3.39) 0.006 9.5 (1.91–47.2)
   NVS020#Other specified nervous system disorders 80 (0.717) 4 (5.00) 376 (3.39) 0.43 1.5 (0.546–4.12)
   RSP001#Sinusitis 16 (0.143) 0 380 (3.41) >0.99 0
   RSP007#Other specified and unspecified upper respiratory disease 50 (0.448) 0 380 (3.42) >0.99 0
   RSP008#Chronic obstructive pulmonary disease and bronchiectasis 537 (4.810) 27 (5.03) 353 (3.32) 0.03 1.54 (1.03–2.3)
   RSP009#Asthma 124 (1.111) 0 380 (3.44) >0.99 0
   RSP016#Other specified and unspecified lower respiratory disease 22 (0.197) 1 (4.55) 379 (3.40) 0.76 1.35 (0.181–10.1)
   SKN002#Other specified inflammatory condition of skin 16 (0.143) 2 (12.50) 378 (3.39) 0.06 4.07 (0.922–18)
   SKN003#Pressure ulcer of skin 129 (1.155) 25 (19.38) 355 (3.22) <0.001 7.23 (4.61–11.3)

The comorbidities with prevalence >1‰ or showing statistically significant relation with in-hospital mortality in univariate analysis in CCSR list and all the comorbidities in the Charlson and Elixhauser lists were shown in this table. AIDS, acquired immune deficiency syndrome; CAP, community-acquired pneumonia; CCSR, Clinical Classifications Software Refined; CI, confidence interval; HIV, human immunodeficiency virus; OR, odds ratio.

Figure 1 Distribution of comorbidity index in adult patients with bacterial CAP. (A) The distribution of number of comorbidities in the Charlson list in adult patients with bacterial CAP, in overall cohort and stratification by gender; (B) the distribution of CCI in adult patients with bacterial CAP, in overall cohort and stratification by gender; (C) the distribution of number of comorbidities in the Elixhauser list in adult patients with bacterial CAP, in overall cohort and stratification by gender; (D) the distribution of ECI in adult patients with bacterial CAP, in overall cohort and stratification by gender; (E) the distribution of number of comorbidities in the Charlson list in adult patients with bacterial CAP, grouped by age; (F) the distribution of CCI in adult patients with bacterial CAP, grouped by age; (G) the distribution of number of comorbidities in the Elixhauser list in adult patients with bacterial CAP, grouped by age; (H) the distribution of ECI in adult patients with bacterial CAP, grouped by age; (I) the distribution of number of comorbidities in the Charlson list in adult patients with bacterial CAP, grouped by whether died in hospital; (J) the distribution of CCI in adult patients with bacterial CAP, grouped by whether died in hospital; (K) the distribution of number of comorbidities in the Elixhauser list in adult patients with bacterial CAP, grouped by whether died in hospital; (L) the distribution of ECI in adult patients with bacterial CAP, grouped by whether died in hospital. CAP, community-acquired pneumonia; CCI, Charlson Comorbidity Index; ECI, Elixhauser Comorbidity Index.
Figure 2 Prevalence of each comorbidity in adult patients with bacterial CAP. (A) Comorbidities classified by the Elixhauser and Charlson comorbidity lists; (B) comorbidities classified by CCSR category. AIDS, Acquired Immune Deficiency Syndrome; CAP, community-acquired pneumonia; CCSR, Clinical Classifications Software Refined; HIV, human immunodeficiency virus; RA, rheumatoid arthritis.

The prevalence of each comorbidity in each age group and gender is shown in the online table (available at https://cdn.amegroups.cn/static/public/jtd-2024-2081-2.pdf). Univariate analysis on the relationship between in-hospital mortality and each comorbidity in each age group and gender is shown in the online table (available at https://cdn.amegroups.cn/static/public/jtd-2024-2081-3.pdf). The impact of comorbidities on in-hospital mortality was similar in patients of different ages and genders.

The results of multivariate regression analysis are shown in Tables 3,4, Figure 3 and the online table (available at https://cdn.amegroups.cn/static/public/jtd-2024-2081-4.pdf). In all models, age was an independent risk factor for in-hospital death. In-hospital mortality increased with age. Compared with the 45–64-year group, the adjusted odds ratios (ORs) for in-hospital mortality were 0.001–0.132 in the 18–44-year group, and 5.71–9.19 in the ≥85-year group across models.

Table 3

Multivariate analysis of the risk factors for adult CAP in-hospital death

Risk factors β P value OR (95% CI)
Comorbidities classified by the Charlson and Elixhauser lists
   Age group <0.001
    18–44 vs. 45–64 years −2.18 0.03 0.113 (0.0148–0.856)
    65–74 vs. 45–64 years 0.555 0.09 1.74 (0.915–3.32)
    75–84 vs. 45–64 years 1.16 <0.001 3.19 (1.8–5.67)
    ≥85 vs. 45–64 years 1.74 <0.001 5.71 (3.21–10.2)
   Main diagnosis <0.001
    Pneumonia, non-severe vs. pneumonia, severity unspecified −1.59 <0.001 0.203 (0.0937–0.441)
    Pneumonia, severe vs. pneumonia, severity unspecified 1.88 <0.001 6.56 (4.84–8.89)
   Comorbidity
    Alcohol abuse 2.88 0.02 17.8 (1.46–216)
    Primary tumor 0.915 0.01 2.5 (1.25–4.99)
    Cerebrovascular disease 0.678 <0.001 1.97 (1.42–2.74)
    Congestive heart failure 0.408 0.01 1.5 (1.09–2.08)
    Dementia 1.14 <0.001 3.12 (1.77–5.49)
    Hypertension −0.593 <0.001 0.553 (0.405–0.754)
    Neurological disorders 1.21 <0.001 3.37 (2.05–5.52)
    Renal disease 0.852 <0.001 2.34 (1.45–3.78)
   Constant −4.85 <0.001
Comorbidities classified by the CCSR list
   Age group <0.001
    18–44 vs. 45–64 years −2.11 0.042 0.122 (0.0159–0.93)
    65–74 vs. 45–64 years 0.695 0.03 2 (1.04–3.86)
    75–84 vs. 45–64 years 1.26 <0.001 3.51 (1.95–6.33)
    ≥85 vs. 45–64 years 1.83 <0.001 6.23 (3.43–11.3)
   Main diagnosis <0.001
    Pneumonia, non-severe vs. pneumonia, severity unspecified −1.59 <0.001 0.204 (0.0936–0.446)
    Pneumonia, severe vs. pneumonia, severity unspecified 1.88 <0.001 6.56 (4.82–8.94)
   Comorbidity
    CIR007#Essential hypertension −0.602 <0.001 0.548 (0.4–0.75)
    CIR019#Heart failure 0.391 0.02 1.48 (1.07–2.05)
    CIR020#Cerebral infarction 0.832 <0.001 2.3 (1.47–3.6)
    CIR025#Sequela of cerebral infarction and other cerebrovascular disease 0.731 0.001 2.08 (1.37–3.15)
    GEN002#Acute and unspecified renal failure 1.21 <0.001 3.36 (1.97–5.74)
    MBD017#Alcohol-related disorders 2.84 0.02 17.1 (1.48–197)
    MUS033#Gout 1.28 0.006 3.61 (1.45–8.99)
    NEO025#Skin cancers-melanoma 3.36 0.02 28.7 (1.74–476)
    NEO033#Female reproductive system cancers-ovary 4.34 0.004 76.5 (4.08–1430)
    NEO043#Urinary system cancers-bladder 2.86 0.02 17.4 (1.46–207)
    NEO065#Multiple myeloma 2.63 0.02 13.9 (1.47–132)
    NVS006#Other specified hereditary and degenerative nervous system conditions 1.3 0.01 3.67 (1.29–10.5)
    NVS009#Epilepsy; convulsions 1.14 0.01 3.13 (1.32–7.46)
    NVS011#Neurocognitive disorders 0.961 0.001 2.61 (1.49–4.58)
    NVS018#Myopathies 3.25 0.008 25.8 (2.37–281)
    SKN003#Pressure ulcer of skin 1.19 0.001 3.27 (1.67–6.4)
   Constant −4.97 <0.001

CAP, community-acquired pneumonia; CCSR, Clinical Classifications Software Refined; CI, confidence interval; OR, odds ratio.

Table 4

Comparison of the multivariate prediction models based on demographic characteristics and comorbidities for adult CAP in-hospital death

Model AUC (95% CI)
Derivation group Validation group
Model A: model using demographic characteristics 0.747 (0.719–0.775) 0.746 (0.714–0.778)
Model B: model using the Charlson Comorbidity Index, demographic characteristics 0.766 (0.738–0.793) 0.775 (0.744–0.806)
Model C: model using the number of comorbidities in the Charlson list, demographic characteristics 0.769 (0.741–0.796) 0.771 (0.740–0.802)
Model D: model using the Elixhauser Comorbidity Index, demographic characteristics 0.775 (0.749–0.802) 0.781 (0.750–0.811)
Model E: model using the number of comorbidities in the Elixhauser list, demographic characteristics 0.754 (0.727–0.782) 0.753 (0.721–0.785)
Model F: model using a binary variable for each comorbidity classified in Charlson and Elixhauser comorbidity list, demographic characteristics 0.817 (0.793–0.841) 0.804 (0.776–0.833)
Model G: model using the comorbidities classified by CCSR, demographic characteristics 0.826 (0.801–0.850) 0.790 (0.760–0.820)
Model H: model using the comorbidities classified by ICD chapters, demographic characteristics 0.775 (0.748–0.803) 0.762 (0.732–0.793)
Model I: model using the comorbidities classified by ICD blocks of category, demographic characteristics 0.825 (0.800–0.849) 0.786 (0.756–0.816)
Model J: model using the comorbidities classified by ICD categories, demographic characteristics 0.827 (0.803–0.851) 0.786 (0.755–0.817)
Model K: model using the comorbidities classified by ICD subcategories, demographic characteristics 0.832 (0.808–0.856) 0.783 (0.752–0.813)
Model L: the in-hospital death risk prediction model using PSI Comorbidity Index, demographic characteristics 0.768 (0.741–0.796) 0.780 (0.748–0.811)
Model M: the in-hospital death risk prediction model using PSI comorbidity list, demographic characteristics 0.776 (0.748–0.804) 0.768 (0.736–0.800)

PSI Comorbidity Index = neoplastic disease × 3 + liver disease × 2 + congestive heart failure + cerebrovascular disease + renal disease. AUC, area under the curve; CAP, community-acquired pneumonia; CCSR, Clinical Classifications Software Refined; CI, confidence interval; ICD, International Statistical Classification of Diseases and Related Health Problems; PSI, Pneumonia Severity Index.

Figure 3 Independent risk factors for in-hospital death in adult patients with bacterial CAP. (A) Model using comorbidities classified by the Elixhauser and Charlson comorbidity lists; (B) model using comorbidities classified by CCSR category. CAP, community-acquired pneumonia; CCSR, Clinical Classifications Software Refined; CI, confidence interval; OR, odds ratio.

Male sex was an independent risk factor in partial multivariate models (OR =1.36–1.52), but this association was attenuated when comorbidities and primary diagnoses were fully adjusted for.

In all models including primary diagnosis, the primary diagnosis was an independent factor. Compared with the patients whose primary diagnosis being pneumonia severity not specified, the OR values of in-hospital death in the patients whose primary diagnosis of severe pneumonia ranged from 6.56 to 6.89, while the OR values of non-severe pneumonia ranged from 0.19 to 0.21.

All comorbidity indices were independent risk factors for in-hospital death. In the Charlson and Elixhauser comorbidity lists, alcohol abuse, primary tumor, cerebrovascular disease, congestive heart failure, dementia, neurological disorders, and renal disease were independent risk factors for in-hospital death. However, hypertension tended to be a protective factor.

Among the comorbidities classified by CCSR category, CIR019#Heart failure, CIR020#Cerebral infarction, CIR025#Sequela of cerebral infarction and other cerebrovascular disease, GEN002#Acute and unspecified renal failure, MBD017#Alcohol-related disorders, MUS033#Gout, NEO025#Skin cancers-melanoma, NEO033#Female reproductive system cancers-ovary, NEO043#Urinary system cancers-bladder, NEO065#Multiple myeloma, NVS006#Other specified hereditary and degenerative nervous system conditions, NVS009#Epilepsy and convulsions, NVS011#Neurocognitive disorders, NVS018#Myopathies, SKN003#Pressure ulcer of skin were independent risk factors for in-hospital death.

Among the comorbidities classified by ICD, chapter-II Neoplasms, especially C43#Malignant melanoma of skin, C56#Malignant neoplasm of ovary, C61#Malignant neoplasm of prostate, C67#Malignant neoplasm of bladder, C90#Multiple myeloma and malignant plasma cell neoplasms, F03#Unspecified dementia, F10#Alcohol related disorders, G30#Alzheimer’s disease, G31#Other degenerative diseases of nervous system, not elsewhere classified, G40#Epilepsy and recurrent seizures, G72#Other and unspecified myopathies, I63#Cerebral infarction, I64#Stroke, not specified, I69#Sequelae of cerebrovascular disease, L89#Pressure ulcer, M10#Gout, M16#Osteoarthritis of hip, N19#Unspecified kidney failure, Q04#Other congenital malformations of brain were independent risk factors for in-hospital death.

The multivariate models including only demographic characteristics and comorbidities showed good performance in predicting in-hospital death in the validation group. The AUC ranged from 0.753 to 0.804 (Table 4). Multivariate models including primary diagnosis in addition to the demographic characteristics and comorbidities showed better performance, with AUC ranging from 0.848 to 0.871 (Table S1). Among the different methods for evaluating the comorbidities, the following is a list of models in decreasing order based on AUROC: the Model F (using a binary variable for each comorbidity classified in the Charlson and Elixhauser comorbidity lists) and Model G (using a binary variable for every comorbidity classified in CCSR), Model D (using ECI) and Model B (using CCI), Model C (using number of comorbidities in the Charlson list) and Model E (using number of comorbidities in the Elixhauser list). The AUC of the models using a binary variable for each comorbidity classified in ICD-10 subcategory or category or block of category or chapter was lower than the models using a binary variable for every comorbidity classified in the Charlson and Elixhauser comorbidity lists or CCSR. The best performing model based on AUC included binary variable for each comorbidity in the Charlson and Elixhauser comorbidity lists.


Discussion

To the best of our knowledge, this was the first multicenter large-scale retrospective cohort study in China investigating the association between comorbidities and CAP in-hospital mortality. Our findings demonstrate that comorbidities exhibit significant independent associations with CAP-related mortality. The present study demonstrates that comorbidity burden and severity significantly contribute to the in-hospital mortality, consistent with the existing epidemiological evidence (5,8,9,11,12,17,18). The multivariate models incorporating comorbidity indices, age, and biological sex demonstrate strong discriminative ability for in-hospital mortality.

Age was an independent risk factor for CAP mortality, consistent with finding from prior studies (19,20). The association between age and CAP mortality may be attributed to multiple factors including diminished physiological reserve, frailty, decreased immune function, specific age-related physiologic changes and less aggressive therapeutic interventions in older patients (20). Male sex was an independent risk factor only when comorbidities were assessed by the Charlson or Elixhauser indices or the total comorbidity count, but not when individual comorbidities were included in the multivariate regression model. This observation suggests that the association between sex and CAP mortality may be mediated through differential comorbidity burdens between genders.

Among the Charlson and Elixhauser lists, alcohol abuse, primary tumor, cerebrovascular disease, congestive heart failure, dementia, hypertension, neurological disorders, and renal disease were identified as independent risk factors for CAP death.

Tumor was an independent risk factor for CAP death, which was consistent with the previous studies (5,17,21). Tumors may cause epithelial barrier disruption, aspiration, structural lung abnormalities and fragile. Furthermore, chemotherapy can cause immunosuppression and amplifying CAP severity (22). Given the expanding population of cancer survivors, targeted pneumonia prevention and treatment strategies in this immunocompromised cohort warrant prioritization.

Neurological comorbidities demonstrated significant associations with CAP mortality, particularly cerebrovascular disorders (including stroke and cerebral infarction sequelae), neurodegenerative conditions (dementia, Parkinson’s disease), epilepsy, and neuromuscular disorders (myasthenia gravis, idiopathic myopathies). Similar results have been reported in previous studies. Stroke and neurodegenerative diseases in Blanc et al.’s study (5), dementia and cerebrovascular disease in Hespanhol et al.’s study (18), dementia in Hunt et al.’s study (23), Parkinson’s disease in Chua et al.’s study (24), neurologic disease as a whole in Hannawi et al.’s study (25), cerebrovascular accident in Luna et al.’s study (17) were all independent risk factors for CAP death. However, the cerebrovascular disease was not an independent risk factor in Han et al.’s study (12) in China. This may be because the variables at admission may be the result of comorbidity, weakening the relationship between comorbidities and CAP mortality. Stroke can cause aspiration and immunodepression, which can aggravate pneumonia (25). In patients with dementia, inability to clear airway secretions, dysphagia, weight loss, debility and reduced immune function may all interact to worsen pneumonia (26). It was reported that quite a few myopathy patients had dysphagia (27), which was an important risk factor for pneumonia. Patients with myasthenia gravis were at a higher risk of serious infection, especially bacterial pneumonia (28). Pneumonia was also one of the most common causes of death in patients with epilepsy (29).

Heart failure was identified as an independent risk factor for CAP death, which was consistent with Luna et al.’s (17) and Han et al.’s (12) studies. In patients with heart failure, elevated alveolar fluid accumulation may exacerbate pneumonia progression through impaired bacterial clearance and compromised pulmonary host defenses. Conversely, pneumonia-induced dysregulation of inflammatory pathways and endothelial dysfunction may contribute to the exacerbation of pre-existing cardiovascular conditions (30). The renal disease and kidney failure were independent risk factors for CAP death, which was consistent with the results reported by Blanc et al. (5), Hespanhol et al. (18), Cillóniz et al. (31), and Luna et al. (17). However, the precise pathophysiological mechanisms underlying these associations require further elucidation.

The present study showed that alcohol abuse was an independent risk factor for CAP death. Previous study also showed that patients with alcohol use disorder had impaired host defenses and were at higher risk of pneumonia and poor outcomes (32).

While chronic respiratory diseases [especially chronic obstructive pulmonary disease (COPD), chronic bronchitis, and asthma], chronic heart disease, diabetes mellitus are well-established risk factors for CAP acquisition (33), their prognostic significance differs. In the present study, asthma and bronchiectasis were not significantly associated with CAP death. The association between COPD and CAP death was statistically significant in univariate analysis, but not in multivariate analysis, which was consistent with the previous epidemiological studies. COPD, asthma, and bronchiectasis were also not independent risk factors for CAP death in Cillóniz et al.’s (31), Luna et al.’s (17) and Han et al.’s (12) studies. COPD and asthma were even protective factors for CAP death in Hespanhol et al.’s study (18).

In the present study, hypertension is shown to be an independent protective factor for CAP death. Similarly, Han et al.’s study showed that hypertension was not a risk factor for CAP death (12). The OR values of hypertension on mortality was also significantly lower than 1 in The Agency for Healthcare Research and Quality (AHRQ) ECI system (15). The mechanism needs further study.

Among comorbidities in CCSR category, MUS033#Gout and SKN003#Pressure ulcer of skin were identified as independent risk factors for CAP death. Prior study reported a modest increase in pneumonia incidence among gout patients [adjusted hazard ratio (HR) =1.27], while the pneumonia-related mortality was not significantly changed (34). Gout was previously considered as a pro-inflammatory state that was resistant to infections, including pneumonia (34). The exact relationship between gout and pneumonia mortality needs further study. The present study showed that pressure ulcer was an independent risk factor for CAP death. Pressure ulcer often occurred in patients with impaired mobility, bed-bound and malnutrition (35). Cachexia and mobility impairment in Hespanhol et al.’s study (18) and long-term bedridden status in Han et al.’s study (12) were also independent risk factors for CAP death. The pressure ulcer could be considered as a geriatric syndrome with excess mortality risk (36).

Among comorbidities in ICD category, M16#Osteoarthritis of hip emerged as an independent risk factor for CAP death. These relationships have not been reported in previous studies to our knowledge. However, Singh et al.’s study (37) reported an increase in the incidence of severe infection, including pneumonia among people with osteoarthritis during the study period from 1998–2000 to 2015–2016.

In this retrospective cohort study, we systematically compared multiple comorbidity assessment methodologies. CCI, ECI, number of comorbidities in the Charlson list and Elixhauser list were all effective indicators for comorbidities. The Charlson and Elixhauser lists, CCSR, ICD-10 classifications on different level (chapters, blocks, categories and subcategories) were all valid lists for comorbidities for CAP based on the ICD-10 codes in China.

The CCI and ECI assigned weights to each comorbidity, and showed better performance than the number of comorbidities. The weight of comorbidities in CCI and ECI was derived and validated in general hospitalized populations. In this study, each disease in the Charlson and Elixhauser comorbidity list was entered as binary variables in our CAP-specific model, and this approach achieved higher discriminative ability than the original weighted indices.

The CCSR and Chronic Condition Indicator were developed under the Healthcare Cost and Utilization Project (HCUP) by AHRQ of USA. The CCSR aggregated more than 70,000 ICD-10-CM diagnosis code (version 2021 by Centers for Medicare & Medicaid Services in USA) into hundreds of mutually exclusive clinically meaningful categories (7). It was originally used to analyze costs and outcomes of each case-mix, but was also used to identify the clinical categories of comorbidities (8). Chronic Condition Indicator distinguishes chronic from acute conditions based on ICD-code (13). The mapping table between ICD-10 Chinese clinical modification and CCSR category was developed in the present study and enabling operationalization of these tools in Chinese healthcare contexts. Comorbidities classified by CCSR categories also showed good performance in predicting CAP in-hospital death.

This study was to assess the association between comorbidities and the prognosis of pneumonia. Patients with more comorbidities may have poor prognosis and need early identification, multidisciplinary discussion, and active treatment. Our findings showed that the mortality rate was higher in CAP patients complicated with tumor, nervous system disease, cardiac insufficiency, and renal insufficiency. In clinical research involving pneumonia, it is imperative that patients’ comorbidities be comprehensively documented and reported in detail. Further investigation is warranted to elucidate the complex interactions between various comorbidities and pneumonia, particularly regarding the distinctive pathophysiological manifestations of pneumonia under different comorbid conditions. The targeted treatment plan needs to be further explored.

This study has several limitations. (I) this was a retrospective cohort study, which had the possibility of information bias and misclassification. However, the coding practice was highly standardized and under close scrutiny in Shanghai, China. Our predictive models demonstrated robust discrimination (AUC 0.86, 95% confidence interval: 0.82–0.90), suggesting acceptable data validity; (II) the microbiological diagnosis of CAP, the pneumococcal vaccine coverage, different antibiotic therapies, types of hospital and wards were not available in the present study; (III) the interaction between age and comorbidity or between comorbidities was not included in the multivariate analysis in the present study; (IV) the present study was limited to the data up to 2018 and did not include subsequent years’ data. However, this study reflected the pre-COVID-19 pneumonia landscape. While COVID-19 has emerged as a special type of CAP since 2020, its manifestations, clinical course, pathophysiological mechanisms, and outcome predictors differ substantially from traditional type CAP. The findings of this study provide a valuable control sample for comparative analysis against COVID-19 cases and pneumonia in the post-pandemic era.


Conclusions

A series of comorbidities were recognized as independent risk factors for in-hospital mortality in adults with bacterial CAP. The multivariate model incorporating age, sex and comorbidities can predict the risk of in-hospital death of CAP with good performance.


Acknowledgments

None.


Footnote

Reporting Checklist: The authors have completed the STROBE reporting checklist. Available at https://jtd.amegroups.com/article/view/10.21037/jtd-2024-2081/rc

Data Sharing Statement: Available at https://jtd.amegroups.com/article/view/10.21037/jtd-2024-2081/dss

Peer Review File: Available at https://jtd.amegroups.com/article/view/10.21037/jtd-2024-2081/prf

Funding: This study was supported by the Scientific Research Projects of the Shanghai Municipal Health Commission for youths (No. 20204Y0016); Shanghai Top-Priority Clinical Key Disciplines Construction Project (No. 2017ZZ02014); Shanghai Key Laboratory of Emergency Prevention, Diagnosis and Treatment of Respiratory Infectious Diseases (No. 20dz2261100); Cultivation Project of Shanghai Major Infectious Disease Research Base (No. 20dz2210500); and Shanghai Municipal Key Clinical Specialty (No. shslczdzk02202).

Conflicts of Interest: All authors have completed the ICMJE uniform disclosure form (available at https://jtd.amegroups.com/article/view/10.21037/jtd-2024-2081/coif). The authors have no conflicts of interest to declare.

Ethical Statement: The authors are accountable for all aspects of the work in ensuring that questions related to the accuracy or integrity of any part of the work are appropriately investigated and resolved. This study was conducted in accordance with the Declaration of Helsinki and its subsequent amendments. This study was approved by the Ruijin Hospital Ethics Committee (No. 2018-015-1). Given that the study was retrospective and all data were anonymous, the requirement for informed consent was waived.

Open Access Statement: This is an Open Access article distributed in accordance with the Creative Commons Attribution-NonCommercial-NoDerivs 4.0 International License (CC BY-NC-ND 4.0), which permits the non-commercial replication and distribution of the article with the strict proviso that no changes or edits are made and the original work is properly cited (including links to both the formal publication through the relevant DOI and the license). See: https://creativecommons.org/licenses/by-nc-nd/4.0/.


References

  1. Quan TP, Fawcett NJ, Wrightson JM, et al. Increasing burden of community-acquired pneumonia leading to hospitalisation, 1998-2014. Thorax 2016;71:535-42. [Crossref] [PubMed]
  2. Global, regional, and national age-sex specific mortality for 264 causes of death, 1980-2016: a systematic analysis for the Global Burden of Disease Study 2016. Lancet 2017;390:1151-210. [Crossref] [PubMed]
  3. Global, regional, and national incidence and mortality burden of non-COVID-19 lower respiratory infections and aetiologies, 1990-2021: a systematic analysis from the Global Burden of Disease Study 2021. Lancet Infect Dis 2024;24:974-1002. [Crossref] [PubMed]
  4. Salih W, Schembri S, Chalmers JD. Simplification of the IDSA/ATS criteria for severe CAP using meta-analysis and observational data. Eur Respir J 2014;43:842-51. [Crossref] [PubMed]
  5. Blanc E, Chaize G, Fievez S, et al. The impact of comorbidities and their stacking on short- and long-term prognosis of patients over 50 with community-acquired pneumonia. BMC Infect Dis 2021;21:949. [Crossref] [PubMed]
  6. Simard M, Sirois C, Candas B. Validation of the Combined Comorbidity Index of Charlson and Elixhauser to Predict 30-Day Mortality Across ICD-9 and ICD-10. Med Care 2018;56:441-7. [Crossref] [PubMed]
  7. AHRQ HCUP. Clinical Classifications Software Refined (CCSR) for ICD-10-CM Diagnoses. 2022. Available online: https://hcup-us.ahrq.gov/toolssoftware/ccsr/dxccsr.jsp
  8. Yousufuddin M, Shultz J, Doyle T, et al. Incremental risk of long-term mortality with increased burden of comorbidity in hospitalized patients with pneumonia. Eur J Intern Med 2018;55:23-7. [Crossref] [PubMed]
  9. Weir RE Jr, Lyttle CS, Meltzer DO, et al. The Relative Ability of Comorbidity Ascertainment Methodologies to Predict In-Hospital Mortality Among Hospitalized Community-acquired Pneumonia Patients. Med Care 2018;56:950-5. [Crossref] [PubMed]
  10. Bratzler DW, Normand SL, Wang Y, et al. An administrative claims model for profiling hospital 30-day mortality rates for pneumonia patients. PLoS One 2011;6:e17401. [Crossref] [PubMed]
  11. Bahlis LF, Diogo LP, Fuchs SC. Charlson Comorbidity Index and other predictors of in-hospital mortality among adults with community-acquired pneumonia. J Bras Pneumol 2021;47:e20200257. [Crossref] [PubMed]
  12. Han X, Zhou F, Li H, et al. Effects of age, comorbidity and adherence to current antimicrobial guidelines on mortality in hospitalized elderly patients with community-acquired pneumonia. BMC Infect Dis 2018;18:192. [Crossref] [PubMed]
  13. AHRQ HCUP. Chronic Condition Indicators for ICD-10-CM (beta version). 2022. Available online: https://hcup-us.ahrq.gov/toolssoftware/chronic_icd10/chronic_icd10.jsp
  14. Charlson ME, Pompei P, Ales KL, et al. A new method of classifying prognostic comorbidity in longitudinal studies: development and validation. J Chronic Dis 1987;40:373-83. [Crossref] [PubMed]
  15. Moore BJ, White S, Washington R, et al. Identifying Increased Risk of Readmission and In-hospital Mortality Using Hospital Administrative Data: The AHRQ Elixhauser Comorbidity Index. Med Care 2017;55:698-705. [Crossref] [PubMed]
  16. Cao B, Huang Y, She DY, et al. Diagnosis and treatment of community-acquired pneumonia in adults: 2016 clinical practice guidelines by the Chinese Thoracic Society, Chinese Medical Association. Clin Respir J 2018;12:1320-60. [Crossref] [PubMed]
  17. Luna CM, Palma I, Niederman MS, et al. The Impact of Age and Comorbidities on the Mortality of Patients of Different Age Groups Admitted with Community-acquired Pneumonia. Ann Am Thorac Soc 2016;13:1519-26. [Crossref] [PubMed]
  18. Hespanhol V, Bárbara C. Pneumonia mortality, comorbidities matter? Pulmonology 2020;26:123-9. [Crossref] [PubMed]
  19. Teixeira-Lopes F, Cysneiros A, Dias A, et al. Intra-hospital mortality for community-acquired pneumonia in mainland Portugal between 2000 and 2009. Pulmonology 2019;25:66-70. [Crossref] [PubMed]
  20. Sligl WI, Majumdar SR. How important is age in defining the prognosis of patients with community-acquired pneumonia? Curr Opin Infect Dis 2011;24:142-7. [Crossref] [PubMed]
  21. Xie K, Guan S, Kong X, et al. Predictors of mortality in severe pneumonia patients: a systematic review and meta-analysis. Syst Rev 2024;13:210. [Crossref] [PubMed]
  22. Wong JL, Evans SE. Bacterial Pneumonia in Patients with Cancer: Novel Risk Factors and Management. Clin Chest Med 2017;38:263-77. [Crossref] [PubMed]
  23. Hunt LJ, Morrison RS, Gan S, et al. Mortality and Function After Hip Fracture or Pneumonia in People With and Without Dementia. J Am Geriatr Soc 2025;73:1179-88. [Crossref] [PubMed]
  24. Chua WY, Wang JDJ, Chan CKM, et al. Risk of aspiration pneumonia and hospital mortality in Parkinson disease: A systematic review and meta-analysis. Eur J Neurol 2024;31:e16449. [Crossref] [PubMed]
  25. Hannawi Y, Hannawi B, Rao CP, et al. Stroke-associated pneumonia: major advances and obstacles. Cerebrovasc Dis 2013;35:430-43. [Crossref] [PubMed]
  26. Brunnström HR, Englund EM. Cause of death in patients with dementia disorders. Eur J Neurol 2009;16:488-92. [Crossref] [PubMed]
  27. Labeit B, Pawlitzki M, Ruck T, et al. The Impact of Dysphagia in Myositis: A Systematic Review and Meta-Analysis. J Clin Med 2020;9:2150. [Crossref] [PubMed]
  28. Kassardjian CD, Widdifield J, Paterson JM, et al. Serious infections in patients with myasthenia gravis: population-based cohort study. Eur J Neurol 2020;27:702-8. [Crossref] [PubMed]
  29. Hitiris N, Mohanraj R, Norrie J, et al. Mortality in epilepsy. Epilepsy Behav 2007;10:363-76. [Crossref] [PubMed]
  30. Mancini D, Gibson GT. Impact of Pneumonia in Heart Failure Patients. J Am Coll Cardiol 2021;77:1974-6. [Crossref] [PubMed]
  31. Cillóniz C, Polverino E, Ewig S, et al. Impact of age and comorbidity on cause and outcome in community-acquired pneumonia. Chest 2013;144:999-1007. [Crossref] [PubMed]
  32. Gupta NM, Deshpande A, Rothberg MB. Pneumonia and alcohol use disorder: Implications for treatment. Cleve Clin J Med 2020;87:493-500. [Crossref] [PubMed]
  33. Torres A, Blasi F, Dartois N, et al. 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:984-9. [Crossref] [PubMed]
  34. Spaetgens B, de Vries F, Driessen JHM, et al. Risk of infections in patients with gout: a population-based cohort study. Sci Rep 2017;7:1429. [Crossref] [PubMed]
  35. Mervis JS, Phillips TJ. Pressure ulcers: Pathophysiology, epidemiology, risk factors, and presentation. J Am Acad Dermatol 2019;81:881-90. [Crossref] [PubMed]
  36. Khor HM, Tan J, Saedon NI, et al. Determinants of mortality among older adults with pressure ulcers. Arch Gerontol Geriatr 2014;59:536-41. [Crossref] [PubMed]
  37. Singh JA, Cleveland JD. Hospitalized Infections in People With Osteoarthritis: A National US Study. J Rheumatol 2021;48:933-9. [Crossref] [PubMed]
Cite this article as: Cheng T, Li Y, Gu W, Sun M, Feng Y, Cheng Q. Comorbidities and their impact on in-hospital mortality in hospitalized adult patients with bacterial community-acquired pneumonia: a cohort study. J Thorac Dis 2025;17(7):4909-4928. doi: 10.21037/jtd-2024-2081

Download Citation