Introduction

Laparoscopic cholecystectomy (LC) has become the mainstay of treatment for gallbladder removal due to its association with low mortality and morbidity rates1,2. Compared to traditional open cholecystectomy, LC offers numerous advantages, including minimally invasive techniques, reduced postoperative complications, shorter hospital stays, and lower overall medical costs3,4. However, despite advancements in laparoscopic technology and improved management of intraoperative complications during LC, bile duct injuries during surgery and postoperative cystic duct leaks remain significant challenges. These complications are particularly prevalent in early laparoscopic cholecystectomy (ELC) for acute cholecystitis: according to Tokyo Guideline 2018’s criteria5, ELC for ACC was defined as performing laparoscopic cholecystectomy within 72 h of onset in patients. The extensive inflammation, adhesions, and increased bleeding associated with acute cholecystitis make laparoscopic dissection of Calot’s triangle and identification of the biliary anatomy difficult and hazardous2,6. To minimize the occurrence of these severe complications, surgeons are often forced to convert LC procedures to open cholecystectomy in cases encountering significant inflammation, adhesions, or unclear anatomical relationships around the gallbladder during surgery7,8. Therefore, a deeper understanding of preoperative risk factors associated with conversion to open surgery is crucial for safer procedures and more effective surgical planning. This study aims to investigate and assess the potential preoperative risk factors that could influence conversion rates in ELC for patients with acute calculous cholecystitis (ACC). By exploring these factors, the primary objective is to develop and externally validate a predictive model based on multicenter, cross-sectional research data. This model will aid in identifying patients at higher risk of conversion, allowing surgeons to tailor surgical approaches and optimize patient outcomes.

Methods

Patient data source

This multicenter, cross-sectional study utilized data extracted from the electronic medical records systems of eight hospitals in China. The study period spanned from January 2013 to December 2023. A total of 3191 patients with ACC who underwent ELC were included. Inclusion criteria were:1 first occurrence and diagnosis of ACC confirmed by the presence of fever and/or chills, laboratory evidence of inflammation and/or abnormal liver function, and imaging confirmation of gall bladder calculus9,2. Patients who underwent early laparoscopic cholecystectomy within 72 h of illness onset, according to the Tokyo Guidelines 2018 (TG18) criteria10. Exclusion criteria included:1 Patients with chronic cholecystitis: repeatedly and continuously chronic inflammation of the gallbladder;2 acute cholecystitis developed from the previous chronic cholecystitis;3 ACC complicated by acute pancreatitis;4 non-calculous acute cholecystitis, or choledocholithiasis requiring simultaneous choledocholithotomy and T-tube drainage during LC;4 gallbladder cancer cases were also excluded.

Measurement outcomes

Demographic characteristics, corresponding physical examination findings, serum biomarkers, transabdominal ultrasound measurements, disease severity grading, and surgical data were collected for all patients. Demographic characteristics included gender, age, body mass index (BMI), hypertension status, diabetes mellitus, chronic obstructive pulmonary disease (COPD) status, and history of abdominal surgery. Physical examinations included temperature and mean arterial pressure (MAP). Serum biomarkers included white blood cell (WBC) count, C-reactive protein (CRP), procalcitonin (PCT), platelet count, creatinine, international normalized ratio (INR), alanine aminotransferase (ALT), and aspartate aminotransferase (AST). Transabdominal ultrasound characteristics included gallbladder wall thickness, length and width, number of calculi (single or multiple), calculus location (gallbladder body or neck), calculus diameter (≥ 3 cm or < 3 cm), presence of gallbladder polyps, and pericholecystic effusion. Patients’ preoperative condition were carefully assessed, we graded severity of ACC and risk of the operation using the TG18 classification11 and the American Society of Anesthesiologists (ASA) classification system respectively. Surgical data included time from symptom onset to surgery, surgeon seniority (categorized as junior: ≤5 years of surgical experience, intermediate: >5 but ≤ 10 years of experience, or senior: >10 years of experience), the presence of anatomical variations in the bile ducts or hepatic arteries intraoperatively, the use of bailout procedures(subtotal cholecystectomy) during the surgery, and whether conversion to open surgery occurred during the laparoscopic procedure. In order to obtained the anatomical variations in the bile ducts or hepatic arteries intraoperatively, the surgeons meticulously examined the anatomical structures of both bile ducts and hepatic arteries during the procedure, noting variations in branching patterns, diameters, and positional relationships with surrounding tissues. Additionally, intraoperative ultrasound was utilized to assess the bile ducts and hepatic arteries in real-time, providing high-resolution images that helped identify subtle anatomical variations, such as accessory ducts or aberrant arterial branches. The main reason for conversion in this study was prophylactical to prevent postoperative complications, and conversions also performed due to other situations such as uncontrolled bleeding, bile duct injury, gallbladder perforation or unclear anatomical visualization of Calot’s triangle intraoperatively.

