gastrointestinal infection diagnosis