Diagnosis is often made clinically, including by trial of dietary change, but some infants require an upper gastrointestinal series, use of esophageal pH and impedance probes, and sometimes endoscopy.