Risk factors and outcomes of Clostridium difficile infection in hospitalized patients