Development of an Online App to Predict Post-Endoscopic Retrograde Cholangiopancreatography Adverse Events Using a Single-Center Retrospective Cohort

Dig Dis. 2021;39(3):283-293. doi: 10.1159/000514279. Epub 2021 Jan 11.

Abstract

Introduction: Endoscopic retrograde cholangiopancreatography (ERCP) is a technically demanding procedure with a high risk for adverse events (AEs).

Aim: evaluate patient- and procedure-related risk factors for ERCP-related AEs and develop an online app to estimate risk of AEs.

Methods: retrospective study of 1,491 consecutive patients who underwent 1,991 ERCPs between 2012 and 2017 was conducted. AEs definition and severity were classified according to most recent ESGE guidelines. Each variable was tested for association with occurrence of overall AEs, post-ERCP pancreatitis (PEP) and cholangitis. For each outcome, 2 regression models were built, from which an online Shiny-based app was created.

Results: Overall AE rate was 15.3%; in 19 procedures, >1 AE occurred. Main post-ERCP AE was PEP (7.5%), followed by cholangitis (4.9%), bleeding (1.3%), perforation (1%), cardiopulmonary events (0.9%), and cholecystitis (0.3%). Seventy-eight percent of AEs were mild/moderate; of severe (n = 55) and fatal (n = 20) AEs, more than half were related to infection, cardiac/pulmonary AEs, and perforation. AE-related mortality rate was 1%. When testing precannulation, procedural covariates, and ERCP findings, AE occurrence was associated with age (odds ratio [OR] 0.991), previous PEP (OR 2.198), ERCP complexity grade III/IV (OR 1.924), standard bile duct cannulation (OR 0.501), sphincterotomy (OR 1.441), metal biliary stent placement (OR 2.014), periprocedural bleeding (OR 3.024), and biliary duct lithiasis (OR 0.673).

Conclusion: Our app may allow an optimization of the patients' care, by helping in the process of decision-making, not only regarding patient or endoscopist's selection but also definition of an adequate and tailored surveillance plan after the procedure.

Keywords: Adverse events; Cholangitis; Endoscopic retrograde cholangiopancreatography; Post-endoscopic retrograde cholangiopancreatography pancreatitis.

MeSH terms

  • Aged
  • Cholangiopancreatography, Endoscopic Retrograde / adverse effects*
  • Cholangiopancreatography, Endoscopic Retrograde / mortality
  • Female
  • Humans
  • Male
  • Middle Aged
  • Mobile Applications*
  • Odds Ratio
  • Postoperative Complications / etiology
  • Retrospective Studies
  • Risk Factors