Machine-learning models for preoperative prediction of new-onset hypocalcemia within 48 h after intertrochanteric fracture surgery in older adults.
- 1Department of Orthopaedic Surgery, Zhangzhou Affiliated Hospital of Fujian Medical University, Zhangzhou, Fujian, China.
- 2The Second Clinical Medical College, Fujian Medical University, Zhangzhou, Fujian, China.
Abstract
Background
Older adults undergoing surgery for intertrochanteric fractures are vulnerable to early perioperative metabolic disturbances. We evaluated preoperative machine-learning models and compared them with single-predictor and conventional regression benchmarks for new-onset hypocalcemia within 48 h after surgery.Methods
This single-center retrospective study included 332 patients aged ≥65 years with preoperative corrected calcium concentrations ≥2.15 mmol/L. Hypocalcemia was defined as an albumin-corrected calcium concentration <2.15 mmol/L. The primary analysis used Boruta feature selection and stratified five-fold outer cross-validation repeated five times, with four-fold inner cross-validation for hyperparameter tuning by AUROC. Imputation, preprocessing, feature selection, and tuning were repeated within each outer training fold. Models were compared using patient-level repeated out-of-fold predictions.Results
New-onset hypocalcemia occurred in 92 patients (27.7%). The out-of-fold AUROCs were 0.639 for corrected calcium alone, 0.615 for albumin alone, and 0.442 for measured total calcium alone, compared with 0.670 for conventional logistic regression, 0.671 for a generalized additive model, and 0.6829 (95% CI: 0.6177-0.7407) for Stable Kernel Naive Bayes. The AUROC difference between Stable Kernel Naive Bayes and corrected calcium alone was 0.044 (95% CI: -0.022 to 0.105). Stable Kernel Naive Bayes had a PR-AUC of 0.4276 (95% CI: 0.3401-0.5337) and a Brier score of 0.1853 (95% CI: 0.1631-0.2078). Corrected calcium was selected in all 25 outer training folds. Chronological evaluation using 2015-2022 for development and 2023-2025 for evaluation yielded an AUROC of 0.7083 (95% CI: 0.5957-0.8210).Conclusion
Preoperative corrected calcium captured much of the available predictive information. Multivariable models showed modest discrimination, without a clear incremental advantage over corrected calcium alone. The findings support further evaluation of preoperative risk stratification; effects on monitoring and patient outcomes require prospective assessment.
Related
- Explainable machine learning for preoperative prediction of acute kidney injury after intertrochanteric fracture surgery in older adults
- Development and external validation of a preoperative prediction model for in-hospital major adverse cardiovascular events after hip fracture surgery in older adults: a retrospective two-center study.
- Pseudarthrosis and breakage of a short cephalomedullary nail following an intertrochanteric fracture: a case report
- Impact of intertrochanteric bone mineral density on the accuracy of preoperative templating in cementless total hip arthroplasty: a retrospective cohort study of 510 hips.
- Development and validation of machine learning models for preoperative prediction of perioperative outcomes in patients with thymic epithelial tumors
BibTeX
@article{gao2026machinelearning,
title = {{Machine-learning models for preoperative prediction of new-onset hypocalcemia within 48 h after intertrochanteric fracture surgery in older adults.}},
author = {Hongpeng Gao and Weizhang Lin and Ximing Lin},
journal = {Frontiers in medicine},
year = {2026},
month = nov,
doi = {10.3389/fmed.2026.1967654},
url = {https://europepmc.org/article/MED/43080276},
note = {CC BY},
}
RIS
TY - JOUR
TI - Machine-learning models for preoperative prediction of new-onset hypocalcemia within 48 h after intertrochanteric fracture surgery in older adults.
AU - Hongpeng Gao
AU - Weizhang Lin
AU - Ximing Lin
PY - 2026
DA - 2026/11/10
JO - Frontiers in medicine
DO - 10.3389/fmed.2026.1967654
UR - https://europepmc.org/article/MED/43080276
AB - Background Older adults undergoing surgery for intertrochanteric fractures are vulnerable to early perioperative metabolic disturbances. We evaluated preoperative machine-learning models and compared them with single-predictor and conventional regression benchmarks for new-onset hypocalcemia within 48 h after surgery.Methods This single-center retrospective study included 332 patients aged ≥65 years with preoperative corrected calcium concentrations ≥2.15 mmol/L. Hypocalcemia was defined as an albumin-corrected calcium concentration <2.15 mmol/L. The primary analysis used Boruta feature selection and stratified five-fold outer cross-validation repeated five times, with four-fold inner cross-validation for hyperparameter tuning by AUROC. Imputation, preprocessing, feature selection, and tuning were repeated within each outer training fold. Models were compared using patient-level repeated out-of-fold predictions.Results New-onset hypocalcemia occurred in 92 patients (27.7%). The out-of-fold AUROCs were 0.639 for corrected calcium alone, 0.615 for albumin alone, and 0.442 for measured total calcium alone, compared with 0.670 for conventional logistic regression, 0.671 for a generalized additive model, and 0.6829 (95% CI: 0.6177-0.7407) for Stable Kernel Naive Bayes. The AUROC difference between Stable Kernel Naive Bayes and corrected calcium alone was 0.044 (95% CI: -0.022 to 0.105). Stable Kernel Naive Bayes had a PR-AUC of 0.4276 (95% CI: 0.3401-0.5337) and a Brier score of 0.1853 (95% CI: 0.1631-0.2078). Corrected calcium was selected in all 25 outer training folds. Chronological evaluation using 2015-2022 for development and 2023-2025 for evaluation yielded an AUROC of 0.7083 (95% CI: 0.5957-0.8210).Conclusion Preoperative corrected calcium captured much of the available predictive information. Multivariable models showed modest discrimination, without a clear incremental advantage over corrected calcium alone. The findings support further evaluation of preoperative risk stratification; effects on monitoring and patient outcomes require prospective assessment.
SN - 2296-858X
ER -