⚙️
Connect your GitHub Repository
This site reads your GI wiki directly from GitHub, staying in sync with your Obsidian vault automatically.
Your GitHub account username
The repo where your Obsidian vault is stored
Path to the wiki folder inside your repo
💡 First time? Create a free GitHub account, upload your vault, and enable GitHub Pages. See SETUP.md for step-by-step instructions.

Upper Endoscopy (EGD)

  • Targets: American College of Gastroenterology (ACG)/American Society for Gastrointestinal Endoscopy (ASGE) 2025 — 29 esophagogastroduodenoscopy (EGD)-specific quality indicators with performance targets (acg-2025-egd-quality). Indicators common to all endoscopy (consent, sedation, antibiotics, antithrombotics, time-out, discharge) sit in a separate document.
  • How-to: American Gastroenterological Association (AGA) 2024 Clinical Practice Update — 9 ungraded Best Practice Advice (BPA) statements, no numeric targets (aga-2024-upper-endoscopy-quality).
  • Operator setup (neutral monitor and bed height, micro- and macrobreaks): endoscopy-ergonomics (asge-2023-ergonomics).

Contents


Indications

Quality indicator (QI) 1: indication on a published standard list, documented — target >95% (ACG/ASGE 2025).

Generally indicatedGenerally not indicated
Upper abdominal symptoms (dyspepsia) persisting despite an appropriate trial of therapy; or with signs of serious organic disease (e.g., anorexia, weight loss); or age >45 ySymptoms considered functional — exception: one exam to rule out organic disease, especially if unresponsive to therapy
Dysphagia, odynophagia, food impactionMetastatic adenocarcinoma of unknown primary when results will not alter management
Reflux symptoms (heartburn, regurgitation, noncardiac chest pain) persistent or recurrent despite appropriate therapy (gastroesophageal reflux disease (GERD))Asymptomatic or uncomplicated sliding hiatal hernia on radiography
Persistent vomiting of unknown cause (nausea and vomiting)Uncomplicated duodenal ulcer on radiography that responded to therapy
Screening for Barrett's esophagus (BE); familial adenomatous polyposis syndromesDeformed duodenal bulb when symptoms are absent or respond to ulcer therapy
Upper gastrointestinal (GI) bleeding (UGIB), active or recent; presumed chronic blood loss or iron-deficiency anemia (IDA) when an upper source is suspected or colonoscopy is negativeSurveillance of healed benign disease (esophagitis, gastric or duodenal ulcer)
Upper GI pathology that might change planned management (e.g., ulcer or GI bleeding history before transplant, long-term anticoagulation or chronic nonsteroidal anti-inflammatory drug [NSAID] therapy; head and neck cancer)Surveillance during repeated dilation of benign strictures unless status changes
Confirmation/histology of radiologic lesions (suspected neoplasm, ulcer, stricture or obstruction); tissue or fluid sampling; suspected portal hypertension; caustic ingestion
Esophageal physiology by impedance planimetry; wireless pH capsule placement for esophageal or extraesophageal reflux symptoms without severe erosive disease
Sequential/periodic EGD: surveillance of premalignant conditions (BE, gastric intestinal metaplasia (GIM)); eosinophilic esophagitis (EoE) activity; mucosal healing and BE screening after severe erosive esophagitis
Therapy: bleeding lesions (hemostasis), variceal banding or sclerotherapy, foreign bodies, selected polypoid lesions, feeding or drainage tubes, stenosis dilation, achalasia, palliation of stenosing neoplasms, intestinal metaplasia, diverticula, endoscopic bariatric therapy, foregut-surgery intraoperative evaluation, management of operative adverse events

Indications for esophagogastroduodenoscopy (EGD)
Source: condensed from ACG/ASGE 2025 Table 4
ACG/ASGE 2025: Quality Indicators for Upper GI Endoscopy
GI = gastrointestinal · UGIB = upper GI bleeding · IDA = iron-deficiency anemia · NSAID = nonsteroidal anti-inflammatory drug · BE = Barrett's esophagus · GIM = gastric intestinal metaplasia · EoE = eosinophilic esophagitis · GERD = gastroesophageal reflux disease


