Outpatient endoscopy is an elective medical procedure when a physician inserts an endoscope camera into the gastrointestinal tract to further evaluate patient's symptoms.

Esophagogastroduodenoscopy (EGD): Upper endoscopy. Specifically, the physician inserts the camera through the patients mouth and passes the scope through the esophagus, into the stomach, and into the first portion of the small bowel (duodenum). 

Colonoscopy - Lower endoscopy. The physician inserts the scope into the patient's rectum and advances it around the colon to the beginning of the colon (cecum). The scope is then slowly withdrawn through the colon so that the mucosa can be closely examined.