Skip to main content

Machine learning-based nomogram for 30-day mortality prediction for patients with unresectable malignant biliary obstruction after ERCP with metal stent: a retrospective observational cohort study

Abstract

Background

This study aimed to investigate the risk factors for 30-day mortality in patients with malignant biliary obstruction (MBO) after endoscopic retrograde cholangiopancreatography (ERCP) with endobiliary metal stent placement. Furthermore, we aimed to construct and visualize a prediction model based on LASSO-logistic regression.

Methods

Data were collected from 245 patients who underwent their first ERCP with endobiliary metal stent placement for unresectable MBO between June 1, 2013, and August 31, 2021. Univariable and multivariable logistic regression analyses were conducted to identify the risk factors for 30-day mortality. We subsequently developed a logistic regression model that incorporated multiple parameters identified by LASSO regression. The model was visualized and the nomogram was plotted. Risk stratification was performed based on nomogram-derived scores.

Results

The 30-day mortality rate was 10.7% (23/245 patients). Distant metastasis, total bilirubin, post-ERCP complications, and successful drainage were independent risk factors of 30-day mortality. The variables screened by LASSO regression, including distant metastasis, total bilirubin, post-ERCP complications, and successful drainage, were incorporated into the logistic model. The results were visualized through a nomogram based on the model. To assess the model’s performance, discrimination was evaluated using the area-under-the-curve values obtained from receiver operating characteristic analyses with 10-fold cross-validation in the training group and validated in the testing group. The calibration curve showed the good predictive ability of the model. Decision curve analysis is used to evaluate the clinical application of nomogram. Finally, we performed risk stratification based on the risk calculated using the nomogram. Patients were assigned to the low-, moderate-, and high-risk groups based on their probability scores. The Kaplan–Meier survival curves for the different nomogram-based groups were significantly different (p < 0.001).

Conclusions

We developed a nomogram using the LASSO-logistic regression model to forecast the 30-day mortality rate in patients who had undergone ERCP with endobiliary metal stent placement due to MBO. This nomogram can assist in identifying individuals at high-risk of 30-day mortality following ERCP.

Peer Review reports

Background

Malignant biliary obstruction (MBO) is caused by the direct invasion or compression of the bile duct by pancreatic cancer, cholangiocarcinoma, gallbladder cancer, hepatocellular carcinoma, ampullary cancer, and metastasis from other primary lesions [1]. Surgical resection is the only curative treatment. However, due to the lack of obvious pre-disease symptoms, patients with MBO usually present at advanced and unresectable stages at diagnosis [2, 3]. These patients often have jaundice, itching, discomfort, anorexia, and weight loss, which seriously affect their quality of life [2, 4,5,6]. Additionally, chemotherapy initiation is frequently postponed to minimize the risk of hepatotoxicity caused by biliary stasis-induced liver function impairment [7,8,9,10]. Furthermore, patients diagnosed with unresectable MBO frequently have a poor prognosis, with a five-year survival rate typically below 5% [2, 5, 11].

Endoscopic retrograde cholangiopancreatography (ERCP)-guided endobiliary drainage with stent placement is the primary therapeutic approach to alleviate symptoms and facilitate chemotherapy for patients with unresectable MBO. This treatment has low invasiveness, high efficacy, high patient acceptance, and relatively low complication and mortality rates [10]. In addition, restoring bile circulation conforms to human physiology, thereby avoiding electrolyte disturbances caused by extracorporeal bile drainage [10, 12]. Its survival rates are better when compared with percutaneous transhepatic bile duct drainage and surgical drainage [13,14,15].

Nevertheless, ten percent of patients with unresectable MBO still have poor outcomes after stent placement, with some patients having elevated total bilirubin (TB) levels or dying within 30 days after surgery [16]. Therefore, it is important to assess the risk factors influencing 30-day mortality. However, few studies have been conducted in this area. Bilirubin sludge damages hepatocytes and affects the metabolic, immune, and coagulation functions of the liver, which may contribute to poor patient outcomes. Several clinical studies have investigated the predictors of mortality following endoscopic endobiliary stent placement, but these studies have utilized univariable and multivariable analyses, which may have limitations in handling multicollinearity between variables [17,18,19]. Machine learning (ML) is a scientific discipline concerning how computers learn from data [20]. The use of ML has significant value in clinical research because it helps us to accurately search for risk factors leading to target outcome events from a multitude of clinical parameters, eliminating manual aspects of data omission, multicollinearity, and statistical over-fitting problems [21].

The primary objective of this study was to investigate the clinical predictors of 30-day mortality in patients who underwent ERCP with endobiliary metal stent placement. A 30-day mortality prediction model was developed and internally validated. This study further aimed to help clinicians distinguish patients with high-risk factors and to improve palliative care selection by developing predictive models.

Methods

Patient selection

