Clinical KnowledgeA–Z topicsExams ▾Start free

Clinical Knowledge › Internal medicine › Gastroenterology and hepatology › Basics of gastroenterology

Upper gastrointestinal endoscopy and colonoscopy

Upper gastrointestinal endoscopy (oesophagogastroduodenoscopy, OGD) and colonoscopy are the core diagnostic and therapeutic tests of gastroenterology. A flexible video endoscope lets the operator see the mucosa, take biopsies and treat disease in one session, for example stopping bleeding, banding varices and removing polyps. OGD examines the oesophagus, stomach and duodenum after a short fast; colonoscopy examines the whole colon and terminal ileum after bowel preparation. Indications include dysphagia, upper or lower gastrointestinal bleeding, iron deficiency anaemia, alarm features, a positive faecal immunochemical test (FIT), suspected inflammatory bowel disease and cancer screening or surveillance. Safe practice needs a clear indication, consent, correct handling of antithrombotic drugs (BSG/ESGE 2021), careful sedation and prompt recognition of perforation and bleeding. Quality is measured: the ACG/ASGE 2024 indicators set an adenoma detection rate of at least 35% for screening colonoscopy, and ESGE 2025 sets standards for upper endoscopy including an inspection time of at least 7 minutes.

Full interactive lesson
Patient case, mechanism, investigations, management, flashcards and exam-style questions.
Open the lesson →
Barrett's oesophagus with Seattle protocol biopsy sites
Barrett's oesophagus with Seattle protocol biopsy sites Salmon-pink columnar mucosa above the gastro-oesophageal junction with biopsy sites. Seattle protocol: four-quadrant biopsies every 2 cm plus targeted biopsies of any visible lesion. · Samir · CC BY-SA 4.0 · Wikimedia Commons

Key facts

Differential diagnosis

ConditionCluesKey test
CT colonographyFrail patient, incomplete colonoscopy or patient choice; no biopsy possiblePositive findings still need colonoscopy for biopsy or removal
Capsule endoscopy (small bowel)Obscure bleeding after normal OGD and colonoscopy; cannot take biopsiesExclude strictures first (patency capsule or imaging)
Barium swallow / contrast studiesDysphagia with suspected pouch, ring or motility disorder; no tissueFollowed by OGD if a mucosal lesion is seen
Faecal immunochemical testTriage of lower GI symptoms or population screening; non-invasivePositive FIT leads to colonoscopy
Flexible sigmoidoscopyLeft-sided bleeding or distal colitis; enema preparation only, often no sedationProceed to colonoscopy if proximal disease is suspected
ERCP and endoscopic ultrasoundBiliary or pancreatic disease (stones, strictures, masses)MRCP or EUS first; ERCP reserved for therapy
Non-invasive H. pylori testsUninvestigated dyspepsia under 55–60 years without alarm featuresUrea breath test or stool antigen ('test and treat')

Exam pearls

A good report says how far the scope reached, the quality of the view or preparation, every finding with a standard classification, what was sampled and what happens next.
Never stop aspirin before endoscopy in a patient taking it for secondary prevention: the thrombotic risk outweighs the small bleeding risk.
Severe abdominal pain, fever or chest pain after endoscopy is a perforation until a CT proves otherwise.
Post-polypectomy syndrome (pain, fever, raised inflammatory markers without free air) follows a transmural burn and usually settles with antibiotics and bowel rest.
Retroflexion in the stomach is the only way to see the cardia and fundus well; missing it is a classic cause of a missed cancer.
Endoscopy is avoided in acute diverticulitis, toxic megacolon and suspected perforation because air insufflation can worsen injury.

Guideline

ACG/ASGE Quality Indicators for Colonoscopy (2024), ESGE performance measures for upper GI endoscopy (2025 update), BSG/ESGE guideline on endoscopy in patients on antiplatelet or anticoagulant therapy (2021 update), ESGE bowel preparation guideline (2019) and ESGE colorectal polypectomy and EMR guideline (2024)

References

  1. Rex DK, Anderson JC, Butterly LF, et al.. Quality Indicators for Colonoscopy. Am J Gastroenterol 2024.
  2. Areia M, Esposito G, Leclercq P, et al.. Performance measures for upper gastrointestinal endoscopy: a European Society of Gastrointestinal Endoscopy (ESGE) Quality Improvement Initiative – Update 2025. Endoscopy 2025.
  3. Veitch AM, Radaelli F, Alikhan R, et al.. Endoscopy in patients on antiplatelet or anticoagulant therapy: British Society of Gastroenterology (BSG) and European Society of Gastrointestinal Endoscopy (ESGE) guideline update. Gut 2021.
  4. Hassan C, East J, Radaelli F, et al.. Bowel preparation for colonoscopy: European Society of Gastrointestinal Endoscopy (ESGE) Guideline – Update 2019. Endoscopy 2019.
  5. Beg S, Ragunath K, Wyman A, et al.. Quality standards in upper gastrointestinal endoscopy: a position statement of the British Society of Gastroenterology (BSG) and Association of Upper Gastrointestinal Surgeons of Great Britain and Ireland (AUGIS). Gut 2017.
  6. Gralnek IM, Stanley AJ, Morris AJ, et al.. Endoscopic diagnosis and management of nonvariceal upper gastrointestinal hemorrhage (NVUGIH): European Society of Gastrointestinal Endoscopy (ESGE) Guideline – Update 2021. Endoscopy 2021.

Related topics

GI history and examLiver function testsAbdominal imagingStool testsAscitic fluid analysis

By Dr Khalid Seidi (B.Sc., M.D.) · MedEd World Clinical Knowledge library. Original teaching content checked against current guidelines (November 2026); confirm the latest local guidance before clinical use. Not a substitute for clinical judgement.