Background

Clostridioides difficile (C. difficile) is the most frequently reported nosocomial pathogen [1], and is responsible for up to 30% of antibiotic associated diarrhea [2]. Among patients with inflammatory bowel disease (IBD), C. difficile infections (CDI) are associated with worse clinical outcomes, including increased emergency room visits, longer hospitalizations, higher rates of colectomy, and increased mortality rates [3,4,5]. Infection with CDI may mimic an IBD flare and CDI may precipitate an IBD flare. Therefore, treatment of an individual with IBD with active CDI can be difficult, as it involves treating both CDI with antibiotics, and optimal management of the patient’s immunosuppression [3]. We have previously shown in a population-based cohort that individuals with IBD have a 4.8-fold increased risk of laboratory confirmed CDI compared to people without IBD, with no difference in rates between those with ulcerative colitis (UC) or Crohn’s disease (CD) [6].

Much of the information on the epidemiology of CDI among individuals with IBD in North America has traditionally come from an assessment of hospitalization admission and discharge databases (DAD), using the International Classification of Diseases (ICD), 9th revision, Clinical Modification (ICD-9-CM) code for CDI [7, 8]. Using DAD can save time by removing the need to contact multiple diagnostic laboratories to obtain their data. Conversely, the accuracy of this method to identify CDI in the general population is highly variable [9, 10]. The introduction of ICD, 10th revision (ICD-10) coding in Canada over the last decade, a more specific coding system that may lead to improvements in assessments using DAD.

We have previously reported that DAD have a limited accuracy in identifying the occurrence of CDI using ICD-10 CDI codes among hospitalized individuals with IBD, with approximately 30% of laboratory confirmed cases not identified in DAD [11]. However, it remains unknown whether the assessment of CDI epidemiology over time among hospitalized individuals with IBD, provides different patterns and risk factors when the laboratory dataset is used compared with using hospital discharges CDI code. It is possible there is no effect on the determination of time trends and epidemiology of CDI among those with IBD versus those without IBD, as perhaps there is no differential effect across study years.

Hence, the aim of our current study was to compare the epidemiological patterns of CDI among hospitalized individuals with IBD as assessed using ICD-10 CDI codes in the DAD to that from laboratory-confirmed CDI diagnosis in the same population-based setting.

Methods

Manitoba is a central Canadian province with a population of 1.36 million people in 2018 [12]. Manitoba Healthy Seniors and Active Living (MHSAL) is the provincial agency which oversees the delivery of universal healthcare in the province. MHSAL maintains several electronic administrative healthcare databases to monitor the healthcare services delivered and for re-imbursement to health care providers for the services rendered. These include hospitalization admission and discharge database (DAD), physicians claims dataset (inpatient and outpatient physician visits), the Drug Programs Information Network (DPIN) database (all out patient prescription dispensations) and the provincial population registry (all permanent residents of Manitoba). Up to 16 ICD-9 (prior to 2004) or 25 ICD-10 (since 2004) diagnostic codes are recorded for each inpatient hospital stay, whereas each outpatient physician visit is coded with a single ICD-9 diagnostic code.

The University of Manitoba IBD Epidemiology Database (UMIBDED) was initiated in 1995 and is repeatedly updated using MHSAL administrative databases and therefore contains all of the information listed above for MHSAL administrative databases [13]. The case definition of IBD in UMIBDED includes individuals with at least 5 separate physician contacts and/or hospitalizations for an IBD diagnosis (≥ 3 contacts for those residing in Manitoba for ≤ 2 years). This case definition has been previously validated, with a sensitivity and specificity of approximately 90% in comparison with both patient self-report and chart review [13]. The UMIBDED has been used for many epidemiological studies [14,15,16,17,18]. Cases of IBD in the UMIBDED, (as of March 2015, n = 8,277), are matched 1:10 to age, sex and area of residence (at time of IBD diagnosis) matched controls (n = 72,387). We include patients with J-pouches, ostomies, or indeterminate colitis.

