For several years, Corey has sufferered from intermittent abdominal pain along with bouts of diarrhea and constipation. According to Corey, his "bad guts" worsen whenever he is "stressed out" or eats certain foods, especially raw fruit and baked beans. His doctor has determined that his intestinal tract is not inflamed. Based on this information, Corey probably has _____.
gastroesophageal reflux disease (GERD)

irritable bowel syndrome
ulcerative colitis
Crohn's disease