Introduction

Choledochal cyst (CC) is a common type of biliary malformation in infants and young children, characterized by segmental dilation of the intrahepatic and extrahepatic bile ducts in a cylindrical, cystic, or fusiform shape [1]. It has a higher incidence rate in Asian people, and the incidence rate of CC in Asian people is 1:1000 [2].

CC with perforation is a rare condition [3], and the mechanism of choledochal cyst perforation is not yet clear. The current understanding suggests that it is caused by the reflux of pancreatic enzymes, increased pressure in the bile duct due to protein blockage, and viral infection [4].

CC with perforation, as an acute abdomen, requires immediate surgical intervention. Delayed diagnosis or improper management can lead to complications such as bile peritonitis, bacterial contamination, sepsis, cholangitis and pancreatitis. However, there is no unified treatment guideline for CC with perforation. And, the mainstream approach often involves a two-stage surgical treatment, after the initial surgery, the choledochal cyst is typically removed within 1–3 months [5].

Materials and methods

Study design and patients

Following institutional review board approval. A retrospective analysis was conducted on the electronic medical records of patients who underwent choledochal cyst excision with hepaticojejunostomy at the Department of Hepatobiliary Surgery, Children’s Hospital Affiliated to Chongqing Medical University, from January 2011 to October 2022. The study included 1111 patients (63 with perforation, 1048 without perforation), and all patients with perforation were confirmed during intraoperative examination. All surgeries were performed by the same experienced surgical team. Variables including demographic data, symptoms, and serum biochemical markers were collected and analyzed.

Inclusion criteria

Inclusion criteria were as follows: (1) Patients diagnosed with choledochal cyst (CC) based on intraoperative findings and postoperative pathological results; (2) Patients who received surgical treatment at the Children’s Hospital Affiliated to Chongqing Medical University as their primary hospital; (3) Patients with no history of previous abdominal surgery; (4) Confirmation of CC with perforation or cystic necrotic changes.

Variable definition

Predictive variables are categorized into demographic variables and clinical data variables. Demographic variables include age and gender at the time of presentation. Clinical data variables encompass signs and biochemical data at the time of presentation. The signs include strong yellow urine, acholic stools, abdominal pain, vomiting, high TBIL level (defined as total bilirubin ≥17.1 µ/L for diagnosis of subclinical jaundice), fever, abdominal distension, diarrhea, and the presence of gallstones. Biochemical data include total bilirubin (TBIL), direct bilirubin (DBIL), indirect bilirubin (IBIL), aspartate aminotransferase (AST), alanine aminotransferase (ALT), lactate dehydrogenase (LDH), alkaline phosphatase (ALP), gamma-glutamyl transferase (GGT), C-reactive protein (CRP, when the C-reactive protein in our research center is less than 8 mg/L, the test reports all show 8 mg/L.), and AST/ALT ratio (AST/ALT).

Statistical analysis

Data with homogeneity of variance were subjected to statistical analysis using paired t-test and expressed as mean ± standard deviation. Data with inhomogeneity of variance were analyzed using Student’s two-tailed t-test and expressed as median ± interquartile range (IQR).

Categorical variables are described using ‘frequency’ and the differences between groups of categorical variables are analyzed using chi-square test. Single-factor and multi-factor analysis are used to screen prognostic factors, and variables with statistically significant inter-group differences in multi-factor logistic regression analysis (p < 0.05) are defined as independent prognostic factors. Nomograms are constructed using independent prognostic factors. Receiver operating characteristic (ROC) curves are plotted using training and validation set data, and the area under the curve (AUC) is calculated to assess the model’s discriminative ability; calibration curves are plotted to assess the model’s accuracy, decision curve analysis (DCA) is used to assess the clinical applicability of the model [6].

This study is a retrospective study. Due to variations in detection instruments among different treatment centers, there is bias in the baseline data. Therefore, this predictive model is not suitable for external validation. As a result, the 1111 patients collected will be randomly divided into a test group and a validation group in a 7:3 ratio randomly. The statistical software used in this study includes SPSS 27.0, GraphPad Prism 8.1, and R software, with R programming packages such as car, rms, proc and rmda.

Result

Analysis of clinical data and biochemical indicators

This study included a total of 1111 patients with choledochal cysts (267 males and 844 females), among whom 63 (13 males and 50 females) had perforations (perforation group) and 1048 (264 males and 794 females) did not have perforations (non-perforation group). Statistical analysis of the clinical data of the two groups revealed that the average age of the perforation group was lower than that of the non-perforation group [21 (13.3–36.0) vs. 24 (15–48), p < 0.01], and their age distribution is shown in Fig. 1. Additionally, the chi-square test showed that the perforation group had a higher frequency of vomiting [Perforation (85.7%) vs. non-perforation (55.0%)], jaundice [Perforation (42.9%) vs. non-perforation (32.7%)], fever [Perforation (55.6%) vs. non-perforation (18.2%)], abdominal distension [Perforation (57.1%) vs. non-perforation (20.2%)] and diarrhea [Perforation (19.0%) vs. non-perforation (2.1%)] compared to the non-perforation group. (Data are shown in Table 1).

