Esophagogastroduodenoscopy or oesophagogastroduodenoscopy, also called by various other names, is a diagnostic endoscopic procedure that visualizes the upper part of the gastrointestinal tract down to the duodenum.