Section: Operations
Curriculum: Curriculum, page 39
Indications
- Diagnostic
- Dysphagia, odynophagia
- Dyspepsia with alarm features (weight loss, vomiting, anaemia, GI bleeding, palpable mass) or above the age threshold (thresholds vary; NZ HealthPathways use lower ages for Māori, Pacific and Asian patients given higher gastric cancer and H. pylori rates)
- Iron deficiency anaemia (with colonoscopy, ± duodenal biopsies for Coeliac disease)
- Upper GI bleeding: diagnosis, risk stratification and therapy within 24 h (see Gastroduodenal Haemorrhage, Glasgow-Blatchford score)
- Persistent vomiting, suspected Gastric outlet obstruction
- Abnormal imaging (thickening, mass, stricture)
- Biopsy for Coeliac disease, Eosinophilic oesophagitis, H. Pylori
- Surveillance
- Barrett's Oesophagus, Gastric intestinal metaplasia, FAP duodenal adenomas (Spigelman staging), varices in cirrhosis
- Repeat endoscopy at 6–8 weeks after a gastric ulcer to confirm healing and exclude malignancy
- Therapeutic
- Haemostasis (Endoscopic Control of Bleeding Ulcer), variceal banding (Oesophageal varices)
- Dilatation and stenting (Endoscopic assessment), Oesophageal foreign bodies, PEG (Gastrostomy), EMR/ESD, nasojejunal tube placement
Contraindications
- Absolute
- Lack of consent (competent refusal)
- Suspected perforation (unless the endoscopy is for planned therapeutic closure/stenting with surgical backup) — see Oesophageal perforation
- Haemodynamic instability before resuscitation; airway not safe for the planned sedation
- Relative
- Recent MI, unstable cardiorespiratory disease → anaesthetic support
- Caustic ingestion between ~5 days and 3 weeks (softening phase, highest perforation risk; endoscopy within 24–48 h is preferred) — see Caustic Ingestion
- Known Pharyngeal pouch (risk of pouch perforation; experienced endoscopist ± guidewire)
- Coagulopathy/antithrombotics for therapeutic procedures (see Anticoagulants)
- Recent upper GI anastomosis (gentle, low insufflation, CO2)
Preoperative
Consent
- Indication, findings, alternatives (e.g. contrast swallow, CT), need for biopsy and possible therapy
- Risks: sore throat, sedation-related cardiorespiratory events and aspiration, bleeding (diagnostic biopsy very low; higher with therapy), perforation (~1 in 10,000 diagnostic; higher with dilatation, EMR/ESD), dental damage, missed lesion, incomplete examination
Fasting and aspiration risk
- Standard elective protocol (ANZCA PG07 and local department policy)
- Solids/milk: 6 h
- Clear fluids: until 2 h before (many units now permit liberal clear fluids closer to the procedure — follow department protocol)
- Usual medications with a sip of water
- Aspiration risk = patient factors + procedural factors + sedation plan
- Patient factors: delayed gastric emptying or retained contents
- Gastric outlet obstruction, Achalasia and pseudoachalasia, large hiatus hernia, gastroparesis (long-standing diabetes), bowel obstruction
- Active upper GI bleeding (blood in stomach), reduced consciousness (hepatic encephalopathy, alcohol), pregnancy, obesity, opioid use
- GLP-1 receptor agonists and dual GLP-1/GIP agonists (semaglutide, tirzepatide)
- Procedural factors: emergency, prolonged therapeutic procedure (ESD, ERCP), supine/prone position, large-volume insufflation
- Sedation factors: deeper sedation and propofol abolish airway reflexes; pharyngeal lignocaine spray + sedation further impairs swallowing
- Patient factors: delayed gastric emptying or retained contents
- GLP-1 RA (ANZCA/GESA/ADS/NACOS/ANZMOSS consensus, updated 2025)
- Continue the drug (don't withhold)
- 24 h clear fluid diet the day before, then standard 6 h fast (water only until 2 h); "sip til send" not recommended
- Erythromycin as a prokinetic can be considered
- Insulin-treated diabetes needs a glucose plan
- Clear fluid diet reduces but does not guarantee an empty stomach → if food is found, abort or protect the airway
- Mitigation in high-risk patients
- Prolonged clear fluid diet (e.g. 24–48 h liquids in achalasia), NG decompression in obstruction
- IV erythromycin 250 mg 30–120 min before endoscopy for UGI bleeding (improves the view, reduces repeat endoscopy; ESGE 2021)
- Head-up position; aspirate gastric contents early; minimal or no sedation
- GA with rapid sequence induction and cuffed ETT: massive haematemesis, encephalopathy, food-filled stomach, risky therapeutics
- Choice of location: unstable acute bleeding in theatre or ICU with anaesthetic support, not the day-stay unit
- Post-procedure: nil by mouth ~1 h after throat spray; aspiration symptoms (cough, hypoxia, fever) → CXR
Operative steps
Set-up
- WHO-style list brief and time out; check scope function, monitoring, sedation plan (see Endoscopy overview, Sedation for endoscopy)
- Left lateral, neck slightly flexed, mouthguard in, throat spray ± sedation
Insertion (oesophageal intubation under direct vision — curriculum KPI >95%)
- Hold the tip slightly flexed; pass over the tongue in the midline, keeping the view centred
- Identify the uvula → epiglottis → vocal cords/arytenoids
- Aim posterior to the arytenoids and slightly to one side into the piriform fossa (usually left in left lateral), approaching cricopharyngeus at ~15–18 cm from the incisors
- Wait for the slit-like UOS to open with a swallow and advance with gentle steady pressure under vision — never push blindly
- Don't push if you can't see; if in doubt inflate and pull back
Approach to difficult oesophageal intubation
- Reposition: neck flexion, chin forward, reinsert in the midline, correct tip rotation
- Try the other piriform fossa; ask the patient to swallow; small insufflation to open the hypopharynx
- Smaller-calibre (ultrathin/transnasal) scope
- Suspected pouch (Pharyngeal pouch): blind sac seen with lumen anterior; find the true lumen, pass a guidewire or abandon; high perforation risk at Killian's dehiscence
- Cervical osteophytes, head and neck cancer/radiotherapy, webs, strictures → guidewire, fluoroscopy, ENT or anaesthetic support
- Abandon rather than force; poor tolerance or agitation → stop and rebook under deeper sedation/GA
Landmarks and steering
- Landmark distances from the incisors (see Oesophageal anatomy): UOS ~15 cm, aortic arch indentation ~25 cm, left main bronchus ~27 cm, left atrial pulsation ~30–35 cm, GOJ ~38–40 cm
- GOJ = top of the gastric folds; normally coincides with the Z-line and diaphragmatic pinch; separation defines Hiatus hernia (folds above the pinch) and Barrett's (Z-line above the top of the folds — Prague Criteria)
- Stomach: aspirate pooled fluid (fundus, greater curve), insufflate moderately; lesser curve to the right and greater curve to the left of the screen in left lateral
- Follow the lesser curve and angulus to the antrum; centre the pylorus and advance with gentle pressure as it relaxes
- Potential areas of difficulty
- GOJ: tight in Achalasia (steady pressure, "pop"), tortuous large hiatus hernia, stricture
- Stomach: scope loops along the greater curve in a J-shaped or large stomach → aspirate, withdraw to straighten, abdominal pressure; cascade stomach and post-surgical anatomy
- Pylorus: deformed or stenosed in peptic disease; tip gets stuck on the pyloric ring
- Duodenal bulb → D2 (superior duodenal angle): blind turn — advance to the apex of the bulb, rotate right (clockwise) with up/right deflection, then withdraw to straighten (paradoxical advancement into D2)
- Post-surgical anatomy (Billroth II, Roux-en-Y): know the operation; afferent limb may need a longer scope
- Complete insertion to D2 in the large majority of cases (see Duodenum anatomy)
Withdrawal (systematic examination)
- Usually complete the examination and then inspect lesions and take photos on the way out
- D2: tip control (rotation, small up/down movements) to see the medial wall and folds; major papilla on the medial wall of D2 — forward-viewing scope often sees it obliquely; use a side-viewing duodenoscope (or cap) when the ampulla must be fully assessed (FAP)
- Bulb: withdraw slowly through the pylorus — the posterior bulb and area just distal to the pylorus are easily missed on rapid withdrawal
- Stomach
- Inspect antrum, angulus, body (lesser curve, greater curve, anterior and posterior walls) with full distension to flatten folds
- Retroflexion (J-manoeuvre: in the distended antrum/body, full up deflection then withdraw and rotate) to view the cardia, fundus, lesser curve high body and incisura — curriculum KPI >95%; use for Hill Classification
- Aspirate and re-inspect in partial distension; wash mucus with water/simethicone
- Oesophagus: insufflate and withdraw slowly with the lumen central; measure GOJ, Z-line, diaphragmatic pinch; inspect the upper oesophagus just below the UOS on withdrawal (hidden on insertion)
- Photo-documentation of landmarks (ESGE): upper oesophagus ~20 cm, ~2 cm above the Z-line, cardia in retroflexion, lesser curve, angulus in retroflexion, antrum, duodenal bulb, D2
- Procedure time: a first diagnostic gastroscopy should take ≥7 min (ESGE 2016; BSG 2017) — inspection time, not speed, determines detection of early neoplasia
Areas difficult to image and how to improve sensitivity
- Why they are hard: tangential views, folds, mucus/bubbles/food, motility, short or angulated segments, patient intolerance
- Blind areas
- Hypopharynx and cervical oesophagus (passed quickly on intubation)
- GOJ and cardia (seen best in retroflexion and with deep inspiration)
- Lesser curve high body and fundus, posterior wall body, angulus (tangential in forward view)
- Pyloric channel, posterior/inferior bulb, superior duodenal angle
- Ampulla (side-on with forward-viewing scope)
- Instrument
- High-definition scopes; transparent distal cap (holds folds open, close inspection); side-viewing duodenoscope for the ampulla; magnification
- Technique
- Adequate time; systematic protocol with photo-documentation
- Mucosal cleaning: simethicone ± N-acetylcysteine pre-procedure drink or wash
- Full and partial distension; retroflexion; rotation and tip deflection behind folds; antispasmodic (hyoscine) for motility
- Barrett's: inspect ≥1 min per cm of segment, Prague classification, Seattle Protocol biopsies (see Barrett's Oesophagus)
- Gastric: biopsy per Sydney protocol for atrophy/GIM staging
- Chromoendoscopy
- Lugol's iodine: dysplasia/early squamous cell carcinoma doesn't stain (glycogen-depleted); for high-risk groups (head and neck cancer, achalasia, caustic injury, tylosis)
- Acetic acid: enhances Barrett's surface pattern; dysplastic areas lose whitening early
- Indigo carmine: contrast stain for gastric and duodenal lesion margins
- Image enhancement (virtual chromoendoscopy)
- NBI – optical filters to select wavelengths of light which correspond to the peak light absorption of haemoglobin, enhancing visualisation of blood vessels and certain surface structures.
- Other systems: BLI/LCI (Fujifilm), i-scan (Pentax), TXI
- Improves characterisation of Barrett's dysplasia, early gastric cancer and squamous neoplasia (classifications e.g. JES for squamous, BING for Barrett's)
- AI computer-aided detection is emerging for Barrett's and gastric neoplasia (not yet standard)
Complications
- Sedation-related (most common serious category): hypoxia, aspiration, arrhythmia
- Perforation: cervical oesophagus (pouch, osteophytes), stricture dilatation, EMR/ESD
- Bleeding after biopsy or therapy; Mallory-Weiss tear from retching
- Dental damage, sore throat, aspiration pneumonia
- Missed pathology (post-endoscopy upper GI cancer): diagnosed within 3 years of a negative gastroscopy — quality indicator (see Quality assurance in endoscopy)
Postoperative
- Recovery and discharge (see Sedation for endoscopy)
- Report: indication, sedation, extent, findings with photos, biopsies taken, therapy, complications, plan
- Follow up histology; surveillance interval; PPI or H. pylori eradication as indicated