This single-center, retrospective, observational cohort study was conducted at the First Hospital of Jiaxing. Eligible patients underwent their first ERCP with endobiliary metal stent placement for unresectable MBO between June 1, 2013, and August 31, 2021. Eighty percent of the data were randomly classified as the training cohort and the remaining 20% were used as the test cohort. The analyzed variables included sex, age, obstruction site, cholangitis before stent insertion, post-ERCP complications, Child–Pugh classification, ascites, white blood cell count, red blood cell count, type of malignancy, hemoglobin, platelet, prothrombin time (PT), TB, albumin, alanine aminotransferase (ALT), aspartate aminotransferase (AST), creatinine, distant metastasis, lymph node metastasis, stent placement, successful drainage, and survival in days. The follow-up ended in December 2021, and the primary endpoint was 30-day mortality, which was calculated as the interval between the date of surgery and the date of death.

The inclusion criteria were as follows:

  1. (a)

    patients diagnosed with malignant tumors by pathological or imaging examination that did not undergo surgery owing to tumor invasion;

  2. (b)

    patients with primary and secondary malignancies of the liver, bile duct, gallbladder, pancreas, or periampullary malignant tumors;

  3. (c)

    age ≥ 18 years;

  4. (d)

    patients who underwent their first ERCP with endobiliary metal stent placement.

The exclusion criteria were as follows:

  1. (a)

    patients with a resectable stage of disease;

  2. (b)

    patients with a history of previous cholecystectomy;

  3. (c)

    patients who had < 30 days of follow-up owing to transfer to other hospital or other causes;

  4. (d)

    patients with failed cannulation or no stent placement.

All pertinent clinical and laboratory data before and after the ERCP were gathered. Additionally, the cross-sectional images and cholangiographic findings were reviewed. In cases where histological analyses were not possible, the diagnosis of MBO was based on a combination of imaging and clinical follow-up or histopathology alone. Patient selection flow is presented in Fig. 1.

Fig. 1
figure 1

Detailed outline of patient screening process based on inclusion and exclusion criteria

Endoscopic procedures for ERCP

Each patient underwent imaging, including computed tomography and magnetic resonance imaging, before biliary stent placement to plan effective drainage. All ERCPs were performed by doctors who had performed at least 200 ERCP procedures per year. Patients fasted for 8 h before surgery. General anesthesia was administered without tracheal intubation. Duodenoscopy was performed through the esophagus, stomach, and descending duodenum. A catheter was inserted at the duodenal papilla opening. Cholangiography was performed by attempting to aspirate bile, followed by a slow injection of iohexol. The level and length of the obstruction were clarified. Endoscopic sphincterotomy or papillary balloon dilation before biliary stent placement was allowed at the discretion of the endoscopist. ERCP was predominantly performed under sedation with intravenous midazolam or propofol in combination with meperidine. After successful stent placement, bile was drained into the duodenum. Postoperative abdominal radiography was performed to observe stent position and patency. Prophylactic antibiotics were routinely administered before ERCP.

The patients fasted from food and water for 24 h after surgery. The abdominal symptoms and signs were observed closely. Blood amylase level was rechecked on postoperative day 1, and liver function was checked at least once on postoperative days 1–7 to confirm the resolution of jaundice.

Definitions

“High obstruction” refers to an obstruction between the common hepatic duct to the intrahepatic bile ducts; "Low obstruction" refers to an obstruction occurring in the common bile duct and far from the port hepatic. The 30-day mortality was defined as death within 30 days of ERCP. Successful drainage was defined as a decrease in TB of > 30% within 1 week after surgery or a total decrease in bilirubin in the later period close to the normal level (TB ≤ 17.1 μmol/L) [22]. Postoperative complications were defined as any procedure-related adverse event that occurred within 2 weeks, including bleeding, cholangitis, hemorrhagic complications, pancreatitis, and gut or bile duct perforations. Overall survival was calculated from the day of the procedure until either the day of death or the last follow-up day.

Statistical methods

Our structured database contained 23 clinical variables. For data collection and processing, after completing statistical analysis and addressing missing data and noise, all predictive variables were standardized, Categorical variables are presented as percentages and numbers, while continuous variables are presented as mean ± standard deviation for normally distributed data and interquartile range (IQR) for skewed data. The chi-square test or Fisher’s exact test were used for comparing categorical variables, while the independent t-test or Mann–Whitney U test were used for comparing continuous variables. A p-value < 0.05 was deemed significant. Univariable logistic regression was utilized to identify clinical variables that impacted the study outcomes, which were then compared between patients who survived and those who did not. Odds ratios (OR) and 95% confidence intervals (CIs) were calculated for each variable. Variables that were found to be significant in the univariable analysis were included in the multivariable logistic regression. Significant variables in the multiple logistic regression were considered independent risk factors potentially affecting the outcome.

To avoid model overfitting or underfitting, LASSO regression was used to filter the features. The variance inflation factor (VIF) was assessed among the filtered variables. Variables with VIF > 5.0 were interpreted as multicollinear and not included in the final model analysis.

