Introduction
Clostridioides difficile (C. difficile) infection (CDI) is the leading cause of healthcare-associated diarrhea in the United States and causes considerable morbidity and mortality. Reference David J, Riddle and Erik R, Dubberke1,Reference Schäffler and Breitrück2 Hematopoietic cell transplantation (HCT) recipients are disproportionately affected by CDI and have worse clinical outcomes, including fulminant colitis and toxic megacolon. Reference Vehreschild, Weitershagen, Biehl, Tacke, Waldschmidt and Töx3–Reference Ragozzino, Mueller, Neofytos, Passweg, Müller and Medinger11 Previous studies have demonstrated that interventions such as environmental cleaning, enhanced hand hygiene protocols, and antibiotic stewardship can reduce CDI transmission and incidence. Reference Barker, Ngam, Musuuza, Vaughn and Safdar12,Reference Barker, Alagoz and Safdar13
Several prediction models have been developed for CDI in the general hospitalized population, with varying levels of performance. Reference Panchavati, Zelin, Garikipati, Pellegrini, Iqbal and Barnes14–Reference Madden, Boone, Lee, Sifri and Petri16 However, these models have limited utility for HCT patients due to the unique risk factors and higher baseline incidences ranging from 12.5 to 30% within in this population. Reference Madden, Boone, Lee, Sifri and Petri16–Reference D’Agostino, Collins, Pencina, Kean and Gorbach20 Previous studies have identified risk factors for primary and recurrent CDI among HCT patients, but these were primarily descriptive and did not develop or validate prediction models. Reference Alonso, Treadway, Hanna, Huff, Neofytos and Carroll6,Reference Lavallée, Labbé, Talbot, Alonso, Marr and Cohen21–Reference Kinnebrew, Lee, Jenq, Lipuma, Littmann and Gobourne24 To our knowledge, no published studies have described comprehensive prediction models specifically for CDI among HCT patients.
The objective of this study was to derive and internally validate clinical prediction models for both primary and recurrent CDI among HCT recipients. While previous studies have described risk factors in this cohort, they have primarily remained descriptive and lacked validated predictive tools. This study focuses on the methodologic development and internal validation of such models, representing an early step toward future risk stratification. Importantly, these tools are intended as a framework for identifying high-risk subsets for future research and are not proposed for immediate clinical implementation.
Methods
Study population
We assembled a cohort of HCT recipients from the Unified Transplant Database, a prospectively maintained database of autologous and allogenic HCT recipients at the Cleveland Clinic, Cleveland, Ohio, USA. The study was approved by the Cleveland Clinic Institutional Review Board. We included adults (≥18 yr) with hematological malignancy and/or bone marrow failure syndromes who underwent their first HCT between January 1, 2010, and March 31, 2023. Patients with a history of CDI diagnosis within 8 weeks prior to HCT were excluded.
We identified three outcome categories based on CDI diagnoses after engraftment: (1) patients without CDI, (2) patients with primary CDI only, and (3) patients with primary and recurrent CDI (Supplemental Figure 1). All outcomes were assessed through 1 year following transplant. Primary CDI was defined according to Infectious Disease Society of America/Society for Healthcare Epidemiology of America (IDSA/SHEA) guidelines as new-onset diarrhea (≥3 unformed stools within 24 h) and a positive stool test for C. difficile. Reference Cohen, Gerding, Johnson, Kelly, Loo and McDonald25 Recurrent CDI was defined as diarrhea and a positive CDI stool test between 2 and 8 weeks after completion of treatment for primary CDI, consistent with current clinical guidelines. Reference Cohen, Gerding, Johnson, Kelly, Loo and McDonald25
To evaluate the possible influence of changes in CDI diagnostic methodology on incidence rates, we categorized patient encounters into three testing eras based on institutional laboratory protocols: EIA-only (January 1, 2010—October 31, 2010), PCR-only (November 1, 2010—May 31, 2018), and PCR plus EIA confirmation (June 1, 2018—March 31, 2023). We performed logistic regression analyses with CDI status as the outcome and testing era as the primary predictor to evaluate differences in CDI detection across these periods.
Candidate predictor variables
Potential predictors for primary and recurrent CDI were selected through comprehensive literature review, focusing on predictors that would be available at the time of transplant (for prediction of primary CDI) or at the time of primary CDI diagnosis (for prediction of recurrent CDI). For prediction of primary CDI, candidate predictors included demographics (age, sex, race, body mass index (BMI), and insurance type categorized as private, Medicare, Medicaid, or other), clinical characteristics (hematopoietic cell transplantation-specific comorbidity index (HCT-CI), primary disease, and presence of specific comorbidities including inflammatory bowel disease, chronic kidney disease, and congestive heart failure), and transplant factors (donor type, stem cell source, and conditioning regimen intensity). We also collected healthcare utilization data (total hospital visits in the year preceding HCT admission, including number of inpatient days and outpatient visits), medication exposure (receipt of antibiotics including cephalosporins, penicillins, quinolones, clindamycin, macrolides, sulfonamides, and tetracyclines, as well as gastric acid suppressors, immunosuppressive agents, antidiarrheals, opioids, and total parenteral nutrition within 90 d prior to transplant), and laboratory measures (white blood cell count, serum creatinine, blood urea nitrogen, and serum albumin). For prediction of recurrent CDI, we collected the same variables but measured at the time of primary CDI diagnosis. For WBC count and serum creatinine, we recorded both the value on the day of transplant (or primary CDI diagnosis) and the highest value during the admission.
Continuous variables (eg, white blood cell count, serum creatinine, serum albumin) were assessed for nonlinearity and retained in their native scale, as transformation did not improve model fit. Categorical predictors (eg, graft type, stem cell source, hematologic malignancy subtype) were converted into indicator variables. Binary predictors represented medication exposures and clinical factors that were either present or absent within a defined period (eg, receipt of cephalosporins, penicillins, sulfonamides, gastric acid suppression, or immunosuppressive therapy). Missingness for all included variables was <5%; therefore, a complete-case approach was used.
Medication exposures were measured within 90 d prior to transplant (or prior to the index CDI diagnosis for the recurrence model) to capture the clinically relevant period of antibiotic-associated gut microbiome disruption. Reference Alonso, Treadway, Hanna, Huff, Neofytos and Carroll6,Reference Lavallée, Labbé, Talbot, Alonso, Marr and Cohen21
We selected a one-year follow-up period to capture the period of highest CDI risk following HCT, including early postengraftment and delayed infectious complications. Limiting the observation window to one year minimizes potential confounding associated with long-term survivorship and evolving exposures.
Statistical methods
Derivation and internal validation cohorts: We randomly divided the data set with 70% serving as the derivation cohort and the remaining 30% used for the internal validation cohort (Supplemental Figure 2). We repeated this approach in the population with primary CDI to create a model to predict CDI recurrence.
In the derivation cohort for primary CDI prediction, all candidate predictor variables were included as potential covariates in a multivariable logistic regression model using CDI within 1 year posttransplant as the primary outcome. To obtain a parsimonious model, we used three different approaches. First, backward elimination by Akaike information criterion (AIC) was employed. Second, we applied least absolute shrinkage and selection operator (LASSO) regularization with 10-fold cross-validation to select the optimal penalty parameter (lambda) that minimized deviance. Third, we developed a random forest model with 500 trees, a variable selection threshold of the square root of the total predictor count per split, a minimum terminal node size of 1, and an unrestricted number of maximum nodes per tree. Reference Vehreschild, Weitershagen, Biehl, Tacke, Waldschmidt and Töx26,Reference Dunias, Van Calster, Timmerman, Boulesteix and van Smeden27 Variables were ranked by importance using Gini impurity.
The final model from each approach was further simplified by removing variables that contributed little to discrimination, as assessed by the change in C-statistic, based on clinical and statistical judgment. We compared model discrimination using the C-statistic (area under the receiver operating characteristic curve). We assessed model calibration by grouped predicted risk graphically by comparing observed and predicted proportions of patients who developed CDI within increasing deciles of predicted probability. For interpretability, we evaluated model performance at a 10% predicted-risk threshold, corresponding approximately to the observed 9.3% incidence of CDI in the cohort, to identify patients at above-average risk
This approach was repeated to generate a model for recurrent CDI. The first model output was the probability that a patient would develop primary CDI, and the second model output was the probability a patient would develop recurrent CDI. All analyses were performed using R statistical software (version 4.1.0), with the glmnet package for regression models and randomForest package for random forest models.
Results
Characteristics of the study population
Among 2,768 patients who underwent HCT during the study period, 2,725 met inclusion and exclusion criteria. Of these, 252 (9.3%) developed CDI within 1 year from transplant (Supplemental Figure 1). Among patients with primary CDI, 22 (8.7% of primary cases, 0.8% of the entire study population) developed recurrent CDI within 1 year. The incidence of CDI varied by transplant type, with 17.8% (181 of 1,016 patients) in allogenic HCT recipients compared to 4.1% (71 of 1,709 patients) in autologous recipients.
Table 1 presents the demographic and clinical characteristics of the study population stratified by CDI status. Patients with primary CDI had higher rates of specific comorbidities, including inflammatory bowel disease (6.7% vs 4.8%) and congestive heart failure (11.5% vs 8.0%). Another difference between the groups was insurance status. Patients who developed CDI were significantly less likely to have private insurance compared with patients without CDI (64.7% vs 97.5%).
Demographic and clinical characteristics of HCT recipients stratified by CDI status

