Your health care provider can use lab tests to identify E. coli O157:H7 or Shiga toxin in your stool if you are infected. CDC recommends that any one who suddenly has diarrhea with blood get their stool tested for E. coli O157:H7.
Understanding Foodborne Diseases