💉
Haematemesis & Upper GI Bleeding — Primary Care Assessment 9-step pathway · vomiting blood, coffee-ground vomit and melaena · UK GP / RCGP SCA preparation
Progress0 / 9

Snapshot: decision tree. The whole pathway on one page: start at the top, act on any red flag, then follow the arrows. The Steps tab holds the detail.

Open full screen ↗
1
Safety

Red Flags — Resuscitate and transfer before you diagnose

Haematemesis is a time-critical presentation. The primary-care decision is binary: does this patient travel by ambulance now, or can they be assessed and still referred the same day?

Fresh red haematemesis Active bleeding → 999. Position of comfort (lateral recovery position if vomiting or drowsy), oxygen only if hypoxic or shocked, IV access only if it does not delay transfer, nil by mouth. Do not delay for bloods.
Haemodynamic instability Tachycardia, hypotension, postural drop, slow capillary refill or cool peripheries are warning signs — no single number defines shock (beta-blockers mask tachycardia) → 999
Melaena Black tarry offensive stool → urgent same-day assessment; admission or early discharge is decided in hospital on GBS (NICE: early discharge only for GBS 0), haemodynamics, comorbidity and support
Known cirrhosis / portal hypertension with haematemesis or melaena Suspected variceal bleed → 999 (terlipressin and antibiotics are hospital treatments — do not delay transfer). Liver stigmata without active bleeding → liver assessment, not 999 alone
Anticoagulated or antiplatelet DOAC, warfarin, clopidogrel, dual antiplatelet → same-day; withhold the next DOAC dose; reversal decisions are hospital-led
Syncope or presyncope Collapse with the bleed indicates significant volume loss → 999
Age 60+ with comorbidity Cardiac, renal or respiratory disease tolerates hypovolaemia poorly → low threshold for 999
Dysphagia at any age With or without bleeding → suspected cancer pathway referral for oesophageal or stomach cancer (NICE NG12 (updated April 2026))
Upper GI bleeding is common and can be fatal. The single strongest predictor of death is not the volume vomited but age and comorbidity — an 80-year-old with ischaemic heart disease may decompensate from a bleed a 30-year-old would tolerate. Melaena deserves particular emphasis because patients do not volunteer it: the specific question is "has your stool been black, tarry and unusually smelly?" Iron and bismuth turn stool black but not tarry or offensive, and do not cause the classic melaena smell. NICE CG141 recommends that all patients with acute upper GI bleeding are risk-assessed and that unstable patients receive endoscopy immediately after resuscitation, with other admitted patients scoped within 24 hours (QS38).
2
Diagnose

History — Characterise the bleed and find the cause

Was it really blood?
Fresh red, clots, or brown "coffee grounds" (blood altered by acid)? Ask about volume in household terms — teaspoon, cupful, bowlful. Red wine, beetroot and tomato-based food are common false alarms.
Blood or coffee grounds?
Fresh red = active or recent brisk bleeding. Coffee grounds = slower bleeding or a bleed that has stopped — lower risk but not a discharge criterion on its own.
Sequence of events
Forceful retching then blood → Mallory-Weiss tear. Blood from the first vomit → ulcer or varices. Painless large-volume fresh blood → varices.
Melaena or haematochezia
Black tarry stool = upper GI source. Fresh red PR blood with haematemesis means a very brisk upper GI bleed with rapid transit — a marker of severity, not a lower GI source.
Drugs
NSAIDs and aspirin (including over-the-counter and topical), steroids, SSRIs, bisphosphonates, DOACs, warfarin, clopidogrel. Ask specifically about ibuprofen bought for a bad back.
Alcohol and liver disease
Units per week, binge pattern, previous decompensation, known cirrhosis, previous variceal banding, hepatitis B/C risk.
Previous upper GI history
Known ulcer, previous H. pylori eradication, previous endoscopy and what it showed, previous GI bleed, gastric surgery, oesophageal stricture or dilatation.
Alarm features
Dysphagia, progressive weight loss, early satiety, persistent vomiting, epigastric mass, iron-deficiency anaemia → suspected upper GI cancer.
Mimics to exclude
Epistaxis swallowed overnight; haemoptysis (frothy, bright, coughed not vomited); bleeding from gums or dental extraction; self-induced vomiting.
The sequence question — retching before blood, or blood with the first vomit — is the most useful single discriminator available without a scope. A Mallory-Weiss tear follows a mechanical insult and produces streaks or small volumes; it usually settles spontaneously. Varices bleed painlessly and copiously because portal pressure drives the bleed. NSAID exposure is systematically under-reported: patients do not consider a supermarket ibuprofen a "medicine", yet NSAIDs substantially increase ulcer bleeding risk, and the combination of an NSAID with an SSRI or a steroid is multiplicative rather than additive. Swallowed epistaxis is the commonest benign mimic in older people on anticoagulants — always look in the nose.
3
Diagnose