Fig. 1
figure 1

Age distribution chart for the perforation and non-perforation groups

Table 1 Demographic and symptom of non-perforation group and perforation group

In the statistical analysis of the biochemical data, the levels of TBIL [45.7 ± 41.8 vs. 25.7 ± 45.07), p < 0.001], IBIL [25.4 (12.5–39.0) vs. 6.6 (3.2–16.0), p < 0.001], AST [95.6 (77.6–166.4) vs. 48.0 (34.2–70.8), p < 0.001], ALT [93.4 (72.1–175.7) vs. 44.2 (26.4–72.6), p < 0.001], LDH [363.3 (212.1–331.8) vs. 238.9 (203.0–287.0), p = 0.088], GGT [364.5.7 (9.3–1116.0) vs. 190.2 (9.3–3126.0), p = 0.023], ALP [387.8 (300.9–514.0) vs. 254.2 (187.9–414.9), p = 0.043] and CRP [23.6 (8.0–90.0) vs.11.0 (8.0–180.0), p < 0.001] were higher in the perforation group compared to the non-perforation group. (Data are shown in Table 2).

Table 2 Biochemical index of non-perforation group and perforation group

ROC curve

We included serum indicators with intergroup differences in the ROC analysis. The statistically significant indicators include: GGT, LDH, AST, ALT, TBIL, CRP, IBDL, ALP, and their AUC are 0.762, 0.585, 0.632, 0.761, 0.573, 0.750, 0.672 and 0.681. (Shown in Fig. 2).

Fig. 2
figure 2

Perform single factor ROC curve analysis on 8 meaningful indicators [GGT, LDH, AST, ALT, TBIL, CRP, IBDL, ALP] from (A–H). The AUC are 0.762, 0.585, 0.632, 0.761, 0.573, 0.750, 0.672 and 0.681

Collinearity analysis and logistic regression analysis

We incorporated all predictive factors from the text set into the univariate logistic regression analysis. Among them, age, TBIL, DBIL, IBIL, AST, ALT, LDH, ALP, GGT, CRP, vomiting, jaundice, fever, abdominal distension, diarrhea had statistical significance (p < 0.05). Then, we incorporated all factors with statistical significance in univariate logistic regression analysis into the multivariate logistic regression analysis, it suggested that age, ALT, GGT, CRP, vomiting, abdominal distension, diarrhea, and jaundice are independent predictive factors influencing CC with perforation (p < 0.05).

To investigate multicollinearity among all continuous independent predictive factors, we included all independent predictive factors in a collinearity analysis. All continuous independent predictive factors’ VIF < 5. (All data are shown in Table 3).

Table 3 Logistic regression analysis and collinearity analysis in the text dataset

Nomogram construction

The independent factors affecting the above-mentioned predictions are used to construct a nomogram. As shown in Fig. 3, CC patients can obtain personalized scores from our nomogram and correspond to their predicted probabilities of perforation. In the test set, the AUC of the ROC curve of the nomogram is 0.956 (Fig. 4A). In the validation set, the AUC is 0.902 (Fig. 4B), indicating that the model has a great performance in predicting CC with perforation. Calibration curves for the test set and validation set shown that the calibration curve is relatively evenly distributed around the ideal line (calibration curve/ideal curve), indicating great consistency between the nomogram’s predictions and the actual results (Fig. 5A and B). Decision plots (DCA) in the test and validation sets demonstrate that our predictive model has great clinical applicability (Fig. 6A and B).

Fig. 3
figure 3

Nomogram predict the likelihood of perforation in patients with choledochal cysts. To determine the points received for each level, draw a line upwards on each variable axis. Add up the scores for each category to get the total score and mark it on the “Total Points” axis. Draw a line down from each point to the probability axis to determine the likelihood of perforation in patients with choledochal cysts. (0 indicates the absence of the symptom, while 1 indicates the presence of the symptom)

Fig. 4
figure 4

ROC curves of the nomogram. A ROC curves in the text set. B ROC curves in the validation set

Fig. 5
figure 5

Calibration curves of the nomogram A Calibration curves in the text set. B Calibration curves in the validation set

Fig. 6
figure 6

Decision curves analysis (DCA) plots of the nomogram. A DCA plots in the text set. B DCA plots in the validation set

Discussion

CC with perforation with is a relatively rare complication, and the consequences of misdiagnosis and delayed treatment can be fatal [7]. Due to the lack of typical clinical manifestations, preoperative diagnosis of CC with perforation is challenging [7]. In this study, we aim to summarize the personal data, clinical signs, and biochemical data of these patients, and through logistic regression analysis, in order to facilitate early detection of perforation.