Timing for UGIB

  • QI 2: EGD within 24 h for patients admitted or under observation for UGIB — target >80%. Excludes low-risk patients (Glasgow-Blatchford score [GBS] ≤1) and early discharges from the emergency department (acg-2025-egd-quality).
  • 6–24 h: mortality benefit vs both urgent (<6 h) and delayed (24–48 h) EGD (territory-wide cohort, 6,474 patients).
  • Urgent <6 h adds nothing: randomized controlled trial (RCT) in high-risk UGIB (GBS ≥12) — no difference in 30-day mortality or further bleeding vs 6–24 h.
  • American Society of Anesthesiologists (ASA) class III–IV ulcer bleeding: higher mortality with very early (<12 h) or very late (>36 h) endoscopy (nationwide retrospective cohort).
  • Risk stratification and resuscitation: upper-gi-bleeding.

Preparation

  • Before the procedure (BPA 1): document the indication and informed consent — risks, benefits, alternatives, sedation plan, and potential diagnostic and therapeutic interventions (AGA 2024). Antithrombotic plan per antithrombotic management.
  • Glucagon-like peptide-1 (GLP-1) receptor agonists: societies differ, and the governing hold intervals, liquid diet and urgency triage are on endoscopy sedation. AGA 2024 favors an individualized approach over routine cessation — standard fast (typically 8 h solids, 2 h liquids) and no nausea, vomiting, dyspepsia or abdominal distention → proceed (aga-2024-glp1-endoscopy).
  • Premedication: simethicone and pronase each improve mucosal visualization in most studies; adding N-acetylcysteine or pronase to simethicone helps in some. Oral dosing 15–30 min before appears safe and effective; anesthesia concern about aspiration may limit generalizability (AGA 2024).

Technique

Mucosal Visualization (BPA 2)

  • Aspirate luminal contents, insufflate fully, cleanse (flush water through the accessory channel) — 10.7% of upper GI cancers are diagnosed within 3 y of a negative EGD (AGA 2024).
PitfallSimethicone through the working channel only

Irrigation is untested in trials and droplets can seed biofilm despite high-level disinfection. If needed: lowest concentration (≤0.5%), smallest volume, working channel — not the waterjet channel (AGA 2024).

High-Definition and Image-Enhanced Endoscopy (BPA 3 and 4)

  • High-definition white-light endoscopy (HD-WLE) instead of standard definition whenever possible; document the endoscope used. True high definition needs every component compatible (chip, processor, monitor, cables).
  • Image enhancement technologies (IET) — narrow-band imaging (NBI), i-Scan, linked color imaging (LCI)/blue laser imaging. At minimum use IET to characterize abnormalities seen on HD-WLE and whenever there is concern for upper GI preneoplasia or neoplasia. Suspicious areas: describe, photodocument, biopsy separately.
  • Yield: IET raises detection/characterization of dysplasia in BE by 10%–20% and finds more gastric lesions and GIM than HD-WLE; few head-to-head comparisons between IETs (AGA 2024).
  • Computer-aided detection: artificial-intelligence-endoscopy.

Inspection Time (BPA 5)

  • Inspect in anterograde and retroflexed views.
  • Total EGD >7 min is associated with more BE, GIM and upper GI cancer detected. BE: >1 min per cm of segment → more suspicious lesions (AGA 2024); ACG/ASGE 2025 notes ~1 min/cm of circumferential BE has been suggested as a guide.
  • Gastric data are retrospective and mostly non-US; neither document sets a numeric time target (ACG/ASGE 2025 lists inspection time as a future indicator).

Photodocumentation

ACG/ASGE 2025 QI 3 (priority; target >90%)AGA 2024 minimum, average risk (≥1 image each)
EsophagusLower esophagus/cardia showing squamocolumnar junction (SCJ) and gastroesophageal junction (GEJ)
GEJ, antegradeGEJ/fundus, retroflexed
Cardia/fundus, retroflexedBody and antrum, anterograde
CorpusIncisura, retroflexed
Incisura, antegradeDistal extent of exam in the duodenum
Antrum/pylorus, antegrade
Second portion of duodenum
Any detected lesion

