Skip to content
Open access

Development and validation of a routine blood test-based model to predict in-hospital postoperative pulmonary infection in older patients with hip fracture.

Jul 2026 · BMC Geriatrics · 0 citations
Medicine

TL;DR

The hematology-based XGBoost model was developed to predict in-hospital PPI in older adults following hip fracture surgery and demonstrated good discriminative performance and interpretability, suggesting its potential utility as a supplementary tool for cost-effective perioperative risk stratification.

Abstract

Background

Postoperative pulmonary infection (PPI) is a common and serious complication in older adults undergoing hip fracture surgery, leading to prolonged hospitalization, increased costs, and increased mortality. However, simple and reliable preoperative predictors remain limited. Therefore, this study aimed to develop and validate a hematology-based machine learning model for the early prediction of PPI in older hip fracture patients.

Methods

A total of 3,944 patients aged ≥ 60 years who underwent hip fracture surgery were retrospectively enrolled from three cohorts: the discovery cohort (n = 1,745, Shanghai Xuhui Central Hospital, 2016-2020), the internal validation cohort (n = 1,306, 2021-2024), and the external validation cohort (n = 893, Shanghai Putuo People's Hospital, 2016-2024). Twenty-four preoperative hematologic variables were analyzed. Six supervised machine learning algorithms were compared via fivefold cross-validation. Model performance was evaluated by the area under the receiver operating characteristic curve (AUC), accuracy, sensitivity, specificity, F1 score, calibration, and decision curve analysis (DCA).

Results

Patients who developed PPI were generally older and exhibited a neutrophil-dominant inflammatory profile, characterized by higher white blood cell counts, neutrophil, monocyte, platelet, and C-reactive protein levels, and lower lymphocyte, eosinophil, and basophil percentages (all p < 0.001). Among the evaluated algorithms, the extreme gradient boosting (XGBoost) model achieved the best overall performance, with AUCs of 1.00, 0.96, and 0.98 in the discovery, internal, and external cohorts, respectively. Calibration curves suggested good agreement between predicted and observed probabilities, and DCA indicated favorable clinical net benefit across threshold probabilities.

Conclusions

A hematology-based XGBoost model was developed to predict in-hospital PPI in older adults following hip fracture surgery. The model demonstrated good discriminative performance and interpretability in this study cohort, suggesting its potential utility as a supplementary tool for cost-effective perioperative risk stratification. However, further prospective validation in diverse populations and healthcare settings is required to confirm its generalizability and clinical applicability.

Read PDF

Similar papers

Open access Aug 2026

Development and internal validation of prediction model for 90-day mortality in older patients with hip fracture using admission blood parameters

The model demonstrated good discriminative ability and calibration, supporting its potential clinical utility in early risk stratification and decision curve analysis demonstrated a higher net clinical benefit than treat‑all or treat‑none strategies across a wide threshold range.

Bo Gao, Qing-Hong Zhou, Xi Chen et al. · 0 citations
Open access Aug 2026

Early risk stratification of postoperative pneumonia after brain tumor surgery using routine perioperative variables: development and prospective multicenter validation of an interpretable prediction model

This interpretable 11-variable model enables early POP risk stratification after brain tumor surgery and may support timely preventive intervention in neurosurgical care.

Hong-Liang Mao, Feng-Chun Mu, Xin-Yu Wang et al. · 0 citations
Open access Aug 2026

Construction and internal validation of a machine learning model for predicting 30-day readmission after hip surgery

The XGBoost-based ML model showed potential for predicting 30-day readmission after hip surgery and may provide supportive information for perioperative risk stratification and modifiable management strategies, particularly nutritional optimization and temperature management.

Cui-Cui Dou, Zhang-An Wang, Ke-Ke Dai et al. · 0 citations
Open access Sep 2026

Machine learning-based prediction of postoperative venous thromboembolism in orthopedic surgery using the MIMIC-IV database and external validation

The LGBM model constructed based on the MIMIC-IV database has excellent predictive efficacy for VTE after orthopedic surgery and certain external generalization abilities, providing a reference for the early identification of high-risk individuals in clinical settings.

Gen-Fa Wu, Geng-Jiao Cai, Gang Wu et al. · 0 citations
Open access Aug 2026

Development and Validation of an Interpretable Machine Learning Model for Predicting In-Hospital Mortality in Diabetic Patients with Sepsis-Associated Acute Kidney Injury.

A CatBoost-based machine learning model incorporating 32 clinically accessible variables showed good predictive performance for in-hospital mortality in patients with diabetes and SA-AKI, supporting early risk stratification and clinical decision-making.

Yan-Ni Wang, Hongjie Shen, Sheng-Ze Wu et al. · 0 citations
Open access Sep 2026

Determinants and Prediction of In-Hospital Mortality in Pneumonia Patients Using Machine Learning Models

Machine-learning models, particularly RF, SVM, and NNET, outperformed LR in internal prediction, however, due to the retrospective single-hospital design and lack of external validation, further multicenter validation is needed before routine clinical use.

Akemat Wongpairin, Ibteesan Che-u-bong, Kulaya Chaibunma et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.