The MHSAL Public Health Branch Epidemiology and Surveillance Unit has maintained a population-based CDI database since 2005, developed from the legally mandated universal reporting of documented CDI cases in the province to the unit. Diagnostic testing for CDI is performed by five public laboratories, of which four perform most (approximately 99%) of the testing. Only loose stool, which takes the shape of its container, is tested by the laboratories, thereby minimizing the detection of asymptomatic carriers (estimated to be 2–7% of the population [19, 20]). Between April 2005 and May 2013, Manitoba laboratories performed immunoassays for the glutamate dehydrogenase (GD) antigen and C. difficile toxins A and B, followed by the cytopathic effect (CPE) assay (using viable human fibroblasts) and/or culture for discordant results (i.e., GD antigen positive C. difficile toxin A & B immunoassay negative) [21, 22]. Since May 2013, three laboratories (responsible for approximately 70% of the testing) implemented a Nucleic Acid Amplification Test (the Illumigene assay, Meridian Biosciences, Cincinnati, OH) for confirmation of GD antigen positive samples [22]. The testing strategies used are among those recommended by the Infectious Diseases Society of America Guidelines for C. difficile Infection.

All residents of the province have been assigned a personal health identification number (PHIN) since 1984. PHIN is used to link the data in the databases.

Study measures

The UMIBDED (April 1, 1984–March 31, 2014) was used to identify individuals with IBD, who were matched 1: 10 to those without IBD on age, sex, and area of residence (at IBD diagnosis/ index date). Everyone was followed individually longitudinally. Since DAD can only determine CDI among hospitalized patients, we restricted our analysis to that of CDI among hospitalized patients.

The DAD CDI diagnosis (A04.7) was determined among those hospitalized between July 1, 2005–March 31, 2014. The Manitoba Health Public Health Branch Epidemiology and Surveillance population-based CDI dataset was used to identify and define laboratory confirmed CDI cases (July 1, 2005 to March 31, 2014).

Each individual with IBD with CDI diagnosis during a hospitalization was matched with four IBD cases without a hospital record of CDI on or prior to the CDI index date (hospital admission date for first hospitalization with CDI), according to IBD type (UC vs. CD), gender, year of IBD diagnosis, and age.

Medication use (5-ASA, thiopurine, anti-TNF, corticosteroids) among those with IBD was defined as out-patient dispensation of one or more prescriptions in the year prior to the index hospitalization with CDI. Antibiotic use, including ciprofloxacin, metronidazole, and clindamycin, were defined as out-patient dispensation of one or more prescriptions in the three months prior to developing CDI. Hospital admission was defined as at least one overnight admission to the hospital in the year prior to developing CDI, and surgery was defined as at least one surgical procedure (involving complete or partial excision of the small or large bowel) at any time prior to developing CDI. Comorbidity burden was determined from ambulatory care and hospital admission diagnoses in the one year prior to CDI index date using the Charlson Comorbidity Index (CCI) score [23]. Frequency of ambulatory care visits in the year prior to developing to CDI was categorized into quartiles, 0–8 visits comprising the first quartile, 9–16 visits the second, 17–27 the third quartile, and 28 + the fourth.

Statistical analyses

Joinpoint Regression program [24] developed by SEER was used to assess the time trends of CDI rates. Annual percent change (APC) and 95% confidence intervals (95% CI) were calculated.

We assessed factors associated with CDI among hospitalized individuals with IBD using CDI DAD code and compared with the factors determined using laboratory dataset CDI diagnosis to define CDI. Stratified logistic regression was used to determine predictors of CDI among hospitalized individuals with IBD, whether CDI was identified by laboratory dataset or DAD with strata being the case with CDI and associated control set. Variables from the univariable analysis with a p-value < 0.10 were used in the multi-variable analysis to identify factors associated with CDI among hospitalized individuals with CDI.

Sensitivity, specificity, predictive values and diagnostic values were compared using Fisher’s exact test. Data from the July 2005 to May 2013 time period were compared to May 2013 to March 2014 to assess if the laboratory change in CDI diagnosis in May 2013 affected the test characteristics results. We used Dice similarity coefficient to compare CDI identified by the two definitions among those with IBD. Dice similarity coefficient, also called proportion of specific agreement, measures overlap between two groups. A good overlap occurs at a level greater than 0.70 [25, 26].

Statistical significance was determined at a p-value of less than 0.05. Statistical analyses were carried out using SAS 9.4 software (SAS Institute, Cary, NC). This study was approved by the University of Manitoba’s Health Research Ethics Board and MHSAL’s Health Information and Privacy Committee.