Photodocumentation stations: ACG/ASGE quality indicator vs AGA minimum
Source: data from ACG/ASGE 2025 Indicator 3 and the AGA 2024 photodocumentation text
ACG/ASGE 2025 · AGA 2024
QI = quality indicator · SCJ = squamocolumnar junction · GEJ = gastroesophageal junction

  • GEJ = top of the gastric folds or distal end of the palisade vessels (ACG/ASGE 2025).
  • More rigorous photodocumentation for BE, GIM, or likely referral for endoscopic treatment; annotate suspicious abnormalities (AGA 2024).

Standardized Classification Systems (BPA 6)

Report the class, not a free-text description (AGA 2024). Criteria live on each owner page.

FindingClassificationCriteria on
Erosive esophagitisLos Angeles grade A–Dreflux-testing; clinical meaning on gerd
BEPrague C & Mbarretts-esophagus
Bleeding peptic ulcerForrestupper-gi-bleeding
Superficial neoplastic lesionParispolypectomy
Gastroesophageal flap valveHill grade; or American Foregut Society (AFS) esophagogastric junction integrity grade (hiatal Length, aperture Diameter, Flap valve)reflux-testing (AFS 2022)
EoEEosinophilic Esophagitis Endoscopic Reference Score (EREFS); Index for Severity of Eosinophilic Esophagitis (I-SEE), expected to become the activity standardeosinophilic-esophagitis
  • See Figure 2 in AGA 2024 for example images: Los Angeles A–D, Prague C & M, Hill 1–4, Forrest Ia–III, Paris 0-Ip to 0-III, EREFS.
PearlInsufflate and provoke before grading the junction

AFS 2022: insufflate ~30–45 s (until fundic rugal folds flatten), then retroflex and gently pull the tip along the lesser curvature (provocative maneuver) before grading; without this the junction is often under-graded. The original Hill grade does not describe a technique (afs-2022-egj-integrity-classification). Full sequence: reflux-testing.


Quality Indicators by Organ

Esophageal Indicators

ACG/ASGE 2025 Table 1; all targets are ">" values. Biopsy technique for each row: Biopsy Protocols — AGA 2024 (BPA 7).

QISettingStandardTarget
4Dysphagia, no endoscopically evident cause≥6 biopsies total from ≥2 levels (proximal/mid + distal)>90%
5EoE suspected or establishedEREFS documented>95%
6 PErosive esophagitisLos Angeles (LA) grade documented>98%
7Suspected columnar metaplasia of the tubular esophagusRecord SCJ, GEJ, and diaphragmatic hiatus (if hiatal hernia present)>95%
8 PBiopsies to evaluate for BE≥1 cm endoscopically evident columnar mucosa documented>95%
9 PSuspected or confirmed BEExtent by Prague criteria>95%
10BE surveillanceHD-WLE with dye-based or virtual chromoendoscopy>90%
11Known BE under surveillanceSystematic 4-quadrant biopsies every 2 cm through the involved segment>90%
12Visible lesion in known BEBiopsied or resected, processed separately from systematic biopsies>90%
22LA grade C or D esophagitisRecommend repeat EGD after a course of acid suppression — double-dose proton pump inhibitor (PPI) or potassium-competitive acid blocker (P-CAB) for ≥8 weeks>90%
23Dilation of a peptic esophageal strictureRecommend acid suppression, preferably PPI or another potent acid suppressant (absent allergy/contraindication)>98%
24Nondysplastic BE, no prior dysplasia, systematic biopsies takenNext surveillance no sooner than 3 y>80%
25BE with dysplasia or intramucosal carcinoma under endoscopic eradication therapyComplete eradication of intestinal metaplasia within 18 mo of initial treatment>75%

Esophageal quality indicators for EGD
Source: data from ACG/ASGE 2025 Table 1; acid-suppression course from the Indicator 22 discussion
ACG/ASGE 2025: Quality Indicators for Upper GI Endoscopy
QI = quality indicator · P = priority indicator · EoE = eosinophilic esophagitis · EREFS = Eosinophilic Esophagitis Endoscopic Reference Score · LA = Los Angeles · SCJ = squamocolumnar junction · GEJ = gastroesophageal junction · BE = Barrett's esophagus · HD-WLE = high-definition white-light endoscopy · EGD = esophagogastroduodenoscopy · PPI = proton pump inhibitor · P-CAB = potassium-competitive acid blocker

  • LA grade criteria and figure: reflux testing (ACG/ASGE 2025 prints grade A as ≤5 mm, AGA 2024 as <5 mm).

