At univariate analysis factors associated with CDI included: antimycobacterial drug exposure, treatment for Pneumocystis pneumonia, acid suppressant exposure, previous hospitalization, antibiotic exposure, low CD4 cell count, high Charlson score, low creatinine, low albumin and low gammaglobulin level. This evidence concerns the gene CD4 and pneumocystosis.