The exact pathogenesis of choledochal cyst perforation remains controversial [8]. Based on literature review and clinical experience, we thought that the mechanisms of CC with perforation may be the following reason. First, abnormal pancreaticobiliary junction leads to retrograde flow of pancreatic fluid into the common bile duct through a common channel. Pancreatic proteases are activated by intestinal enzymes, causing destruction of the cyst wall and resulting in perforation [9]. Second, cystic dilatation of the distal common bile duct is prone to protein plug formation, leading to acute obstruction and a rapid increase in biliary pressure, resulting in perforation [10]. Third, it is associated with inadequate development of biliary blood supply and elastic fibers [11, 12]. Fourth, in cases of common bile duct cysts with concurrent infection, it can cause edema, mucosal ulceration, and necrosis of the bile duct wall, leading to perforation [13]. In our previous clinical surgical experience, the second and fourth points mentioned are the most common causes.

In this study, we developed a nomogram to predict the occurrence of perforated choledochal cysts, in which age, ALT, GGT, CRP, vomiting, abdominal distension, diarrhea, and jaundice are independent predictive factors influencing CC with perforation. The exacerbation of biliary obstruction in the occurrence of choledochal cyst perforation suggests that GGT, as an indicator reflecting the degree of biliary obstruction [14], can be expected to be an independent predictive factor for choledochal cyst perforation. We also thought that the occurrence of perforation leads to the overflow of bile from the perforated site, which triggers a strong inflammatory response, resulting in acute symptoms such as abdominal pain, fever [15], and elevated CRP levels. Additionally, bile stimulation of the intestinal wall may lead to intestinal distension and abdominal fluid accumulation, increasing the probability of abdominal distension in perforated patients [16]. Similarly, for the same reasons, the probability of diarrhea occurrence in patients may also increase.

In related literature, we found that the diagnostic feature of CC with perforation is the interruption of bile duct continuity on ultrasound, with a specificity of 100%. However, the sensitivity of ultrasound detection is relatively low (18.6%) [17]. Local loss of gallbladder tension, thickening of the gallbladder wall, abnormal shape of the gallbladder wall, and ascites can also be used as imaging features of CC with perforation [17]. There is also evidence indicating that in emergency situations, CT can be helpful in predicting choledochal cyst perforation, particularly for abnormalities in the retroperitoneal space [12, 18, 19]. Similarly, MRCP is a valuable diagnostic tool that can non-invasively display anomalies in the biliary and pancreatic ducts. Although MRCP has superior soft tissue resolution and multiplanar capabilities [3, 20, 21], some studies suggest that it may be challenging to accurately identify discontinuities in the biliary duct wall. However, it can specifically assess the severity of biliary peritonitis, including pseudo-cysts around the liver, providing significant value in evaluating the condition of perforated patients. However, due to the acute onset of perforation in patients, emergency surgical treatment is often required, making it difficult for many perforated patients to undergo MRCP examination promptly, leading to a loss of imaging data. Furthermore, related studies have found that non-cystic bile ducts are a risk factor for bile duct perforation [22]. Ando et al [13], also reported that in cases of bile duct perforation, the extrahepatic bile ducts were spindle-shaped.

For surgical treatment of choledochal cyst perforation, there are currently two main approaches, including single-stage and two-stage surgical treatments. In our previous clinical experience, 50 perforation patients underwent two-stage surgery, while 13 patients underwent single-stage surgery. We also found that perforation patients can even undergo choledochal cyst excision under laparoscopy.

There is a difference in the choice between two-stage and single-stage surgeries as they each have their own advantages and disadvantages. The advantages of radical surgery include the need for only one surgery and potential cost-effectiveness [23]. In addition, patients undergoing two-stage surgery, after undergoing external biliary drainage, the adhesions in the abdominal cavity during the second-stage surgery are usually more tightly bound than those in the first-stage surgery [24], which increases the anatomical difficulty of the surgery and the risk of iatrogenic injury, as well as the probability of postoperative complications.

The limitations of this study include its retrospective nature and the fact that many perforation cases were acute in nature, with some medical records being of a distant nature. This resulted in a lack of complete initial imaging results to refine our model for predicting perforated choledochal cysts, potentially leading to selection bias. Furthermore, due to variations in diagnostic equipment across different medical centers, our model underwent only internal validation rather than external or prospective validation, which may affect its applicability. Our future goal is to evaluate the performance of the nomogram through prospective external validation and provide treatment guidance for patients with perforated choledochal cysts based on the nomogram’s results.

Conclusion

By collecting medical records of patients with choledochal cyst perforation, we have proposed our ideas for the diagnosis and treatment of these patients and established a predictive model. However, the model still needs to be improved. At the same time, we also believe that single-stage surgery is feasible for patients with perforation, but it should not be blindly chosen. Whether to perform single-stage or two-stage surgery depends on the patient’s physical condition and tolerance.