Gastric Indicators

QISettingStandardTarget
13 PPeptic ulcer seen≥1 stigma noted: active bleeding, nonbleeding visible vessel (NBVV), adherent clot, flat spot, clean base>98%
14 PUlcer with active spurting or oozing, or NBVVEndoscopic treatment>90%
15Epinephrine used for actively bleeding ulcer or NBVVAdd a second modality (coagulation, clips, argon plasma)>98%
16 PAttempted hemostasis of nonvariceal UGIBDocument whether primary hemostasis achieved>90%
26 PSuccessful endoscopic hemostasis of a bleeding ulcerHigh-dose PPI — ≥80 mg pantoprazole or equivalent daily for ≥3 days, continuous or intermittent>95%
17Gastric ulcerBiopsy, or plan follow-up endoscopy, to exclude malignancy>80%
18 PKnown gastric premalignant conditions (GPMC), high gastric cancer risk, or appearance concerning for GPMCSystematic biopsies of corpus, antrum and incisura (updated Sydney)>90%
19Same 3 groups as QI 18HD-WLE and virtual chromoendoscopy>90%
20Gastric polyp >10 mm without typical fundic gland polyp appearanceBiopsy or resect>80%
27GPMC, peptic ulcer disease (PUD), other <em>Helicobacter pylori</em> (<em>H. pylori</em>)–associated conditionsPlan to test for H. pylori documented>95%
28Endoscopically diagnosed H. pyloriPlan to treat and to assess eradication documented>95%
29Known GPMCSurveillance plan documented (intervals: gastric-premalignant-conditions)>90%

Gastric quality indicators for EGD
Source: data from ACG/ASGE 2025 Table 1; high-dose PPI definition from the Indicator 26 discussion
ACG/ASGE 2025: Quality Indicators for Upper GI Endoscopy
QI = quality indicator · P = priority indicator · NBVV = nonbleeding visible vessel · UGIB = upper GI bleeding · PPI = proton pump inhibitor · GPMC = gastric premalignant conditions · HD-WLE = high-definition white-light endoscopy · PUD = peptic ulcer disease

Duodenal Indicators

QISettingStandardTarget
21Suspected celiac disease≥4 duodenal biopsies, including 1 from the bulb>98%

Duodenal quality indicator for EGD
Source: data from ACG/ASGE 2025 Table 1
ACG/ASGE 2025: Quality Indicators for Upper GI Endoscopy
QI = quality indicator


Biopsy Protocols — AGA 2024 (BPA 7)

  • Document the number and location of every biopsy in the report (AGA 2024 BPA 7).
  • See Figure 3 in AGA 2024 for a biopsy-site map (eosinophilic esophagitis, gastric intestinal metaplasia, celiac disease).

Esophagus

  • EoE: ≥6 biopsies total, distal and mid/proximal esophagus (same rule as QI 4 for dysphagia). ~5%–10% of EoE looks endoscopically normal; targeted and/or multilevel biopsies improve yield; separate bottles by level of unclear benefit.
  • BE — Seattle protocol: 4-quadrant biopsies every 2 cm without dysplasia, every 1 cm with dysplasia (in those electing surveillance), each level in a separate jar; noncircumferential BE → every 2 cm from the tongues, minimum 4 biopsies (ACG/ASGE 2025). AGA 2024 gives "every 1–2 cm" without the dysplasia split; the newer ACG/ASGE 2025 rule is used here.
    • Yield improves with ≥8 biopsies, even in 1–2 cm segments. Targeted biopsies of abnormalities in addition.
    • Visible lesion not resected now → separate labelled jars (distance from incisors, clock position) before the Seattle biopsies; if resection is anticipated keep lesion biopsies minimal (fibrosis) (ACG/ASGE 2025).
    • Diagnosis needs salmon-colored mucosa ≥1 cm above the proximal gastric folds, best judged after gastric decompression. Avoid routine biopsy of a normal or irregular Z-line. Full BE protocol: barretts-esophagus.

Stomach

