Introduction

The Coronavirus disease 2019 (COVID-19) pandemic has drastically impacted the national healthcare system, including the restructuring of service lines and deferment of elective procedures to better triage inpatient care for patients with COVID-19. In response to the COVID-19 pandemic in the USA, national guidelines recommended postponement of elective and nonurgent endoscopic procedures. For example, risk stratification scores were used to prioritize hospital-based interventions for gastrointestinal (GI) bleeding compared to outpatient management until after the pandemic [1, 2]. Recent studies across the globe have aimed to characterize the differences the COVID-19 pandemic may have caused for endoscopic procedures [3,4,5,6]. However, the impact of the pandemic on the provision of inpatient endoscopy is not yet fully elucidated, and studies have shown that patients and providers have anxiety about contracting COVID-19, which may alter patterns of seeking or providing care [7, 8]. Though inpatient endoscopy risk is generally low [9], several studies have found differences in mortality rates and worse outcomes based on factors like weekend admissions, length of stay, distance to hospital traveled, and time to procedure [10,11,12]. In light of this uncertainty, we sought to characterize the effect of the COVID-19 pandemic on inpatient endoscopic procedures and assess risk factors for 30-day mortality in patients undergoing inpatient endoscopy before and during the initial pandemic wave at a critical period marked by lack of diagnostic testing, changing medical management policies, and early triaging mobilization efforts.

Methods

We constructed a retrospective cohort of patients ≥ 18 years of age who underwent an inpatient endoscopic procedure at Yale New Haven Hospital, a 1,541 bed tertiary academic medical center, between March 1-May 31 in 2020 (COVID-19 era), defined as the first wave of the pandemic at the medical center, compared to the same time period from 2018 and 2019 (pre-COVID-19 era, combined after descriptive statistics confirmed no significant differences). Prior to August 2019, the GI consult service was staffed by gastroenterologists who rotated a week at a time, balancing their inpatient responsibilities with outpatient clinic demands. Starting in August 2019, the GI consult service was run by GI hospitalists, board-certified gastroenterologists dedicated to inpatient consultative gastroenterology without any outpatient responsibilities. Patient demographics included age, sex, race/ethnicity, body mass index (BMI), and residence zip codes. Median income and distance from the hospital were determined using patient and hospital zip codes and 2020 US Census data [13, 14]. The average distance from the hospital was determined in the years 2018/2019 and 2020 and categorized as a dichotomous variable. Patients were categorized as “far” from the hospital if the distance between their residential and hospital zip codes was greater than the average distance in the year of the endoscopic procedure. BMI was used to categorize patients into the following categories: Underweight/Normal (BMI < 24.9 kg/m2), Overweight (BMI 25.0–29.9 kg/m2), and Obese (BMI ≥ 30.0 kg/m2). Median income was categorized based on the 2020 US Census income quintiles, with the first two quintiles combined due to the small number of patients in the first quintile in our cohort [15]. Comorbid conditions were determined by using the Charlson comorbidity index and further stratified into mortality risk groups: no risk (score 0), mild (score 1–2), moderate (score 3–4), and severe (score ≥ 5) [16]. Additional covariables included GI consult time and day and blood transfusion within 72 h of the procedure.

Procedure data including procedure type, indication, time, day, and location were extracted using Provation Endoscopy Software (Provation Medical, Minneapolis, MN). Procedures were categorized as Upper procedures (esophagogastroduodenoscopy [EGD], small bowel enteroscopy), Lower procedures (colonoscopy and sigmoidoscopy), and Endoscopic Retrograde Cholangiopancreatography (ERCP). Indications were grouped and further categorized as urgent (obstruction/volvulus, foreign body/food impaction, cholangitis/biliary obstruction, and GI bleed) or nonurgent (GI symptoms, iron deficiency anemia, dysphagia, screening, abnormal imaging, and other). The Glasgow-Blatchford Score was calculated for patients with upper GI bleeding and further categorized as lower risk (< 6) and higher risk of requiring intervention (≥ 6) [17]. Time to procedure was calculated from the time of GI consult to procedure start time. The primary outcome was 30-day mortality after the endoscopic procedure. The primary cause of death was grouped into 1 of 6 categories: bleed, sepsis, malignancy, cardiac, COVID-19, and other. Patient demographic and hospitalization data were extracted from the electronic medical record.

