Return to Article Details Endoscopic Sphincterotomy Increases the Risk of Pyogenic Liver Abscess: A Retrospective Study Using Real-World Data

Endoscopic Sphincterotomy Increases the Risk of Pyogenic Liver Abscess: A Retrospective Study Using Real-World Data

Abdellatif Ismail1, Bisher Sawaf2, Pinghsin Hsieh1, Khalid Aloum3, Shahem Abbarh4, Mhd Kutaiba Albuni5, Mohammed Al-Aquily6*, Mostafa Suhail Najim7, Amir Humza Sohail8, Saurabh Chandan9,10

  • 1Department of Internal Medicine, University of Maryland Medical Center, Midtown Campus, Baltimore, MD, USA
  • 2Department of Internal Medicine, University of Toledo, Toledo, Ohio, USA
  • 3Department of Internal Medicine, St Barnabas Hospital, Bronx, NY, USA
  • 4Department of Internal Medicine, MedStar Health, Baltimore, MD, USA
  • 5Department of Internal Medicine, TriHealth, Good Samaritan Hospital, Cincinnati, Ohio, USA
  • 6Department of Internal Medicine, Norwalk Hospital/Yale University Program, Norwalk, CT, USA
  • 7Department of Internal Medicine, Rochester Regional Health - Unity Hospital, Rochester, NY, USA
  • 8Department of Surgery, University of New Mexico, Albuquerque, NM, USA
  • 9Center for Interventional Endoscopy, Advent Health, Orlando, FL, USA
  • 10Advanced Endoscopy, Houston Methodist West Hospital, Houston, TX, USA
Vol. 2(1): 27-32 · 2025 · DOI: 10.71079/ASIDE.GI.123125111

Abstract

Introduction: Pyogenic liver abscess (PLA) after Endoscopic Retrograde Cholangiopancreatography (ERCP) is a rare infectious adverse event. The association between post-ERCP PLA and endoscopic sphincterotomy has not been extensively studied.

Methods: We conducted a retrospective study using the TriNetX platform by including patients without history of PLA who received ERCP between October 2015 and December 2020. Two groups were made: the endoscopic sphincterotomy (ES) group (patients who received ES during ERCP) and the control group (patients who did not receive ES). The primary outcome was the risk of developing PLA within 1 year of the index ERCP. The secondary outcomes included sepsis, broad-spectrum antibiotics use, need for PLA drainage, and post-ERCP mortality within one year of the index ERCP.

Results: There were 169 patients (1.43%) in the ES group who developed PLA compared to 123 patients (1.04%) in the control group, Relative Risk (RR): 1.37, P-value = 0.007. A total of 241 patients (2.05%) in the ES group developed sepsis compared to 176 patients (1.49%) in the control group, RR: 1.37, P-value = 0.001. A total of 2,954 patients (25.1%) in the ES group received treatment with broad-spectrum antibiotics compared to 2,132 patients (18.1%) in the control group, RR: 1.5, P-value < 0.0001. There was no statistically significant difference in the need for PLA drainage (RR: 1.19, P-value = 0.34) or mortality (RR: 0.969, P-value = 0.49).

Conclusion: ES during ERCP was associated with an increased risk for PLA, sepsis, and broad-spectrum antibiotics use. No mortality difference was found.

Keywords: Endoscopic Sphincterotomy, ERCP, Pyogenic Liver Abscess

Introduction

Endoscopic retrograde cholangiopancreatography (ERCP) is a procedure done with an endoscope that aims to diagnose hepatobiliary conditions, with the ability to intervene when required [1,2]. The endoscope is inserted through the mouth into the second part of the duodenum. Once the sphincter of Oddi is visualized, another arm from the scope is inserted through the sphincter to gain access into the ampulla of Vater to reach for the common bile duct (CBD) or the pancreatic duct while being visualized under x-ray [3].

During ERCP, some patients undergo endoscopic sphincterotomy (ES), which involves cutting the sphincter of Oddi to open either the common bile duct or the pancreatic duct. ES serves several purposes, including the extraction of CBD stones and treating papillary stenosis and Sphincter of Oddi dysfunction [1,2,3]. While this procedure has great benefits and is considered safe, various adverse events (AE) can occur, including bleeding, pancreatitis, cholangitis, and perforation [4]. However, one less common and overlooked AE is pyogenic liver abscess (PLA). PLA is an infected fluid collection in the liver that could be caused by biliary diseases, the spread of bacteria from blood or the GI tract, intrahepatic rupture of cholecystitis, or superinfection of necrotic tissue [5,6,7]. Gram-negative microorganisms, such as Escherichia coli, Klebsiella pneumoniae, and other anaerobic microorganisms, are the predominant organisms isolated from PLA [8].