#SitePositioning
AAntrum, lesser curvaturewithin 2–3 cm of the pylorus
BAntrum, greater curvaturewithin 2–3 cm of the pylorus
CCorpus (body), lesser curvature4 cm proximal to the angularis
DCorpus (body), greater curvaturemiddle portion, 8 cm from the cardia
EIncisura angularisone specimen

5-biopsy updated Sydney System biopsy sites
Source: data from AGA 2015 Figure 1 and text (AGA 2024 Table 1 gives the same sites: ~4 cm proximal to the angle, ~8 cm distal to the cardia)
AGA 2015 Upper GI Biopsy in Dyspepsia · AGA 2024

  • Why 5, not 3: may add H. pylori yield on acid suppression at no extra pathology cost; a 3-biopsy set was not proven equivalent (AGA 2015 Statement 4, Conditional/Moderate).
  • Jars: AGA 2024 — ideally 2 labelled jars (body; antrum/incisura), followed here as the newer document. AGA 2015 Statement 4 put all specimens in 1 jar for H. pylori detection.
  • Body biopsies matter most on PPI or P-CAB — organisms migrate proximally from the antrum (AGA 2024).
  • No routine special stains (Statement 5, Conditional/Moderate): most infections are seen on hematoxylin and eosin (H&E); immunohistochemistry at the pathologist's discretion when H. pylori is not seen despite chronic gastritis.
  • GPMC or high gastric cancer risk: ≥5 biopsies at the sites above, ≥2 jars (antrum + incisura; corpus), targeted biopsies of focal abnormalities in a separate jar. Request GIM histologic subtyping (complete vs incomplete) (AGA 2024). Endoscopic clues: atrophy — pale mucosa, visible submucosal vessels, loss of folds; GIM — nodular or irregular pattern, light blue crest on NBI.
  • Gastric ulcer: biopsy base and edges, plus the rest of the stomach for H. pylori. May skip when gastric cancer risk is very low (e.g., young non-Hispanic White patient on NSAIDs) and the ulcer looks low risk (shallow, flat, with erosions). Duodenal ulcer: routine biopsy not needed (AGA 2024).
  • Gastric polyps: prefer resection to biopsy; multiple → resect the largest, sample the rest; suspected hyperplastic or adenomatous → consider biopsy of intervening mucosa. By type: gastric-polyps.