Results

A total of 64,692 hospital admissions were identified in the UMIBDED. Admissions after IBD diagnosis (N = 59,024) included 12,147 admissions among 4,244 IBD cases and 46,877 admissions among 22,285 individuals without IBD. There were 464 episodes of CDI after the IBD diagnosis/index date (matching date for those without IBD) among the study cohorts, using either of the laboratory dataset or DAD definition (CD:82; UC:85; individuals without IBD:297). Of the 383 patients with hospitalization for CDI, 326 had one CDI episode-196 had CDI by the laboratory dataset and DAD definition, 82 by laboratory dataset alone (DAD negative), and 48 by DAD definition only.

Among hospitalized individuals with IBD (Fig. 1), CDI assessment from DAD as well as the laboratory dataset showed no increase in CDI rates between 2005 and 2014, (DAD APC =  + 2.5%, 95% CI − 4.8, 10.4, p = 0.45; laboratory dataset APC =  + 0.9%, 95% CI − 7.0, 9.5, p = 0.80). In contrast, there was a statistically significant decrease in the CDIs among individuals without IBD when using laboratory dataset (APC = − 5.5%, 95% CI − 9.8, − 0.9, p = 0.025), and a statistically non-significant, but strong tendency of decrease based on the DAD (APC = − 4.7%, 95% CI − 10.6, 1.7, p = 0.12). These results lead to a slightly higher rate ratio of CDI in IBD to controls when using the DAD (OR 2.31) to compare the two groups (paired t-test p = 0.013), than when using laboratory dataset (OR 1.85) (Fig. 2). There was no consistent relationship for the odds ratios determined using the two different definition of CDIs (Additional file 1: Table S1). Dice similarity coefficient was 0.75, (95% CI 0.70–0.80) for IBD with CDI by the two definitions.

Fig. 1
figure 1

Annual CDI infection rates in IBD and those without IBD according to laboratory dataset (Lab) and Hospitalization Admission and Discharge Database (DAD) (A047). Annual percentage change and p values: IBD Lab: 0.89, 0.81; IBD DAD: 2.53,0.45; Non-IBD Lab: − 4.66, 0.12; Non-IBD Lab − 5.48, 0.02

Fig. 2
figure 2

Odds ratio of CDI in IBD compared to those without IBD using laboratory dataset (Lab) and hospitalization admission and discharge database (DAD) (A047)

Laboratory dataset and DAD CDI diagnosis were positively correlated with each other through the years (r = 0.72; p = 0.03; Fig. 3).

Fig. 3
figure 3

Correlation of CDI in the Laboratory dataset and Hospitalization Admission and Discharge Database (DAD) CDI diagnosis through the study years

Factors associated with CDI among hospitalized individuals with IBD

There were 108 individuals with IBD with CDI during hospitalizations identified by laboratory dataset, and 531 matched individuals with IBD without CDI (controls for this analysis) (Table 1). Similarly, there were 110 inpatients with IBD and CDI identified by DAD, with 539 matched individuals with IBD without CDI. Using laboratory dataset to determine IBD with CDI, 44% were male and median age at CDI diagnosis was 55.5, while using DAD 47% were male and the median age at CDI diagnosis was 60. The difference between IBD patient characteristics among those with and without CDI were similar when the two definitions of CDI were used (Table 1). There were no differences in the characteristics of individuals with CDI identified by laboratory dataset versus DAD either among those with or without IBD (Table 2).

Table 1 Comparison of IBD patients with and without CDI identified by laboratory dataset and by hospitalization admission and discharge database (DAD)
Table 2 Comparison of individuals with CDI identified by laboratory dataset versus hospitalization admission and discharge database (DAD) among those with and without IBD

In univariable analysis, CDI identified by laboratory dataset or by DAD, was associated with exposure to corticosteroids, any antibiotic, metronidazole, ciprofloxacin, and clindamycin (Table 3). Exposure to 5-ASA was associated with CDI identified by DAD, but not with CDI in the laboratory dataset. Increased ambulatory care use, hospitalization in the previous year, and greater comorbidity was associated with CDI identified by either DAD or laboratory dataset.

