Cao XX, Sun M. Prediction model for the occurrence of acute pancreatitis after endoscopic retrograde cholangiopancreatography based on multidimensional indicators. World J Gastrointest Surg 2025; 17(12): 111003 [DOI: 10.4240/wjgs.v17.i12.111003]
Corresponding Author of This Article
Min Sun, Associate Professor, Department of Gastroenterology, The Affiliated Hospital of Xuzhou Medical University, No. 99 Huaihai West Road, Xuzhou 221000, Jiangsu Province, China. sunminnt820919@163.com
Research Domain of This Article
Gastroenterology & Hepatology
Article-Type of This Article
Retrospective Study
Open-Access Policy of This Article
This article is an open-access article which was selected by an in-house editor and fully peer-reviewed by external reviewers. It is distributed in accordance with the Creative Commons Attribution Non Commercial (CC BY-NC 4.0) license, which permits others to distribute, remix, adapt, build upon this work non-commercially, and license their derivative works on different terms, provided the original work is properly cited and the use is non-commercial. See: http://creativecommons.org/licenses/by-nc/4.0/
Dec 27, 2025 (publication date) through Dec 25, 2025
Times Cited of This Article
Times Cited (0)
Journal Information of This Article
Publication Name
World Journal of Gastrointestinal Surgery
ISSN
1948-9366
Publisher of This Article
Baishideng Publishing Group Inc, 7041 Koll Center Parkway, Suite 160, Pleasanton, CA 94566, USA
Share the Article
Cao XX, Sun M. Prediction model for the occurrence of acute pancreatitis after endoscopic retrograde cholangiopancreatography based on multidimensional indicators. World J Gastrointest Surg 2025; 17(12): 111003 [DOI: 10.4240/wjgs.v17.i12.111003]
Author contributions: Cao XX conceived the project, acquired and analyzed data, and wrote the manuscript; Sun M designed the study and edited and critically revised the manuscript; and all authors contributed to the article and approved the submitted version.
Institutional review board statement: This study was reviewed and approved by the Institutional Review Board of the Affiliated Hospital of Xuzhou Medical University, No. XYFY2023-KL375-01.
Informed consent statement: Due to the retrospective nature of the study, the Ethics Committee approved the waiver of informed consent.
Conflict-of-interest statement: All the authors report no relevant conflicts of interest for this article.
Data sharing statement: The original anonymous dataset is available upon request from the corresponding author.
Open Access: This article is an open-access article that was selected by an in-house editor and fully peer-reviewed by external reviewers. It is distributed in accordance with the Creative Commons Attribution NonCommercial (CC BY-NC 4.0) license, which permits others to distribute, remix, adapt, build upon this work non-commercially, and license their derivative works on different terms, provided the original work is properly cited and the use is non-commercial. See: https://creativecommons.org/Licenses/by-nc/4.0/
Corresponding author: Min Sun, Associate Professor, Department of Gastroenterology, The Affiliated Hospital of Xuzhou Medical University, No. 99 Huaihai West Road, Xuzhou 221000, Jiangsu Province, China. sunminnt820919@163.com
Received: June 24, 2025 Revised: July 28, 2025 Accepted: October 20, 2025 Published online: December 27, 2025 Processing time: 183 Days and 18.2 Hours
Abstract
BACKGROUND
Post-endoscopic retrograde cholangiopancreatography (ERCP) pancreatitis is a common complication of the procedure. The effective prevention of post-ERCP pancreatitis (PEP) remains a key focus of clinical research.
AIM
To develop a prediction model for PEP based on multidimensional clinical indicators and evaluate its clinical application value.
METHODS
We retrospectively analyzed 183 patients with biliary tract diseases who underwent ERCP at Xuzhou Medical University from January 2020 to June 2023, divided into non-PEP (n = 159) and PEP (n = 24) groups based on PEP development. Baseline and intraoperative data were compared, and PEP-related factors examined via univariate and multivariate logistic regression. Using R, 70% of patients were assigned to training and 30% to testing sets for PEP prediction model development. Model accuracy was evaluated using a calibration curve and receiver operating characteristic (ROC) area under the curve (AUC).
RESULTS
Age, total cholesterol level, history of pancreatitis, pancreatic ductography, bleeding, and intubation time differed significantly between the two groups when baseline data and intraoperative conditions were compared (P < 0.05). Multifactorial logistic regression analysis demonstrated that age [odds ratio (OR) = 0.192, 95% confidence interval (CI): 0.053-0.698], total cholesterol (OR = 0.324, 95%CI: 0.152-0.694), history of pancreatitis (OR = 6.159, 95%CI: 1.770-21.434), pancreatography (OR = 3.726, 95%CI: 1.028-13.507), and bleeding (OR = 3.059, 95%CI: 1.001-9.349) were independently associated with acute pancreatitis after ERCP. The predictive probabilities from the calibration curves had mean errors of 0.021 and 0.030, with ROC AUCs of 0.840 and 0.797 in the training and test sets, respectively.
CONCLUSION
Age, total cholesterol, pancreatitis history, pancreatic ductography, and bleeding influence the risk of acute PEP. A model incorporating these factors may aid early detection and intervention.
Core Tip: A predictive model of acute post-endoscopic retrograde cholangiopancreatography pancreatitis (PEP) was constructed based on age, total cholesterol, history of pancreatitis, pancreatic ductography, and bleeding. Its application in clinical settings allows for targeted and prophylactic treatments for different patients and reduces the risk of PEP in patients.
Citation: Cao XX, Sun M. Prediction model for the occurrence of acute pancreatitis after endoscopic retrograde cholangiopancreatography based on multidimensional indicators. World J Gastrointest Surg 2025; 17(12): 111003
Endoscopic retrograde cholangiopancreatography (ERCP) is an essential clinical tool for identifying and managing biliary and pancreatic diseases in China[1]. With the advancement and the widespread adoption of ERCP technology, notable changes have occurred in ERCP practices, timing of intervention, and perioperative management[2]. ERCP has demonstrated promising clinical efficacy in removing extrahepatic gallstones and relieving obstructive jaundice[3-5]. Significant complications of ERCP as an invasive procedure include acute pancreatitis, cholangitis/septicemia, hemorrhage, and bowel perforation[6]. Among these, the incidence of acute pancreatitis ranges from 1.6% to 15%[7], and it is one of the most common postoperative complications. While most cases of post-ERCP pancreatitis (PEP) are mild to moderate, approximately 1.5% are severe, and the overall mortality associated with PEP is approximately 3%[8]. Evidence suggests that the occurrence of PEP is influenced by patient-related and surgical-related factors, among others[9]. Its treatment often involves significant healthcare resources and may require prolonged hospitalization[10]. Therefore, early prediction of acute PEP is crucial for preventing and reducing patients' risk of post-operative pancreatitis. Although the risk factors for developing PEP after ERCP have been analyzed, the relevant study focused only on prophylactic pancreatic stenting and rectal indomethacin, without considering other influencing factors[11].
This study developed a PEP prediction model using multidimensional indicators through univariate and multivariate logistic regression analyses. The model’s clinical application value was assessed to facilitate early warning of acute pancreatitis in patients developing the condition after EPCR, aiding effective clinical treatment and intervention.
MATERIALS AND METHODS
General information
We retrospectively analyzed 183 patients (108 men and 75 women) with biliary tract disease admitted to the Affiliated Hospital of Xuzhou Medical University between January 2020 and June 2023. They were categorized into two groups based on post-ERCP pancreatitis: The non-PEP group (n = 159) and the PEP group (n = 24), with an overall incidence rate of 13.11%.
Inclusion criteria: Patients who underwent ERCP surgery. Patients whose clinical features were consistent with the Chinese ERCP guidelines (2018) edition, and the diagnosis of PEP was confirmed if any two were met: (1) Typical abdominal pain symptoms; (2) Serum amylase and lipase exceeding three times the upper limit of normal for 24 hours after ERCP surgery; and (3) Computed tomography findings suggestive of pancreatitis. Patients with complete clinical data.
Exclusion criteria: (1) Presence of malignant tumors of the bile duct and pancreas; (2) Incomplete duodenal papillae; and (3) Pancreatitis within 1 week before surgery.
This study was reviewed and approved by the Institutional Review Board of the Affiliated Hospital of Xuzhou Medical University.
Data collection
Baseline data and surgical indices of the patients were collected, including age, sex, body mass index, history of pancreatitis, history of hypertension, total cholesterol (TC), low-density lipoprotein (LDL), high-density lipoprotein (HDL), triglyceride (TG) levels, choledochal dilatation, duodenal papillary sphincter dissection, pancreatic ductography, deeper penetration of the guidewire into the pancreatic duct, bleeding, number of intubations, and duration of intubation.
Statistical analysis
Statistical analyses were performed using SPSS version 27.0 and R version 4.4.2. Continuous variables with a normal distribution are presented as mean ± SD, and the independent samples t-test was used to compare groups. Count data are represented as [n (%)], and the χ2 test was used to compare groups. Multifactor logistic regression analysis was used to screen for independent influencing factors of post-ERCP pancreatitis, and the difference was considered statistically significant (P < 0.05). For predictive modeling, 70% of the data were randomly selected as the training set to establish the column-line diagram model of post-ERCP pancreatitis. The test set consisted of the remaining 30% of the data. Calibration curves of the column-line diagram prediction were plotted to evaluate the consistency of the model, and the receiver operating characteristic (ROC) curves of the model prediction were plotted. The ability of the column-line diagram model to forecast post-ERCP pancreatitis was evaluated using the area under the curve (AUC).
RESULTS
Clinical characteristics
The findings of this study demonstrated substantial differences between the two groups regarding age, history of pancreatitis, and TC levels (P < 0.05), while sex, history of hypertension, LDL-C, HDL-C, and TG levels were not significantly different (P > 0.05) (Table 1).
Table 1 Comparison of the two groups' baseline data, n (%).
The results indicated that there was a noteworthy variation in pancreatic ductography, bleeding, and intubation time in the two groups (P < 0.05), while there was no discernible variation in choledochal dilatation, duodenal papillary sphincter dissection, deep guidewire penetration into the pancreatic duct, and the number of intubations (P > 0.05) (Table 2).
Table 2 Intraoperative conditions comparison between the two groups, n (%).
Intraoperative situations
PEP group (n = 24)
Non-PEP group (n = 159)
|t|/χ2
P value
Choledochal dilatation (yes/no)
4 (16.67)/20 (83.33)
19 (11.95)/140 (88.05)
0.422
0.516
Duodenal papillary sphincter dissection (yes/no)
19 (79.17)/5 (20.83)
116 (72.96)/43 (27.04)
0.416
0.519
Pancreatic ductography (yes/no)
7 (29.17)/17 (70.83)
19 (11.95)/138 (86.79)
4.928
0.026
Deeper penetration of the guidewire into the pancreatic duct (yes/no)
Single-factor logistic regression assessing PEP determinants
Based on the previously identified variables that differ significantly between groups (age, TC level, history of pancreatitis, pancreatic ductography, bleeding, and time to intubation), univariate regression analysis was performed to analyze their association with PEP (Table 3). The findings revealed significant variations in age, TC, history of pancreatitis, pancreatic ductography, and bleeding across the groups (P < 0.05), while intubation duration showed no significant variation (P > 0.05).
Table 3 Univariate logistic regression to analyze the influence of post-endoscopic retrograde cholangiopancreatography pancreatitis.
Multi-factor logistic regression assessing PEP determinants
In the multivariate regression, significant univariate factors (P < 0.05) were included (Table 4). The results showed that patients' age, TC level, history of pancreatitis, pancreatic ductography, and bleeding significantly differed (P < 0.05) and were important factors affecting PEP.
Table 4 Multifactor logistic regression to analyse the influence of post-endoscopic retrograde cholangiopancreatography pancreatitis.
A column-line graph containing the five significant indicators was developed using the findings of the multifactor logistic regression analysis (Figure 1). A score was assigned to each influential factor, and the probability of PEP was determined based on the total score for all factors. The mean prediction errors of the calibration curves for the model's training and test sets were 0.021 and 0.030, respectively, indicating that the agreement between the model's predicted probabilities and the actual values was good (Figure 2).
Figure 2 Column line graph calibration curves.
A: Train set calibration curves; B: Test set calibration curves.
ROC curve
The ROC curves of the model predicting PEP were plotted (Figure 3). The AUC for the training set was 0.840 (95%CI: 0.746-0.961), and the AUC for the test set was 0.797 (95%CI: 0.667-0.928).
Figure 3 Receiver operating characteristic curve.
A: Train set; B: Test set. AUC: Area under the receiver operating characteristic curve; CI: Confidence interval.
External validation
Ninety-two patients with biliary tract disorders admitted to our hospital from July 2023 to December 2024 were selected, and their data on age, TC, history of pancreatitis, pancreatic ductography, and bleeding were collected for external validation. The confusion matrix's accuracy, sensitivity, specificity, and precision were 89.13%, 76.19%, 92.96%, and 76.19%, respectively (Table 5).
PEP is a common complication of post-ERCP, and it significantly increases the risk of poor postoperative outcomes and mortality[12,13]. Consequently, the prevention and early intervention of PEP is vital. PEP is influenced by various factors, including individual patient differences, intraoperative practices, enzymatic damage, and many other clinical characteristics[14]. In this study, we examined the factors influencing the incidence of PEP after ERCP. We constructed a prediction model to provide data references for early warning and the creation of effective therapeutic interventions and treatments. This study compared the baseline data and surgical indices of patients who developed and those who did not develop PEP after ERCP. The findings revealed significant variations in age, TC, history of pancreatitis, pancreatic ductography findings, bleeding, and time to intubation (P < 0.05). Single-factor and multi-factor logistic regression analyses were performed on these six indicators, which revealed that patient age, TC, history of pancreatitis, pancreatic ductography, and bleeding were independently associated with the occurrence of acute pancreatitis after ERCP (odds ratio = 0.192, 0.324, 6.159, 3.726, 3.059). This is consistent with the results of previous studies[15-17]. It has been shown that in mild pancreatic damage, the body is subjected to stress, leading to an increase in pancreatic fluid secretion, which in turn aggravates pancreatic damage, and that pancreatic exocrine function decreases progressively with age[18]. Thus, people under 60 years of age have a much higher prevalence of PEP than people over 60[19,20]. High or low TC levels may be associated with the development of acute pancreatitis[21]. However, in the current investigation, the TC levels of patients with PEP were substantially lower than those in the non-PEP group (P < 0.05). Pancreaticobiliary ductography visualizes the pancreaticobiliary duct on X-ray by injecting a contrast medium into the pancreaticobiliary duct. However, the injection of the contrast medium increases the pressure in the pancreatic duct, which leads to reflux of pancreatic fluid and increases the likelihood of PEP[22,23]. One of the most dangerous side effects of ERCP is bleeding, particularly after stenosis dilatation, biliary biopsy, and ablation treatment, with an incidence of approximately 0.3% to 2%. Types of bleeding include early bleeding, which happens during the procedure, and delayed bleeding, which occurs hours or weeks after the procedure[24,25].
Timely assessment of the risk of pancreatitis after ERCP can significantly improve clinical outcomes and provide better postoperative care for patients. Timely assessment can also enhance the prediction of patients at high risk of complications following surgery and facilitates preventive interventions in advance, thereby reducing the probability of adverse complications and significantly improving patients' postoperative recovery and survival rates[26-28]. A previous study developed and validated a predictive model for PEP following the implantation of a biliary stent for malignant biliary obstruction and found that the AUCs for prediction and validation of the model were 0.810 and 0.781, respectively. This showed that the model had a good predictive performance[29]. However, this study was limited to malignant biliary obstruction cases and lacks generalizability to other cases of PEP. Based on this, the present study constructed a PEP prediction model using multidimensional indicators, aiming to facilitate clinical identification of patients at high risk of post-operative PEP and enable early preventive interventions to reduce its incidence. This approach may effectively improve the post-operative recovery speed and reduce patients' medical burden. The prediction model constructed in this study fits well, and the average errors between the prediction probability and the actual value of the calibration curves of the training and test sets were 0.021 and 0.030, respectively. The AUCs of the model's prediction and validation were 0.840 and 0.797, respectively, indicating that the prediction model has a good predictive performance and clinical value.
This study developed a PEP prediction model based on multidimensional indicators using unifactorial and multifactorial logistic regression analyses. It evaluated the model’s effectiveness in identifying high-risk patients in clinical practice and provided insights for developing effective early interventions and treatments. However, the study's generalizability is limited, as it was a single-center, retrospective study with a small sample size and did not account for unmeasured confounding. Future validation should include controlling for unmeasured confounders and conducting multicenter, prospective studies.
CONCLUSION
This study found that age, pancreatitis, TC, pancreatic ductography, and bleeding are independent risk factors for PEP after ERCP. The model we developed can assist clinicians in evaluating a patient's risk of PEP, enabling early prevention and treatment strategies that may significantly lower the incidence of PEP and improve postoperative quality of life and survival outcomes.
Footnotes
Provenance and peer review: Unsolicited article; Externally peer reviewed.
Peer-review model: Single blind
Specialty type: Gastroenterology and hepatology
Country of origin: China
Peer-review report’s classification
Scientific Quality: Grade B
Novelty: Grade C
Creativity or Innovation: Grade B
Scientific Significance: Grade C
P-Reviewer: Rhodin KE, Associate Professor, United States S-Editor: Li L L-Editor: A P-Editor: Zhao YQ
Lu CC, Tung CF, Peng YC, Liao YJ, Tsai HJ, Yang SS, Chen CC. Risk factors of early dysfunction after switching from plastic to metal stents in malignant extrahepatic biliary obstruction.J Chin Med Assoc. 2025;88:451-460.
[RCA] [PubMed] [DOI] [Full Text][Reference Citation Analysis (0)]
Arabpour E, Azarboo A, Pouladi A, Mozafari Komesh-Tape P, Eshlaghi FM, Golmoradi H, Ghaseminejad-Raeini A, Sadeghi A, Zali MR. A network meta-analysis of optimal strategies for preventing post-endoscopic retrograde cholangiopancreatography pancreatitis.Sci Rep. 2025;15:13702.
[RCA] [PubMed] [DOI] [Full Text][Cited by in RCA: 5][Reference Citation Analysis (0)]
Akshintala VS, Sperna Weiland CJ, Bhullar FA, Kamal A, Kanthasamy K, Kuo A, Tomasetti C, Gurakar M, Drenth JPH, Yadav D, Elmunzer BJ, Reddy DN, Goenka MK, Kochhar R, Kalloo AN, Khashab MA, van Geenen EJM, Singh VK. Non-steroidal anti-inflammatory drugs, intravenous fluids, pancreatic stents, or their combinations for the prevention of post-endoscopic retrograde cholangiopancreatography pancreatitis: a systematic review and network meta-analysis.Lancet Gastroenterol Hepatol. 2021;6:733-742.
[RCA] [PubMed] [DOI] [Full Text][Cited by in Crossref: 60][Cited by in RCA: 55][Article Influence: 13.8][Reference Citation Analysis (0)]
Cozma MA, Angelescu C, Haidar A, Mateescu RB, Diaconu CC. Incidence, Risk Factors, and Prevention Strategies for Post-ERCP Pancreatitis in Patients with Biliopancreatic Disorders and Acute Cholangitis: A Study from a Romanian Tertiary Hospital.Biomedicines. 2025;13:727.
[RCA] [PubMed] [DOI] [Full Text][Reference Citation Analysis (0)]
Saeed A, Yousuf S, Khan MA, Gangwani MK, Aziz M, Arnab R, Shah J, Kumar A, Schlachterman A, Kowalski T, Kamal F. Biliary stenting with and without endoscopic sphincterotomy in patients with malignant biliary obstruction: meta-analysis of randomized controlled trials.Eur J Gastroenterol Hepatol. 2025;37:257-262.
[RCA] [PubMed] [DOI] [Full Text][Reference Citation Analysis (0)]
Akazawa Y, Ohtani M, Nosaka T, Takahashi K, Naito T, Matsuda H, Nakamoto Y. Usefulness of pancreatic volume quantitative analysis as a predictor of development and severity of post-endoscopic retrograde cholangiopancreatography pancreatitis.Pancreatology. 2024;24:698-705.
[RCA] [PubMed] [DOI] [Full Text][Reference Citation Analysis (0)]
Beran A, Aboursheid T, Ali AH, Nayfeh T, Albunni H, Vargas A, Mohamed MF, Elfert K, Shaear M, Obaitan I, Saleem N, Ahmed A, Gromski MA, DeWitt JM, Al-Haddad M, Watkins JL, Fogel E, Easler JJ. Predictors of Post-endoscopic Retrograde Cholangiopancreatography Pancreatitis: A Comprehensive Systematic Review and Meta-analysis.Clin Gastroenterol Hepatol. 2025;23:1905-1916.
[RCA] [PubMed] [DOI] [Full Text][Cited by in Crossref: 8][Cited by in RCA: 6][Article Influence: 6.0][Reference Citation Analysis (0)]
Sperna Weiland CJ, Akshintala VS, Singh A, Buxbaum J, Choi JH, Elmunzer BJ, Fogel ES, Lai JH, Levenick JM, Gardner TB, Lua GW, Luo H, de Jong M, Mok SRS, Phillip V, Singh V, Siersema PD, Drenth JPH, van Geenen EJM. Preventive Measures and Risk Factors for Post-ERCP Pancreatitis: A Systematic Review and Individual Patient Data Meta-Analysis.Dig Dis Sci. 2024;69:4476-4488.
[RCA] [PubMed] [DOI] [Full Text] [Full Text (PDF)][Cited by in RCA: 12][Reference Citation Analysis (0)]
Saito H, Kadono Y, Shono T, Kamikawa K, Urata A, Nasu J, Uehara M, Matsushita I, Kakuma T, Hashigo S, Tada S. Synergistic effect of independent risk factors for post-endoscopic retrograde cholangiopancreatography pancreatitis: a multicenter retrospective study in Japan.Clin Endosc. 2024;57:508-514.
[RCA] [PubMed] [DOI] [Full Text][Cited by in RCA: 3][Reference Citation Analysis (0)]
Bicudo de Oliveira L, Funari MP, So Taa Kum A, Bestetti AM, Brunaldi VO, Franzini TAP, Moura ETH, Baroni LM, de Carvalho MF, Bernardo WM, de Moura EGH. Pure cut vs. Endocut in endoscopic biliary sphincterotomy: Systematic review and meta-analysis of randomized clinical trials.Endosc Int Open. 2024;12:E830-E841.
[RCA] [PubMed] [DOI] [Full Text] [Full Text (PDF)][Cited by in RCA: 4][Reference Citation Analysis (0)]
Shanti I, Samardali M, Bambhroliya Z, Alhusari L. Post-endoscopic Retrograde Cholangiopancreatography Hemorrhagic Pancreatitis in a Young Female: A Case Report.Cureus. 2024;16:e60929.
[RCA] [PubMed] [DOI] [Full Text][Reference Citation Analysis (0)]