Surgical procedures

The main procedures of laparoscopic cholecystectomy are as follows. After the anesthesia takes effect, we disinfect the surgical field of patients and lay sterile surgical drapes. Under normal conditions, three surgical entrances have been identified, there are umbilical region, 1 ~ 2 cm below the xiphoid process and the right subcostal, respectively. We insert the trocar through these surgical entrances and establish artificial carbon dioxide pneumoperitoneum with a pressure of 12 ~ 14mmHg, and then insert laparoscopic surgical instruments through the trocars. We dissect the Calot’ triangle and separate the gallbladder artery, then clamp gallbladder artery with an absorbable clip, and disconnect it. We find and confirm the cystic duct, to avoid damaging the common bile duct, the position of the absorbable clip to clamp the cystic duct during surgery is determined intraoperatively based on anatomical variation, and disconnected the cystic duct at the distal end. Finally, gallbladder is peeled off from the gallbladder bed completely. When the anatomy of the Calot’ triangle is unclear, intraoperative bleeding is difficult to control, or bile duct injury occurs, we transfer laparoscopic surgery into open surgery promptly.

Model establishment

In this study, patients from the leading institution, Huadu District People’s Hospital of Guangzhou, were included in the training set. Within the training set, we used Least Absolute Shrinkage and Selection Operator (LASSO) regression to perform variable shrinkage and selection with ten-fold cross-validation. This analysis was conducted to identify which of the thirty-one aforementioned outcome variables were most relevant for predicting conversion to open cholecystectomy during ELC in ACC patients. Based on the criterion of lambda.1SE, variables that were not shrunk to zero by LASSO regression were selected for model development. Using these selected variables, we then employed binary logistic regression to construct a predictive model and a nomogram.

Model external validation

To assess the predictive performance of the nomogram, external validation was employed. Data for ACC patients from the remaining seven clinical centers in this study were used as the validation set. During external validation, ROC curves and their corresponding AUCs were used to evaluate the nomogram’s discrimination ability. Calibration curves and the Hosmer-Lemeshow test were employed to assess the calibration of the prediction model. Finally, to evaluate the model’s clinical practicality and net benefits, DCA curves were generated, and the area under the DCA curve (AUDC) was calculated.

Ethics statement

This retrospective cross-sectional study adhered to ethical principles outlined in the Declaration of Helsinki and its subsequent revisions. The study design did not involve any intervention in patients’ existing treatment plans, and the researchers ensured complete confidentiality of all collected patient information. This study has been reported in line with the STROCSS criteria12.

Statistical analysis

