AhmedSMLE
GI & Abdomen
Chapter 7 of 42
Upper GI bleeding · ISNC Surgery
Ahmed Al Johani

Upper Gastrointestinal Bleeding

Resuscitate, scope, control
Upper gastrointestinal bleeding — condensed revision

Download this lecture PDF · 1.1 MB

Contents
  1. 1Definition, etiology and risk factors
  2. 2Presentation and immediate assessment
  3. 3Resuscitation, transfusion and investigations
  4. 4Risk stratification before endoscopy
  5. 5Pre-endoscopic management and endoscopy
  6. 6Forrest classification
  7. 7Endoscopic hemostasis
  8. 8After hemostasis, H. pylori and rebleeding
  9. 9TAE, surgery and the non-variceal algorithm
  10. 10Variceal bleeding
  11. 11TIPS, antithrombotics, special situations

1Definition, etiology and risk factors

Acute UGIB: bleeding proximal to the ligament of Treitz, usually with hematemesis

  • Two branches: non-variceal (peptic ulcer + other mucosal/vascular lesions) · variceal /
  • Spectrum: minor self-limited → severe ongoing bleeding → hemorrhagic shock and death
CauseKey point
Peptic ulcerGastric or duodenal · most important non-variceal cause
Erosive diseaseEsophagitis · gastritis · duodenitis
VaricealEsophageal / gastric varices from portal hypertension
Malignancyesophageal)Endoscopic control may be temporizing only; multidisciplinary
AortoentericSentinel bleed after an aortic graft = emergency → CTA +vascular/surgical management
HHTDilated capillaries and postcapillary venules scattered acrossmucosa
Iatrogenic / otherPost-endoscopic intervention · hemosuccus pancreaticus ·
PseudoxanthomaConnective tissue weakness; diagnosed by biopsy
Hemostaticvon Willebrand disease · hemophilia
LesionAppearancetreatment
Mallory–WeissLongitudinal alcoholic) ·tear at the GE junction after retching/vomiting (old age, self-limited · clips or thermal/mechanical if active
DieulafoyLarge tortuous the GEsubmucosal artery, minimal mucosal defect, within 6 cm of on the lesser curve · mechanical or thermal ± combination
GAVERed spots in form =radiating from the pylorus = watermelon stomach; diffuse stomach · ablation APC/RFA
PHGMosaic / hypertension;erythema ± red spots, fundus and body · treat portal vasoactive + endoscopic/radiologic if acuteFig. 2 GAVE: red stripes along the rugae — watermelon stomach.

and/or melena. portal hypertensive

  • Think: airway + circulation + source control
  • Most important non-variceal cause: peptic ulcer
LesionAppearance and treatment
Mallory–WeissLongitudinal mucosal tear at the GE junction after retching/vomiting (old age, alcoholic) · often self-limited · clips or thermal/mechanical if active
DieulafoyLarge tortuous submucosal artery, minimal mucosal defect, within 6 cm of the GE junction on the lesser curve · mechanical or thermal ± combination
GAVERed spots in stripes radiating from the pylorus = watermelon stomach; diffuse form = honeycomb stomach · ablation APC/RFA
PHGMosaic / snake-skin erythema ± red spots, fundus and body · treat portal hypertension; vasoactive + endoscopic/radiologic if acute
Fig. 1Suspensory ligament of Treitz at the duodenojejunal flexure.
PointContent
Causes vs risk factorsCauses = NSAIDs · aspirin · H. pylori. Risk factors (change incidence only) = smoking, coffee, tea, overweight
Medication historyAsk by name: NSAIDs, aspirin, clopidogrel, DOACs, warfarin, steroids
WarfarinBlocks four factors — 1972 = X, IX, VII, II. DOACs act on a single specific factor
SteroidsWeaken the mucosa → ulcer (lecturer: Cushing’s ulcer)
Portal hypertensionHigh portal pressure → portosystemic shunts = varices. Sites: esophagus (most common), gastric fundus, anorectal, retroperitoneal
Cirrhosis clueAscites · jaundice · splenomegaly · thrombocytopenia · prior varices or encephalopathy
Every Gastric Ulcer Is Cancer Until ExcludedFungating, raised, irregular ulcerated mass = gastric cancer. A gastric ulcer at endoscopy must be biopsied (section 5).
Exam Focus: Writing GaveG A V E in capitals is accepted as a full answer. The expansion (gastric antral vascular ectasia) is not required.

Risk factors

  • Peptic ulcer / H. pylori · NSAIDs, aspirin, other antiplatelets, steroids
  • Anticoagulants, and combinations of antithrombotic drugs
  • Previous peptic ulcer bleeding or previous GI hemorrhage
  • Cirrhosis / portal hypertension with known varices
  • Older age · cardiovascular, renal, hepatic disease
  • Critical illness: shock, sepsis, burns, trauma, ventilation → stress ulcer
Exam Focus: The Classic Stem“50-year-old man on regular ibuprofen for chronic knee pain, now upper GI bleeding — most probable cause?” → the NSAID (aspirin in the other wording). Old age and the rest are decoys.
Fig. 3Cancer stomach: fungating, raised, ulcerated.
Fig. 4Peptic ulcer: gastric (above), duodenal (below).
Do Not AnchorA cirrhotic can bleed from a peptic ulcer, not only from varices. Common is common — but do not stop at varices.

2Presentation and immediate assessment

PresentationMeaning
HematemesisBright red = brisk active bleeding · coffee-ground = altered/digested blood
MelenaBlack tarry stool (digested and absorbed blood) · usually upper GI, may be proximal small bowel
HematocheziaFresh blood per rectum · usually lower GI, but active UGIB can give maroon/red stool with shock
Shock featuresTachycardia · hypotension · narrow pulse pressure, weak pulse · cool peripheries · confusion · oliguria
PresentationMeaning
Anemia symptomsWeakness · dyspnea · dizziness · syncope · chest pain — the picture when the bleeding rate is low
Etiologic cluesRetching → Mallory–Weiss · cirrhosis → varices · NSAID → ulcer
A Lower Gi Bleed Is Not A Lower Gi DiagnosisIn any patient presenting with lower GI bleeding, you should not exclude an upper GI cause.
StepAction
A AirwayAssess aspiration risk. Intubate selectively before endoscopy when protection is inadequate — altered consciousness or ongoing hematemesis
B BreathingO if hypoxemic, continuous SpO. No routine prophylactic intubation in a stable patient — reassess clinically
C CirculationTwo large-bore IVs — one to give fluids, one to draw bloods · BP/HR/ECG · balanced isotonic crystalloid (Ringer’s lactate, NaCl; never hypertonic) · crossmatch · Foley catheter · activate the massive hemorrhage protocol when indicated
D DisabilityMental status · glucose · perfusion; altered consciousness raises aspiration risk
E ExposureMelena · abdominal tenderness · surgical scars · stigmata of chronic liver disease: jaundice, congested neck veins, palmar erythema, clubbing, spider naevi, caput medusae, widened subcostal angle, distended abdomen with umbilicus shifted down, umbilical hernia, lower limb edema
Exam Focus: Not X-AbcdeABCDE is the trauma guideline. A patient shocked from GI bleeding is assessed by ABCDE. Do not carry the trauma sequence across.
Do Not Trust The First HbHaemoconcentration: Hb 9 now may be 6 after resuscitation. Do not rush for blood transfusion — crystalloid first, assess clinically.

3Resuscitation, transfusion and investigations

  • Restore perfusion while avoiding unnecessary volume overload — reassess after the first bolus; urine output is the guide,
  • Crossmatch early · correct coagulopathy / thrombocytopenia (platelets, stop warfarin) per the local massive-bleeding
  • Reassess BP, HR, mental status, urine output, lactate and ongoing loss; high-risk patients need monitored / ICU-level care
  • Multidisciplinary: never stop clopidogrel or another antiplatelet alone → cardiology; hepatic patient → internal medicine /
Do Not Wait For The Hemoglobin To Fall Before Treating ShockWaiting while giving fluid after fluid produces fluid overload and lets the patient fall into uncorrectable shock. The monitoring/ICU slide wording itself is not for memorising.
InvestigationPoint
CBCHb/Hct, platelets; repeat serially — early Hb underestimates the loss
Urea / creatinine, electrolytesUrea rises disproportionately from digestion and absorption of blood; also renal perfusion
LFTs + albuminLiver disease and portal hypertension risk (albumin, bilirubin, INR → Child-Pugh)
CoagulationPT/INR, aPTT; fibrinogen in major hemorrhage — advanced test, not stocked everywhere
Type & crossmatchCompatible blood according to severity
Lactate / ABG or VBGShock and major ongoing hemorrhage; acid–base correction

CVP via central line where needed protocol hepatology

Transfusion threshold

PatientTransfuse at
Most hospitalized patientsHb < 7 g/dL
Significant cardiovascular disease or ongoing ischemia~8 g/dL
Elderly / chronically ill8 g/dL — do not wait for 7

Level of care

LevelObservation
ICUContinuous; checked every 15–30 min
HDU (pre-ICU)Roughly hourly
WardVital signs every 4–6 h
Patient First, Investigation SecondYou treat the patient clinically, not the investigation.

4Risk stratification before endoscopy

Glasgow– BUN · Hb · systolic BP · pulse · Best established pre-endoscopic (GBS) disease · cardiac failure outpatient in appropriate systems Prognosis drives the conversation with the family: elderly, cardiovascular and hepatic disease with uncontrolled cirrhosis and Child- Pugh B or C carries mortality of the order of 70–90% — and drives surveillance endoscopy for the patient at risk.

ScoreWhat it usesWhat it decides

Blatchford melena · syncope · hepatic tool. GBS 0–1 = very low risk →

(2026 ESGE). 0 points = outpatient · 6+ = 50% need endoscopic hemostasis

Rockall Clinical Rockall before Prognosis: rebleeding and

endoscopy; full Rockall adds mortality. 0–1 → 0% · 5 → 10% · age, shock, comorbidity, 8+ → 40% mortality diagnosis, endoscopic stigmata

Exam Focus: What Is AskedThe parameters and their points are not to be memorised. Know what each score is for: GBS = in-patient or out-patient (pre-endoscopy) · Rockall = rebleeding and mortality.
Fig. 5GBS and Rockall components with their points and cut-offs.
Scores Complement, Not ReplacePersistent hematemesis, shock, significant comorbidity or ongoing transfusion need mandate escalation regardless of the score. Escalation = upper GI endoscopy, then the step after it.

5Pre-endoscopic management and endoscopy

MeasureDetail
Basics once stableChest X-ray (aspiration/infection) + quick focused ultrasound (free fluid/collection), as FAST in trauma. An unstable patient is resuscitated, not imaged
NPOKeep NPO; no routine nasogastric lavage (iced saline + adrenaline washing is abandoned)
CoagulopathyCorrect it; monitor in HDU or ICU; treat shock without waiting for the Hb to fall
High-dose IV PPIConsider in suspected non-variceal UGIB — start even in a cirrhotic until the source is seen. Must NOT delay endoscopy
Erythromycin250 mg IV, 30–120 min before endoscopy in severe/ongoing bleeding — prokinetic, empties blood and clears the field. 2026 ESGE: IV metoclopramide if erythromycin unavailable
Suspected varicealStart vasoactive therapy + antibiotics immediately
Diffuse / recurrent lesionsEspecially HHT: systemic antiangiogenic agents (bevacizumab), antifibrinolytics (tranexamic acid) or hormonal therapy to decrease bleeding
EndoscopyDetail
Timing — non-varicealWithin 24 h; earlier only if instability persists
Timing — varicealWithin 12 h — variceal bleeding recurs almost immediately even when it appears to stop
AimsFind and describe the source · classify by Forrest · treat high-risk lesions (mechanical, thermal, injection, combination) · biopsy gastric ulcers when safe · record findings and the post-endoscopy plan
Biopsy techniqueHemostasis first. Take from the edge so the specimen carries normal tissue with the abnormal; several biopsies, several sites — never the ulcer floor alone
EndoscopyDetail
Timing — non-varicealWithin 24 h; earlier only if instability persists
Timing — varicealWithin 12 h — variceal bleeding recurs almost immediately even when it appears to stop
AimsFind and describe the source · classify by Forrest · treat high-risk lesions (mechanical, thermal, injection, combination) · biopsy gastric ulcers when safe · record findings and the post-endoscopy plan
Biopsy techniqueHemostasis first. Take from the edge so the specimen carries normal tissue with the abnormal; several biopsies, several sites — never the ulcer floor alone
Exam Focus: The Biopsy DetailEdge, including normal tissue, several sites, after hemostasis — this small print is asked.
The PriorityNot “fastest scope” — safe resuscitation + timely source control. Endoscopy is a source-control procedure: stabilize first, but avoid unnecessary delay.

6Forrest classification

Exam Focus: Forrest Is Required, And How To Answer On ItForrest must be known — a described appearance in a stem is asking for the class and what follows from it Asked to “mention two options for treatment” of a spurting vessel: “endoscopic hemostasis” is not an answer — it is the heading. Name the modalities (clip, band ligation, injection…) Finish the scenario: clot → remove it → look underneath → if active bleeding or a visible vessel, treat → repeat endoscopy before discharge. Answering only the first step answers half Exam images will be unambiguous; where a picture could be read two ways, both readings are marked correct
ClassAppearanceRiskAction
IaSpurting / pulsatileHIGHEndoscopic hemostasis
IbOozingHIGHEndoscopic hemostasis
IIaNon-bleeding visible vesselHIGHEndoscopic hemostasis
IIbAdherent clotIntermediateClot removal → treat the underlying stigma
IIcFlat pigmented spotLOWNo endoscopic hemostasis
IIIClean ulcer base (no white fibrinous membrane)LOWNo endoscopic hemostasis
Fig. 6Forrest Ia, Ib, IIa (arrow) / IIb, IIc, III.

7Endoscopic hemostasis

ModalityDetail
InjectionDilute epinephrine — temporary tamponade/vasoconstriction. NOT a sole definitive therapy; it buys a clear field (with irrigation and suction through the scope channel)
Contact thermalHeater probe · monopolar / bipolar / multipolar (more than one electrode on the tip) · gold probe · argon plasma coagulation (non-contact). Particularly useful for a visible vessel
MechanicalTTSC through the working channel — best for a large vessel · cap-mounted / OTSC around the outside of the scope, vessel sucked into the cap · band ligation in selected lesions. Clips are not removed — the vessel fibroses and seals
Hemostatic forcepsGrasp the bleeding point + soft coagulation. 2026 ESGE supports it as monotherapy for selected high-risk stigmata
Topical agentsPowder/gel (Hemospray, starch, oxidized cellulose, Ankaferd, polyglycolic acid) — temporizing only, not first-line, barely used
CombinationEpinephrine + a definitive modality is standard when epinephrine is used for active ulcer bleeding
Fig. 7Injection · thermal · mechanical · contact/topical agents.

The upper GI scope must be flexible, to retroflex and see the fundus. Availability differs between hospitals: adrenaline injection and clips almost everywhere; hemostatic forceps, bipolar devices and over-the-scope systems are advanced equipment.

Exam Focus: How A Hemostasis Answer Is MarkedInjection sclerotherapy alone is not accepted APC = one item; monopolar / bipolar / heat probe = one item. “Monopolar, bipolar, heat probe, Gold, Silver” is one answer, not five Mechanical = one answer, whether clip (TTS or OTS) or band ligation The topical powder is not an accepted answer
Fig. 8OTSC: the lesion is drawn into the cap and the clip closes over it.

8After hemostasis, H. pylori and rebleeding

StepDetail
High-dose PPIHigh-risk ulcer stigmata after successful hemostasis: IV PPI 80 mg bolus, then 8 mg/h infusion for 72 h (slide) · “continuous infusion every 8 hours for 3 days” (lecture); intermittent high-dose regimens are acceptable alternatives. Then regular oral PPI
MonitorHemodynamics · Hb · melena/hematemesis · urine output · complications
Second lookNo routine second-look endoscopy. Repeat only on clinical evidence of rebleeding — not because the lesion was high risk
H. pyloriTest in the acute setting, treat if positive; if negative during acute bleeding, retest later and document eradication
Secondary preventionStop NSAIDs when possible — if chronic pain persists, switch to a selective COX-2 inhibitor; review the aspirin/antithrombotic indication with cardiology or internal medicine; continue gastroprotection
RebleedingDetail
RecognizeRecurrent hematemesis or melena/hematochezia · shock (tachycardia, hypotension, syncope, rising transfusion requirement) · falling Hb after initial stabilization
Step 1Resuscitate again; reassess airway and circulation
Step 2Repeat upper endoscopy with hemostasis when feasible
Step 3Repeat endoscopic therapy fails → TAE preferred where available
Step 4Surgery if TAE is unavailable or unsuccessful, or when the clinical circumstances demand operative control
Why the first attempt failedThe clip slipped — not seated, or too small for the vessel. Technical, not a reason to abandon endoscopy
Do Not Delay EscalationIn a patient who is repeatedly unstable, do not keep trying to win hemostasis with the scope.

Diagnosing H. pylori

  • Serum antigen · stool antigen
  • Biopsy — the most important; cultured on its own medium
  • C-14 urea breath test: H. pylori is urease positive → splits labelled urea into ammonia + CO; the labelled CO is

2 2

counted in the breath

Treating it

  • Triple or quadruple therapy, 7–14 days
  • The one that comes up: bismuth-based quadruple therapy — tetracycline + metronidazole + PPI
RequiredKnow the quadruple regimen by name and components.

9TAE, surgery and the non-variceal algorithm

TAE: transcatheter (transarterial) arterial embolization — a catheter to the bleeding vessel, occluded with a coil or embolic

material.

Endoscopy → repeat endoscopy for each rebleed → TAE if available → surgery. A rebleed after successful TAE goes back to endoscopy first, not straight to a second embolization.
Exam Focus: The Sentence You Are Expected To Write“If endoscopic therapy fails, and TAE fails or is unavailable, surgery is the last option — oversewing or ligation of the bleeding vessel.” Operative detail beyond that is practice, not required. TAE = transcatheter or transarterial embolization; either expansion is accepted.
Algorithm stepContent
1. PresentationABCDE → IV access → bloods/crossmatch → resuscitation → GBS (resuscitation and risk stratification run together)
2. Risk stratifyGBS ≤ 1 may be outpatient in appropriate systems; others need hospital-based evaluation
3. Pre-endoscopyConsider IV PPI; erythromycin 250 mg IV 30–120 min before the scope if severe/ongoing bleeding
4. Endoscopy ≤ 24 hIdentify source → Forrest → treat Ia/Ib/IIa; manage IIb per 2026 guidance (≤ 12 h if variceal)
5. Post-endoscopyHigh-dose PPI for high-risk stigmata · monitor · H. pylori testing
6. RebleedingRepeat endoscopy → TAE if that fails → surgery if TAE unavailable/unsuccessful

TAE

  • Minimally invasive source control after failed / recurrent endoscopic therapy
  • Attractive in elderly / high-risk surgical patients
  • Needs IR expertise and availability — transfer to a centre that has it is a real option, coordinated first
  • Target vessel: gastroduodenal artery for duodenal ulcer · left/right gastric or gastroepiploic for gastric lesions
  • Rebleeding can still occur; repeat embolization may be considered

Surgery — the last option

  • After failed endoscopy and failed/unavailable TAE, or massive ongoing bleeding
  • Oversewing (figure-of-eight suture under the vessel) when the ends cannot be seen · ligation when they can · definitive ulcer surgery in selected patients
  • Posterior duodenal ulcer eroding the gastroduodenal artery → duodenotomy to reach and tie the vessel
  • Higher operative risk in the unstable elderly; decision multidisciplinary and early
  • Highest risk: posterior duodenal ulcer · ulcer > 2 cm · shock

10Variceal bleeding

  • Known cirrhosis / portal hypertension, previous variceal hemorrhage or known varices
  • Stigmata of chronic liver disease: jaundice, ascites, splenomegaly, thrombocytopenia,
  • Cirrhotics also bleed from ulcers — but treat as variceal until endoscopy clarifies the
First stepsDetail
Airway + care levelABC + monitored/ICU-level care; protect the airway before endoscopy when hematemesis or altered consciousness creates high aspiration risk
TransfusionRestrictive: target Hb 7–8 g/dL, individualized (slide) · “8 or below” (lecture)
Vasoactive therapyAs soon as variceal bleeding is suspected: terlipressin, somatostatin or octreotide, continued 2–5 days. Reduces portal pressure and splanchnic flow
AntibioticsProphylactic, commonly a third-generation cephalosporin: infection is common and worsens bleeding control and survival (slide) · guidelines differ on routine use (lecture). Blood in the gut also ferments → bacterial overgrowth → hepatic encephalopathy
Erythromycin250 mg IV 30–120 min before endoscopy if no contraindication
PPIStart empirically; once a variceal source is confirmed, discontinue unless another indication exists (slide) · continued at low dose, 20 mg instead of 40 mg (lecture)

When to suspect it

encephalopathy

  • Massive painless hematemesis ± melena source when clinical probability is high
Fig. 9Esophageal varices.
First stepsDetail
EndoscopyAfter resuscitation, ideally within 12 hours

weighted over the end of the bed; traction is released periodically, never left

SiteEndoscopic therapy
Esophageal varicesEndoscopic variceal ligation (EVL) is the recommended therapy — the vessels are dilated and tortuous, so there is something to pull up and band
Gastric varicesDepends on anatomy and expertise: tissue adhesive / cyanoacrylate (Histoacryl) · EUS-guided therapy in expert centers · radiologic obliteration / TIPS
Injection sclerotherapyNeedle down the scope channel; not enough alone, the adhesives are temporary and a clip may follow

Failure / uncontrolled bleeding

  • Balloon tamponade or a self-expanding esophageal stent bridges to definitive therapy
  • Sengstaken–Blakemore tube: two balloons — the gastric one compresses the fundal varices, the esophageal one tamponades the esophagus; one inflated with air, one with saline; separate gastric and esophageal aspiration ports
  • The gastric balloon only works under traction — the tube is tied and 24–48 h continuously
  • The Minnesota tube is the same device with an extra port
Fig. 10Band ligation: varix sucked into the cap, band released over its base.
Fig. 11Sengstaken–Blakemore tube: balloon and aspiration ports, both balloons, length marks.

11TIPS, antithrombotics, special situations

TIPS: transjugular intrahepatic portosystemic shunt — a stent via the jugular vein

  • Low-resistance shunt → decompresses portal pressure; controls refractory variceal
  • Salvage: bleeding uncontrolled despite drugs + endoscopy, and after balloon tamponade
Exam Focus: When Tips Is The Wrong AnswerA case with hepatic encephalopathy asking for two options for control — TIPS is wrong: the shunt carries bacteria and gut toxins past the liver and worsens it. Contraindications: hepatic encephalopathy · cardiac or liver-related disease raising the risk.
DrugWhat to do
Aspirin (secondary prevention)Do not stop for long; restart early
Dual antiplateletsKeep the aspirin; cardiology before stopping the second drug, especially after a recent stent
WarfarinProthrombin complex concentrate (PCC) + vitamin K for major bleeding
DOACsStop; specific reversal agent or PCC if life-threatening
RestartingOnce bleeding is controlled, timing by thrombotic risk. Always ask: what is the indication, how dangerous is stopping? — cardiology or the prescriber decides, including how long to hold
Exam Focus: The Warfarin AntidoteDirect MCQ. Patient on warfarin who bleeds → stop it and reverse with PCC + vitamin K.

between the hepatic vein and the portal vein. bleeding

  • Pre-emptive: early, in selected high-risk patients after initial control fails
Fig. 12TIPS: stent between the portal and hepatic veins.

Special situations

PatientPoint
ElderlyNo reserve — minimal bleeding tips into shock; careful fluids and sedation
Heart diseaseTransfuse at 8, do not wait for 7; do not overload
CirrhosisTreat varices early — variceal bleeding will not stop by itself, unlike a peptic ulcer
Renal failureFluids · potassium · drug dose adjustment; dialysis patients may be anticoagulated
PregnancyStabilise the mother first, involve obstetrics
Massive hemorrhageActivate the major hemorrhage protocol; early source detection and early transfusion. Rapid source control beats serial lab perfection

Complications

  • Shock · multi-organ failure
  • Aspiration pneumonia
  • Myocardial ischaemia · arrhythmia
  • Acute kidney injury — the kidney feels the shock first
  • Rebleeding
  • Endoscopy: perforation · thermal injury · clip slippage with rebleeding · sedation-related events
  • Transfusion complications · volume overload
  • Variceal-specific: hepatic encephalopathy after TIPS · infection · recurrent bleeding
Encephalopathy That Was Not There BeforeA patient with none before the procedure can develop it after — assess who will benefit from TIPS before shunting.

Surgery — the ISNC Course Book · Ahmed Al Johani · Contents ·