Differential — Causes of upper GI bleeding by frequency

Peptic ulcer · commonest
Duodenal more than gastric. NSAIDs, H. pylori, or both. Epigastric pain often preceded the bleed; posterior duodenal ulcers erode the gastroduodenal artery and bleed briskly.
Erosive gastritis / oesophagitis
NSAIDs, alcohol, reflux, critical illness. Usually low-volume coffee grounds rather than fresh blood.
Oesophageal / gastric varices
Portal hypertension from cirrhosis, portal vein thrombosis, schistosomiasis. Painless, large volume, high mortality. Look for stigmata of chronic liver disease.
Mallory-Weiss tear
Longitudinal mucosal tear at the gastro-oesophageal junction after forceful retching, coughing or vomiting. Usually self-limiting.
Upper GI malignancy
Oesophageal or gastric cancer, or a bleeding GIST. Dysphagia, weight loss, early satiety, anaemia. Requires a suspected cancer pathway referral under NICE NG12 (updated April 2026) when its criteria are met.
Vascular lesions
Dieulafoy lesion, angiodysplasia, gastric antral vascular ectasia, aorto-enteric fistula (previous aortic graft — catastrophic).
Swallowed blood
Epistaxis, oropharyngeal or dental bleeding, haemoptysis — no GI lesion at all. Common and easily missed.
Rare but important
Coagulopathy (liver disease, DIC, thrombocytopenia), Boerhaave perforation after violent vomiting, hereditary haemorrhagic telangiectasia.
Knowing the distribution changes the pre-test probability you carry into the referral conversation. Peptic ulcer disease still dominates despite falling H. pylori prevalence, because NSAID use has risen in an ageing population. Variceal bleeding is the minority by number but the majority of the mortality — which is why haematemesis in known cirrhosis or portal hypertension is an immediate 999 call. Aorto-enteric fistula is vanishingly rare but worth holding in mind in anyone with a previous abdominal aortic graft and a "herald bleed", because the definitive bleed is usually fatal and the window is hours.
4
Diagnose

Examination & Risk Score — Glasgow-Blatchford in the surgery

Observations
Pulse, BP lying and standing, respiratory rate, oxygen saturation, temperature, capillary refill, NEWS2 score. A postural drop is the earliest reliable sign of significant loss.
General
Pallor, sweating, confusion, cool peripheries. Conscious level — encephalopathy suggests decompensated liver disease.
Liver disease stigmata
Jaundice, spider naevi, palmar erythema, gynaecomastia, caput medusae, ascites, splenomegaly, asterixis. These raise suspicion of portal hypertension but do not prove the current bleed is variceal.
Abdomen
Epigastric tenderness, epigastric mass, hepatomegaly, splenomegaly, ascites. Peritonism suggests perforation rather than simple bleeding.
Rectal examination
Only where it will change management (equivocal history), with consent — not routine, and never if it delays transfer.
Nose and mouth
Look for an obvious bleeding point — nasal crusting, telangiectasia, gum disease, recent extraction.
Glasgow-Blatchford score
Urea, haemoglobin, systolic BP, pulse ≥100, melaena, syncope, liver disease, cardiac failure. GBS 0 = very low risk — NICE considers early discharge only at GBS 0, with reliable bloods, no ongoing bleeding, support and an outpatient endoscopy pathway. GBS ≥1 is not automatically admission — disposition is clinical.
Why urea matters
A raised urea with a normal creatinine is characteristic of upper GI bleeding — digested blood protein is absorbed. Interpret with renal function and hydration.
The Glasgow-Blatchford score was designed to be calculable before endoscopy and is the tool NICE CG141 recommends at first assessment; the Rockall score requires endoscopic findings and so belongs to secondary care. A GBS of 0 identifies a group with a very low probability of needing intervention, and NICE allows early discharge for these patients — but the score requires blood results, so in a surgery without same-day phlebotomy the practical answer is referral. The disproportionately raised urea is a genuinely useful primary-care sign: it reflects absorbed blood protein plus a degree of pre-renal impairment, and a normal creatinine alongside it argues against renal disease as the explanation. Note that haemoglobin can be normal in the first hours of a brisk bleed because haemodilution has not yet occurred — a normal Hb never excludes significant bleeding.
5
Diagnose