Numerical variables are displayed as mean ± standard deviation or median (IQR), as appropriate. Categorical variables are displayed as number of patients, followed by percentage. Medication data for patients with and without primary CDI is within 90 days from transplant; medication data for patients with recurrent CDI and those who recovered is within 90 days prior to the primary CDI diagnosis. Laboratory data for patients with or without primary CDI is from the day of transplant; laboratory data for patients with recurrent CDI and those who recovered is from the date of primary CDI diagnosis.
ALL, acute lymphoblastic leukemia. AML, acute myelogenous leukemia. BMI, body mass index. CI, confidence interval. CML, chronic myelogenous leukemia. CHF, chronic heart failure. CKD, chronic kidney disease. HCT-CI, Hematopoietic Cell Transplantation (HCT)-specific Comorbidity Index. IBD, inflammatory bowel disease. IQR, interquartile range. MDS, myelodysplastic syndrome. NHL, Non-Hodgkin lymphoma. SD, standard deviation. WBC, white blood cell. BUN, blood urea nitrogen.
Regarding medication exposures, patients who developed primary CDI were more likely to have received penicillins (54.8% vs 32.2%) or sulfonamide antibiotics (70.6% vs 37.2%) within 90 days prior to transplant.
Among the 252 patients who developed primary CDI, 22 (8.7%) developed a first recurrence, 12 (4.8% of index cases; 54.5% of first recurrence cases) developed a second recurrence, and 8 (3.2% of index cases; 75% of second recurrence cases) developed a third recurrence. Patients with recurrent CDI had higher rates of inflammatory bowel disease (18.2% vs 5.7%) and chronic kidney disease (9.1% vs 2.6%) compared to those who recovered.
Laboratory findings showed that patients who developed recurrent CDI had more pronounced leukocytosis on the day of primary CDI diagnosis (median 4,750 vs 2,450 cells/mm3) and during the admission for primary CDI treatment (median 5,800 vs 4,400 cells/mm3).
The incidence of CDI did not significantly differ across the defined diagnostic eras. In logistic regression models, the odds of CDI diagnosis during the PCR-only era were not significantly different compared to the EIA-only era (OR .70, 95% CI .21–2.17, P = .54). Likewise, the PCR plus EIA era demonstrated no significant difference in CDI odds relative to the EIA era (OR .82, 95% CI .24–2.52, P = .73).
Predictors of primary CDI in the derivation cohort
Table 2 presents the results from our models for predicting primary CDI. The logistic regression model with backward elimination by AIC performed best and included five predictors: receipt of cephalosporins, penicillins, sulfonamides, transplant type, and insurance status. Receipt of cephalosporins (OR 1.46; 95% CI, 1.02–2.11), sulfonamides (OR 1.78; 95% CI, 1.04–3.05), and penicillins (OR 1.40; 95% CI, 0.96–2.02) within 90 days prior to transplant were associated with an increased risk of developing primary CDI. Autologous transplant (compared to allogenic) was associated with decreased odds, with an OR of 0.39 (95% CI, 0.22–0.66). With private insurance as the reference, Medicare (OR 30.2; 95% CI, 16.9–53.6) and Medicaid (OR15.2; 95% CI, 6.5–35.4) were associated with increased odds of developing primary CDI. Results from alternative modeling strategies (random forest and LASSO regularization) are presented in Supplementary Tables 2 and 3. These models showed lower discrimination compared to the backward elimination approach.
Final prediction models for primary and recurrent CDI

