Machine learning–based prediction of 30-, 60-, and 90-day postoperative mortality and major complications: an 11-year population-based cohort study in Hong Kong
- 1School of Public Health and Primary Care, The Chinese University of Hong Kong, Hong Kong
- 2The Nethersole School of Nursing, The Chinese University of Hong Kong, Hong Kong
- 3Department of Surgery, The Chinese University of Hong Kong, Hong Kong
Abstract
Background: Existing surgical risk prediction tools are often limited by short-term outcomes. Our study aimed to develop and validate perioperative models and preoperative models for predicting mortality and major complications using surgical data from Hong Kong.
Methods: This population-based retrospective cohort study analysed 11 years of surgical data (July 2014–June 2024) collected from 17 public hospitals in Hong Kong. Of 124 clinically relevant candidate predictors, 67 predictors were retained for the perioperative full models. To improve clinical usability and facilitate preoperative risk assessment, reduced preoperative models were trained using 13 predictors. Separate models were developed for emergency and elective surgery. Primary outcomes were 30-day, 60-day, and 90-day all-cause mortality in emergency and elective surgery cohorts. Secondary outcomes included 30-day major surgical-related and medical-related complications. Multiple risk prediction models were evaluated using training data from 2014 to 2021 with 5-fold stratified cross-validation, while temporal external validation was performed using data from 2022 to 2024. Performance was assessed using the area under the receiver operating characteristic curve (AUROC), area under the precision–recall curve (AUPRC), Brier score, calibration intercept and slope, integrated calibration index (ICI), E50, and E90. SHAP was used for model interpretation. Models showing poor calibration underwent logistic recalibration using five-fold out-of-fold development predictions.
Findings: 43,601 subjects were included in the training set and 16,143 in the external validation set for emergency surgeries, whereas 151,016 subjects were used for training and 37,586 for external validation for elective surgeries. In temporal validation, the perioperative full models achieved AUROCs of 0.89, 0.89, and 0.89 for 30-day, 60-day, and 90-day mortality after emergency surgery and 0.91, 0.90, and 0.90 after elective surgery. Corresponding AUPRCs were 0.27, 0.36, and 0.41 for emergency surgery and 0.05, 0.10, and 0.13 for elective surgery. AUROCs for medical- and surgery-related complications were 0.88 and 0.78 in emergency surgery and 0.87 and 0.80 in elective surgery. The 13-predictor preoperative models retained useful discrimination, although performance was lower than that of the perioperative full models. Calibration assessment indicated variable agreement between predicted and observed risks, supporting the need for recalibration before clinical implementation. Eight complication-specific models showed validation AUROCs ranging from 0.75 to 0.94. SHAP analysis revealed clinically plausible risk factors, such as higher ASA status, abnormal laboratory results (such as renal dysfunction and low albumin), and surgical complexity. Logistic recalibration improved Brier scores and calibration indices across all full and reduced models without changing AUROC or AUPRC.
Interpretation: We have developed and validated comprehensive surgical risk prediction models with excellent discrimination and robust performance using 11 years of population-based data from Hong Kong. The identified predictors were clinically interpretable, which can serve as a data-driven tool to assist clinicians and patients for surgical risk assessments.
Funding: Health and Medical Research Fund (21220531) and National Natural Science Foundation of China (72574190).
Related
- Development and internal validation of a prediction model for severe postoperative complications (Thoracic Morbidity and Mortality Grade ≥ III) after radical esophagectomy.
- Artificial intelligence and machine learning for prediction of postoperative complications: A systematic review focused on anesthesiology, perioperative risk stratification, and clinical applicability.
- Stage Migration, Treatment Patterns, and Machine Learning-Based Prediction of 12-Month Mortality in Lung Adenocarcinoma Across the COVID-19 Era: A SEER Population-Based Study
- Preoperative Mortality Risk Prediction and Equity Using Preoperative Score to Predict Postoperative Mortality in a Diverse US Surgical Population: Retrospective Cohort Study.
- Machine Learning–Based Prediction of Major Postoperative Complications After Noncardiac Surgery Under General Anesthesia Using Routinely Available Electronic Health Record Data: Retrospective Multicenter Development and Validation Study
BibTeX
@article{wei2026machine,
title = {{Machine learning–based prediction of 30-, 60-, and 90-day postoperative mortality and major complications: an 11-year population-based cohort study in Hong Kong}},
author = {Yuchen Wei and Wenze Zhang and Guozhang Lin and Conglu Li and Thomas Yuen Tung Lam and Chi Tim Hung and Eman Leung and Eng Kiong Yeoh and Ka Chun Chong and Yue Sun Cheung and Paul Bo San Lai},
journal = {The Lancet regional health. Western Pacific},
year = {2026},
month = nov,
doi = {10.1016/j.lanwpc.2026.102027},
url = {https://europepmc.org/article/PMC/PMC13788783},
note = {CC BY-NC-ND},
}
RIS
TY - JOUR
TI - Machine learning–based prediction of 30-, 60-, and 90-day postoperative mortality and major complications: an 11-year population-based cohort study in Hong Kong
AU - Yuchen Wei
AU - Wenze Zhang
AU - Guozhang Lin
AU - Conglu Li
AU - Thomas Yuen Tung Lam
AU - Chi Tim Hung
AU - Eman Leung
AU - Eng Kiong Yeoh
AU - Ka Chun Chong
AU - Yue Sun Cheung
AU - Paul Bo San Lai
PY - 2026
DA - 2026/11/01
JO - The Lancet regional health. Western Pacific
DO - 10.1016/j.lanwpc.2026.102027
UR - https://europepmc.org/article/PMC/PMC13788783
AB - Background: Existing surgical risk prediction tools are often limited by short-term outcomes. Our study aimed to develop and validate perioperative models and preoperative models for predicting mortality and major complications using surgical data from Hong Kong. Methods: This population-based retrospective cohort study analysed 11 years of surgical data (July 2014–June 2024) collected from 17 public hospitals in Hong Kong. Of 124 clinically relevant candidate predictors, 67 predictors were retained for the perioperative full models. To improve clinical usability and facilitate preoperative risk assessment, reduced preoperative models were trained using 13 predictors. Separate models were developed for emergency and elective surgery. Primary outcomes were 30-day, 60-day, and 90-day all-cause mortality in emergency and elective surgery cohorts. Secondary outcomes included 30-day major surgical-related and medical-related complications. Multiple risk prediction models were evaluated using training data from 2014 to 2021 with 5-fold stratified cross-validation, while temporal external validation was performed using data from 2022 to 2024. Performance was assessed using the area under the receiver operating characteristic curve (AUROC), area under the precision–recall curve (AUPRC), Brier score, calibration intercept and slope, integrated calibration index (ICI), E50, and E90. SHAP was used for model interpretation. Models showing poor calibration underwent logistic recalibration using five-fold out-of-fold development predictions. Findings: 43,601 subjects were included in the training set and 16,143 in the external validation set for emergency surgeries, whereas 151,016 subjects were used for training and 37,586 for external validation for elective surgeries. In temporal validation, the perioperative full models achieved AUROCs of 0.89, 0.89, and 0.89 for 30-day, 60-day, and 90-day mortality after emergency surgery and 0.91, 0.90, and 0.90 after elective surgery. Corresponding AUPRCs were 0.27, 0.36, and 0.41 for emergency surgery and 0.05, 0.10, and 0.13 for elective surgery. AUROCs for medical- and surgery-related complications were 0.88 and 0.78 in emergency surgery and 0.87 and 0.80 in elective surgery. The 13-predictor preoperative models retained useful discrimination, although performance was lower than that of the perioperative full models. Calibration assessment indicated variable agreement between predicted and observed risks, supporting the need for recalibration before clinical implementation. Eight complication-specific models showed validation AUROCs ranging from 0.75 to 0.94. SHAP analysis revealed clinically plausible risk factors, such as higher ASA status, abnormal laboratory results (such as renal dysfunction and low albumin), and surgical complexity. Logistic recalibration improved Brier scores and calibration indices across all full and reduced models without changing AUROC or AUPRC. Interpretation: We have developed and validated comprehensive surgical risk prediction models with excellent discrimination and robust performance using 11 years of population-based data from Hong Kong. The identified predictors were clinically interpretable, which can serve as a data-driven tool to assist clinicians and patients for surgical risk assessments. Funding: Health and Medical Research Fund (21220531) and National Natural Science Foundation of China (72574190).
SN - 2666-6065
ER -