Oesophagogastroduodenoscopy (OGD) or gastroscopy for short, refers to endoscopic investigation of the upper gastrointestinal tract.  The procedure involves passing a thin, flexible tube fitted with a camera through the mouth to the duodenum (the initial curved segment of the small intestine).