Endoscopy of the stomach and duodenum for diagnosis and medical intervention using a flexible endoscope.