The final logistic regression model was developed based on the results of the LASSO regression and VIF. To improve the clinical utility of the model, a nomogram was developed where the coefficient of each variable in the regression model was used to assign points for each variable on the nomogram. Points were assigned to each variable by dividing its coefficient by the smallest coefficient and then rounding to the nearest integer. The total points for each patient were calculated by adding up the points assigned to each variable for that patient. Finally, the probability of an event occurring was estimated by calculating the distance from the total points to the probability axis.

We utilized 10-fold cross-validation and plotted the receiver operating characteristic (ROC) curve to assess the model’s discriminative ability and stability in the training cohort. Furthermore, the ROC curve was drawn for the test cohort to further assess the model’s performance. The area under the curve (AUC) values can range from 0.5 to 1.0, with 0.5 representing random chance and 1.0 indicating a perfect fit. 1000 bootstrap resampling iterations were employed separately in the training and testing cohorts to generate the calibration curve for the model. The calibration curve was then used to evaluate the model’s calibration performance. Calibration curves are a useful tool for validating and optimizing the performance of classification models. These curves typically have two axes: the x-axis represents predicted probabilities and the y-axis represents observed probabilities. If the model’s predictions match the actual observations, then the calibration curve should be close to the 45-degree diagonal line. If the curve is far from the 45-degree diagonal line, it indicates that the model has a bias. Additionally, decision curve analysis (DCA) is employed to assess the clinical utility of nomogram.

Considering the incidence rate of 30-day mortality events in patients, we classified patients into low- (below the 75th percentile), medium- (between the 75th and 90th percentiles), and high- (above the 90th percentile) risk groups based on their nomogram score percentile ranks. A Cox proportional hazards model was utilized to determine the hazard ratio and the probability of mortality based on the nomogram score groups. Cumulative survival rates over time were estimated using the Kaplan–Meier method. Statistical significance was set at a p-value < 0.05. All statistical analyses were performed using R version 4.21.

Results

Baseline characteristics

Twenty-three of 245 patients survived for less than 30 days. The baseline characteristics between the groups are presented in Table 1. The study cohort comprised 245 patients, who were randomly divided into training (n = 204) and test (n = 41) cohorts (Table 2).

Table 1 Baseline characteristics comparison between groups
Table2 Patient characteristics and endoscopic interventions in the training and validation cohorts

Predictors for 30-day mortality

In the univariable analysis (Table 3), the following were identified as significant variables associated with 30-day mortality: lymph node metastasis (p = 0.016), distant metastasis (p = 0.00088), postoperative complications (p = 0.00053), Child–Pugh class C (p = 0.032), type of malignancy(p = 0.019), ascites (p = 0.029), TB (p = 0.00023), albumin (p = 0.0044), and PT (p = 0.044), On the other hand, the ALT levels (p = 0.049), successful drainage (p = 5e-04), and albumin levels (p = 0.0044) were found to have a negative correlation with 30-day mortality.

Table 3 Univariate and multivariate analyses of baseline variables for 30-day mortality prediction in the training cohort

In the multivariable analysis (Table 3), the following factors were identified as significant predictors of death within 30 days after ERCP: distant metastasis (OR 7.96; 95% CI, 1.44–44.10; p = 0.018), post-ERCP complications (OR 6.03; 95% CI, 1.52–24.01; p = 0.011), TB (OR 1.01; 95% CI, 1.00–1.01; p = 0.009) and successful drainage (OR 0.12; 95% CI, 0.03–0.54; p = 0.005).

The parameters were screened using LASSO regression, and the coefficient variation characteristics of these variables are presented in Fig. 2A. To achieve a model with excellent performance and minimum variables, a 5-fold cross-validation method was utilized for iterative analysis. The obtained model had a λ of 0.05019702 (Fig. 2B). The results of lasso regression are consistent with the results of multivariable analysis, which strongly confirms the reliability of the variable selection outcome.

Fig. 2
figure 2

LASSO regression variable screening (A) The variation characteristics of the coefficient of variables; B the selection process of the optimum value of the parameter λ in the LASSO regression model by cross-validation

Development of the 30-day mortality prediction nomogram

A nomogram was developed based on the LASSO regression. The VIF values were all < 5, indicating no collinearity between the screened variables. Figure 3 shows the nomogram, which was generated using a logistic regression model that included all significant independent prognostic factors for 30-day mortality in the training dataset.

Fig. 3
figure 3

Nomogram used to predict short-term mortality after endoscopic endobiliary metal stent placement in patients with MBO. TB, total bilirubin. ERCP, endoscopic retrograde cholangiopancreatography. MBO, malignant biliary obstruction

Evaluation and validation of the nomogram

We evaluated the model using a 10-fold cross-validation and obtained the following results: the model’s average AUC was 0.88 (standard deviation: 0.11). The ROC curves for 10 folds and the average ROC curve were plotted (Fig. 4A). These results indicate that the model has high accuracy and robustness in predicting the 30-day mortality of the patients, while maintaining a stable performance on different datasets. The ROC curve of the test set (Fig. 4B) had a AUC of 0.919 (95% CI: 0.818–1.000), further demonstrating the reliability of the results.

