An endoscopic examination of the upper gastrointestinal tract. A flexible tube with a light and camera is gently passed into the esophagus, stomach and the first portion of the small intestine. Your physician will be able to thoroughly inspect those areas and biopsy as appropriate.