Table 1
ICD-10-CM, ICD-10-PCS, RxNorm, & CPT Codes used in the analysis
Diagnosis/Medications/Procedure ICD-10-CM, ICD-10-PCS, RxNorm, & CPT Codes
ERCP CPT codes: 43260-43265, 43273-43278
ES CPT codes: 43262, 43274, 43276, and 43277
PLA ICD-10-CM code: K76.82
Sepsis with enteric organisms ICD-10-CM codes: A41.4, A41.51, A41.52, A41.81
PLA drainage procedures ICD-10-PCS codes: 0F90, 0F91, 0F92
Meropenem RXNORM: 29561
Imipenem RXNORM: 5690
Ertapenem RXNORM: 325642
Piperacillin RXNORM: 8339
Cefepime RXNORM: 20481

ICD-10-CM, International Classification of Diseases, Tenth Revision, Clinical Modification; ICD-10-PCS, International Classification of Diseases, Tenth Revision, Procedure Coding System; CPT, Current Procedural Terminology codes

A retrospective cohort study done in Taiwan showed an increased risk of PLA in patients undergoing ES to treat choledocholithiasis compared to patients who had ERCP without ES [9]. A case was reported in Portugal for a patient who developed PLA with sepsis with Escherichia coli, Streptococcus anginosus, and Enterococcus faecalis three days after he underwent ERCP with ES for choledocholithiasis [10]. In this study, we aim to evaluate the association between ES and PLA development.

Methods

Design and data source

This was a retrospective study utilizing the TriNetX database, a global federated health research network encompassing electronic health records (EHRs) from 86 healthcare organizations (HCOs) in the United States (US) at the time of analysis. All data were derived from the EHRs through a built-in natural language processing system that extracts variables from clinical documents. The TriNetX interface provides only aggregate counts and statistical summaries to protect patient health information, ensuring the data remains de-identified at all levels.

Study cohorts

Patients were included if they underwent ERCP procedures between October 1, 2015, and December 31, 2020. The start date corresponds to the mandatory adoption of International Classification of Diseases, Tenth Revision, and Clinical Modification (ICD-10-CM) codes in U.S. hospital systems, and the end date ensures adequate follow-up. ERCP was identified through specific Current Procedural Terminology (CPT) codes (43260-43265, 43273-43278). The identified patients were stratified into two cohorts: the ES cohort (intervention group), defined by CPT codes 43262, 43274, 43276, and 43277, and the non-sphincterotomy cohort (control group), defined by all other ERCP CPT codes without any overlapping sphincterotomy codes. We excluded patients under 18 years of age at the time of ERCP and patients with a history of any liver abscess defined by ICD-10-CM codes: K75.0 and A06.4 prior to the index ERCP Table 1.

Outcomes

The analysis setup involved defining the index date and observation time window for each cohort. The index date was set as the first recorded ERCP procedure during the study period. If a patient received ERCP for multiple instances during the study period, only the day of their first instance was counted as the index date. The observation time window began one day after the index date and extended for 365 days, during which primary and secondary outcomes were evaluated. The primary outcome was the development of PLA, identified by the ICD-10 diagnosis code K75.0. The secondary outcomes included the occurrence of sepsis with enteric organisms (ICD-10 codes A41.4, A41.51, A41.52, A41.81), the need for broad-spectrum antibiotics (namely, piperacillin/tazobactam, cefepime, ertapenem, imipenem/cilastatin, or meropenem), the need for PLA drainage (ICD-10 PCS procedure codes 0F90, 0F91, 0F92), and mortality.

Statistical analysis

All statistical analyses were conducted in the TriNetX software with the browser-based real-time analytics feature, TriNetX Live (TriNetX LLC, Cambridge, MA). Baseline characteristics of all groups were described with means ± standard deviation for continuous data and counts and percentages for categorical data. Covariates based on demographics, comorbid diseases, prior procedures, and medications were identified.

To address potential confounding, propensity score matching (PSM) was performed to balance baseline characteristics between cohorts. The variables included in the matching process were age (categorized as 18–65 and >65), gender, race, underlying biliary diseases, hepatobiliary, pancreatic, or colorectal malignancy, prior antibiotic use, proton pump inhibitor or histamine-2 receptor blocker use, and most recent total bilirubin levels on chart (categorized as 0–2 mg/dL, 2–4 mg/dL, and >4 mg/dL). Propensity scores were calculated, and patients were matched in a 1:1 ratio using the nearest neighbor (greedy) method without replacement, with a caliper of 0.10 standard deviations. Cohorts were randomly shuffled prior to matching to minimize selection bias.

