The study was approved by the Medical Ethics Committee of Tianjin Hospital of Integrated Traditional Chinese and Western Medicine, Nankai Hospital (NKYY_YXKT_IRB_2025_164_01), with a waiver of written informed consent because of the retrospective study design and the use of de-identified data. The research tools used in this protocol are listed in the Table of Materials.
1. Study design
This single-center retrospective cohort study was conducted in the Department of Hepatobiliary Surgery, Tianjin Hospital of Integrated Traditional Chinese and Western Medicine, and Nankai Hospital. Consecutive adult patients who underwent surgery for intrahepatic bile duct stone clearance between January 1, 2015, and December 31, 2022, were screened. Follow-up continued until the first recurrence event, death, loss to follow-up, or the administrative censoring date of June 30, 2025.
2. Study population
Patients were eligible if they were aged ≥18 years, had intrahepatic bile duct stones confirmed by preoperative imaging, underwent surgery with the intention of complete stone clearance, and had no residual stones confirmed by intraoperative choledochoscopy or imaging within 30 days after surgery. Preoperative fasting serum RBP4, measured within 7 days before surgery or from stored serum for subsequent measurement, was also required.
Patients were excluded if they had isolated extrahepatic bile duct stones without intrahepatic involvement, hepatobiliary malignancy, previous liver transplantation, Child-Pugh class C liver failure, baseline eGFR <30 mL/min/1.73 m2, pregnancy, sepsis at admission, hemodynamic instability requiring support, unverifiable key baseline variables, or less than 6 months of follow-up without recurrence. Patients with stones detected within 6 months after surgery were considered to have residual stones and were excluded from the primary analysis.
Patients with an eGFR of 30–59 mL/min/1.73 m2 were retained in the primary analysis. Subgroup analysis of patients with an eGFR ≥60 mL/min/1.73 m2 was performed solely to assess whether the association between RBP4 and recurrence persisted among patients with relatively preserved renal function.
3. Data collection and candidate predictors
Clinical, laboratory, imaging, operative, and follow-up data were extracted from electronic medical records, laboratory information systems, imaging archives, operative records, and biobank records. Two investigators independently extracted the data using a predefined variable dictionary. Discrepancies were resolved through review of the original records and adjudication by a third investigator.
Candidate predictors were selected based on clinical relevance, previous literature, and availability before surgery or before discharge. These included age, sex, body mass index, diabetes, albumin, total bilirubin, γ-glutamyl transferase, eGFR, C-reactive protein, prior episodes of cholangitis, bilobar involvement, biliary stricture, maximal stone diameter, and serum RBP4. Operative variables, including hepatectomy, biliary reconstruction, operative duration, intraoperative blood loss, and postoperative complications, were recorded for descriptive and sensitivity analyses but were not included in the primary model because the intended application of the model was preoperative or early perioperative risk estimation.
4. Measurement of serum retinol-binding protein 4 (RBP4)
Serum retinol-binding protein 4 (RBP4) was measured using fasting venous blood collected within 7 days before surgery. All RBP4 values were expressed uniformly as mg/L. When a quantitative preoperative RBP4 result was available in the laboratory information system, that value was used. For patients without a historical laboratory result but with available stored serum, RBP4 was measured using samples that had been aliquoted and stored at −80 °C immediately after collection. The maximum storage interval before assay was 36 months; samples exceeding this interval were not used.
To minimize protein degradation and repeated freeze-thaw artifacts, each sample underwent no more than one freeze-thaw cycle before analysis. Samples were thawed at 4 °C for 30 min and then brought to room temperature before assay. RBP4 was quantified using a validated double-antibody sandwich immunoassay according to the manufacturer's instructions. Briefly, 100 µL of diluted serum (1:200 in assay diluent) and standards were added to microtiter plates pre-coated with anti-human RBP4 antibody, incubated for 2 h at 37 °C, washed, and subsequently incubated with detection antibody and streptavidin-HRP for 1 h at 37 °C. After color development with TMB substrate for 15 min at room temperature in the dark, the reaction was terminated with 2 M H₂SO₄, and absorbance was measured at 450 nm with a reference wavelength of 570 nm using a microplate reader.
Each plate included a seven-point standard curve (0.156–10 mg/L) and two levels of commercially available quality-control materials (low and high). Assay runs were accepted only when control values were within ±15% of their expected ranges, and the coefficient of variation of duplicate samples was < 10%. All measurements were performed in duplicate, and the mean value was used for analysis.
5. Biosafety and waste handling
All blood samples and associated reagents were handled in accordance with institutional biosafety protocols for human biological materials. Serum processing and ELISA procedures were performed in a biosafety level 2 (BSL-2) laboratory. All contaminated materials (pipette tips, microplates, and serum residues) were decontaminated by immersion in 0.5% sodium hypochlorite for at least 30 min before disposal as biohazardous waste and were subsequently autoclaved at 121 °C for 20 min before final disposal. Sharps and other disposable equipment were discarded in puncture-proof containers. Personal protective equipment, including gloves, laboratory coats, and safety goggles, was used throughout the procedure.
6. Imaging assessment and diagnostic criteria for recurrence
Preoperative imaging included abdominal ultrasonography, contrast-enhanced computed tomography, magnetic resonance cholangiopancreatography, or a combination of these modalities. The imaging predictors included in the model were bilobar involvement, biliary stricture, and maximal stone diameter. Bilobar involvement was defined as the presence of stones in both the left and right intrahepatic duct systems. Biliary stricture was defined as localized narrowing of the intrahepatic or hilar bile duct with upstream ductal dilatation. Maximal stone diameter was defined as the longest diameter of the largest intrahepatic stone measured on preoperative imaging.
Postoperative recurrence was diagnosed when one or more newly detected intrahepatic duct stones with a maximal diameter of at least 5 mm were identified at least 6 months after surgery. Recurrent stones were defined as intraductal echogenic foci with posterior acoustic shadowing on ultrasonography, hyperattenuating intraductal foci on computed tomography, or filling defects (signal voids) within the intrahepatic bile ducts on magnetic resonance cholangiopancreatography. Both single and multiple stones were classified as recurrence if they met the above criteria.
Two radiologists independently reviewed the imaging data while blinded to the RBP4 values. Disagreements were resolved through review by a senior radiologist. Inter-rater agreement was assessed using Cohen's κ for categorical variables and the intraclass correlation coefficient for maximal stone diameter.
7. Missing data
The proportion of missing data was assessed before model development. Variable-specific missingness was low, ranging from 0% to 5.1% across the candidate predictors. Patients with key baseline information that could not be verified from the source records were excluded during cohort construction. For the remaining analytic cohort, variables with limited missingness were handled using multiple imputation by chained equations, assuming missingness was at random.
The imputation model included all candidate predictors, the recurrence indicator, and the Nelson-Aalen estimate of the cumulative baseline hazard to account for the time-to-event outcome. Twenty imputed datasets were generated with 10 iterations each. Convergence was assessed using trace plots, and the distributions of observed and imputed values were compared to confirm that the imputed values were clinically plausible. A complete case analysis was performed as a sensitivity analysis to assess the robustness of the results. Missingness for individual variables is summarized in Supplementary Table 1.
8. Model development and LASSO penalization
Patients were divided into development and temporal validation cohorts according to the year of surgery. Patients treated between 2015 and 2019 comprised the development cohort, whereas those treated between 2020 and 2022 comprised the temporal validation cohort. Follow-up time was calculated from discharge to recurrence or censoring.
The primary prediction model was developed in the development cohort using Cox proportional hazards regression. RBP4 was modeled using restricted cubic splines with knots placed at the 5th, 35th, 65th, and 95th percentiles to allow for a nonlinear association with recurrence, as recommended for modeling nonlinear relationships in epidemiological data11. The overall association and nonlinear component of RBP4 were evaluated using joint tests of the spline terms. Because individual spline basis coefficients do not have direct clinical interpretation, the effect of RBP4 was summarized using the overall P value, the P value for nonlinearity, and the hazard ratio comparing the 75th and 25th percentiles of RBP4.
LASSO penalization was applied within the prespecified candidate predictor set to reduce overfitting and improve model stability. The use of LASSO was prespecified when the effective number of model parameters approached the commonly recommended range of 10–20 recurrence events per parameter, particularly after accounting for spline terms and clinically relevant covariates. The penalty parameter was selected by cross-validation in the development cohort. Predictors with nonzero coefficients after penalization were retained in the final model. Although LASSO penalization was applied, all variables retained in the final model were also clinically prespecified. Therefore, the penalization procedure was used primarily for coefficient stabilization rather than exploratory variable selection.
The final model included RBP4, age, albumin, estimated glomerular filtration rate, prior episodes of cholangitis, bilobar involvement, biliary stricture, maximal stone diameter, and diabetes. Variance inflation factors were calculated to assess collinearity, and the proportional hazards assumption was evaluated using Schoenfeld residuals.
9. Nomogram construction and risk stratification
A nomogram was constructed from the final penalized Cox model to estimate individual 1-year and 3-year recurrence probabilities. The baseline survival function was estimated using the Breslow method. In the nomogram, the RBP4 axis displays raw serum RBP4 values in mg/L. Points assigned to RBP4 were derived from the restricted cubic spline transformation used in the Cox model; therefore, the point scale for RBP4 is nonlinear. Users should locate the patient's raw RBP4 value on the nomogram and read the corresponding point value directly.
Patients were stratified into low-, intermediate-, and high-risk groups according to tertiles of the predicted 3-year recurrence risk in the development cohort. The same cutoff values were applied to the temporal validation cohort. Recurrence-free survival across the risk groups was estimated using Kaplan-Meier curves and compared using the log-rank test.
10. Model validation and prediction error
Internal validation was performed using 1,000 bootstrap resamples in the development cohort to estimate optimism in model performance. Temporal validation was subsequently performed in the 2020–2022 cohort using the model developed in the development cohort.
Model discrimination was assessed using Harrell's C-index and the time-dependent area under the receiver operating characteristic curve at 1 and 3 years. Calibration was evaluated using calibration curves, calibration intercepts, and calibration slopes. Overall prediction error was assessed using inverse probability of censoring-weighted Brier scores. To facilitate interpretation, the model Brier scores were compared with the corresponding null-model Brier scores estimated from the marginal recurrence probability at each time point.
Clinical utility was evaluated using decision curve analysis at 1 and 3 years over threshold probabilities ranging from 5% to 40%, a range selected to reflect clinically plausible decision thresholds and current guidance for evaluating prediction models in medical decision-making12. Net benefit was compared with treat-all and treat-none strategies. Model utility was interpreted with particular attention to the intermediate threshold range because the observed net benefit was concentrated primarily between threshold probabilities of approximately 10% and 30%.
11. Incremental value of RBP4
To evaluate the incremental value of RBP4, the full model was compared with a clinical-only model that included the same clinical and imaging predictors but excluded RBP4. The two models were compared using changes in Harrell's C-index, time-dependent AUC, Brier score, decision curve analysis, net reclassification improvement, integrated discrimination improvement, and likelihood ratio testing. Because integrated discrimination improvement represents an absolute change in average predicted risk separation, small IDI values were interpreted cautiously and in conjunction with the calibration and decision-curve findings.
12. Sensitivity, surgical heterogeneity, and competing-risk analyses
Several sensitivity analyses were performed. First, the model was refitted among patients with an eGFR ≥60 mL/min/1.73 m2 to assess whether the association between RBP4 and recurrence persisted in those with relatively preserved renal function. Second, the model was refitted among patients with a C-reactive protein concentration ≤10 mg/L to evaluate whether the association between RBP4 and recurrence remained consistent in patients without marked systemic inflammation. For these subgroup analyses, patients were additionally restricted to those with complete information for all variables required in the corresponding sensitivity models. The final analytical sample sizes are reported in Table 7. Third, assay source was added as a covariate to assess the influence of the measurement platform. Fourth, a complete-case analysis was performed to evaluate the impact of multiple imputation.
Because surgical heterogeneity may influence recurrence risk, operative variables, including hepatectomy and biliary reconstruction, were summarized descriptively. Biliary reconstruction was additionally evaluated in a sensitivity analysis to determine whether adjustment for the surgical approach materially altered the association between RBP4 and recurrence. These operative variables were not included in the primary model because they are not purely preoperative predictors, and the model was intended for preoperative or early perioperative risk estimation.
Death without recurrence was analyzed as a competing event using Fine-Gray regression. The Cox model was retained as the primary prediction model for recurrence-free surveillance, whereas Fine-Gray analysis was performed as a prespecified secondary analysis to determine whether competing mortality materially altered the association between RBP4 and recurrence. Sub-distribution hazard ratios and 95% confidence intervals were reported.
13. Statistical analysis
Continuous variables were summarized as the mean ± standard deviation or median (interquartile range), depending on their distribution. Categorical variables were summarized as counts and percentages. Between-group comparisons were performed using the independent-samples t test or the Wilcoxon rank-sum test for continuous variables and the χ2 test or Fisher's exact test for categorical variables, as appropriate. All statistical tests were two-sided, and P < 0.05 was considered statistically significant. Analyses were performed using a statistical software with the survival, rms, mice, timeROC, riskRegression, glmnet, and related packages.