CI, confidence interval. WBC, white blood cell.
Given the unexpectedly strong association with insurance status, we conducted a post hoc analysis replacing insurance with age over 65 years, chronic kidney disease, and area deprivation index. This alternative model demonstrated significantly worse performance (C-statistic = 0.70; DeLong test, P = 0.02) compared to the original model including insurance status, suggesting that insurance captures additional predictors beyond age, kidney disease, and socioeconomic status.
Primary CDI prediction model performance
We compared three modeling strategies—backward-elimination logistic regression, LASSO regression, and random forest—for predicting primary CDI within one year posttransplant. The backward-elimination logistic model demonstrated the best overall discrimination, with an AUC of 0.81 (95% CI, 0.75–0.86) in both the derivation and internal-validation cohorts. The LASSO model showed lower discrimination (AUC = 0.68, 95% CI, 0.63–0.73), and the random forest model performed modestly (AUC = 0.70, 95% CI, 0.65–0.75). These findings indicate that the backward-elimination logistic model provided the strongest and most stable predictive performance among the approaches tested and was therefore selected as the final primary CDI model.
Figure 1 displays the receiver operating characteristic curves for our primary CDI model in the derivation and validation cohorts. The model demonstrated good discrimination with a C-statistic of 0.81 in both the derivation and validation cohorts.
Receiver operating characteristic (ROC) curves for derivation and validation cohorts of primary CDI model.