Table 2
Participants' baseline characteristics before and after propensity score matching, including demographic factors, comorbidities, and medications
Variable ERCP with ES before matching ERCP alone before matching P-value ERCP with ES after matching ERCP alone after matching P-value
N 70,319 11,751 11,751 11,751
Demographics
Age at index (Mean, SD) 58.6 +/- 16.7 58.5 +/- 16.5 0.547 58.2 +/- 16.7 58.5 +/- 16.5 0.089
Female N% 36,622 (52.1%) 6,259 (53.3%) 0.017 6,328 (53.9%) 6,259 (53.3%) 0.367
Male N% 30,545 (43.4%) 5,091 (43.3%) 0.818 5,024 (42.8%) 5,091 (43.3%) 0.377
White N% 50,405 (71.7%) 7,959 (67.7%) <0.001 8,041 (68.4%) 7,959 (67.7%) 0.251
Black N% 6,349 (9.0%) 951 (8.1%) 0.001 957 (8.1%) 951 (8.1%) 0.886
Hispanic N% 8,047 (11.4%) 1,273 (10.8%) 0.054 1,255 (10.7%) 1,273 (10.7%) 0.705
Asian N% 2,171 (3.1%) 530 (4.5%) <0.001 470 (4.0%) 530 (4.5%) 0.052
Baseline Comorbidities and Diagnoses
Obstruction of the bile duct N% 27,882 (39.7%) 2,988 (25.4%) <0.001 2,886 (24.6%) 2,988 (25.4%) 0.124
Other specified diseases of the biliary tract N% 28,760 (40.9%) 3,651 (31.1%) <0.001 3,636 (30.9%) 3,651 (31.1%) 0.832
Cholelithiasis N% 37,162 (52.8%) 5,428 (46.2%) <0.001 5,471 (46.6%) 5,428 (46.2%) 0.574
Malignant neoplasm of the pancreas N% 8,342 (11.9%) 761 (6.5%) <0.001 688 (5.9%) 761 (6.5%) 0.048
Malignant neoplasm of liver and intrahepatic bile ducts N% 3,366 (4.8%) 365 (3.1%) <0.001 323 (2.7%) 365 (3.1%) 0.104
Malignant neoplasm of other and unspecified parts of the biliary tract N% 2,444 (3.5%) 210 (1.8%) <0.001 210 (1.8%) 210 (1.8%) 1
Malignant neoplasm of colon N% 1,293 (1.8%) 129 (1.1%) <0.001 118 (1.0%) 129 (1.1%) 0.482
Malignant neoplasm of gallbladder N% 576 (0.8%) 40 (0.3%) <0.001 30 (0.3%) 40 (0.3%) 0.231
Cholangitis N% 9,572 (13.6%) 1,477 (12.6%) 0.002 1,331 (11.3%) 1,477 (12.6%) 0.003
Baseline Medications
Beta-lactam antibacterial agents N% 21,025 (29.9%) 3,105 (26.4%) <0.001 3,007 (25.6%) 3,105 (26.4%) 0.145
Beta-lactam antibacterial agents, penicillins N% 19,333 (27.5%) 3,182 (27.1%) 0.351 3,073 (26.2%) 3,182 (27.1%) 0.108
Quinolone antibacterial agents N% 16,891 (24.0%) 2,962 (25.2%) 0.005 2,774 (23.6%) 2,962 (25.2%) 0.004
Other antibacterial agents N% 13,958 (19.8%) 2,332 (19.8%) 0.991 2,178 (18.5%) 2,332 (19.8%) 0.011
Proton pump inhibitors N% 26,459 (37.6%) 4,329 (36.8%) 0.103 4,240 (36.1%) 4,329 (36.8%) 0.228
H2-receptor antagonists N% 12,499 (17.8%) 1,832 (15.6%) <0.001 1,773 (15.1%) 1,832 (15.6%) 0.286

ERCP, Endoscopic Retrograde Cholangiopancreatography; ES, Endoscopic Sphincterotomy

For each outcome, a Measure of Association Analysis was conducted to compare the fractions of patients in each cohort who experienced the outcome during the observation period. Results included the number of patients in each cohort, the number of patients with the outcome, the fraction of affected patients within each cohort, and the relative risk (RR) between the ES and the control groups. The 95% confidence interval (CI) of the relative risk was also reported. A two-sided p-value <0.05 was considered statistically significant for all analyses.

Results

Baseline Characteristics

