The diagnosis of GERD begins with a medical history and physical examination. The healthcare provider may then order an esophagoscopy. A thin tube with a light and camera attached to it is passed down into the esophagus. This allows a doctor to look at the inside lining of the esophagus directly through the endoscope. Small monitors can be dropped into the throat to monitor the acid level in the esophagus.