We calculated descriptive statistics between March–May 2020 and March–May 2018/2019 and identified demographic and procedure risk factors associated with 30-day mortality using two Cox regression analyses: (1) unadjusted models; (2) models adjusted for demographics, procedure characteristics, and comorbid diseases. These regression models were performed on patient cohorts (entire cohort of patients, patients with procedures in 2018/2019 and patients with procedures in 2020) and procedure cohorts (upper endoscopic procedures, lower endoscopic procedures, and ERCP). For the patient cohorts, each patient was included only once, retaining the first procedure undergone by a patient and omitting duplicate or subsequent inpatient procedures performed for a single patient. For the unadjusted model, we first assessed for a relationship between 30-day mortality and patient, procedural, and hospitalization factors in each of the cohorts. Variables with evidence of an independent relationship with 30-day mortality (p < 0.05) were included in the adjusted model for all individual cohorts, retaining demographic variables and variables associated with 30-day mortality on multivariate analysis. To determine the effect of known COVID-19 illness, we also completed a sensitivity analysis excluding patients with a confirmed diagnosis of COVID-19. Analyses were performed using Statistical Analysis System (SAS) Software, version 9.4 (Cary, NC). A p value of < 0.05 was considered statistically significant. This study was approved by the Institutional Review Board at Yale New Haven Hospital (#200028373).

Results

There were 1,741 patients who underwent inpatient GI procedures between March 1–May 31 across all three years (Table 1). There were 453 patients in 2020 compared to 1,288 in 2018/2019. There were significantly fewer Black patients in 2020 compared to 2018/2019 (13.9% vs. 18.6%, p = 0.02), but no difference in age, sex, ethnicity, median income, BMI, or average distance from hospital. There were 18 patients (4.0%) with confirmed COVID-19 diagnosis by PCR testing in 2020 during their inpatient stay. There was no difference between the years 2018/2019 and 2020 in Charlson Comorbidity Index scores.

Table 1 Descriptive characteristics of patients undergoing inpatient endoscopic procedures during spring 2018–2020

There were 2,313 total inpatient GI procedures studied. There was a decrease in the number of procedures from 1,700 procedures in 2018/2019 to 613 procedures in 2020. Most patients undergoing inpatient procedures were admitted through the emergency department in both 2020 and in 2018/2019 (73.6% vs. 73.9%, p = 0.85). Remaining patients were admitted directly from clinic or transferred from another hospital. There was an increased proportion of urgent procedures in 2020 compared to 2018/2019 (66.5% vs. 60.4%, respectively, p = 0.01). There was also a higher proportion of cases performed outside of the endoscopy suite (such as the ICU or operating room) (12.9% vs. 9.7%, p = 0.03), ICU admissions (27.1% vs. 22.7%, p = 0.04), and transfusion rates for GI bleeds (65.4% vs. 51.3%, p < 0.0001) in 2020 compared to 2018/2019. There was no difference in the proportion of low or high-risk GI bleeds classified by Glasgow-Blatchford Score between 2018/2019 and 2020. Average time from GI consult to procedure was shorter in 2020 compared to 2018/2019 (22 h vs. 26 h, p < 0.001), and the average time to urgent procedures was even shorter (19 h vs. 22 h, p < 0.001). There was no difference in procedure type or indication. There was no difference in the proportion of procedures or consults made on the weekend or after-hours (5PM-8AM the next day) between 2020 and 2018/2019. Additionally, there was no difference in the average length of stay between 2020 and 2018/2019 (14.4 days vs. 12.8 days, respectively, p = 0.12).

Thirty-day mortality was significantly higher in 2020 compared to 2018/2019 (10.1% vs. 5.5%, p < 0.001). There was no difference in the cause of patient mortality in 2020 compared to 2018/2019 (Table 1). In 2020, 7 patients (15.2%) died of complications associated with their COVID-19 diagnosis. Demographic and procedure risk factors associated with increased risk of 30-day mortality in the overall cohort included: age over 65 (HR 2.25, 95%CI 1.48–3.40, p = 0.0001), male gender (HR 1.81, 95%CI 1.19–2.74, p = 0.01), the year 2020 (HR 1.86 95%CI 1.22–2.84, p = 0.004), farther distance from hospital (HR 1.75, 95%CI 1.17–2.60, p = 0.01), procedures completed after-hours (5 PM-8AM the next day) (HR 2.06, 95%CI 1.23–3.46, p = 0.01), procedures performed outside the endoscopy suite (HR 5.27, 95% CI 3.12–8.90, p < 0.0001), ICU admissions (HR 2.88, 95%CI 1.83–4.52, p < 0.0001), and COVID-19 diagnosis (HR 3.06, 95%CI 1.29–7.28, p = 0.01). However, weekend consults (HR 0.43, 95%CI 0.26–0.71, p = 0.001) were associated with decreased risk of 30-day mortality (Table 2).

Table 2 Factors associated with 30-day mortality among patients undergoing inpatient endoscopic procedures

When stratifying by year, in 2020 male gender (HR 2.30, 95%CI 1.11–4.76, p = 0.02), farther distance from hospital (HR 1.98, 95%CI 1.11–4.76, p = 0.02), procedures performed outside the endoscopy suite (HR 6.54, 95%CI 2.55–15.45, p < 0.0001), and ICU admission (HR 2.54, 95%CI 1.24–5.20, p = 0.01) were associated with 30-day mortality. In comparison, there was no association of increased risk of 30-day mortality in 2018/2019 for farther distance from hospital (HR 1.56, 95%CI 0.93–2.61, p = 0.09). (Table 3). When stratifying by procedure type, the year 2020 (HR 2.00, 95%CI 1.34–3.01, p = 0.001) was associated with increased mortality only for upper endoscopic procedures (Supplementary Table 1).

Table 3 Factors associated with 30-day mortality among patients undergoing inpatient endoscopic procedures performed during spring 2020 (COVID-19 era) compared to spring 2018–2019 (non-COVID era)

For only urgent procedures (obstruction/volvulus, foreign body/food impaction, cholangitis/biliary obstruction, and GI bleed) in 2020, increased risk of 30-day mortality was associated with farther distance from the hospital (HR 3.02, 95%CI 1.49–6.16, p = 0.002), procedures completed on the weekends (HR 9.45, 95%CI 1.87–47.89, p = 0.01), procedures completed off the endoscopy suite (HR 3.78,95%CI 1.68–8.51, p = 0.001), and ICU admission (HR 2.78, 95%CI 1.30–5.94, p = 0.01). Consults completed on the weekends (5PM-8AM the next day) (HR 0.20, 95%CI 0.07–0.54, p = 0.002) and 30-day readmission (HR 0.15, 95%CI 0.03–0.67), p = 0.01) were associated with decreased risk of 30-day mortality for patients undergoing urgent procedures in 2020. There was no association with risk of mortality in 2018/2019 for ICU admission (HR 1.46, 95%CI 0.80–2.67, p = 0.22), consults completed on the weekend, procedures completed on the weekend and 30-day readmission (Supplementary Table 2).