A total of 137,522 patients underwent ERCP during the study period (October 1, 2015, to December 31, 2020). After excluding the patients with a prior diagnosis of liver abscess (n=55,452), we identified 82,070 patients and included them in the study. After stratification based on receiving sphincterotomy during the ERCP procedure, 70,319 patients were included in the “ES group”, while 11,751 patients were included in the “ERCP-alone group”. After propensity score matching, 11,751 patients were included in each group, achieving a balance in demographics, hepatobiliary comorbidities, baseline biochemistry, and medication use. The mean age was 58.2 ± 16.7 years for the ES group and 58.5 ± 16.5 years for the ERCP-alone group, with no significant difference (P-value = 0.089). The proportion of females in both groups was similar (53.9% in ES vs. 53.3% in ERCP-alone; P = 0.367). Other characteristics were well-matched, with no significant differences between the groups Table 2.

Primary Outcome

A total of 169 patients (1.43%) in the ES group developed PLA within the 5-year observation period compared to 123 patients (1.04%) in the ERCP alone group. The risk of developing PLA within one year of the index ERCP was slightly but significantly higher in the ES group (n= 169, 1.43%) compared to the ERCP-alone group (n= 123, 1.04%), Relative Risk (RR): 1.37, 95% CI: 1.09–1.73; P-value = 0.007, Table 3.

Table 3
Primary and secondary outcomes post-ERCP and ES
Outcome Cohort N (%) RR 95% CI P-value
Pyogenic liver abscess ERCP with ES 169 1.43% 1.37 (1.09-1.73) 0.007
ERCP-alone 123 1.04% - - -
Sepsis with enteric organisms ERCP with ES 241 2.05% 1.37 (1.29-1.66) 0.001
ERCP-alone 176 1.49% - - -
Broad-spectrum antibiotic use ERCP with ES 2,954 25.1% 1.38 (1.31-1.45) < 0.001
ERCP-alone 2,132 18.1% - - -
Procedure for drainage of pyogenic liver abscess ERCP with ES 62 0.52% 1.19 (0.82-1.72) 0.34
ERCP-alone 52 0.44% - - -
Mortality ERCP with ES 994 8.4% 0.972 (0.894-1.05) 0.49
ERCP-alone 1,023 8.7% - - -

ERCP, Endoscopic Retrograde Cholangiopancreatography; ES, Endoscopic Sphincterotomy; CI, Confidence Interval; N, Number; RR, Relative Risk

Secondary Outcomes

Sepsis with enteric organisms occurred in 241 patients (2.05%) of the ES group and in 176 patients (1.49%) of the ERCP-alone group, with a statistically significant increased risk in the ES group (RR: 1.37, 95% CI: 1.29–1.66; P-value = 0.001). Similarly, broad-spectrum antibiotic use was more frequent in the ES group (n= 2,954, 25.1%) compared to the ERCP-alone group (n= 2,132, 18.1%), RR: 1.38, 95% CI: 1.31–1.45; P-value < 0.001) Table 3. There was no significant difference between the two groups in the rate of procedures for drainage of PLA (n= 62, 0.52% in ES vs. n= 52, 0.44% in ERCP-alone; RR: 1.19, 95% CI: 0.82–1.72; P-value= 0.34) or mortality within one-year post-ERCP (n= 994, 8.4% in ES vs. n= 1,023, 8.7% in ERCP-alone; RR: 0.972, 95% CI: 0.89–1.05; P = 0.49). Overall, ES was associated with increased risks of PLA, sepsis with enteric organisms, and broad-spectrum antibiotic use. However, no differences were observed in mortality between the ES and ERCP-alone groups.

Discussion

In this retrospective cohort study, we found that ES was associated with an increased risk of post-ERCP PLA compared to ERCP without ES (RR: 1.37, 95% CI: 1.09–1.73; P = 0.007). This also corresponded to a higher incidence of sepsis with enteric organisms (RR: 1.37, 95% CI: 1.29–1.66; P = 0.001) and use of broad-spectrum antibiotics (RR: 1.38, 95% CI: 1.31–1.45; P < 0.001), thereby increasing the burden on the healthcare system. Despite the higher morbidity, we did not observe a statistically significant difference in the rates of procedural abscess drainage or mortality within one year following ERCP. To the best of our knowledge, this is the first study examining this association in the US and Western Hemisphere population, as earlier studies originated mainly from Taiwan.

