Background <p>Common bile duct stones (CBDS) are the primary indication for endoscopic retrograde cholangiopancreatography (ERCP), yet post-ERCP pancreatitis (PEP) remains a significant complication due to its multifactorial etiology. This study aimed to identify core predictors and develop an optimized predictive model for PEP.</p> Methods <p>We retrospectively enrolled patients who underwent ERCP in three centers between March 2019 and March 2024. Potential predictors and their importance were evaluated with four machine learning (ML) algorithms. Predictive models were developed using logistic regression and assessed for discrimination, calibration, and clinical utility.</p> Results <p>A total of 1758 patients were included in the training (<i>n</i> = 917), testing (<i>n</i> = 392), validation 1 (<i>n</i> = 366), and validation 2 (<i>n</i> = 83) cohorts. The incidences of PEP were 6.7%, 6.6%, 10.1%, and 12.0%, respectively, with no significant difference among them (<i>p</i> = 0.063). Using ML, eight critical predictors were identified: age, direct bilirubin, serum calcium, γGT, cannulation attempts, transpancreatic precut, pancreatic guidewire passage, and endoscopic papillary balloon dilation (EPBD) duration. Model 3, incorporating serum calcium (OR: 2.50, <i>p</i> = 0.002), transpancreatic precut (OR: 4.61, <i>p</i> &lt; 0.001), pancreatic guidewire passage (OR: 3.62, <i>p</i> &lt; 0.001), and EPBD duration (OR: 2.25, <i>p</i> = 0.009), exhibited the highest AUC (0.845) and superior sensitivity (83.2%). Internal and external validations confirmed robustness and generalizability of the model, demonstrating excellent predictive performance and clinical utility.</p> Conclusion <p>We established and validated an optimized predictive model for PEP using four key predictors, enhancing early identification and intervention after ERCP for patients with CBDS.</p>

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Machine learning-derived predictive model for post-ERCP pancreatitis in patients with common bile duct stones: a retrospective multicenter study

  • Kangjie Chen,
  • Linpei Wang,
  • Xianfeng Wang,
  • Liang Yang,
  • Xiaodong Zhang,
  • Yonghua Lin,
  • Linping Cao

摘要

Background

Common bile duct stones (CBDS) are the primary indication for endoscopic retrograde cholangiopancreatography (ERCP), yet post-ERCP pancreatitis (PEP) remains a significant complication due to its multifactorial etiology. This study aimed to identify core predictors and develop an optimized predictive model for PEP.

Methods

We retrospectively enrolled patients who underwent ERCP in three centers between March 2019 and March 2024. Potential predictors and their importance were evaluated with four machine learning (ML) algorithms. Predictive models were developed using logistic regression and assessed for discrimination, calibration, and clinical utility.

Results

A total of 1758 patients were included in the training (n = 917), testing (n = 392), validation 1 (n = 366), and validation 2 (n = 83) cohorts. The incidences of PEP were 6.7%, 6.6%, 10.1%, and 12.0%, respectively, with no significant difference among them (p = 0.063). Using ML, eight critical predictors were identified: age, direct bilirubin, serum calcium, γGT, cannulation attempts, transpancreatic precut, pancreatic guidewire passage, and endoscopic papillary balloon dilation (EPBD) duration. Model 3, incorporating serum calcium (OR: 2.50, p = 0.002), transpancreatic precut (OR: 4.61, p < 0.001), pancreatic guidewire passage (OR: 3.62, p < 0.001), and EPBD duration (OR: 2.25, p = 0.009), exhibited the highest AUC (0.845) and superior sensitivity (83.2%). Internal and external validations confirmed robustness and generalizability of the model, demonstrating excellent predictive performance and clinical utility.

Conclusion

We established and validated an optimized predictive model for PEP using four key predictors, enhancing early identification and intervention after ERCP for patients with CBDS.