Fig. 4
figure 4

Area under the curve of the risk score. A The results of 10-fold cross-validation in the training cohort; blue lines represent the average ROC curve over the 10 folds. B The 10-fold cross-validation results for the test cohort. CI, confidence interval. ROC, receiver operating characteristic

After generating the calibration curve using 1000 iterations of Bootstrap resampling for both the training and test datasets (Fig. 5), we evaluated the calibration performance of the model using the calibration curve. Based on our evaluation, the model demonstrated good calibration performance.

Fig. 5
figure 5

The calibration curve for nomogram. The nomogram-predicted short-term mortality probability is plotted on the x-axis, and the observed short-term mortality on the y-axis. A perfect prediction would correspond to a 45° grey dashed line. The blue solid line represents the cohort (training or test), and the red solid line represents the bias corrected by bootstrapping (B = 1000 repetitions), indicating the observed nomogram performance. Calibration curves for predicting short-term mortality in the training (A) and test (B) cohorts. MBO, malignant biliary obstruction

DCA is utilized to evaluate the clinical utility of the model (Fig. 6). It demonstrates that the nomogram model exhibits higher net benefits across a wide range of threshold probabilities compared to both full treatment and no treatment scenarios.

Fig. 6
figure 6

DCA of the nomogram. DCA, decision curve analysis

Risk stratification based on the nomogram

Finally, we used the nomogram to perform risk stratification. Patients with probability total scores of < 90, 90–120, and \(\ge\) 120 were assigned to the low-, moderate-, and high-risk groups, respectively. The proportionality hazard assumption was assessed using Schoenfeld residual analysis. In Fig. 7, the p-values for the risk groups were presented (Fig. 7A). The results indicated that the risk groups met the proportionality hazard assumption. Compared to the low-risk group, the middle-risk group and high-risk group had HRs of 8.41 (95% CI, 2.37–29.8; p < 0.001) and 34.53 (95% CI, 11.21–106.3; p < 0.001), respectively (Fig. 7B).

Fig. 7
figure 7

Schoenfeld residuals analysis of risk groups. A Hazard ratio in different risk groups. B L, low-risk group. M, moderate-risk group. H high-risk group.95% CI, 95% confidence interval

The Kaplan–Meier survival curves separated by nomogram-based grouping are depicted in Fig. 8, revealing a significantly lower 30-day mortality in the low-risk group compared to that of the high-risk group (p < 0.001).

Fig. 8
figure 8

Kaplan–Meier survival curves for nomogram-grouped patients with MBO after endoscopic endobiliary metal stent placement. The p-value (< 0.001) was determined using the log-rank test. L, low-risk group. M, moderate-risk group. H high-risk group. MBO, malignant biliary obstruction

Discussion

Our study demonstrates that post-ERCP complications, distant metastasis, TB, and successful drainage are significant independent predictors of 30-day post-ERCP mortality in patients with MBO. We should pay attention to and reasonably dispose of these independent factors to improve surgical outcomes and reduce the financial burden on the patients.

Post-ERCP complications are adverse events following surgery for MBO and may affect the short-term mortality rates of patients. Previous studies have shown that post-ERCP complications are significantly associated with short-term mortality in these patients. For instance, a retrospective study found that patients with postoperative cholangitis had significantly higher early mortality rates (6.5% vs. 0.5%, p < 0.001) [23]. Another study suggested that post-ERCP complications are one of the independent risk factors for short-term mortality in patients with MBO [24]. Several factors may explain why post-ERCP complications can affect short-term mortality in these patients. First, these complications can prolong hospitalization, increasing the patients burden and pain [25, 26]. Second, post-ERCP complications can weaken patients’ physical condition, increasing the risk of short-term death [27, 28]. In conclusion, post-ERCP complications are closely related to short-term mortality in patients with MBO. Therefore, active measures should be taken to prevent and manage such complications during treatment, in order to reduce the risk of short-term mortality in these patients.

Poor tumor staging is considered an unfavorable factor affecting the survival of patients with MBO. Due to difficulties in obtaining tumor samples and low diagnostic sensitivity, most studies [29, 30] use the Bismuth–Corlette classification and metastatic status to determine tumor stages. Metastatic and advanced tumors are more likely to result in shorter survival times in patients with MBO [31]. Liver metastases are an independent factor influencing the 12-month survival of patients with unresectable hilar cholangiocarcinoma (HCCA) [32]. Tumor stage is an independent risk factor for survival in patients with HCCA [33]. The results of the multivariable analysis in our study showed that distant metastasis was an independent adverse factor affecting survival, which is consistent with previous studies.

