BackgroundEndoscopic retrograde cholangiopancreatography (ERCP) can be associated with complications, including precipitation of peri-procedural myocardial ischemia. However, data regarding the trends and impact of previous myocardial infarction (MI) and/or percutaneous coronary intervention (PCI) or coronary artery bypass grafting (CABG) on ERCP outcomes remains unknown.MethodsUsing the National Inpatient Sample (2007-2014) and relevant ICD-9-CM codes, we identified adults who underwent ERCP with (Group 1) and without (Group 2) prior history of MI/PCI/CABG, and compared their demographics, comorbidities, and inpatient outcomes. Primary endpoints were inpatient mortality and post-ERCP complications. The secondary endpoints were discharge disposition, the mean length of stay, and total hospital charges.ResultsOf 1,374,773 ERCP procedures performed, 120,418 (8.8%) were performed in adult patients with a prior history of MI/PCI/CABG with an increasing trend from 2007-2014 (7.5% to 9.5%, ptrend=0.022). Group 1 consisted of older, white, males compared to Group 2. Group 1 demonstrated a higher prevalence of all-cause mortality (1.7% vs. 1.5%, p<0.001), other cardiovascular comorbidities, post-ERCP cardiopulmonary complications (5.6% vs. 3.8%, p<0.001), sepsis (10.2% vs. 8.2%, p<0.001) and hemorrhage (1.5% vs.1.2%, p<0.001) as compared to Group 2. However, post-ERCP pancreatitis (14.1% vs. 15.4%, p<0.001) was lower in Group 1 without any difference in frequency of cholecystitis (0.4% vs. 0.4%, p=0.180). The mean length of stay was marginally higher in Group 1, without any difference in the hospitalization charges between the groups.ConclusionsThis nationwide study revealed higher inpatient mortality, sepsis, and hemorrhage in adult patients who underwent ERCP with a prior history of MI/PCI/CABG.