After removing individuals with confirmed COVID-19 diagnosis among all urgent procedures, the year 2020 (HR 2.17 95%CI 1.47–3.21, p = 0.0001) was associated with an increased risk of 30-day mortality. In an analysis of patients without COVID-19 undergoing urgent procedures in 2020, farther distance from the hospital (HR 2.57, 95%CI 1.29–5.11, p = 0.01), procedures completed off the endoscopy suite (HR 3.36 95%CI 1.49–7.58, p = 0.003), and ICU admissions (HR 3.79 95%CI 1.69–8.52, p = 0.001) were associated with an increased risk of 30-day mortality whereas weekend consults (HR 0.31 95%CI 0.13–0.74, p = 0.01) and 30-day re-admission (HR 0.17 95%CI 0.04–0.72, p = 0.02) were associated with decreased risk of 30-day mortality (Supplementary Table 3).

Furthermore, for procedures performed for GI bleeding in 2020, 30-day mortality was significantly associated with farther distance from the hospital (HR 3.44, 95%CI 1.60–7.41, p = 0.001), COVID-19 diagnosis (HR 2.99, 95%CI 1.13–7.93, p = 0.03), procedures completed on the weekend (HR 10.53, 95%CI 1.86–59.50, p = 0.01), procedures completed off the endoscopy suite (HR 3.31, 95%CI 1.42–7.69, p = 0.01), and ICU admission (HR 3.92, 95%CI 0.50–4.36, p = 0.002). Weekend consults (HR 0.21, 95%CI 0.07–0.68, p-0.01) and 30-day readmission (HR 0.10, 95%CI 0.01–0.83, p = 0.03) were associated with decreased risk of 30-day mortality in patients with GI bleeding. Among patients undergoing procedures for GI bleeding in 2018/2019, there was no association with risk of 30-day mortality with ICU admission (HR 1.50, 95%CI 0.74–3.03, p = 0.26), weekend consults, procedures completed on the weekend, and 30-day readmission. There was no increased risk of mortality for procedures with higher risk GI bleeds based on the Glasgow-Blatchford Score (Supplementary Table 4).

