In children greater than or equal to 2 years of age, C. difficile testing is recommended for patients with prolonged or worsening diarrhea and risk factors (eg, underlying inflammatory bowel disease or immunocompromising conditions) or relevant exposures (eg, contact with the healthcare system or recent antibiotics).