Investigations — What is useful, and what wastes time

Urgent bloods (if referring, not instead)
FBC U&Es LFTs Clotting / INR Group & save. Only if this does not delay transfer — the patient never waits in primary care for results.
Interpreting the FBC
Normal Hb in the first hours does not exclude a major bleed — urgency follows the clinical picture. Microcytosis suggests chronic iron deficiency but does not identify the lesion.
Upper GI endoscopy (OGD)
The definitive test. In hospital: immediately after resuscitation if unstable (within 2 h of optimal resuscitation, QS38); within 24 hours for other admitted patients.
H. pylori testing
Stool antigen or urea breath test, but at least 2 weeks after stopping the PPI and at least 4 weeks after antibiotics, or it is falsely negative. Serology is not reliable for confirming eradication.
Suspected cancer pathway (NG12)
Suspected cancer pathway referral (NICE NG12 (updated April 2026); this replaced urgent direct-access OGD) — dysphagia at any age; or age 55+ with weight loss and upper abdominal pain, reflux or dyspepsia.
Do not do
Do not delay referral for bloods, a CT, or a trial of PPI. Do not perform faecal occult blood or FIT to "confirm" melaena — FIT is a colorectal tool and has no role here.
After discharge
FBC and renal function at an interval set by initial Hb, transfusion, symptoms and iron treatment; INR review if warfarinised.
The commonest investigative error in primary care is treating this as a diagnostic problem rather than a logistical one. Blood results do not change the disposal of a patient with genuine haematemesis — they will be repeated on arrival — so taking them must never delay transfer. The H. pylori timing rule is the detail most often missed and generates a stream of false negatives: proton pump inhibitors suppress bacterial load enough to invalidate both stool antigen and breath testing, so the test must be deferred for two weeks after the PPI stops. Since a bleeding ulcer patient will be on a PPI for 4–8 weeks, eradication testing is a planned follow-up task, not a same-visit one. A FIT test has no place in upper GI bleeding: it is calibrated and validated for colorectal cancer risk stratification, and a positive result in this context tells you nothing you did not already know.
6
Refer

Referral Criteria — 999, same-day, and the NG12 cancer pathway

999 now
Ongoing haematemesis; haemodynamic instability; syncope with the bleed; altered consciousness; suspected variceal bleed (known cirrhosis/portal hypertension); significant comorbidity with suspected significant bleeding
Same-day admission
Urgent same-day assessment for new melaena or recent haematemesis (GBS needs bloods); coffee-ground vomit — may be a stopped bleed but this cannot be judged by appearance
Suspected cancer pathway
NICE NG12 (updated April 2026) — suspected oesophageal or stomach cancer. Suspected cancer pathway referral (recommendations 1.2.1 and 1.2.7, amended 2025) for dysphagia at any age, or age 55 and over with weight loss and any of upper abdominal pain, reflux or dyspepsia
Consider non-urgent OGD
NG12: non-urgent direct-access endoscopy for haematemesis only after acute GBS assessment via an agreed hospital pathway; and in people aged 55+ with treatment-resistant dyspepsia, upper abdominal pain with low haemoglobin, raised platelets with nausea/vomiting/weight loss/reflux/dyspepsia/upper abdominal pain, or nausea/vomiting with weight loss, reflux, dyspepsia or upper abdominal pain
Hepatology
Newly suspected cirrhosis or portal hypertension after the acute episode — variceal surveillance and prophylaxis decided by hepatology
Gastroenterology (routine)
Recurrent ulcer despite eradication and PPI; refractory reflux; suspected eosinophilic oesophagitis; need for long-term NSAID with prior bleed
Primary care manage
Post-discharge PPI per the endoscopy report, H. pylori eradication and confirmation, NSAID review and gastroprotection, iron replacement, alcohol intervention
Safeguarding thought
Self-induced vomiting with haematemesis → consider eating disorder; recurrent presentation with alcohol-related bleeding → alcohol care pathway
NICE NG12 (updated April 2026) separates two thresholds for endoscopy that are easy to conflate. The urgent suspected cancer pathway referral is triggered by dysphagia at any age, or by weight loss plus an upper GI symptom at 55 and over. Haematemesis itself sits in the consider non-urgent group — which sounds contradictory until you realise NG12 addresses cancer detection, not acute bleeding: the acutely bleeding patient is captured by CG141 and admitted, scoped within 24 hours, and never waits for a suspected cancer pathway referral. The practical rule is therefore to admit on the acute pathway, and use NG12 only for the patient whose bleeding has clearly stopped, after acute GBS assessment via an agreed hospital pathway, and who is being worked up for a cause. Long-term, the hepatology referral matters more than most GPs expect: after a first variceal bleed, re-bleeding is common without specialist-led secondary prophylaxis.
7
Treat