Discussion

The COVID-19 pandemic has dramatically affected clinical practice and provision of care including endoscopy with variations in urgent procedural volume [18]. Our study highlights how the COVID-19 pandemic impacted inpatient GI endoscopic procedures at a large tertiary care center in the spring of 2020, which was the highest peak of COVID-related hospitalizations in the healthcare system studied. Inpatient endoscopy volume likely declined due to hospital restructuring in which procedures for nonurgent indications, such as dyspepsia or unexplained diarrhea, were deferred when possible and the use of telephone or video consults rather than in-person consults, which may have affected provider decision-making. Although endoscopies continued to be performed for nonurgent indications, postponement or cancellation of nonurgent procedures occurred at the discretion of the consulting gastroenterologist. We found increased rates of 30-day mortality during the height of the COVID-19 pandemic (2020) compared to previous years. Factors that were associated with increased mortality risk in 2020 included: older age, increased distance from hospital, need for ICU admission, and procedures conducted outside the endoscopy suite.

We observed increased transfusion rates for GI bleeds, urgent cases, and ICU admissions in 2020. The higher rates of urgent cases and increased mortality in 2020 may be due to patients presenting later in their disease course due to fears of COVID-19 exposure or decreased access to healthcare. Hence, the need for transfusions likely reflects this increased population of unstable patients. The proportion of patients with comorbid conditions was not different in 2020 compared to 2018/2019 and having more “severe” comorbidities based on the Charlson comorbidity index did not increase risk of mortality. We can hypothesize that patients in 2020 may have appeared more acutely ill rather than having more chronic comorbidities, given that the Charlson comorbidity index does not measure acuity. This supports the current literature evidence that patients in 2020 were more ill and had a greater likelihood of presenting to the inpatient setting in later stages of their disease course [19, 20].

While patients moved from GI consult to procedure more quickly in 2020, there were still higher mortality rates during the first wave of the pandemic, which coincided with the peak of COVID-related hospitalizations within our care center. The faster time from consult to urgent procedures may have been a result of hospital systems restructuring and triaging care to focus on urgent procedures and postponement of elective procedures to prioritize the increasing number of patients with COVID-19 infection. The presence of a gastroenterologist hospitalist model during the COVID-19 era may have accounted for the shorter time from consult to procedure. For urgent procedures, after hour consults had a two times higher risk and weekend procedures had a nine times higher risk of 30-day mortality, which was not seen in 2018/2019. This points to the increased severity of illness in patients presenting for urgent procedures and how staffing and triaging after-hours may affect mortality. When removing confirmed COVID-19 diagnoses, procedures completed on the weekend lost its association with mortality, although after hour consults remained at two times increased risk of mortality. We hypothesize that this may be due to severity of illness of patients presenting later in their disease course or due to postponement of after-hours procedures if not truly emergent to conserve resources and limit unnecessary risk. Notably, for urgent procedures for GI bleeds, the higher risk cases based on the Glasgow-Blatchford Score were not associated with increased risk of mortality, possibly because of appropriately triaging care for this population. The hospital reached a peak of 790 patients with COVID-19 infection in April 2020. Many units were transitioned into COVID-19 ICU floors (at the peak of the first wave, 16 of 27 units were dedicated as COVID-19 spaces) to accommodate the need for additional ICU beds and negative pressure rooms, and elective procedures were reduced starting the week of March 16, 2020, in order to conserve personal protective equipment (PPE). In addition, the hospital studied utilizes a dedicated team of inpatient GI hospitalist physicians, which has been demonstrated to improve safety, length of stay, and increase access for patients [21]. In addition, complications as a result of COVID-19 illness may have contributed to the increased mortality. The lower proportion of Black patients in our cohort who underwent inpatient procedures may reflect differences in patient access to care. Recent studies have demonstrated how socioeconomic factors have disproportionately affected the Black population due to increased loss of employment and healthcare access during the pandemic [22].