Furthermore, successful drainage was significantly associated with 30-day mortality. Adequate bile drainage is considered a technical success for biliary stenting and is associated with increased survival rates [22, 32,33,34,35,36,37]. However, the number of stents was not associated with 30-day mortality. Several studies have reported similar effects of unilateral and bilateral stents on bile drainage [38,39,40]. In a small retrospective study of 46 consecutive patients who underwent palliative endoscopic biliary stenting for MBO, the overall stent patency rate was significantly higher in the group that received bilateral stents than that of the unilateral stenting group [41]. This may be because the unilateral stent does not provide adequate drainage from the obstruction site. Stenting is performed to provide adequate drainage, and, regardless of the number of stents implanted, the final bile connection status is always the same as long as adequate drainage is ensured. Therefore, bile drainage efficiency should not be influenced by the number of stents used.

The nomogram was constructed with distant metastasis, TB, Post-ERCP complications, and successful drainage as relevant factors. Our study demonstrated that the prediction model performed well in both discriminating and calibrating the training cohort and was subsequently validated in the test cohort, showing consistent diagnostic performance and confirming its reliability. To enhance the clinical utility of the prediction model, we divided the predicted risk scores into three groups. Figure 8 depicts the reliability of this classification, which could aid physicians in deciding optimal palliative strategies for patients with unresectable MBO. For instance, patients with a total score > 120 have a high likelihood of death within 30 days of stent placement. In our scoring system, patients can reach this level even before surgery, indicating that their risk may have been underestimated. For such patients, surgery should be postponed unless it is certain that it will significantly improve the patient’s symptoms. Furthermore, a preoperative multi-disciplinary treatment plan should be devised to minimize the short-term risk of death by a combination of liver protection options. If invasive interventions are performed on such patients, plastic stents may be a better choice. Patients who reach this score after stent placement should remain in hospital observation time for an appropriately extended period to prevent adverse events. In contrast, patients with probability total scores < 90 had a low probability of death 30 days after stent placement. Biliary drainage can benefit these patients, and metal stents are preferred. For patients with a total probability score between 120 and 90, the treatment approach should be determined based on the patient’s performance status and the physician’s discretion.

This study has multiple strengths. One of the main advantages of this study was the inclusion of a substantial cohort of patients with unresectable MBO, as well as a lengthy period of data collection. Furthermore, the study is, to our knowledge, the first to use LASSO regression to screen features and develop a 30-day mortality prediction model, which was subsequently internally validated using a test cohort. Finally, in practice, information regarding the variables used in the nomogram can be easily obtained from patients with MBO. Using our predictive model, clinicians can immediately and accurately predict a prognosis and obtain useful information regarding postoperative treatment.

However, our study also has some limitations. Firstly, being a retrospective study, we might have missed some significant clinical features associated with mortality in our cohort. Secondly, the potential for unmeasured bias cannot be ruled out, and therefore, the prediction model needs to be externally validated in a larger prospective cohort to confirm the accuracy of the model in predicting 30-day mortality after stent placement.

Conclusions

The prognosis for patients with MBO is poor. Biliary drainage can benefit these patients and, therefore, should be performed. The choice of treatment options for this group of patients should consider both cost-effectiveness and the expected length of survival. We identified four variables affecting the survival of patients with MBO and constructed a nomogram to assist clinical decisions. All the variables were objective and easily accessible. The nomogram can help identify which patients with MBO would benefit from ERCP in terms of survival. This allows us to better select future ERCP candidates and develop a reasonable treatment plan.

Availability of data and materials

The data that support the findings of this study are available from the corresponding author, Huangbao Li, upon reasonable request.

Abbreviations

MBO:

Malignant biliary obstruction

ERCP:

Endoscopic retrograde cholangiopancreatography

PS:

Plastic stents

MS:

Metal stents

ML:

Machine learning

PT:

Prothrombin time

TB:

Total bilirubin

ALT:

Albumin, alanine aminotransferase

AST:

Aspartate aminotransferase

OR:

Odds ratios

CI:

Confidence interval

VIF:

Variance inflation factor

AUC:

Area under the receiver operating characteristic curve

ROC:

Receiver operating characteristic

HCCA:

Hilar cholangiocarcinoma

DCA:

Decision curve analysis