Duodenum

  • Suspected celiac disease: minimum ≥4 biopsies including 1 from the bulb (9 or 12 o'clock) — 2 forceps passes. Optimal: 4 distal to the bulb + 1–2 from the bulb, in 2 separate jars; consider 1 bite per pass for orientation (ACG/ASGE 2025; AGA 2024 gives the optimal set: ≥4 postbulbar + 1–2 bulb).
  • Bulb biopsies may raise sensitivity but lower specificity; ~1/3 of celiac disease looks endoscopically normal.

Normal-Appearing Mucosa in Dyspepsia

AGA 2015 applies only to adults >18 y, dyspepsia as the sole indication (Rome III: bothersome postprandial fullness, early satiation, epigastric pain or burning), no visible lesions, and no prior H. pylori treatment.

SegmentImmunocompetentImmunocompromised
Esophagus / gastroesophageal junctionDo not biopsy (Statement 1, Strong/Very low)Do not biopsy — Statement 1 applies regardless of immune status
Gastric body + antrumBiopsy for H. pylori if status unknown (Statement 2, Strong/Moderate)Biopsy for H. pylori if status unknown (Statement 3, Strong/Very low)
DuodenumDo not biopsy for celiac disease absent other signs or symptoms of increased celiac risk (Statement 6, Conditional/Very low)Biopsy for graft-versus-host disease (GVHD) after allogeneic transplant and for opportunistic infections (Statement 7, Conditional/Very low)

Biopsy of normal-appearing mucosa when dyspepsia is the sole indication
Source: data from AGA 2015 Statements 1–3, 6 and 7
AGA 2015 Upper GI Biopsy in Dyspepsia
H. pylori = Helicobacter pylori · GVHD = graft-versus-host disease

PitfallKnown H. pylori status — no stomach biopsy

Statement 2 does not apply when H. pylori status is already known; the detect-and-eradicate benefit it rests on is absent (AGA 2015).

  • No routine special stains on duodenal biopsies (Statement 8, Conditional/Very low) — CD3 adds nothing over H&E; reserve for rare cases such as suspected celiac disease with normal villi.
  • Populations at high risk of squamous dysplasia (the document names Iranian and Chinese) may warrant a risk-tailored approach.

Iron-Deficiency Anemia

  • Celiac: serology first, duodenal biopsy only if positive (serology beforehand is sometimes not feasible, e.g., open-access referral). Endoscopy shows celiac features (e.g., scalloping) → biopsy.
  • H. pylori: noninvasive testing (e.g., stool antigen); gastric biopsies for H. pylori and atrophic gastritis not routine without endoscopic findings — may still help in the right setting (e.g., family history of gastric cancer) (AGA 2024). Workup: iron-deficiency-anemia.

Postprocedure (BPA 8 and 9)

  • Document management recommendations tied to the findings (e.g., peptic ulcer disease, erosive esophagitis); if they depend on histology (H. pylori, BE, GIM), document that guidance will follow the results.
  • Instructions when applicable: diet; when to resume or avoid antithrombotics and other drugs (e.g., NSAIDs); new prescriptions (e.g., acid suppression); smoking/alcohol cessation; when results arrive; need/timing of repeat endoscopy.
  • Document whether surveillance is indicated and the interval; run a recall system; make sure patients and referring physicians get final results (AGA 2024).

Perforation

Closure algorithm, device-by-size table and aftercare: endoscopic-management-of-perforation. AGA 2021

  • Consent as high risk: any dilation and foreign body removal are named increased-perforation-risk procedures (BPA 4).
  • Surgery, no endoscopic attempt: hemodynamically unstable, or delayed perforation with peritoneal signs/frank peritonitis (BPA 15). Every other perforation → highly consider urgent surgical consultation, even after successful closure (BPA 5).
  • Closure by size, esophagus and stomach: through-the-scope clips (TTSC) or over-the-scope clips (OTSC) for ≤2 cm; endoscopic suturing (stomach: or TTSC + endoloop) for >2 cm; esophageal fully covered self-expanding metal stent (SEMS) only when primary closure is not possible (BPA 8, 9).

See Also

gastric-premalignant-conditions, gastric-cancer-screening, gastric-adenocarcinoma, gastric-intestinal-metaplasia, gastric-polyps, eosinophilic-esophagitis, helicobacter-pylori-infection, peptic-ulcer-disease, barretts-esophagus, endoscopic-eradication-therapy, endoscopic-mucosal-resection, polypectomy, colonoscopy, celiac-disease, upper-gi-bleeding, endoscopic-hemostasis, gerd, dysphagia, dyspepsia, nausea-and-vomiting, proton-pump-inhibitors, potassium-competitive-acid-blockers, endoscopy-sedation, antibiotic-prophylaxis-endoscopy, artificial-intelligence-endoscopy, reflux-testing, ingested-foreign-body, endoscopic-management-of-perforation, endoscope-reprocessing, endoscopy-ergonomics, glp-1-receptor-agonists, iron-deficiency-anemia


Sources

  1. ACG/ASGE 2025: Quality Indicators for Upper GI Endoscopy (EGD)
  2. AGA Clinical Practice Update on High-Quality Upper Endoscopy: Expert Review (2024)
  3. AGA Rapid Clinical Practice Update on the Management of Patients Taking GLP-1 Receptor Agonists Prior to Endoscopy: Communication (2024)
  4. ASGE Guideline: Management of Ingested Foreign Bodies and Food Impactions (2011)
  5. AGA Clinical Practice Update on Endoscopic Management of Perforations in Gastrointestinal Tract: Expert Review (2021)
  6. AGA Institute Guideline on the Role of Upper Gastrointestinal Biopsy to Evaluate Dyspepsia in the Adult Patient in the Absence of Visible Mucosal Lesions
  7. ASGE Guideline on the Role of Ergonomics for Prevention of Endoscopy-Related Injury: Summary and Recommendations (2023)
  8. The American Foregut Society White Paper on the Endoscopic Classification of Esophagogastric Junction Integrity (2022)
Educational reference for clinicians — not medical advice. Verify against the original guideline and use clinical judgment before acting on patient care.