Treatment — Immediate measures and post-discharge management

In the surgery, awaiting ambulance
ABC, transfer 1st
Position of comfort, lateral recovery position if vomiting or drowsy; suction if available; never unobserved. Oxygen titrated to need. IV access if it does not delay transfer; if shocked, local major-haemorrhage protocol with cautious crystalloid — no routine bolus. Nil by mouth; keep warm. No pre-endoscopy PPI (CG141). Document time of last bleed and estimated volume for the receiving team.
Stop the culprit
Drug review
Stop NSAIDs. Continue secondary-prevention low-dose aspirin once haemostasis is achieved unless the specialist advises otherwise (CG141); review primary-prevention aspirin. Clopidogrel/DAPT — urgent cardiology/stroke and gastroenterology discussion, not GP cessation. Withhold the next DOAC dose; warfarin reversal (PCC + vitamin K) is hospital-led. SSRIs and bisphosphonates reviewed after the acute episode, not stopped routinely.
Confirmed peptic ulcer bleed
PPI per endoscopy report
Dose and duration per the endoscopy report and specialist plan (post-endoscopic regimens may be high-dose). H. pylori test ≥2 weeks after the PPI stops. Gastric ulcers: confirm the endoscopist has arranged repeat OGD ± biopsies.
H. pylori positive
Eradication per local regimen, 7 days
PPI BD + amoxicillin 1 g BD + clarithromycin 500 mg BD (or amoxicillin + metronidazole 400 mg BD); if penicillin-allergic, PPI BD + clarithromycin 500 mg BD + metronidazole 400 mg BD — use the local regimen and check previous clarithromycin, metronidazole, macrolide and quinolone exposure. Confirm eradication after a bleeding ulcer (UBT or stool antigen ≥4 weeks after antibiotics, ≥2 weeks off PPI).
VaricesSecondary care: terlipressin, prophylactic antibiotics, band ligation within 24 h, TIPS if uncontrolled. Primary care afterwards: follow the hepatology discharge plan — do not start or titrate a non-selective beta-blocker unless a shared-care plan sets BP, renal and follow-up parameters; support banding attendance and alcohol abstinence.
Ongoing NSAID needIf an NSAID is unavoidable after a bleed, use the lowest effective dose of the least gastrotoxic agent with a co-prescribed PPI, eradicate H. pylori first, and review the indication at every prescription. Consider topical NSAID or paracetamol-based alternatives.
AnaemiaOral iron per the local anaemia pathway, continued about 3 months after Hb normalises. Recheck FBC around 2–4 weeks; investigate persistent or recurrent deficiency.
Restarting anticoagulationRarely a primary-care decision alone. Most patients with a strong indication (AF with high stroke risk, mechanical valve, recent VTE) restart once haemostasis is secure, often with PPI cover. Document the shared decision.

Next steps: see DOACs, antiplatelets and anticoagulation · Iron deficiency anaemia · GORD and acid reflux

NICE CG141 specifically advises against giving a PPI before endoscopy in acute upper GI bleeding — it does not reduce mortality, re-bleeding or need for surgery, and it can obscure endoscopic findings. The PPI belongs after the scope, or after discharge for a confirmed ulcer. Confirming H. pylori eradication is optional in uncomplicated dyspepsia but mandatory after a bleeding ulcer, because persistent infection is the dominant cause of re-bleeding and the consequences of failure are severe. The hardest conversation is restarting aspirin or an anticoagulant: stopping permanently after a bleed feels safe but raises thrombotic and stroke risk substantially, and the evidence favours resumption with gastroprotection once bleeding is controlled. Aspirin for secondary cardiovascular prevention in particular should usually be restarted, not abandoned.
8
Lifestyle

Non-Pharmacological — Preventing the next bleed