Our findings align with and expand upon the existing literature regarding post-ERCP PLA risk. Prior studies have reported a similar association between ES and subsequent PLA. For instance, Peng et al. (2018) conducted a population-based cohort study in Taiwan and found that the incidence of PLA was significantly higher after ES than in those without ES (4.20 vs 0.94 per 1000 person-years), with an adjusted hazard ratio of 4.5, P-value < 0.001 [9]. They concluded that patients receiving ES have a markedly increased risk of liver abscess, which is consistent with our observation of increased risk in the ES group [9]. Another large retrospective cohort study from Taiwan by Wu et al. [11] also demonstrated a higher cumulative incidence of PLA in patients who underwent sphincterotomy for choledocholithiasis compared to those who had ERCP without ES where on multivariate analysis, the ES increased the risk of PLA by an adjusted hazard ratio [aHR] of 1.49; 95% CI=1.12-1.98; p-value = 0.0058). These epidemiological findings reinforce earlier clinical reports, including multiple case reports [6,7,10] that had flagged PLA as a potential AE following ERCP with sphincterotomy. Notably, the magnitude of risk observed in our study (approximately 1.4-fold increase) is more modest than that reported in some of the Asian cohort studies, for instance, in Peng et al., who reported a fourfold or greater relative risk [9]. This discrepancy could stem from differences in study design (e.g., our analysis was limited to one-year outcomes and controlled via propensity matching, whereas Peng et al. examined longer-term hazard), variations in patient populations, or differences in baseline biliary disease severity. Additionally, geographic and practice differences – such as the microbiological spectrum (Klebsiella pneumoniae is a more common cause of PLA in East Asia [12]) or thresholds for performing sphincterotomy – might contribute to the varying effect sizes. Importantly, no prior research to our knowledge has shown a decreased risk of PLA with sphincterotomy; the trend across studies consistently supports our core finding that ES is a risk factor for PLA. Finally, while earlier studies primarily focused on the occurrence of PLA, our work adds nuance by examining outcomes like sepsis by gut derived organisms, PLA drainage and mortality. The lack of mortality difference we observed is in line with the notion that, if recognized early, PLA can be managed effectively [13,14].

Several mechanisms might explain why ES increases the likelihood of PLA. Physiologically, an intact sphincter of Oddi serves as a barrier between the duodenum and the biliary system. When a sphincterotomy is performed, this barrier is compromised, potentially allowing duodenal contents – including bacteria – to reflux into the bile ducts more freely [15]. This duodeno-biliary reflux can lead to ascending bacterial colonization of the biliary tree and, in susceptible individuals, the seeding of infection in the liver parenchyma. In essence, ES creates an open conduit for enteric microbes to access the intrahepatic biliary ducts, providing a direct path for infection that can result in liver abscess formation [15,9]. The bacterial ascent theory is further supported by the fact that ES increases the risk of acute cholangitis as well [16,17]. In a Swedish population-based study, Langerth et al found a significantly increased risk of acute cholangitis following ES (HR: 36, P <0.001), and noted that most of these episodes developed during the first four years following ES [18].

Additionally, the act of performing an ES (and ERCP in general) may introduce bacteria or cause transient bacteremia. Minor mucosal trauma or papillary edema from the cut could facilitate bacterial translocation into the bloodstream or bile ducts during the procedure, thereby increasing the risk of hepatic seeding. The organisms involved in post-ERCP abscesses are typically enteric Gram-negative flora and anaerobes, supporting this mechanism. Common isolates from PLA include Escherichia coli, Klebsiella pneumoniae, Streptococcus anginosus, and Enterococcus species, which are all gut-derived microbes [19,20,11]. The predominance of these organisms in PLA following ERCP/ES strongly implicates the gut as the source and is consistent with bacterial reflux or translocation after sphincterotomy. Another contributing factor is the alteration of biliary flow dynamics after ES. By widening the biliary outflow tract, ES reduces the tone that normally prevents bacteria from ascending, especially in the presence of biliary stasis [21]. Pre-existing biliary pathologies – such as choledocholithiasis, strictures, or malignancy – can compound this risk. This mechanistic understanding – duodenal bacterial entry combined with biliary stasis & injury – explains why ES, while facilitating bile drainage, also facilitates biliary and hepatic infections.

Given the increased risk of serious infection (PLA, cholangitis, and sepsis) associated with ES, several clinical precautions should be considered. While routine antibiotic prophylaxis for ERCP remains debated [22], our findings suggest it may be beneficial in high-risk cases, such as patients with biliary obstruction, cholangitis, diabetes, or immunosuppression. Peri-procedural antibiotics could reduce PLA risk, but should be balanced against antibiotic stewardship concerns. Endoscopists should carefully assess the necessity of ES and consider alternatives, such as endoscopic papillary balloon dilatation, when feasible. Ensuring complete biliary clearance and using stents in cases of incomplete drainage can further reduce the infection risk [23].