Table 3 Univariable analysis of factors associated with CDI in hospitalized IBD patients according to CDI defined by the laboratory dataset or hospitalization admission and discharge database (DAD)

In the multi-variable analysis (Table 4), prior hospital admission and antibiotic exposure were associated with CDI using either of the CDI definitions, whereas corticosteroids were associated with CDI in the laboratory set, and 5-ASA exposure in the DAD.

Table 4 Multivariate analysis of factors associated with CDI in Hospitalized IBD patients according to CDI defined by lab dataset or hospitalization admission and discharge database (DAD)

Using laboratory results as the gold standard, DAD had a sensitivity and specificity of 75.4% and 99.6% for CDI among those with IBD, and 73.8% and 99.9% for CDI among those without IBD, respectively (Table 5). However, the PPV and NPV were both lower for CDI in DAD for those with IBD than among those without IBD. There was no statistical difference in test characteristics when separating IBD into CD or UC patients.

Table 5 Test characteristics of CDI in the Hospitalization Admission and Discharge Database (DAD) to CDI in the laboratory dataset

Due to the laboratory differences in CDI diagnostic algorithm after May 2013, we repeated the analyses comparing DAD CDI definition to the laboratory CDI data stratified by time periods (July 2005 to May 2013 and May 2013 to March 2014). There were no significant differences in the true positive, true negative, false positive, false negative rates, sensitivity, and specificity between the two time periods.

Conclusion

We are reporting that hospital discharge database, using ICD codes for CDI, provides very similar epidemiological time trends of CDI for the IBD population, when compared with CDI identified by laboratory confirmed data. CDI assessment using hospital discharge abstracts or laboratory dataset, both did not show an increase in CDI among hospitalized IBD patients. The CDI rate decreased for both laboratory dataset and DAD when assessing patients without IBD, with the laboratory dataset rate decrease being statistically significant. The factors associated with CDI were similar using either definition, except for association with use of corticosteroids or 5-ASAs. These patterns are evident even though there is lower PPV and NPV of the hospital discharge database CDI code for CDI among those with IBD than among those without IBD as compared to laboratory CDI diagnosis.

While results based on DAD have obvious shortcomings, such as missed CDI diagnoses, this did not affect the trends we saw over time. It did, however, affect the differences in CDI rates between patients with IBD compared to those without IBD, leading to a statistically significant higher rate ratio when using DAD to compare the two groups, compared with laboratory dataset, although the differences were very small and unlikely to be of clinical significance.

One issue of contention in clinical practice is the differentiation between active C. difficile infection and colonization. Stool samples in our province are only tested for C. difficile infection if the stool sample is liquid, and formed stool is therefore not tested for C. difficile to reduce the chance of picking up colonization. While the distinction between colonization and active C. difficile infection remains difficult among individuals with diarrhea, a positive C. difficile stool test in a person with pre-existing IBD is treated [27]. Further research is needed to develop better methods to distinguish C. difficile colonisation from active infection especially among those with IBD with diarrhea. This is an important ongoing problem with CDI research.

We have previously shown that thirty percent of laboratory confirmed CDI samples from inpatients are not recorded in hospital discharge abstracts and, the positive predictive value of ICD-10 CDI codes in hospital discharge databases is lower among those with IBD compared to persons without IBD [11]. Our current analysis confirms this finding. When using the laboratory dataset as the gold standard, the positive predictive value of DAD is lower for hospitalized IBD patients with CDI compared to those without IBD hospitalized with CDI. Therefore, while DAD is able to give similar epidemiological trends as the laboratory dataset, it does not accurately reflect the true numbers of hospitalized IBD patients with CDI. More importantly, DAD is unable to differentiate between community-acquired (before the patient is hospitalized) and hospital-acquired (patient acquiring while in hospital) CDI, which allows deciphering the significance of CDI in the community and within the hospital settings. Using the hospital dataset alone, it is impossible to assess for individuals acquiring CDI in hospital but manifesting with CDI after discharge.

