BPG is committed to discovery and dissemination of knowledge
Retrospective Cohort Study
Copyright: ©Author(s) 2026. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution-NonCommercial (CC BY-NC 4.0) license. No commercial re-use. See permissions. Published by Baishideng Publishing Group Inc.
World J Gastrointest Surg. Nov 27, 2026; 18(11): 123786
Published online Nov 27, 2026. doi: 10.4240/wjgs.123786
Development and validation of a postoperative prediction model for residual stones after hepatectomy in patients with hepatolithiasis
Han-Rui Shao, Di Zeng, Xin Chen, Ya Zhu, Li-Xin Liu, Song-Ling Zhao, Hao Zou
Han-Rui Shao, Xin Chen, Ya Zhu, Li-Xin Liu, Song-Ling Zhao, Hao Zou, Department of Hepatopancreatobiliary Surgery, The Second Affiliated Hospital of Kunming Medical University, Kunming 650106, Yunnan Province, China
Di Zeng, Department of Pathology, Baoji Central Hospital, Baoji 721008, Shaanxi Province, China
Co-first authors: Han-Rui Shao and Di Zeng.
Author contributions: Shao HR, Zeng D, Chen X, Zhu Y, and Zou H conceived and designed the study; Shao HR, Zeng D, Chen X, Zhu Y, Liu LX, Zhao SL, and Zou H collected and verified the clinical data; Shao HR and Zeng D performed the statistical analyses and drafted the manuscript; Chen X, Zhu Y, Liu LX, Zhao SL, and Zou H critically reviewed and revised the manuscript; all authors read and approved the final manuscript; Shao HR and Zeng D contributed equally to this work as co-first authors.
AI contribution statement: ChatGPT (OpenAI) was utilized solely for English-language editing, structural improvements, and formatting assistance during the preparation and revision of the manuscript. All content generated with the help of AI was carefully reviewed, verified, and revised by the authors. AI tools were not used to collect research data, perform statistical analyses, interpret findings, or formulate scientific conclusions. The authors are fully responsible for the accuracy, originality, integrity, and scientific validity of the manuscript and all accompanying materials.
Supported by Yunnan Fundamental Research Projects, No. 202501AY070001-033; and Yunnan Clinical Medicine Center Research Projects, No. 2024YNLCYXZX0521.
Institutional review board statement: This study was reviewed and approved by the Medical Ethics Committee of the Second Affiliated Hospital of Kunming Medical University (approval No. Shen-PJ-Ke-2023-221).
Informed consent statement: The requirement for written informed consent was waived by the Medical Ethics Committee of the Second Affiliated Hospital of Kunming Medical University because of the retrospective nature of the study, the use of existing medical records, and the minimal risk posed to the participants. All patient data were anonymized and handled in accordance with applicable confidentiality and privacy requirements.
Conflict-of-interest statement: The authors declare that they have no conflict of interest to disclose.
STROBE statement: The authors have read the STROBE Statement—a checklist of items, and the manuscript was prepared and revised according to the STROBE Statement-a checklist of items.
Data sharing statement: The datasets generated and/or analyzed during the current study are not publicly available because they contain potentially identifiable patient information. De-identified data may be obtained from the corresponding author upon reasonable request, subject to approval by the relevant institutional ethics committee.
Corresponding author: Hao Zou, MD, Doctor, Department of Hepatopancreatobiliary Surgery, The Second Affiliated Hospital of Kunming Medical University, No. 374 Dianmian Avenue, Wu Hua District, Kunming 650106, Yunnan Province, China. haozoukm@163.com
Received: June 3, 2026
Revised: July 22, 2026
Accepted: September 8, 2026
Published online: November 27, 2026
Processing time: 162 Days and 13.6 Hours
Abstract
BACKGROUND

Residual stones after hepatectomy for hepatolithiasis are associated with recurrent cholangitis, repeat interventions, and long-term biliary morbidity. Current classification systems assist in disease characterization and operative planning but fail to provide individualized risk estimates in the early postoperative period.

AIM

To develop and internally validate an early postoperative model for predicting residual stones in patients with hepatolithiasis after hepatectomy.

METHODS

This study included 300 consecutive patients who underwent hepatectomy between January 2019 and December 2022. Residual stones were identified by postoperative imaging within 1 year and classified as incomplete clearance rather than recurrence. The cohort was randomly split into a development dataset (70%) and a held-out internal validation dataset (30%), and 12 candidate prediction models were developed and compared. Within the development dataset, preprocessing, feature shrinkage, hyperparameter tuning, and algorithm selection were performed using repeated nested cross-validation (outer 5-fold cross-validation repeated three times; inner 5-fold cross-validation). The final model was then locked and evaluated in the held-out validation cohort. Model performance was evaluated based on discrimination, prediction error, calibration, threshold-based classification, and decision-curve analysis.

RESULTS

Residual stones were identified in 82 of 300 patients (27.3%). The development cohort included 211 patients (58 events), and the validation cohort included 89 patients (24 events). Based solely on the out-of-fold performance within the development cohort, least absolute shrinkage and selection operator-penalized logistic regression (LASSO-LR) was selected as the final model. This model achieved a patient-level out-of-fold area under the receiver operating characteristic curve (AUC) of 0.849 [95% confidence interval (CI): 0.794-0.904] and a Brier score of 0.138. In the validation cohort, the AUC was 0.877 (95%CI: 0.807-0.947) with a Brier score of 0.134, confirming stable discrimination and predictive accuracy. Using the development-derived cutoff of 0.270, the validation sensitivity, specificity, and negative predictive value were 0.875, 0.785, and 0.944, respectively. The final model retained four predictors: Operative time, bilateral stone distribution, T-tube drainage, and postoperative biliary stricture before outcome ascertainment. Calibration intercepts neared zero in both cohorts, and decision-curve analysis showed net benefit across threshold probabilities from 0.05 to 0.40.

CONCLUSION

The LASSO-LR model demonstrated favorable internally validated performance for early postoperative residual-stone risk stratification and may facilitate individualized surveillance after hepatectomy for hepatolithiasis.

Keywords: Hepatolithiasis; Hepatectomy; Residual stones; Least absolute shrinkage and selection operator-penalized logistic regression; Prediction model

Core Tip: Residual stones remain an important and clinically consequential challenge after hepatectomy for hepatolithiasis, yet individualized tools for early postoperative risk stratification remain limited. In this retrospective cohort of 300 consecutive patients, 12 complete prediction pipelines were rigorously compared using repeated nested cross-validation within the development cohort, and least absolute shrinkage and selection operator-penalized logistic regression was selected before evaluation in a strictly held-out internal validation cohort. The final model retained only four routinely available perioperative predictors: Operative time, bilateral stone distribution, T-tube drainage, and postoperative biliary stricture documented before outcome ascertainment, and achieved an internally validated area under the receiver operating characteristic curve of 0.877 with a Brier score of 0.134 and a negative predictive value of 0.944. Its combination of parsimony, interpretability, low data-acquisition burden, and stable internally validated performance represents a practical strength for postoperative risk stratification. The model may help identify patients who warrant intensified surveillance and earlier imaging assessment, while independent external validation remains necessary before routine clinical implementation.

Write to the Help Desk