A medical history, physical examination and tests such as blood counts, stool cultures, CT scans, MRIs, PCRs, colonoscopies and upper endoscopies may be used in order to perform a differential diagnosis.