This study has some limitations. COVID-19 infection may have had an impact on the higher rates of mortality seen in 2020. Although the proportion of patients with COVID-19 infection is low in our cohort, this is likely an underestimation due to the limited access to diagnostic testing during the first wave of the pandemic. Therefore, all patients receiving endoscopies were treated as if they had COVID-19 during this era with endoscopists donning full PPE (respirator, eye protection, gloves, and gown) during procedures. Thus, we cannot determine whether the presence of COVID-19 diagnosis led to the increase in mortality, rather than the hospital system structural changes that occurred at the same time. All patients undergoing procedures in the endoscopy suite and most patients in the ICU received anesthesia, so the effect of sedation on mortality could not be assessed. Due to the retrospective nature of this study, there is also the potential for residual confounding from unmeasured variables, such as procedural difficulty. We also did not evaluate the number or reasons for canceled or postponed nonurgent procedures. Future studies should assess the impact of cancellation or deferral of nonurgent procedures on patient-important outcomes. Further directions include analyzing the effect of the COVID-19 era on length of stay and mortality risk base on a comorbidity index, though these studies will likely need more time given the notable risk in prolonged hospital courses for current patients with COVID-19 infection.

Despite the aforementioned limitations, this study does have considerable strengths. Our study represents a large cohort of patients at a busy tertiary care center that was affected by the initial wave of the COVID-19 pandemic. This study has a broad scope, focusing on different endoscopic procedures with varying indications and urgency. Additionally, although there are recent studies that have focused on characterizing endoscopic procedure differences between 2020 and previous years [6], we aimed to determine risk factors associated with increased mortality risk to assess patient populations warranting greater recognition. This study adds to the growing literature on the effects of the COVID-19 pandemic on endoscopic procedures. Rather than the focus on specifically diagnosed patients with COVID-19, our study highlights considerations that should be made in early pandemic phases when disease course is unknown, diagnostic testing is scarce, and hospitals are challenged to restructure in response to an influx of uniquely affected patients. Further research is needed to better understand the impact of the COVID-19 pandemic during later eras with emerging vaccines and treatments.

As hospital systems continue to contend with the challenges of operating during a pandemic, this study shows that certain patients should be triaged for GI procedures with special care. Although this study is specific to the first wave of the COVID-19 pandemic in the year 2020 before consistent rapid inpatient RNA testing and vaccine administration was available, it demonstrates the effects any early pandemic and clinical service restructuring can have on patients in modern medicine and can inform how hospital systems should proceed to triage care as pandemic conditions continue to evolve and the backlog of postponed cases is subsequently addressed. In light of other potential pandemics or medical emergencies where quick triaging is necessary, at-risk patients, who may be presenting with greater severity in their illness, may be identified based on procedural and patient characteristics to help reduce mortality. Patients over the age of 65, who live farther from the hospital, who receive consults after-hours, or who need upper endoscopy procedures should be recognized as high-risk patients. Further study is needed to understand the effects of this evolving era on patient care, access, and health services-related outcomes as we continue to shift practice patterns to address delayed elective procedures and advanced presentations of diseases, particularly in vulnerable patient populations disproportionately affected by the COVID-19 pandemic.