Using the laboratory dataset as the gold standard, we reported sensitivity, specificity, positive and negative predictive values of using DAD as 75.4%, 99.6%, 67.15%, and 99.75%, respectively among those with IBD. A study in Calgary, Canada has previously reported sensitivity, specificity, positive predictive value, and negative predictive values of 82.1%, 99.4%, 88.4%, and 99.1%, respectively, for the performance of ICD-10 CDI codes among patients with ulcerative colitis [28]. The Calgary study did not assess patients without IBD, however, and hence could not compare the effect of using ICD-10 CDI codes on outcome differences between the two groups; neither did that study compare any differences in epidemiology using varied definitions. A study out of France reported an underestimation of CDI when using ICD-10 CDI codes among the general population [29].

Factors associated with CDI in the hospitalized IBD population using the laboratory dataset or DAD were similar in our study. In the multivariable analysis, exposure to corticosteroids was an independent factor associated with laboratory-based CDI diagnosis among hospitalized individuals with IBD. This association with corticosteroid use may be explained by clinicians treating a presumed IBD flare before testing for the presence of CDI in stool. Alternatively, this could be reflective of increased risk of CDI among those with IBD with severe disease, requiring corticosteroids; however anti-TNF use did not have a similar effect. It is also possible corticosteroids could increase risk of hospitalization with CDI. Rodemann et al. [30] assessed hospitalized IBD and non-IBD patients using hospital discharge codes and laboratory data, and found that the incidence of CDI was higher in all IBD patients (including UC and CD), and UC, though not CD, compared to non-IBD patients. Using multivariable logistic regression, IBD, older age (> 45), and Charlson comorbidity index were independent factors associated with positive C. difficile stool test. However, no prior study has assessed the effects of medication use prior to hospitalization on laboratory-based CDI diagnosis among hospitalized individuals with IBD.

In our study, antibiotic exposure in the prior three months, including ciprofloxacin, metronidazole, and clindamycin were associated with CDI defined by both DAD and the laboratory dataset, likely as antibiotics are a known risk factor for developing CDI [31]. It is also possible that antibiotics were used empirically to treat an acute diarrheal illness, despite guidelines recommending against this [32]. An increased number of co-morbidities, any hospital admission in the prior year and higher ambulatory care use in the prior year were also associated with hospitalization with CDI among those with IBD, suggesting such individuals should be aggressively assessed for CDI. This agrees with prior literature listing co-morbidities as well as increasing healthcare exposure as risk factors for developing CDI [30, 31].

Our paper’s strengths include using population-based databases, allowing us to include in our study all persons who receive care in the province of Manitoba. Further, because of using these databases, there was no referral bias, or recall bias, associated with our study. It is also potentially generalizable to other patient populations, as we have captured CDI rates in a population-based setting.

Our paper also has limitations, as we were unable to conduct a chart review, and acquire further clinical or laboratory data pertaining to patients’ clinical course. We were unable to differentiate between ileal and colonic Crohn’s disease; those with colonic disease have a higher risk of CDI compared to those with isolated small bowel disease [33]. Laboratory testing for C. difficile did change near the end of our study period, however, this did not affect comparison of CDI definition by laboratory dataset to that by DAD. Stool testing for C. difficile should be performed for every patient with diarrhea, but this may not always occur in clinical practice, and it’s possible some cases of CDI were missed and therefore not included in our datasets. As previously mentioned, it is difficult to distinguish between active C. difficile infection, and colonization, though it is current practice to treat C. difficile in a person with IBD with diarrhea, [27].

This is an observational study and there could be residual confounding in assessing factors associated with CDI among those with IBD; however, this should not be different by DAD versus laboratory definition of CDI. Then number of CDI episodes each year among those with IBD were low; however, we used joinpoint program which is designed to detect change in time trends of relatively rare events. Follow-up in our study ended in May 2014; additional studies would need to evaluate more recent practices.

In conclusion, our study suggests that results of studies using ICD codes to study the epidemiology of Clostridioides difficile infections may give similar epidemiological trends as using laboratory datasets and therefore ICD coding can be used when the laboratory dataset are not available. ICD codes have a very good specificity in detecting CDI with a poorer sensitivity, which will give erroneous raw numbers of CDI in the population and not allow evaluating individual cases with CDI. Therefore, while DAD may be used when assessing CDI time trends in persons with IBD, laboratory datasets are more accurate in understanding the true impact CDI has in the IBD population. Understanding epidemiologic trends and obtaining accurate numbers of CDI in those with IBD is integral to recognizing its impact in this population, as these patients have worse outcomes than those without CDI.