Abstract
Objectives:
Pneumonia is a common perioperative complication in geriatric patients with hip fractures. This study aimed to analyze demographic characteristics, mortality rates, postoperative outcomes, and perioperative comorbidities, identify risk factors for mortality, and develop a nomogram for predicting the prognosis of these patients.
Methods:
Data on patients hospitalized for arthroplasty for hip fractures from 2020 to 2023 at three hospitals were retrospectively analyzed. Patients were divided into the P group (patients with hip fractures complicated with pneumonia) and the C group (patients with hip fractures without pneumonia) and demographic characteristics, mortality, postoperative outcomes, and perioperative comorbidities of the patients were analyzed. Multiple logistic regression was then used to identify independent risk factors for inpatient mortality in the P group and a nomogram was constructed to predict inpatient mortality. The predictive performance of the nomogram was assessed using receiver operating characteristic curves, decision curve analysis, and calibration curves.
Results:
A total of 311 patients participated in the study. Patients in the P group had longer hospitalization (p = 0.001), higher inpatient mortality (p < 0.001), higher mortality (30 days) (p < 0.001), and a poorer recovery of hip function (p < 0.001). Multiple logistic regression showed that age, BMI, total hip arthroplasty, diabetes, and chronic obstructive pulmonary disease were independent risk factors for inpatient mortality in the P group; these factors were incorporated in the nomogram. The C-index of the nomogram was 0.868 (95% CI: 0.802–0.933), and the C-index of internal bootstrapping validation was 0.851 (95% CI: 0.793–0.908), indicating the effectiveness of the nomogram in predicting patient prognosis.
Conclusions:
Coinfection with pneumonia adversely affected both recovery of hip function and survival in geriatric patients with hip fractures. Age, BMI, total hip arthroplasty, diabetes, and chronic obstructive pulmonary disease were found to be independent risk factors for mortality in this patient population.
Introduction
Hip fractures are common in older adults over the age of 65, 1 and they rank among the top 10 causes of disability. 2 Hip fractures are associated with high mortality rates within 30 days of their occurrence. The majority of hip fractures fall into two categories: intertrochanteric fractures and fractures of the femur neck, both of which have a similar incidence. 3 Older adults with hip fractures face a significantly higher risk of cardiovascular, pulmonary, thrombotic, infectious, and hemorrhagic complications compared to the general population of the same age. 4 These complications can potentially lead to the patient’s death. 5
Pneumonia is a common orthopedic perioperative comorbidity and postoperative complication, and its symptoms typically include cough, fever, and respiratory impairment.6,7 It has been shown that older patients with both pneumonia and hip fractures have higher mortality rates and worse prognoses.8,9 However, the reasons for these high mortality rates remain unknown.
Therefore, it is important to explore the specific characteristics of these patients and to predict the risk factors that contribute to their mortality. Here we conducted a retrospective analysis of older patients with hip fractures to investigate the statistical associations. This may facilitate a more accurate assessment of older patients with both hip fractures and pneumonia, thereby guiding clinicians in their diagnostic and therapeutic decision-making processes.
Methods
Study design
This retrospective study included patients requiring inpatient surgery for hip fractures from 2020 to 2023, using data from authors’ affiliated institutions. The hospitals involved in this study have extensive competence and experience in the surgical management of hip fractures. The inclusion criteria for the study were (1) Age > 65; (2) Confirmed hip fracture with an indication for surgery; and (3) Agree to complete the follow-up process. The exclusion criteria were (1) Age < 65 years; (2) Periprosthetic hip fracture; (3) Unable to comply with follow-up; and (4) Pathological fractures.
Data collection
With reference to previous publications on pneumonia, the data collected at baseline included the type of fracture and surgical procedure performed, type of anesthesia, perioperative comorbidities, 3-month postoperative Harris hip score (HHS), 10 and 30-day postoperative mortality. Patients were followed up by telephone at 30 days and 3 months post-operatively and information on mortality and functional indicators (HHS score) was recorded.
Quantitative variables
Patients were divided into the P group (patients with hip fractures complicated by pneumonia) and the C group (patients with hip fractures without pneumonia) based on their chest X-rays. Mortality, functional recovery, and perioperative comorbidities were compared between the two groups. To internally validate the model, the 153 patients of the P group were divided into a training and validation cohort at a 7:3 ratio. Variable selection on the training cohort was performed using univariate logistic regression. Variables with p-values below 0.05 were included in the final multiple regression model. A nomogram was constructed using these factors to predict the risk of mortality during hospitalization for patients in the P group. The predictive performance was evaluated utilizing receiver operating characteristic (ROC) curves, decision curve analysis (DCA), and calibration curves in both training and validation cohorts. The predictive values of the model were assessed according to the C-index. The resampling involved 1000 bootstraps to compute an adjusted C-index for the purpose of internal validation, 11 with C-indices closer to one indicating higher prediction accuracy. DCA was used to evaluate the external consistency of the prediction models. A p-value < 0.05 was considered statistically significant.
Statistical analysis
Sample distributions were tested for normality using the Kolmogorov–Smirnov and Anderson–Darling tests. Non-normally distributed variables were compared using the nonparametric rank-sum test. Dichotomous variables are expressed as frequencies and percentages and were compared using Chi-square tests based on minimum frequencies. Multiple logistic regression analysis was used to determine the relationship between multiple variables and outcome indicators. All statistical tests were performed at a level of alpha = 0.05, and 95% confidence intervals were determined. Data were analyzed using SPSS 22.0 (IBM Corp., Armonk, NY, USA). R Studio (V4.3.2) was used for nomogram construction, ROC curves, DCA, and calibration curve plotting. This study utilized the TRIPOD checklist for standardization purposes. 12
Results
The study initially recruited 476 patients, of whom 165 were screened out based on the exclusion criteria, and the remaining 311 patients with hip fractures were finally enrolled. There were 153 patients in group P and 158 in group C (Figure 1). There were no significant differences between the two groups in terms of sex (p = 0.855), age (p = 0.808), BMI (p = 0.069), fracture type (p = 0.494), and fracture side (p = 0.588). Patients in the P group had a higher prevalence of smoking compared to those in the C group (p = 0.016) (Table 1).