The management of PLA generally requires both antimicrobial therapy and source control. According to Rismiller et al., only a small proportion of patients (4 out of 64 in their study) were successfully treated with antibiotics alone, whereas the majority required percutaneous drainage (PD) or surgery for effective management [24]. Similarly, Lo et al. identified that patients with PLA secondary to endoscopic interventions are at a higher risk of therapy failure (Odds ratio: 3.22, P-value: 0.01) when treated with antibiotics alone, emphasizing the need for early PD in these cases [25]. On the other hand, Du et al. reported a 100% success rate in treating small liver abscesses (<5 cm in diameter) with antibiotics alone (53 of 125 cases in their retrospective study) [26]. In summary, clinicians should implement preventive, procedural, and post-ERCP strategies to mitigate infection risk and ensure appropriate & timely treatment.

Our study has several limitations, mainly due to its retrospective design and reliance on the TriNetX database, EHRs, and ICD-10 codes, which may have introduced misclassification errors [27]. While PSM helped balance confounders, residual confounding remains possible because factors such as ERCP urgency and biliary stone characteristics were not captured. Additionally, patients undergoing ES may have had more complex pathology, inherently increasing PLA risk. The retrospective nature of the study prevents establishing causation, and selection bias may have influenced outcomes. Variability in practice patterns across centers may affect generalizability, and our one-year follow-up may not have captured late PLA cases. Furthermore, we lacked granular data on PLA management. Despite these limitations, our large dataset and robust matching enhance validity. Furthermore, this is the first study that evaluates this important association in the US.

Future prospective studies are needed to confirm these results under controlled conditions. Future research should focus on confirming the ES-PLA association and identifying ways to reduce this risk. Prospective studies and trials are needed to determine whether administering prophylactic antibiotics lowers PLA incidence in ES patients and whether its benefit outweighs its risk.

Conclusions

Our study demonstrated that endoscopic sphincterotomy (ES) during ERCP was associated with an increased risk of pyogenic liver abscess (PLA), sepsis with enteric organisms, and the need for broad-spectrum antibiotics. However, it did not significantly impact mortality or the need for invasive abscess drainage. These findings reinforce the importance of recognizing PLA as a potential complication of ES and highlight the need for preventive strategies, including careful patient selection, procedural optimization, and enhanced post-ERCP care.

Conflicts of Interest

The authors declare no competing interests that could have influenced the objectivity or outcome of this research.

Funding Source

The authors declare that no specific grant or funding was received for this research from any public, commercial, or not-for-profit funding agency.

Acknowledgments

None.

Institutional Review Board (IRB)

None.

Large Language Model

None.

Authors Contribution

AI and PH conceived the study and designed it. AI extracted the data and ran the analysis. AI, BS, PH, SA, KA, MA, MN, AS, and MA wrote the manuscript draft. SC reviewed and critically edited the draft. All the authors contributed to the intellectual component of the manuscript. All the authors reviewed the final version and approved it for submission.

Data Availability

The data used in this study were obtained from the TriNetX platform, which compiles de-identified electronic health records from participating healthcare organizations. Due to privacy regulations, the raw data cannot be shared publicly. Access to the TriNetX platform could be granted to researchers through institutional subscriptions or collaborations with participating institutions. Please contact the corresponding author if you have any questions.