Figure 2 shows the calibration plots comparing observed and predicted proportions of patients who developed CDI within 1 year from transplant by deciles of predicted risk. The model demonstrated reasonable overall calibration in the validation set (Hosmer-Lemeshow goodness-of-fit, P > .2; Brier score 0.067). However, visual inspection revealed that the model underestimated risk in lower deciles (deciles 1–3) and overestimated risk in higher deciles (8 and 9). The observed proportions of patients who developed CDI were generally consistent with the predicted probabilities in the mid-range (deciles 4–7). At a 10% predicted-risk threshold, the model achieved sensitivity of 0.69, specificity of 0.76, positive predictive value (PPV) of 0.22, and negative predictive value (NPV) of 0.96 in the validation cohort, indicating good separation of high-and low-risk patients without performance inflation from the majority non-CDI class.
Calibration plot for the primary CDI model in the (A) derivation and (B) internal validation sets.

Recurrent CDI prediction model
For predicting recurrent CDI, LASSO regression produced the model with the highest discrimination. This model included only one significant predictor: WBC count on the day of primary CDI diagnosis with a higher count associated with increased odds of developing recurrent CDI (OR 1.16; 95% CI, 1.06–1.27). Results from alternative modeling strategies (random forest and backward elimination) are presented in Supplementary Tables 4 and 5.
Recurrent CDI prediction model performance
Figure 3 shows the receiver operating characteristic curves for our recurrent CDI model. The model had a C-statistic of 0.73 in the derivation cohort and 0.70 in the validation cohort, indicating moderate discrimination. Figure 4 shows the calibration plots comparing observed and predicted proportions of patients who developed recurrent CDI within 1 year after primary CDI by deciles of predicted risk. Calibration assessment for the model showed adequate overall fit (Hosmer-Lemeshow goodness-of-fit, P > .3; Brier score 0.075), though the small number of recurrent events (n = 22) limited our ability to perform detailed calibration analyses across risk deciles.
Receiver operating characteristic (ROC) curves for derivation and internal validation cohorts of recurrent CDI model.