References

  1. Tsuyuguchi T, Takada T, Miyazaki M, Miyakawa S, Tsukada K, Nagino M, Kondo S, Furuse J, Saito H, Suyama M, Kimura F, Yoshitomi H, Nozawa S, Yoshida M, Wada K, Amano H, Miura F. Japanese association of biliary surgery; Japanese society of hepato-biliary-pancreatic surgery; Japan society of clinical oncology. Stenting and interventional radiology for obstructive jaundice in patients with unresectable biliary tract carcinomas. J Hepatobiliary Pancreat Surg. 2008;15(1):69–73. https://doi.org/10.1007/s00534-007-1282-x.

  2. Abraham NS, Barkun JS, Barkun AN. Palliation of malignant biliary obstruction: a prospective trial examining impact on quality of life. Gastrointest Endosc. 2002;56(6):835–41. https://doi.org/10.1067/mge.2002.129868.

  3. Malangoni MA, McCoy DM, Richardson JD, Flint LM. Effective palliation of malignant biliary duct obstruction. Ann Surg. 1985;201(5):554–9. https://doi.org/10.1097/00000658-198505000-00003.

  4. Pereira-Lima JC, Jakobs R, Maier M, Kohler B, Benz C, Martin WR, Riemann JF. Endoscopic stenting in obstructive jaundice due to liver metastases: does it have a benefit for the patient? Hepatogastroenterology. 1996;43(10):944–8.

  5. Arguedas MR, Heudebert GH, Stinnett AA, Wilcox CM. Biliary stents in malignant obstructive jaundice due to pancreatic carcinoma: a cost-effectiveness analysis. Am J Gastroenterol. 2002;97(4):898–904. https://doi.org/10.1111/j.1572-0241.2002.05606.x.

  6. Martin JA, Slivka A, Rabinovitz M, Carr BI, Wilson J, Silverman WB. ERCP and stent therapy for progressive jaundice in hepatocellular carcinoma: which patients benefit, which patients don't? Dig Dis Sci. 1999;44(7):1298–302. https://doi.org/10.1023/a:1026618927885.

  7. Eklund JW, Trifilio S, Mulcahy MF. Chemotherapy dosing in the setting of liver dysfunction. Oncology (Williston Park). 2005;19(8):1057–63; discussion 1063-4, 1069. 

  8. Donelli MG, Zucchetti M, Munzone E, D'Incalci M, Crosignani A. Pharmacokinetics of anticancer agents in patients with impaired liver function. Eur J Cancer. 1998;34(1):33–46. https://doi.org/10.1016/s0959-8049(97)00340-7.

  9. Venook AP, Egorin MJ, Rosner GL, Hollis D, Mani S, Hawkins M, Byrd J, Hohl R, Budman D, Meropol NJ, Ratain MJ. Phase I and pharmacokinetic trial of gemcitabine in patients with hepatic or renal dysfunction: Cancer and Leukemia Group B 9565. J Clin Oncol. 2000;18(14):2780–7. https://doi.org/10.1200/JCO.2000.18.14.2780.

  10. Baron TH. Palliation of malignant obstructive jaundice. Gastroenterol Clin North Am. 2006;35(1):101–12.

    Article  PubMed  Google Scholar 

  11. Termsinsuk P, Charatcharoenwitthaya P, Pausawasdi N. Development and validation of a 90-day mortality prediction model following endobiliary drainage in patients with unresectable malignant biliary obstruction. Front Oncol. 2022;12:922386.

    Article  PubMed  PubMed Central  Google Scholar 

  12. Paik WH, Park YS, Hwang JH, Lee SH, Yoon CJ, Kang SG, Lee JK, Ryu JK, Kim YT, Yoon YB. Palliative treatment with self-expandable metallic stents in patients with advanced type III or IV hilar cholangiocarcinoma: a percutaneous versus endoscopic approach. Gastrointest Endosc. 2009;69(1):55–62.

    Article  PubMed  Google Scholar 

  13. Shepherd HA, Royle G, Ross AP, Diba A, Arthur M, Colin-Jones D. Endoscopic biliary endoprosthesis in the palliation of malignant obstruction of the distal common bile duct: a randomized trial. Br J Surg. 1988;75(12):1166–8. https://doi.org/10.1002/bjs.1800751207.

  14. Inamdar S, Slattery E, Bhalla R, Sejpal DV, Trindade AJ. Comparison of adverse events for endoscopic vs percutaneous biliary drainage in the treatment of malignant biliary tract obstruction in an inpatient national cohort. JAMA Oncol. 2016;2(1):112–7.

    Article  PubMed  Google Scholar 

  15. Strom TJ, Klapman JB, Springett GM, Meredith KL, Hoffe SE, Choi J, Hodul P, Malafa MP, Shridhar R. Comparative long-term outcomes of upfront resected pancreatic cancer after preoperative biliary drainage. Surg Endosc. 2015;29(11):3273–81. https://doi.org/10.1007/s00464-015-4075-3.

  16. Dumonceau JM, Tringali A, Papanikolaou IS, Blero D, Mangiavillano B, Schmidt A, Vanbiervliet G, Costamagna G, Deviere J, Garcia-Cano J, et al. Endoscopic biliary stenting: indications, choice of stents, and results: European Society of Gastrointestinal Endoscopy (ESGE) clinical guideline - updated October 2017. Endoscopy. 2018;50(9):910–30.

    Article  PubMed  Google Scholar 

  17. Sripongpun P, Attasaranya S, Chamroonkul N, Sookpaisal T, Khow-Ean U, Siripun A, Kongkamol C, Piratvisuth T, Ovartlarnporn B. Simple clinical score to predict 24-week survival times in patients with inoperable malignant distal biliary obstruction as a tool for selecting palliative metallic or plastic stents. J Gastrointest Cancer. 2018;49(2):138–43.

    Article  PubMed  Google Scholar 

  18. Prat F, Chapat O, Ducot B, Ponchon T, Fritsch J, Choury AD, Pelletier G, Buffet C. Predictive factors for survival of patients with inoperable malignant distal biliary strictures: a practical management guideline. Gut. 1998;42(1):76–80. https://doi.org/10.1136/gut.42.1.76.

  19. Hernández Guerrero A, Sánchez del Monte J, Sobrino Cossío S, Alonso Lárraga O, Delgado de la Cruz L, Frías Mendívil MM, Frías Mendívil CM. Factores pronósticos de mortalidad en la estenosis biliar distal maligna irresecable después de la colocación de una prótesis endoscópica [Prognostic factors of mortality in the malignant biliary obstruction unresectable after the insertion of an endoscopic stent]. Rev Gastroenterol Mex. 2006;71(1):22–30. Spanish.

  20. Deo RC. Machine learning in medicine. Circulation. 2015;132(20):1920–30.

    Article  PubMed  PubMed Central  Google Scholar 

  21. Handelman GS, Kok HK, Chandra RV, Razavi AH, Lee MJ, Asadi H. eDoctor: machine learning and the future of medicine. J Intern Med. 2018;284(6):603–19. https://doi.org/10.1111/joim.12822.

  22. Freeman ML, Overby C. Selective MRCP and CT-targeted drainage of malignant hilar biliary obstruction with self-expanding metallic stents. Gastrointest Endosc. 2003;58(1):41–9.

    Article  PubMed  Google Scholar 

  23. Xia MX, Wang SP, Wu J, Gao DJ, Ye X, Wang TT, Zhao Y, Hu B. The risk of acute cholangitis after endoscopic stenting for malignant hilar strictures: a large comprehensive study. J Gastroenterol Hepatol. 2020;35(7):1150–7.

    Article  PubMed  Google Scholar 

  24. Harvey PR, Baldwin S, Mytton J, Dosanjh A, Evison F, Patel P, Trudgill NJ. Higher volume providers are associated with improved outcomes following ERCP for the palliation of malignant biliary obstruction. EClinicalMedicine. 2020;18:100212.

    Article  PubMed  PubMed Central  Google Scholar 

  25. Smeets XJNM, da Costa DW, Besselink MG, Bruno MJ, Fockens P, Mulder CJJ, van der Hulst RW, Vleggaar FP, Timmer R, Drenth JPH, et al. Systematic review: periprocedural hydration in the prevention of post-ERCP pancreatitis. Aliment Pharmacol Ther. 2016;44(6):541–53.

    Article  CAS  PubMed  Google Scholar 

  26. Arata S, Takada T, Hirata K, Yoshida M, Mayumi T, Hirota M, Yokoe M, Hirota M, Kiriyama S, Sekimoto M, Amano H, Wada K, Kimura Y, Gabata T, Takeda K, Kataoka K, Ito T, Tanaka M. Post-ERCP pancreatitis. J Hepatobiliary Pancreat Sci. 2010;17(1):70–8. https://doi.org/10.1007/s00534-009-0220-5.

  27. Gross V, Leser HG, Heinisch A, Schölmerich J. Inflammatory mediators and cytokines--new aspects of the pathophysiology and assessment of severity of acute pancreatitis? Hepatogastroenterology. 1993;40(6):522–30.

  28. Freeman ML, Guda NM. Prevention of post-ERCP pancreatitis: a comprehensive review. Gastrointest Endosc. 2004;59(7):845–64. https://doi.org/10.1016/s0016-5107(04)00353-0.

  29. De Bellis M, Sherman S, Fogel EL, Cramer H, Chappo J, McHenry L Jr, Watkins JL, Lehman GA. Tissue sampling at ERCP in suspected malignant biliary strictures (Part 1). Gastrointest Endosc. 2002;56(4):552–61. https://doi.org/10.1067/mge.2002.128132.

  30. de Bellis M, Sherman S, Fogel EL, Cramer H, Chappo J, McHenry L Jr, Watkins JL, Lehman GA. Tissue sampling at ERCP in suspected malignant biliary strictures (Part 2). Gastrointest Endosc. 2002;56(5):720–30. https://doi.org/10.1067/mge.2002.129219.

  31. Salim A, Jabbar S, Amin FU, Malik K. Management and outcome of jaundice secondary to malignancies of the gall bladder, biliary tree and pancreas: a single Centre Experience. J Ayub Med Coll Abbottabad. 2018;30(4):571–5.

  32. Arvanitakis M, Van Laethem JL, Pouzere S, Le Moine O, Deviere J. Predictive factors for survival in patients with inoperable Klatskin tumors. Hepatogastroenterology. 2006;53(67):21–7.

  33. Li M, Li K, Qi X, Wu W, Zheng L, He C, Yin Z, Fan D, Zhang Z, Han G. Percutaneous transhepatic biliary stent implantation for obstructive jaundice of perihilar cholangiocarcinoma: a prospective study on predictors of stent patency and survival in 92 patients. J Vasc Interv Radiol. 2016;27(7):1047–55.e2. https://doi.org/10.1016/j.jvir.2016.02.035.

  34. Cassani LS, Chouhan J, Chan C, Lanke G, Chen HC, Wang X, Weston B, Ross WA, Raju GS, Lee JH. Biliary decompression in perihilar cholangiocarcinoma improves survival: a single-center retrospective analysis. Dig Dis Sci. 2019;64(2):561–9. https://doi.org/10.1007/s10620-018-5277-z.

  35. Takahashi K, Tsuyuguchi T, Saiga A, Horikoshi T, Ooka Y, Sugiyama H, Nakamura M, Kumagai J, Yamato M, Iino Y, Shingyoji A, Ohyama H, Yasui S, Mikata R, Sakai Y, Kato N. Risk factors of ineffective drainage in uncovered self-expandable metal stenting for unresectable malignant hilar biliary strictures. Oncotarget. 2018;9(46):28185–94. https://doi.org/10.18632/oncotarget.25598.

  36. Vienne A, Hobeika E, Gouya H, Lapidus N, Fritsch J, Choury AD, Chryssostalis A, Gaudric M, Pelletier G, Buffet C, Chaussade S, Prat F. Prediction of drainage effectiveness during endoscopic stenting of malignant hilar strictures: the role of liver volume assessment. Gastrointest Endosc. 2010;72(4):728–35. https://doi.org/10.1016/j.gie.2010.06.040.

  37. Takahashi E, Fukasawa M, Sato T, Takano S, Kadokura M, Shindo H, Yokota Y, Enomoto N. Biliary drainage strategy of unresectable malignant hilar strictures by computed tomography volumetry. World J Gastroenterol. 2015;21(16):4946–53. https://doi.org/10.3748/wjg.v21.i16.4946.

  38. Fu YF, Xu YS, Shi YB, Zong RL, Cao C. Percutaneous metal stenting for malignant hilar biliary obstruction: a systematic review and meta-analysis of unilateral versus bilateral stenting. Abdom Radiol (NY). 2021;46(2):749–56. https://doi.org/10.1007/s00261-020-02643-y.

  39. Teng F, Xian YT, Lin J, Li Y, Wu AL. Comparison of Unilateral With Bilateral Metal Stenting for Malignant Hilar Biliary Obstruction. Surg Laparosc Endosc Percutan Tech. 2019;29(1):43–8. https://doi.org/10.1097/SLE.0000000000000594.

  40. Aghaie Meybodi M, Shakoor D, Nanavati J, Ichkhanian Y, Vosoughi K, Brewer Gutierrez OI, Kalloo AN, Singh V, Kumbhari V, Ngamruengphong S, Khashab MA. Unilateral versus bilateral endoscopic stenting in patients with unresectable malignant hilar obstruction: a systematic review and meta-analysis. Endosc Int Open. 2020;8(3):E281–90. https://doi.org/10.1055/a-1067-4326.

  41. Naitoh I, Ohara H, Nakazawa T, Ando T, Hayashi K, Okumura F, Okayama Y, Sano H, Kitajima Y, Hirai M, Ban T, Miyabe K, Ueno K, Yamashita H, Joh T. Unilateral versus bilateral endoscopic metal stenting for malignant hilar biliary obstruction. J Gastroenterol Hepatol. 2009;24(4):552–7. https://doi.org/10.1111/j.14401746.2008.05750.x.