References

  1. AbiMansour J. P., Martin J. A.. Biliary Endoscopic Retrograde Cholangiopancreatography. Gastroenterol Clin North Am. 2024;53(4):627-642. doi:10.1016/j.gtc.2024.08.011 PMID: 39489579
  2. ASGE Standards of Practice Committee, Chathadi K. V., Chandrasekhara V., Acosta R. D., Decker G. A., Early D. S., Eloubeidi M. A., Evans J. A., Faulx A. L., Fanelli R. D., Fisher D. A., Foley K., Fonkalsrud L., Hwang J. H., Jue T. L., Khashab M. A., Lightdale J. R., Muthusamy V. R., Pasha S. F., Saltzman J. R., Sharaf R., Shaukat A., Shergill A. K., Wang A., Cash B. D., DeWitt J. M.. The role of ERCP in benign diseases of the biliary tract. Gastrointest Endosc. 2015;81(4):795-803. doi:10.1016/j.gie.2014.11.019 PMID: 25665931
  3. Op den Winkel M., Schirra J., Schulz C., De Toni E. N., Steib C. J., Anz D., Mayerle J.. Biliary Cannulation in Endoscopic Retrograde Cholangiography: How to Tackle the Difficult Papilla. Dig Dis. 2022;40(1):85-96. doi:10.1159/000515692 PMID: 33684915
  4. Bishay K., Meng Z. W., Khan R., Gupta M., Ruan Y., Vaska M., Iannuzzi J., O'Sullivan D. E., Mah B., Partridge A. C. R., Henderson A. M., Guo H., Samnani S., DeMarco M., Yuan Y., Elmunzer B. J., Keswani R. N., Wani S., Smith Z. L., Bridges R. J., Heitman S. J., Hilsden R. J., Brenner D. R., Leontiadis G. I., Forbes N.. Adverse Events Associated With Endoscopic Retrograde Cholangiopancreatography: Systematic Review and Meta-Analysis. Gastroenterology. 2025;168(3):568-586. doi:10.1053/j.gastro.2024.10.033 PMID: 39515394
  5. Cerwenka H., Schemmer P.. Are our endoscopy patients at risk for pyogenic liver abscess?. World J Gastroenterol. 2017;23(30):5457-5459. doi:10.3748/wjg.v23.i30.5457 PMID: 28852305 PMCID: PMC5558109
  6. Lam Y. H., Wong S. K., Lee D. W., Lau J. Y., Chan A. C., Yiu R. Y., Sung J. J., Chung S. S.. ERCP and pyogenic liver abscess. Gastrointest Endosc. 1999;50(3):340-4. doi:10.1053/ge.1999.v50.98065 PMID: 10462653
  7. Serste T., Bourgeois N., Vanden Eynden F., Coppens E., Deviere J., Le Moine O.. Endoscopic drainage of pyogenic liver abscesses with suspected biliary origin. Am J Gastroenterol. 2007;102(6):1209-15. doi:10.1111/j.1572-0241.2007.01140.x PMID: 17378905
  8. Shi S. H., Feng X. N., Lai M. C., Kong H. S., Zheng S. S.. Biliary diseases as main causes of pyogenic liver abscess caused by extended-spectrum beta-lactamase-producing Enterobacteriaceae. Liver Int. 2017;37(5):727-734. doi:10.1111/liv.13267 PMID: 27718321
  9. Peng Y. C., Lin C. L., Sung F. C.. Risk of pyogenic liver abscess and endoscopic sphincterotomy: a population-based cohort study. BMJ Open. 2018;8(3):e018818. doi:10.1136/bmjopen-2017-018818 PMID: 29502088 PMCID: PMC5855404
  10. Vara-Luiz F., Pe D'Arca Barbosa F., Albuquerque A., Fernandes E., Valada Marques A., Spencer V., Nunes G., Fonseca J.. Pyogenic Liver Abscess and Delayed Massive Gastrointestinal Bleeding Following Endoscopic Retrograde Cholangiopancreatography (ERCP): Association of Two Rare Complications. Cureus. 2022;14(10):e30374. doi:10.7759/cureus.30374 PMID: 36407183 PMCID: PMC9667529
  11. Wu C. K., Hsu C. N., Cho W. R., Yang S. C., Liu A. C., Tai W. C., Lee C. H., Yang Y. H., Chuah S. K., Liang C. M.. Increased Risk of Pyogenic Liver Abscess after Endoscopic Sphincterotomy for Treatment of Choledocholithiasis. Infect Drug Resist. 2021;14:2121-2131. doi:10.2147/IDR.S312545 PMID: 34135602 PMCID: PMC8197570
  12. Kong H., Yu F., Zhang W., Li X.. Clinical and microbiological characteristics of pyogenic liver abscess in a tertiary hospital in East China. Medicine (Baltimore). 2017;96(37):e8050. doi:10.1097/MD.0000000000008050 PMID: 28906397 PMCID: PMC5604666
  13. Wendt S., Bacak M., Petroff D., Lippmann N., Blank V., Seehofer D., Zimmermann L., Lubbert C., Karlas T.. Clinical management, pathogen spectrum and outcomes in patients with pyogenic liver abscess in a German tertiary-care hospital. Sci Rep. 2024;14(1):12972. doi:10.1038/s41598-024-63819-w PMID: 38839980 PMCID: PMC11153614
  14. Yin D., Ji C., Zhang S., Wang J., Lu Z., Song X., Jiang H., Lau W. Y., Liu L.. Clinical characteristics and management of 1572 patients with pyogenic liver abscess: A 12-year retrospective study. Liver Int. 2021;41(4):810-818. doi:10.1111/liv.14760 PMID: 33314531 PMCID: PMC8048845
  15. ASGE Standards of Practice Committee, Chandrasekhara V., Khashab M. A., Muthusamy V. R., Acosta R. D., Agrawal D., Bruining D. H., Eloubeidi M. A., Fanelli R. D., Faulx A. L., Gurudu S. R., Kothari S., Lightdale J. R., Qumseya B. J., Shaukat A., Wang A., Wani S. B., Yang J., DeWitt J. M.. Adverse events associated with ERCP. Gastrointest Endosc. 2017;85(1):32-47. doi:10.1016/j.gie.2016.06.051 PMID: 27546389
  16. Reinders J. S., Kortram K., Vlaminckx B., van Ramshorst B., Gouma D. J., Boerma D.. Incidence of bactobilia increases over time after endoscopic sphincterotomy. Dig Surg. 2011;28(4):288-92. doi:10.1159/000329582 PMID: 21846989
  17. Shen H., Zhu J., Ye F., Xu D., Fang L., Yang J., Lv H., Lou Q., Jin H., Ni M., Zhang X.. Biliary Microbial Structure of Gallstone Patients With a History of Endoscopic Sphincterotomy Surgery. Front Cell Infect Microbiol. 2020;10:594778. doi:10.3389/fcimb.2020.594778 PMID: 33585269 PMCID: PMC7873689
  18. Langerth A., Brandt L., Ekbom A., Karlson B. M.. Late Complications following Endoscopic Sphincterotomy for Choledocholithiasis: A Swedish Population-Based Study. Diagn Ther Endosc. 2014;2014:745790. doi:10.1155/2014/745790 PMID: 25386097 PMCID: PMC4214094
  19. Qian Y., Wong C. C., Lai S., Chen H., He X., Sun L., Wu J., Zhou J., Yu J., Liu W., Zhou D., Si J.. A retrospective study of pyogenic liver abscess focusing on Klebsiella pneumoniae as a primary pathogen in China from 1994 to 2015. Sci Rep. 2016;6:38587. doi:10.1038/srep38587 PMID: 27929082 PMCID: PMC5144064
  20. Rupp C., Bode K., Weiss K. H., Rudolph G., Bergemann J., Kloeters-Plachky P., Chahoud F., Stremmel W., Gotthardt D. N., Sauer P.. Microbiological Assessment of Bile and Corresponding Antibiotic Treatment: A Strobe-Compliant Observational Study of 1401 Endoscopic Retrograde Cholangiographies. Medicine (Baltimore). 2016;95(10):e2390. doi:10.1097/MD.0000000000002390 PMID: 26962768 PMCID: PMC4998849
  21. Freeman M. L., Nelson D. B., Sherman S., Haber G. B., Herman M. E., Dorsher P. J., Moore J. P., Fennerty M. B., Ryan M. E., Shaw M. J., Lande J. D., Pheley A. M.. Complications of endoscopic biliary sphincterotomy. N Engl J Med. 1996;335(13):909-18. doi:10.1056/NEJM199609263351301 PMID: 8782497
  22. Leem G., Sung M. J., Park J. H., Kim S. J., Jo J. H., Lee H. S., Ku N. S., Park J. Y., Bang S., Park S. W., Song S. Y., Chung M. J.. Randomized Trial of Prophylactic Antibiotics for Endoscopic Retrograde Cholangiopancreatography in Patients With Biliary Obstruction. Am J Gastroenterol. 2024;119(1):183-190. doi:10.14309/ajg.0000000000002495 PMID: 37713527 PMCID: PMC10758346
  23. Sbeit W., Khoury T., Kadah A., D M. Livovsky, Nubani A., Mari A., Goldin E., Mahamid M.. Long-Term Safety of Endoscopic Biliary Stents for Cholangitis Complicating Choledocholithiasis: A Multi-Center Study. J Clin Med. 2020;9(9). doi:10.3390/jcm9092953 PMID: 32932631 PMCID: PMC7564722
  24. Rismiller K., Haaga J., Siegel C., Ammori J. B.. Pyogenic liver abscesses: a contemporary analysis of management strategies at a tertiary institution. HPB (Oxford). 2017;19(10):889-893. doi:10.1016/j.hpb.2017.06.005 PMID: 28693978
  25. Lo J. Z., Leow J. J., Ng P. L., Lee H. Q., Mohd Noor N. A., Low J. K., Junnarkar S. P., Woon W. W.. Predictors of therapy failure in a series of 741 adult pyogenic liver abscesses. J Hepatobiliary Pancreat Sci. 2015;22(2):156-65. doi:10.1002/jhbp.174 PMID: 25339111
  26. Du Z. Q., Zhang L. N., Lu Q., Ren Y. F., Lv Y., Liu X. M., Zhang X. F.. Clinical Charateristics and Outcome of Pyogenic Liver Abscess with Different Size: 15-Year Experience from a Single Center. Sci Rep. 2016;6:35890. doi:10.1038/srep35890 PMID: 27775098 PMCID: PMC5075934
  27. Nassar M., Abosheaishaa H., Elfert K., Beran A., Ismail A., Mohamed M., Misra A., Essibayi M. A., Altschul D. J., Azzam A. Y.. TriNetX and Real-World Evidence: A Critical Review of Its Strengths, Limitations, and Bias Considerations in Clinical Research. ASIDE Intern Med. 2025;1(2):24-33. doi:10.71079/aside.im.03222516 PMID: 40697879 PMCID: PMC12282508