Data analysis and statistical plots were generated using R(version 4.1.3, https://www.r-project.org/). To address missing values in this cross-sectional study and ensure data analyzability, multiple imputation was performed using the “mice” package with Predictive Mean Matching (PMM) as the primary imputation method for continuous variables. For categorical variables (e.g., binary or ordinal), we employed logistic regression or polytomous regression imputation, depending on the variable type. The choice of PMM was motivated by its robustness in preserving the original data distribution, particularly for variables that may deviate from normality. Imputation validation included visual inspection of density plots (observed vs. imputed) and statistical comparison of summary measures (mean, variance). For continuous variables with normal distribution, descriptive statistics were expressed as mean ± standard deviation. Median (upper and lower quartiles) was used for non-normally distributed data. Categorical variables were described using frequencies and their corresponding percentages. To compare groups, the Chi-square test was employed for categorical variables. Student’s t-tests were used for normally distributed continuous variables, while Mann-Whitney U tests were used for non-normally distributed continuous variables.

To identify optimal variables for model construction, LASSO regression was performed using the “glmnet” package for variable shrinkage and selection. Subsequently, the “glm” function was used to fit a logistic regression model based on the selected variables. With the fitted model, a nomogram was constructed using the “nomogram” function from the “rms” package. For model validation, discrimination was assessed using the area under the receiver operating characteristic curve (AUC) calculated with the “pROC” package. Calibration, which reflects the agreement between predicted and observed risks, was evaluated using a calibration plot and Hosmer-Lemeshow test performed with the “rms” package. Finally, decision curve analysis (DCA) was performed using the “ggDCA” package to assess the net benefit of the model across different risk thresholds in the ACC cohort. Additionally, the area under the decision curve was calculated. To assess whether the relationships between CRP, ASA classification, TG18 classification, calculus location, and surgeon experience varied according to operative time, interaction terms were incorporated into the analysis. A p-value of less than 0.05 was considered statistically significant, except for interaction analyses where a p-value of less than 0.10 was used.

Results

Data acquisition and splitting

Following the defined inclusion and exclusion criteria, a total of 3,191 patients with ACC who underwent ELC during their hospitalization at eight participating hospitals were included in this study. Among 3191 ACC patients who performed ELC, 263 cases(8.24%) switched to open cholecystectomy during the operation. Theoretically, the original dataset encompassed 98,921 data points considering 3,191 cases and 31 variables. However, due to the cross-sectional nature of the study, 1,678 missing values (1.69%) were identified during data extraction. To ensure data integrity for statistical analysis, missing values were imputed using multiple imputation with the “mice” package in R software. The training set for model development comprised patients from the leading institution(n = 1,658). The validation set included 1,533 patients from the remaining seven clinical centers. The training and validation sets were split in a ratio of approximately 1:0.92. A flowchart depicting the data acquisition and splitting process is presented in Fig. 1.

Fig. 1
figure 1

Flowchart depicting the study design.

Baseline and univariate analysis of the study cohort

Out of the 3,191 patients included in this cohort study, 1,658 (51.96%) were assigned to the training set, and 1,533 (48.04%) were allocated to the validation set. Baseline analysis revealed no significant differences between the training and validation sets regarding any of the investigated variables. Among the 3,191 ACC patients who underwent ELC, 263 (8.24%) experienced intraoperative conversion to open surgery, while 2,928 (91.76%) successfully completed laparoscopic surgery. Univariate analysis was conducted to explore factors associated with conversion to open cholecystectomy surgery. The results of the baseline analysis for both sets and the univariate analysis comparing patients with and without conversion are presented in Table 1. In order to validate weather the data of this study was subject to historical bias, we controlled the time variable factor and divided the dataset into 2013–2017 group and 2018–2023 group respectively, and then compared the variables between two groups one by one. The result indicated that under the controlling of time factor, all of the including variables of this study had no significantly difference(P > 0.05) between the two groups, which demonstrated that the study was not obviously subject to historical bias.(Supplementary Table 1).

Table 1 Characteristics of the 3191 patients with early laparoscopic cholecystectomy enrolled in the study according to conversion status (with/without conversion) and randomization to training set and validation set.
Table 2 Logistic regression analysis of predictors for conversion during laparoscopic cholecystectomy for acute calculous cholecystitis.

Predictive model establishment

LASSO regression with ten-fold cross-validation was employed to identify the optimal variables for model construction from the original variables listed in Table 1. Five variables were selected: CRP level, ASA classification, calculus location, TG18 classification, and surgeon seniority (Fig. 2A,B). Using the backward step approach, binary logistic regression analysis of these five predictors revealed with the least value of AIC(Akaike Information Criterion) and confirmed that they were independent of each other(Supplementary Table 2). Based on these five predictors, we developed a conversion risk nomogram for ELC patients (Table 2). The nomogram not only displays the scoring system for each independent risk factor and the total points but also visually depicts the risk stratification and the estimated probability of conversion for each individual case. For example, an ACC patient undergoing ELC with a TG18 classification of III, ASA classification of III, preoperative CRP of 100 mg/ml, a calculus located in the gallbladder neck, and surgery performed by a junior surgeon would be predicted to have a high risk of conversion with an estimated probability of 85% (Fig. 3).

Fig. 2
figure 2

Variables shrinkage and selection using LASSO regression. (A) Pathway diagram of variables after shrinkage. Five variables, including CRP, ASA classification, calculus position, TG18 classification, and surgeon seniority, were selected based on the optimal lambda value. (B) Ten-fold cross-validation chart. After identifying the optimal parameter, LASSO was used with lambda equal to 1 standard error (1.SE) to perform variable shrinkage and selection.

Fig. 3
figure 3

This nomogram predicts the likelihood of a minimally invasive ELC needing to be converted to a traditional open cholecystectomy surgery for patients with ACC. It considers factors like CRP levels, ASA classification, calculus location, TG18 classification score, and surgeon seniority.

Comparison of model building methods with machine learning

In order to investigate the advantage of predicted value for model construction approach, we made a comparison between the Logistic regression and seven machine learning models named Random Forest, Boost Tree, Decision Tree, Naïve Bayes, Nearest Neighbor, Support Vector Machine and Multi-Layer Perceptron. Via ROC and accuracy analysis, we could understand that either accuracy or AUC value of ROC from Logistic regression was the highest among these models, which manifested that Logistic regression nomogram of this study having certain advantages.(Supplementary Fig. 1A,B).

Comparison between nomogram and previous predicted models

For the sake of comparing the nomogram developed in this study with the previous models predicting conversion to open surgery, several models from previous studies were constructed. We defined the previous models as Model.A, from Goonawardena J et al.13; Model.B, from Licciardello A et al.14; Model.C, from Ibrahim S et al.15 and the TG18 model. We compared these models with the nomogram and assessed their performance using the Net Reclassification Index (NRI) and Integrated Discrimination Improvement Index (IDI) indices. The results showed that both the NRI and IDI indices of the nomogram were significantly higher compared to the previous models, suggesting that the nomogram demonstrated a positive improvement in efficacy compared to the previous models, highlighting its superiority in predicting conversion to open surgery. (Supplementary Table 3)

Collinearity and interaction analysis

To assess the presence of collinearity among the included variables in the predictive model, the variance inflation factor (VIF) was calculated for each variable. Results indicated that all VIF values were below 5.0, suggesting no significant collinearity concerns (Supplementary Fig. 2). We further explored potential interaction effects between the included covariates. The analysis revealed interaction effects between calculous position and ASA grading, as well as between ASA grading and surgeon seniority. (Supplementary Fig. 3). To investigate how the impact of varying calculous position stratification on outcomes differed across subgroups with distinct characteristics, we performed a subgroup analysis. Patients were stratified based on calculous in gallbladder body or calculous in gallbladder neck. The analysis demonstrated that, regardless of the calculous position stratification, p-values for interaction terms involving other covariates were all greater than 0.1 (Fig. 4). This suggests that while significant interactions exist between calculous position and ASA grading, ASA grading and CRP, surgeon seniority and ASA grading (p-values for interaction were 0.0130, 0.0706 and 0.0369, respectively), stratifying by calculous position did not substantially alter the associations with serum CRP level, ASA classification,, TG18 classification, and surgeon seniority (Supplementary Table 4). Collectively, the findings from the collinearity and interaction analyses indicate that the predictive model is not prone to overfitting and that the relationships between variables remain consistent across different strata. This suggests good stability and reliability of the fitted model.

Fig. 4
figure 4

Forest plot of subgroup analysis stratified by calculous in gallbladder body or calculous in gallbladder neck. All p-values for interaction are greater than 0.05, indicating no statistically significant interaction between subgroups. This suggests the fitted model is stable and reliable.

Model external validation

The receiver operating characteristic (ROC) curves for model discrimination yielded AUC values of 0.868 and 0.833 in the training and validation sets, respectively (Fig. 5A,B). These AUC values indicated moderate discriminatory ability of the predictive model. Evaluation of model calibration, utilizing calibration curves, revealed a high degree of concordance between the predicted probabilities and the actual observed probabilities within both the training and validation datasets. The calibration curves exhibited a close correspondence to the optimal reference lines (Fig. 5C,D). This observation was further confirmed by the Hosmer-Lemeshow test, which yielded high p-values (P = 0.9124 and P = 0.8537 for the training and validation sets, respectively). Both the calibration plots and the Hosmer-Lemeshow test demonstrated favorable calibration of the model. DCA was employed to assess the net benefit and clinical practicality of the nomogram. As shown in Fig. 6A,B, the threshold probability for the prediction model ranged from 1 to 81% in the training set and 1–75% in the validation set. Additionally, the AUDC was calculated, with values of 0.0293 and 0.0213 for the training and validation sets, respectively. Overall, DCA revealed that the predictive model offers higher net benefit and demonstrates good clinical practicality.

Fig. 5
figure 5

Model discrimination and calibration both in training set and external validation set. (A) ROCs and their corresponding AUCs of the nomogram and each independent risk factor in training set. (B) ROCs and their corresponding AUCs of the nomogram and each independent risk factor in validation set. (C) Calibration curve and Hosmer-Lemeshow test in training set. (D) Calibration curve and Hosmer-Lemeshow test in validation set.

Fig. 6
figure 6

Decision curve analysis of nomogram both in training set and validation set. (A) DCA curve with 1-81% net benefit and with 0.0293 of AUDC value in training set. (B) DCA curve with 1-75% net benefit and with 0.0213 of AUDC value in validation set.

Discussion

LC is currently considered the gold standard treatment for cholecystitis16,17. Advancements in laparoscopic technology and growing surgical experience have expanded the indications for LC, even for conditions previously deemed unsuitable, such as early-stage acute cholecystitis18,19. Despite its established role as a standard surgical procedure for ACC, LC is not without complications. Intraoperative bile duct injuries, bleeding, postoperative bile leaks, and bile duct stenosis remain significant concerns17,20,21. The risk of accidental injury to the bile duct or blood vessels is particularly high in cases involving severe gallbladder inflammation, a highly edematous gallbladder wall, unclear anatomy of Calot’s triangle, or the presence of Mirizzi syndrome. These complications can significantly impact a patient’s quality of life and prognosis after LC. Therefore, during challenging LC procedures, timely identification of conversion risk factors and the prompt decision to switch to open cholecystectomy are crucial. Prior studies have shown that timely conversion during difficult LCs can significantly reduce complications like bile duct injury and bile leakage22,23. By understanding preoperative risk factors for conversion, clinicians can optimize patient care and minimize the risk of unnecessary damage and complications. However, limitations exist in previous research on preoperative risk factors for conversion from LC to open cholecystectomy. These limitations include relatively small sample sizes, single-center designs, and the absence or lack of external validation for the developed models23,24,25.

This study leveraged multicenter participation, big data analysis, and external validation to establish a model for analyzing risk factors associated with conversion from laparoscopic to open cholecystectomy. Following a comprehensive evaluation of model collinearity and interaction effects between covariates, a stable and clinically predictive model was developed. To further validate the model’s accuracy, we performed multicenter external validation based on discrimination, calibration, and clinical practicality. Our findings identified preoperative CRP level, calculus location in the gallbladder neck based on imaging results, TG18 classification, anesthesia ASA classification, surgeon experience, and operative duration as significant risk factors for conversion to open surgery. The external validation results demonstrated high predictive value in terms of both discrimination and calibration for the model on both the training and validation sets. Additionally, the DCA analysis indicated a high net benefit of the model, highlighting its clinical practicality.

CRP is a biomarker that reflects the inflammatory response in the body. During the early stages of biliary inflammatory diseases like acute cholecystitis or cholangitis, serum CRP levels typically exhibit varying degrees of elevation26. Studies have shown that for patients with ACC undergoing ELC, the primary reason for conversion to open cholecystectomy is closely linked to the severity of gallbladder inflammation14,27,28. CRP plays a significant role in predicting this increased risk of conversion29,30. Severe gallbladder inflammation, characterized by substantial edema and congestion of the gallbladder wall, can obscure the anatomical landmarks of Calot’s triangle and lead to uncontrollable intraoperative bleeding. In such scenarios, surgeons may opt to switch to open cholecystectomy. A ten-year retrospective study revealed that unrecognizable anatomical structures surrounding the gallbladder were the main reason for conversion to open surgery during LC procedures (approximately 50%)31. Furthermore, obstruction of the gallbladder duct caused by impacted calculi lodged in the gallbladder neck is another critical factor contributing to severe gallbladder inflammation. A normally unobstructed gallbladder duct prevents retrograde bacterial infections from the intestine. However, when blocked by calculi, the duct becomes susceptible to retrograde bacterial infection, potentially leading to complications like gallbladder empyema, gangrene, or even perforation, which significantly increase the risk of conversion to open surgery32,33.

The ASA classification system, based on a patient’s physical health, serves as an assessment tool for surgical risk during anesthesia34,35. Similarly, the TG18 grading system provides severity assessment criteria for acute cholecystitis9,36. The Tokyo Guidelines 2018 for Surgical Management of Acute Cholecystitis explicitly state a close association between preoperative ASA score and the risk of conversion to open surgery during ELC for patients with grade II or III acute cholecystitis10. This finding aligns with our own study results. Furthermore, a prior study by Michael Rosen et al.7. demonstrated that an ASA classification greater than 2 (OR = 5.3, P = 0.01) predicted conversion in patients undergoing LC, substantiating that preoperative ASA classification is a risk factor for conversion from LC to open surgery. In summary, the association between ASA classification and conversion risk likely reflects the interplay of comorbidities, chronic inflammatory changes, and risk-averse surgical decision-making. As shown in recent studies37, ASA ≥ III patients are more susceptible to intraoperative instability during prolonged laparoscopy, which may compel conversion to open surgery for expedited completion.

The current study also demonstrated that surgeon specialization and skill played a critical role in minimizing unnecessary conversions. Senior surgeons with over ten years of experience were significantly associated with lower conversion rates compared to junior surgeons with less than five years of experience. These findings highlight that, in addition to preoperative laboratory and imaging results, surgeon expertise is another important factor influencing the decision to convert LC to open surgery22,38,39,40. In addition, due to the fact that surgical operation is a collaborative process within a teamwork, weather transfer into conversion can also be influenced by the experience and judgment of the supervising assistant, a previous retrospective study indicated that even in less complex operations, complication rate from the younger supervising assistant was significantly higher than that from the well-experienced senior, which showed the importance of supervising assistant in decision-making process during surgery41.

With regard to the real-world application of this prediction model, when patients identified as high-risk switching, clinicians can use the results of this model to adjust treatment strategies to reduce complications and improve surgical success rates. Specifically, when a patient is predicted to be at high risk, clinicians may consider the following aspects to influence clinical decision-making:1Optimal operation opportunity: prioritize early laparoscopic cholecystectomy (ELC) after inflammation control, as ELC is associated with higher success rates than delayed approaches (DLC)42. However, delayed surgery may be safer in unstable patients or severe inflammation2. Surgical approach: consider planned open cholecystectomy when justified by patient stability, inflammation severity, and surgical expertise to avoid unplanned conversions43,3. Preoperative preparation: Enhance imaging/laboratory evaluations and ensure transparent communication with patients/families regarding conversion risks44.

As with any study, this research has limitations. Firstly, its retrospective nature may limit the generalizability of the results to other settings. Secondly, while our study identified several risk factors for conversion from ELC to open cholecystectomy, the causal relationships between these factors remain largely unknown. In clinical practice, surgeons encounter a complex interplay of risk factors during ELC decision-making. Zhang et al.45 suggest that reliable structural modeling with inverse probability weighting (IPW) could be a valuable tool for inferring causality from observational data like ours. Thirdly, although surgeon seniority emerged as a risk factor, our analysis using collinearity and stratified subgroups did not reveal evidence of overfitting or interaction effects within the predictive model. Notably, our definition of surgeon seniority solely considered professional years. A surgeon’s experience encompasses other factors like educational background, training history, and the number of independently performed operations. Additionally, model construction and validation of this study is base on an Asian cohorts due to the limitations of data acquisition conditions. And the model lacks validation across the entire population especially in western populations, which implied that there may be involve in potential bias. These additional aspects could be explored in future studies to refine the model through international cooperation in the future. Despite these limitations, our study provides valuable clinical insights. We look forward to future research that investigates the causal associations between identified risk factors and conversion during ELC for ACC patients.

Conclusion

This study identified several risk factors associated with conversion from ELC to open cholecystectomy in patients with ACC. These factors include high preoperative CRP levels, gallbladder neck calculus, higher grades in both ASA classification and TG18 classification, and surgeon seniority (junior surgeons). It is important to emphasize that conversion to open surgery during ELC should not be viewed as a surgical failure. Instead, it represents a crucial and potentially life-saving intervention that can minimize complications and mortality rates.