Calibration plot for the recurrent CDI model in the (A) derivation and (B) internal validation sets.

Discussion
In this large retrospective cohort study, we derived and internally validated prediction models for primary and recurrent CDI among the HCT population. Our primary CDI model identified key predictors, including receipt of cephalosporins and sulfonamides, insurance type, and transplant type, achieving good discrimination with a C-statistic of 0.81. We also developed a clinical prediction tool for recurrent CDI based on WBC count at primary CDI diagnosis, which demonstrated moderate discrimination with a C-statistic of 0.70–0.73.
We evaluated multiple modeling approaches to balance predictive performance with clinical interpretability. Traditional logistic regression with backward elimination offers transparency, which is important for the practical application of infection prevention and antimicrobial stewardship programs. LASSO regression provides regularization to reduce overfitting in high-dimensional clinical data, while random forest methods allow for modeling of potential nonlinear relationships. In our cohort, the backward-elimination model showed the most stable performance suggesting that parsimonious models may be better suited for clinical settings characterized by relatively low event rates.
We identified cephalosporin use as a significant predictor for primary CDI among HCT recipients which is consistent with prior research. Reference Aldrete S del, Kraft, Magee, Chan, Hutcherson and Langston28,Reference Tariq, Furqan, Jamshed and Khanna29 However, our finding that sulfonamide use was associated with increased CDI risk contrasts with a previous study by Lavallée et al., which reported sulfonamides as potentially protective in allogenic HCT patients. Reference Lavallée, Labbé, Talbot, Alonso, Marr and Cohen21 Notably, numerous studies in the general population have identified sulfonamides as a risk factor for both hospital-acquired and community-acquired CDI. Reference Teng, Reveles, Obodozie-Ofoegbu and Frei30–Reference Slimings and Riley35 The protective effect of autologous transplant (OR 0.39) is consistent with previous studies showing lower CDI incidence in autologous compared to allogenic HCT recipients. Reference Alonso, Treadway, Hanna, Huff, Neofytos and Carroll6,Reference Shah, McClellan, Flowers, Lonial, Khoury and Waller7,Reference Lavallée, Labbé, Talbot, Alonso, Marr and Cohen21,Reference Guddati, Kumar, Ahmed, Ali, Kumar and Hari36
We observed a strong association between public insurance (Medicare/Medicaid) and risk of CDI. While one previous study found public insurance predictive of primary CDI among general hospitalized patients, Reference Rafalko, Webster, Jacob, Kutzler and Goldstein17 the magnitude of association in our study was substantial. In post hoc analyses, replacing insurance status with age ≥65 years, chronic kidney disease, and area deprivation index reduced model performance. This suggests that insurance status captures additional risk factors beyond these measured variables. Medicare beneficiaries include a heterogeneous population, including younger patients with end-stage renal disease or disabilities, who may possess distinct comorbidity profiles. Therefore, insurance status likely functions as a proxy for unmeasured social determinants of health, geographic proximity to the transplant center, or disparities in healthcare access, rather than a direct causal factor. Insurance type may also reflect variation in pretransplant care, antibiotic exposure, and healthcare-seeking behaviors, all of which may influence CDI risk. These findings should therefore be interpreted cautiously, and identification of more granular social and healthcare-related contributors to CDI risk in transplant recipients remains an important area for future investigation.
For recurrent CDI, we identified elevated WBC count at primary CDI diagnosis as the only significant predictor, consistent with studies in the general hospitalized population. Reference Larrainzar-Coghen, Rodriguez-Pardo, Puig-Asensio, Rodríguez, Ferrer and Bartolomé37,Reference Reveles, Mortensen, Koeller, Lawson, Pugh and Rumbellow38 To our knowledge, this is the first study identifying severity of leukocytosis as a predictor for recurrent CDI among HCT recipients. However, given the low number of recurrent CDI cases, use of this model should be interpreted with caution.
Our primary CDI prediction model showed discrimination comparable to or better than models developed for the general hospitalized population. Reference Panchavati, Zelin, Garikipati, Pellegrini, Iqbal and Barnes14,Reference Oh, Makar, Fusco, McCaffrey, Rao and Ryan15,Reference Rafalko, Webster, Jacob, Kutzler and Goldstein17,Reference Aukes, Fireman, Lewis, Timbol, Hansen and Yu18 While overall calibration was adequate, the model tended to underestimate risk in lower-risk groups and overestimate risk in higher-risk groups. The observed sensitivity of 69% indicates that this tool represents an initial proof-of-concept and that additional refinement, potential incorporation of novel predictors, and external validation will be required to further improve performance characteristics. Ultimately, such models may support IDSA/SHEA-recommended preventive strategies by identifying high-risk patients for targeted antimicrobial stewardship and infection prevention measures. The model may also help identify patient subsets for enhanced surveillance or early intervention strategies but should not be used to guide treatment decisions without external validation.
Our recurrent CDI model showed modest discrimination, similar to existing models for the general population. Reference Madden, Boone, Lee, Sifri and Petri16,Reference Ruzicka, Kondo, Fujimoto, Craig, Kim and Mikamo19,Reference D’Agostino, Collins, Pencina, Kean and Gorbach20,Reference Escobar, Turk, Ragins, Ha, Hoberman and LeVine39 The lower discrimination compared to our primary CDI model suggests that important predictors of recurrence such as subsequent antibiotic exposures and C. difficile ribotype may not be captured in current clinical data. Despite its limitations, the model could help identify patients who might benefit from extended CDI treatment courses or novel microbiome-based therapies or fecal microbiota transplantation to prevent recurrence.
Our clinical prediction tools have the potential to stratify patients into distinct CDI risk categories. This risk stratification can be used to guide targeted preventive interventions. For high-risk patients, a bundled approach could include enhanced infection control measures, antibiotic stewardship focused on high-risk antibiotics such as cephalosporins and sulfonamides, and prophylactic strategies such as oral vancomycin prophylaxis. Importantly, this prediction model should be viewed as a tool in development, rather than a platform ready for immediate clinical implementation. While the primary CDI model demonstrated good discrimination, further refinement and external validation are necessary before such models can reliably be incorporated into routine infection prevention practice or used to guide antimicrobial stewardship interventions.
Our study has several limitations. First, it was conducted at a single institution, with most patients identifying as White and having private insurance, which may limit the generalizability of the findings. However, this remains one of the largest, well-characterized cohorts of HCT recipients, spanning 13 years. Second, the strong association observed with insurance status requires further investigation to identify underlying causal factors. Third, changes in institutional CDI diagnostic testing criteria over time may have influenced our findings. Furthermore, we were unable to account for potential differences in CDI testing frequency across patient subgroups (eg, those with inflammatory bowel disease), which may have introduced detection bias, particularly during the PCR-only testing era when colonization could have been misclassified as infection. Although we excluded patients with CDI within 8 weeks prior to HCT, earlier CDI history may not have been captured and could confer residual risk, potentially leading to misclassification. Variation in CDI treatment strategies, including antimicrobial selection, duration of therapy, and use of adjunctive treatments, may influence recurrence risk and were not fully accounted for in this analysis. This heterogeneity may partially explain the modest discrimination of the recurrent CDI model and suggests that future studies should incorporate granular treatment data. Finally, our recurrent CDI model was limited by the small number of recurrent events (n = 22), which restricted our ability to identify multiple predictors and perform detailed calibration analyses.
Supplementary material
The supplementary material for this article can be found at https://doi.org/10.1017/ash.2026.10315.
Acknowledgements
None.
Financial support
No funding sources were used for this research.
Competing interests
BHK reports to be a member of the (ad hoc) advisory boards for Sanofi, Incyte, Rigel, Maat Pharma; consultancy with ACI Group; data safety monitoring committee for Angiocrine; adjudication committee with CSL Behring. MAP reports funding from NIH through NHLBI K08HL141598. The other authors declare no potential competing interests.