Alcohol The single highest-yield intervention where liver disease or gastritis is the cause. Brief intervention plus referral to alcohol care services; abstinence after a variceal bleed is the strongest predictor of survival.
Over-the-counter analgesia literacy Explicitly name ibuprofen, diclofenac gel, aspirin, and combination cold remedies. Many patients do not connect "painkillers from the supermarket" with a GI bleed.
Smoking cessation Smoking impairs ulcer healing, increases recurrence, and raises upper GI cancer risk. Refer to the stop-smoking service at the follow-up appointment.
Reflux measures Weight loss if BMI raised, avoid late meals, raise the head of the bed, reduce alcohol and known trigger foods — useful adjuncts where oesophagitis was found.
Written safety-net Give explicit, written instructions on melaena and recurrent haematemesis. Patients frequently do not realise black stool is an emergency.
Iron-rich diet Alongside supplementation; take iron with vitamin C, away from tea, coffee, calcium and the PPI dose where possible.
Medicines reconciliation A structured post-discharge review is where most preventable re-bleeds are avoided — check the hospital actually stopped the NSAID, and that the PPI has a review date rather than becoming permanent by default.
The post-discharge medicines reconciliation is the most valuable thing primary care does in this pathway, and it is frequently skipped. Discharge summaries commonly reinstate a pre-admission NSAID by transcription error, or start a PPI with no stop date so the patient remains on it for years without review. Explicit naming of drugs matters because patients classify medicines by where they bought them rather than by pharmacology: asking "are you on any anti-inflammatories?" reliably produces a "no" from someone taking daily ibuprofen for arthritis. Written safety-netting on melaena has a genuine evidence base in reducing delayed re-presentation — the description needs to be concrete ("black, sticky, like tar, with a strong smell"), not the word "melaena".
9
Safety

Follow-Up & Safety-Netting

Within 1 week of discharge
Structured post-discharge review: read the endoscopy report, reconcile medicines, confirm PPI dose and duration, confirm NSAID stopped, confirm the H. pylori testing/eradication plan, review the antiplatelet/anticoagulant restart plan, and assess ongoing bleeding, dizziness, breathlessness and oral intake
Bloods
FBC and renal function at an interval set by initial Hb, transfusion, symptoms, iron and comorbidity — not a fixed date
6–8 weeks
End of PPI course (per endoscopy plan). Test for H. pylori ≥2 weeks after the PPI stops and ≥4 weeks after antibiotics. Gastric ulcer → check that repeat endoscopy for healing is booked
3 months
Confirm eradication result where a bleeding ulcer was H. pylori positive; confirm haemoglobin normalised; review long-term gastroprotection need
999 now
Further fresh haematemesis; collapse or faint; severe weakness or confusion; haematemesis with breathlessness or chest pain; new severe chest or abdominal pain (consider perforation or Boerhaave)
Same-day GP
Any black stool; new or recurrent coffee-ground vomit; increasing breathlessness or pallor; light-headedness on standing; unable to maintain oral intake
Re-investigate if
Ulcer symptoms recur after eradication and a full PPI course; iron deficiency persists or recurs despite replacement; weight loss or dysphagia develops → repeat OGD and consider NG12 pathway
Documentation
Record the endoscopic diagnosis, H. pylori status, eradication and its confirmation, the NSAID decision and the anticoagulant decision — this is the information the next clinician will need in an emergency
Re-bleeding after endoscopic therapy is concentrated in the first 72 hours, so the highest-risk window is usually still inpatient — but the second peak is the patient who restarts an NSAID or whose H. pylori was never eradicated. Persistent or recurrent iron deficiency after a treated upper GI bleed is an important signal: it suggests either continued occult loss or a second lesion, and it is the classic route to a missed caecal carcinoma in a patient whose anaemia was all attributed to the known ulcer. Where iron deficiency recurs and the OGD was clean, the colon needs investigating. Finally, documenting H. pylori status and eradication confirmation in a structured, findable place in the record is a small act with a long payoff — it is precisely what the next clinician facing a recurrence will want and rarely finds.
Educational use only. Pathway based on: NICE CG141 (Acute upper gastrointestinal bleeding, updated 2016), NICE NG12 (Suspected cancer: recognition and referral, updated April 2026), NICE CG184 (incl. H. pylori test-and-treat), BSG-led multisociety care bundle for acute upper GI bleeding (Siau et al, Frontline Gastroenterology 2020), Glasgow-Blatchford score (Blatchford et al., Lancet 2000), NICE QS38 (Acute upper gastrointestinal bleeding in adults) and the local formulary (gastro-intestinal system). Always adapt to individual patient context.