Download references

Acknowledgements

Not applicable.

Funding

The work was funded by grants from the Science and Technology Project of Zhejiang Medical and Health [2021KY1103], Key Discipline of Hepatobiliary and Pancreatic Surgery of Jiaxing City [2023-zc-005], Translational therapy center for hepatobiliary pancreatic cancer [2021-YJZX-04]. Science and technology project of Jiaxing [2022AD30066, 2023AD31059].

Author information

Authors and Affiliations

Authors

Contributions

All authors contributed to the study conception and design. Material preparation, data collection and analysis were performed by ZDZ, KXH and ZLZ. The first draft of the manuscript was written by ZDZ, and HBL commented on previous versions of the manuscript. All authors read and approved the final manuscript.

Corresponding author

Correspondence to Huangbao Li.

Ethics declarations

Ethics approval and consent to participate

This study protocol was approved by the Institutional Review Board of the First Hospital of Jiaxing (NO. 2022-LY-229). All procedures followed the ethical standards of the responsible committee on human experimentation (institutional and national) and the Helsinki Declaration of 1964 and later versions. Waiver of the informed consent was approved by institutional review board (The Institutional Review Board of the First Hospital of Jiaxing) due to the retrospective nature of the study.

Consent for publication

Not applicable.

Competing interests

The authors declare no competing interests.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Zhu, Z., Hu, K., Zhao, F. et al. Machine learning-based nomogram for 30-day mortality prediction for patients with unresectable malignant biliary obstruction after ERCP with metal stent: a retrospective observational cohort study. BMC Surg 23, 260 (2023). https://doi.org/10.1186/s12893-023-02158-5

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s12893-023-02158-5

Keywords