The flow diagram of this study.
Demographic and clinical characteristics of elderly hip fracture patients.
P group: patients with pneumonia; C group: patients without pneumonia; BMI: body mass index; Q1: 25% quartile; Q3: 75% quartile; THA: total hip arthroplasty; HA: hemiarthroplasty; GA: general anesthesia; CSEA: complicated spinal epidural anesthesia; CHD: chronic heart diseases; COPD: chronic obstructive pulmonary disease; VTE: venous thrombosis; CVD: cerebrovascular disease.
Bold numbers represent values less than 0.05, and the difference is statistically significant.
Differences in surgery and anesthesia types were then assessed between the groups, using the parameters of total hip arthroplasty (THA), hemiarthroplasty (HA, general anesthesia (GA), and complicated spinal epidural anesthesia (CSEA). The results showed THA/HA: P (45%/55%), C (42%/58%) (p = 0.633); GA/CSEA: P (56%/44%), C (57%/43%) (p = 0.984) indicating that there were no significant differences in either surgery or anesthesia types between the two groups. It was observed that the mean length of stay (LOS) was longer in the P group relative to the C group (12/11, p = 0.001), and the interval between fracture and surgery (7/5, p < 0.001) was also prolonged (Table 1).
The perioperative comorbidities were analyzed in the 311 patients. These included anemia, chronic heart disease (left ventricular ejection fraction < 40%), hypertension, diabetes, chronic obstructive pulmonary disease (COPD), hepatic insufficiency (total bilirubin > 34 μmol/L or albumin < 35 g/L), renal insufficiency (estimated glomerular filtration rate < 60 mL/min/1.73 m2), venous thrombosis, and cerebrovascular disease. Chronic heart diseases (P: 20%, C: 11%, p = 0.047), COPD (P: 42%, C: 14%, p < 0.001), and renal insufficiency (P: 37%, C: 20%, p = 0.001) were more prevalent in the P group relative to the C group (Table 1). Analysis of inpatient mortality and 30-day postoperative mortality showed that mortality was greater in the P group than in the C group, with inpatient mortality (P: 20%, C: 3%, p < 0.001) and 30-day postoperative mortality (P: 22%, C: 5%, p < 0.001). The HHS scores were also analyzed 3 months after surgery, showing that these were markedly lower in the P group compared to the C group (p < 0.001) (Table 1).
We then explored the risk factors affecting mortality in the P-group patients. We divided the 153 patients in Group P into training cohort (107 patients) and validation cohort (46 patients) according to a 7:3 ratio, and conducted binary univariate logistic regression analysis on the patients in the training set to explore their mortality-related risk factors; the demographic and clinical characteristics of the patients are shown in Table 2. The results of the analysis identified 5 potential predictive factors of the original 17 factors analyzed, each exhibiting p-values below the threshold of 0.05 (Table 2). Subsequent multiple logistic regression analysis of these five predictors indicated that age (p = 0.018, OR = 0.246, 95% CI: 0.077–0.786), BMI (p = 0.002, OR = 0.199, 95% CI: 0.072–0.550), surgery type (p = 0.044, OR = 0.345, 95% CI: 0.122–0.973), diabetes (p < 0.001, OR = 7.020, 95% CI: 1.397–21.553), and COPD (p < 0.001, OR = 10.349, 95% CI: 2.500–39.398) were independent risk factors for inpatient mortality in geriatric patients with hip fractures and pneumonia (Table 3).
Demographic and clinical characteristics of training cohort in P-group patients and results of univariable regression analysis.
OR: odds ratio; 95% CI: 95% confidence interval.
Bold numbers represent values less than 0.05, and the difference is statistically significant.
The results of multivariate logistic regression analysis.
OR: odds ratio; 95% CI: 95% confidence interval.
Inpatient mortality in the training cohort was used as the outcome index. A nomogram was constructed using the identified independent risk factors (Figure 2). The model’s validation relied primarily on its discrimination and calibration. The nomogram had good predictive accuracy with an optimism-corrected C-indices of 0.851 (95% CI: 0.793–0.908) and was well-calibrated as shown in Figure 3.

Nomogram. A nomogram to predict the probability of death in patients with hip fractures complicated pneumonia. Assign a value to each factor, obtain the corresponding value on the horizontal axis, and sum up the values for all factors. Mark the total points on the total axis. The values on the bottom line evaluate the probability of death. Age (0 represents > 75, 1 represents < 75), BMI (0 represents < 18.5 OR >28.0, 1 represents 18.5–27.9), Surgery type (0 represents > 75, 1 represents < 75), COPD (0 represents negative, 1 represents positive), BMI (0 represents negative, 1 represents positive).

(a) and (d) are the ROC curves of the training and validation. The receiver operating characteristic curve (AUC) of nomogram. (b) and (e) are the calibration curves of the training and validation. The x-axis represents the predicted death, while the y-axis represents the actual probability. The diagonal line represents a perfect prediction. The solid line indicates the performance of the nomogram. The closer the solid line fit to the diagonal line represents, the better the prediction model. (c) and (f) are the decision curves of the training and validation. Decision curve analysis for nomogram prediction of risk of mortality in elderly patients with pneumonia complicated with hip fracture. The y-axis represents the net benefit. The solid lines represent the probability of death. The gray thin solid line represents the assumption that all P-group patients die during hospitalization. The solid black line represents the assumption that no P-group patients died during hospitalization.
Discussion
In our study, we observed longer LOS, as well as the time from fracture to surgery, in the P group. We believe that these differences could be attributed to pneumonia-related comorbidities. Corrales et al. 13 showed that hospitalized patients with pneumonia had a higher incidence of cardiovascular disease and a higher in-hospital mortality rate. Suter-Widmer et al. 14 also found that older age, heart failure, and COPD in patients with pneumonia were independently predictive of prolonged hospital stay. This would explain the longer hospitalization of geriatric patients with hip fractures complicated with pneumonia.
It was found that patients in the P group had higher inpatient mortality, 30-day postoperative mortality, and significantly worse HHS at 3 months following surgery and that patients with underlying diseases were more likely to experience severe illnesses. The combination of underlying diseases and reduced immune and organ function often leads to a poorer prognosis. At the same time, the increased postoperative bed rest and reduced functional exercise lead to muscle loss. 15 Menéndez et al. 16 found that hospitalized patients had higher mortality rates for comorbid pneumonia, and that pneumonia was an independent factor for death among geriatric hospitalized patients. Chen et al. 17 also found that obese patients with pneumonia, fractures, and low albumin levels were at higher risk of death. However, further research is needed to clarify the reason for the reduced hip function in geriatric patients with hip fractures complicated by pneumonia.
Based on literature reports on pneumonia, 18 we collected information on perioperative comorbidities in the 311 patients included in the study, showing significant differences in the prevalence of chronic heart diseases (CHD), COPD, and renal insufficiency between the two groups. Previous studies have identified several possible exposure factors for pneumonia complicated with hip fracture. Ochoa-Gondar et al. 19 found that the risk factors for streptococcal pneumonia include old age, low immunity, and COPD. Feldman et al. 20 found that patients with pneumonia had a higher risk of comorbid cardiac complications during the first 7 days of hospitalization. Patients with comorbid pneumonia had a higher risk of developing acute coronary syndrome compared to normal patients. Patients with pneumonia are more likely to have comorbid cardiovascular disease. On the one hand, they are more likely to have comorbidities such as COPD and chronic kidney disease, as well as a variety of other factors associated with old age, while on the other hand, they may have reduced immune function due to malnutrition. Furthermore, fluid accumulation in the alveoli may contribute to disease, as the alveolar fluid slows the immune response while enhancing localized infection. 21 This evidence suggests that patients with comorbid pneumonia have a more fragile immune function and a higher risk of cardiac disease and renal impairment, which persisted in the geriatric hip fracture patients with comorbid pneumonia included in our study. Therefore, prevention of these conditions should be strengthened in this group of patients.
Through a multiple logistic regression analysis of the potential predictors and the construction of a nomogram, ROC curves, DCA, and calibration curves, age, BMI, surgery type, diabetes, and COPD were identified as independent risk factors for mortality in geriatric hip fracture patients with pneumonia. Older age is usually associated with more underlying diseases. 22 We believe that old age is the key factor for the death of patients in group P. Xie et al.’s 23 study showed that old age, male sex, renal injury, Acute Lung Injury/Acute Respiratory Distress Syndrome (ALI/ARDS), hypotension, and other factors may be risk factors for the death of patients with pneumonia. Diabetes is one of the most common underlying diseases in older adults and one of its pathological features is elevated blood glucose, 24 which has been shown in numerous studies to be involved in the glycosylation of complement and immunoglobulins, reducing immune function and thus increasing patient susceptibility to infection. 25 Several studies have also suggested that hyperglycemia can trigger oxidative stress in lung tissues, increasing the levels of oxygen and nitrogen radicals and accelerating the progression of pneumonia.26–28 Our results suggest that immunosuppression induced by hyperglycemia as well as the increased oxidative stress enable faster progression of pneumonia in patients in the P group. In addition, patients in group P were bedridden for a long period, exacerbating pneumonia. At the same time, they had a greater probability of impaired organ function, and the combined effect of these factors may have mediated the fatal outcome. Nutritional status is likewise important in geriatric patients. 29 Previous studies have shown that malnutrition is common in geriatric hip fracture patients, with varying degrees of impact on length of hospitalization, prognosis, and mortality.30,31 Malnutrition can also lead to weakness and sarcopenia, which can have a significant impact on healing and functional recovery.32,33 On the other hand, obesity is also an important factor that threatens life and health. 34 Wang et al. 35 have shown that obese patients with hip fractures have a higher risk of major complications and a higher risk of kidney damage. The present results also found that renal insufficiency and high BMI were risk factors for death in group P, which may be due to obesity-mediated disorders of lipid and fatty acid metabolism that exacerbate renal impairment, and obesity may also mediate comorbidities such as coronary heart disease and dementia.36,37 Our study showed that the odds of death in group P patients who underwent THA was nearly three times higher than that in patients who were treated with HA (OR = 0.345, 95% CI: 0.122–0.973). THA is associated with more surgical trauma, longer postoperative recovery, and bed rest, and is more likely to be associated with surgical comorbidities such as wound infections, pneumonia, and even death. 38 Consequently, the preference for HA may have reduced the risk of patient death in the P group, and further studies with larger sample sizes and more comprehensive indicators are warranted.
However, this study has certain limitations. First, the optimal sample size was not calculated which may have resulted in some bias in the results which have affected the generalizability of the results, despite collecting data from multiple medical centers. We did not register the different levels of severity of the comorbidities (such as CHD and renal insufficiency), which may have led to omissions in the statistics of comorbidities in some patients. The small sample size and the low prevalence of inpatient mortality in this study introduce uncertainty to the accuracy and odds ratios we obtained. At the same time, further research with larger sample sizes is needed in the future and external validation of the model is needed to improve its credibility and enable it to guide clinicians in decision-making.
Conclusion
This study investigated geriatric patients with hip fractures complicated with pneumonia. The results showed that coinfection with pneumonia affected both survival and recovery of hip function in these patients. The study also identified risk factors for death in geriatric hip fracture patients complicated with pneumonia, older age, too high or low BMI, THA, diabetes, and COPD were found to be independent risk factors for mortality in this patient population. A nomogram was also constructed to predict the mortality of these patients. This could guide clinicians in the assessment of geriatric patients with hip fractures and pneumonia.
Footnotes
Acknowledgements
We are grateful to the patients for providing the information and cooperating with our follow-up visit. We are also grateful to these three hospitals for providing us with data.
Author contribution
KZ and XL collected the clinical data and wrote the paper. YL, HZ, and FZ contributed to statistical analysis. CZ reviewed and edited the paper. YX designed the study. MN did the critical review and finalized the paper. Written informed consent to publication was obtained.
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This study was supported by the Kuanren Talents Program of the second affiliated hospital of Chongqing Medical University, the Second Affiliated Hospital of Chongqing Medical University, 2022 COVID-19 Infection Emergency Special Funding Project, and the Program for Youth Innovation in Future Medicine of Chongqing Medical University.
Ethical approval statement
Ethical approval for this study was obtained from the Ethics Committee of the Second Affiliated Hospital of Chongqing Medical University (2023 No. 43, 2023/09/01), The People’s Hospital of Linshui County (LYLL2023073, 2023/09/20) and the People’s Hospital of Fengjie County (2023 No. 76, 2023/09/26).
Informed consent
This study is a retrospective cohort study and written informed consent was exempted by the Institutional Review Board. This study has obtained oral informed consent from patients, who have agreed to collect their data for public publication.
Trial registration
Not applicable: This is a retrospective clinical study and has no registry number.
