Presenting Complaints

Epigastric Pain

Epigastric pain is discomfort localized to the upper central abdomen, commonly arising from gastric, duodenal, pancreatic, or biliary pathology.

Epigastric pain is pain localised to the upper central region of the abdomen, bounded superiorly by the xiphisternum, inferiorly by the transumbilical plane, and laterally by the midclavicular lines bilaterally. It corresponds roughly to the epigastrium — one of the nine regions of the abdomen.

"Epigastric" breaks down as: epi- (Greek: upon/above) + gastric (Greek: gaster = stomach) — literally "upon the stomach." This is logical because the stomach and adjacent foregut structures sit directly behind this region.

Epigastric pain is not a diagnosis; it is a presenting complaint that encompasses a vast differential ranging from benign functional dyspepsia to life-threatening emergencies such as perforated peptic ulcer, acute pancreatitis, ruptured abdominal aortic aneurysm, and even acute myocardial infarction. The clinical approach therefore demands a systematic framework linking anatomy, referred pain pathways, and pathophysiology to narrow the differential efficiently.

Key Concept

Epigastric pain is a symptom, not a disease. Your job is to work backwards from the pain to the organ, then from the organ to the pathology, using the character, timing, radiation, and associated features to narrow the differential.

Relationship to Dyspepsia

Dyspepsia is a broader syndrome defined by the Rome IV criteria (updated from Rome III) as one or more of [1][2]:

  • Postprandial fullness
  • Early satiety
  • Epigastric pain
  • Epigastric burning

These symptoms must be prominent enough to affect daily activities. Approximately 75% of patients with dyspepsia have functional dyspepsia (no identifiable organic cause), while 25% have an underlying organic cause [1][2].

Alarm features in dyspepsia (mandating urgent investigation) include [1][2]:

  • Age ≥ 40 years (in Asian populations; ≥ 55 years in Western guidelines) with newly onset dyspepsia
  • Family history of upper GI cancer
  • Jaundice
  • Unintended weight loss
  • Dysphagia or odynophagia
  • GI bleeding (haematemesis, melaena)
  • Unexplained iron-deficiency anaemia
  • Persistent vomiting
  • Palpable mass or lymphadenopathy

High Yield: In Hong Kong, the age threshold for OGD is typically ≥ 40 years with new-onset dyspepsia (lower than Western guidelines) because of higher gastric cancer prevalence in East Asia [2].


Epidemiology and Risk Factors

ConditionEpidemiological Highlights (HK/Asia Focus)
Functional dyspepsiaPrevalence 10–20% among Chinese; most common cause of epigastric discomfort; F > M = 2:1; usually < 40 years [2]
Peptic ulcer diseaseIncidence ~1/1000/year, lifetime risk ~10%, falling trend (↓ H. pylori, ↓ smoking); M:F = 3:1 for DU [1][3]
GERDRising incidence in HK (2.5% in 2002 → 3.7% in 2011); Asians present atypically with less severe oesophagitis [4]
Gastric cancer6th in incidence, 4th in cancer mortality; ↑ in Asia (Japan, Korea, China); 90% adenocarcinoma; distal stomach MC site [5][6]
Pancreatic carcinomaHead (60%), body (15%), tail (5%), diffuse (20%); 90% ductal adenocarcinoma [7][8]
Acute pancreatitisGallstones MC cause in HK; alcohol second; incidence rising globally [1][9]
Biliary colic / cholecystitisGallstones affect ~10–15% of adults; 80% remain asymptomatic; higher prevalence in females (4F's: Female, Forty, Fat, Fertile) [9]
Acute MI (inferior)Must always be considered; epigastric pain can be the sole presenting complaint, especially in diabetics (autonomic neuropathy masks chest pain)

  • H. pylori infection — major risk factor for PUD and gastric cancer (see below)
  • NSAIDs / aspirin — dose-dependent mucosal injury
  • Smoking — doubles PUD risk, increases gastric cancer risk (~11%) [5]
  • Alcohol — gastritis, pancreatitis, liver disease
  • Age — increasing risk of malignancy
  • Obesity — GERD, gallstones, pancreatic cancer
  • Hereditary factors — E-cadherin mutation (hereditary diffuse gastric cancer), HNPCC, FAP [5][6]

Anatomy and Function

Understanding which organs sit in or refer pain to the epigastrium is essential. The key concept is the distinction between visceral pain and somatic (parietal) pain.

FeatureVisceral PainSomatic (Parietal) Pain
OriginDistension, ischaemia, or spasm of hollow viscera / capsular stretch of solid organsInflammation of parietal peritoneum
Nerve fibresAutonomic (sympathetic) afferents; poorly localisedSomatic (spinal) afferents; well-localised
CharacterDull, vague, crampy, midlineSharp, localised, constant
LocationReferred to dermatome of embryological originDirectly over the inflamed area
Associated featuresNausea, vomiting, sweating (autonomic)Guarding, rigidity, rebound tenderness

Why is foregut pain felt in the epigastrium? The foregut (stomach, duodenum D1–D2, liver, gallbladder, pancreas, spleen) is innervated by the coeliac (splanchnic) plexus, which enters the spinal cord at T5–T9. The brain interprets this afferent input as coming from the T5–T9 dermatomes, which map to the epigastrium. This is why gastric ulcer pain, biliary colic, and early appendicitis (midgut = T10) all start as poorly localised midline pain before parietal peritoneal involvement causes localisation.

The stomach is a J-shaped muscular organ with the following regions: cardia (entry point from oesophagus), fundus (dome-shaped superior portion), body/corpus (largest part), antrum (distal narrowing), and pylorus (sphincter controlling gastric outflow).

Arterial supply [1][3]:

  • Greater curvature: short gastric arteries, left gastro-omental (gastroepiploic) artery, right gastro-omental (gastroepiploic) artery
  • Lesser curvature: left gastric artery (largest contributor), right gastric artery

All these are branches or indirect branches of the coeliac trunk — this rich anastomotic supply means the stomach rarely infarcts but ulcer erosion into an artery (e.g., left gastric artery or gastroduodenal artery posteriorly in DU) causes torrential haemorrhage.

Nerve supply [1]:

  • Sympathetic: greater splanchnic nerve (T5–T9 sympathetic trunk) — mediates visceral pain
  • Parasympathetic:
    • Anterior vagal nerve: Stomach + Pylorus + Liver
    • Posterior vagal nerve: Stomach + Foregut and midgut down to splenic flexure

The vagus nerve stimulates gastric acid secretion (via acetylcholine on parietal cells and gastrin release from G cells). This is why vagotomy was historically used to treat PUD — cutting the vagal supply reduces acid output.

The stomach maintains a balance between aggressive factors (acid, pepsin) and protective mechanisms (mucus-bicarbonate barrier, mucosal blood flow, prostaglandins, epithelial cell turnover) [1][3]:

  1. Mucus layer — secreted by surface epithelial cells; forms an unstirred gel layer trapping bicarbonate
  2. Bicarbonate secretion — creates a pH gradient (pH 1–2 at lumen surface → pH 6–7 at epithelial surface)
  3. Mucosal blood flow — delivers oxygen and nutrients, washes away back-diffused H⁺ ions
  4. Prostaglandins (PGE₂, PGI₂) — synthesised via COX-1; stimulate mucus and bicarbonate secretion, maintain mucosal blood flow, promote epithelial restitution
  5. Rapid epithelial cell turnover — gastric epithelium renews every 3–7 days

Why NSAIDs Cause Ulcers

NSAIDs non-selectively inhibit COX-1 → ↓ prostaglandin synthesis → ↓ mucus, ↓ bicarbonate, ↓ mucosal blood flow → mucosal barrier breaks down → back-diffusion of H⁺ → epithelial injury → ulceration. This is why COX-2 selective inhibitors (e.g., celecoxib) have a lower GI risk — they spare COX-1-mediated gastroprotection [1].

The pancreas is a retroperitoneal organ lying transversely across the posterior abdominal wall at the level of L1–L2. It has a head (nestled in the C-loop of the duodenum), uncinate process (hooks behind the superior mesenteric vessels), neck, body, and tail (extending to the splenic hilum).

Key vascular relationships [7][8]:

  • The superior mesenteric artery (SMA), hepatic artery, coeliac trunk, superior mesenteric vein (SMV), and portal vein (PV) all pass in close proximity — this is why pancreatic tumours can encase these vessels making them unresectable [7][8]
  • The common bile duct (CBD) passes through the head of the pancreas before joining the main pancreatic duct (of Wirsung) at the ampulla of Vater — this is why head of pancreas tumours cause painless obstructive jaundice [7][8]

Pancreatic ducts:

  • Main pancreatic duct (of Wirsung) joins the CBD at the ampulla of Vater
  • Accessory duct (of Santorini) drains via the minor papilla
  • Pancreatic divisum: MC congenital anomaly — failure of fusion of dorsal and ventral ductal systems

Why does pancreatic pain radiate to the back? The pancreas is retroperitoneal, lying directly anterior to the aorta and vertebral bodies (T12–L2). Inflammatory or neoplastic processes irritate the retroperitoneal nerve plexuses (coeliac and superior mesenteric plexuses), causing referred pain to the back.

  • Gallbladder sits on the visceral surface of the liver (segments 4b and 5)
  • Hartmann's pouch: infundibulum of the gallbladder where stones commonly impact
  • Cystic duct → joins the common hepatic duct to form the common bile duct (CBD)
  • CBD descends behind the first part of the duodenum and through the head of the pancreas
  • Courvoisier's Law: In painless jaundice with an enlarged gallbladder, the cause is unlikely to be gallstone — because a gallbladder chronically inflamed by stones becomes fibrotic and cannot distend; therefore think of periampullary tumours [9]

Etiology (Hong Kong Focus) and Pathophysiology

Below are the major causes of epigastric pain, organised by system, with their pathophysiological mechanisms explained from first principles.

1. Peptic Ulcer Disease (PUD)

Definition: A defect in the gastric or duodenal mucosa that extends through the muscularis mucosae into the submucosa or deeper [1][3].

Sites [3]:

  • Duodenal ulcer (75%): usually solitary, in D1 (anterior wall perforates; posterior wall bleeds from gastroduodenal artery)
  • Gastric ulcer (20%): usually lesser curvature / corpus-antrum junction
  • Lower oesophagus, Meckel's diverticulum (ectopic gastric epithelium), stomal ulcer

H. pylori infection [1][3]:

  • Present in 92% of DU and 70% of GU
  • Microaerophilic Gram-negative coccobacillus
  • Strong urease activity — hydrolyses urea → ammonia + CO₂ → neutralises surrounding acid → creates a "protective cloud" allowing survival
  • Spiral shape, flagella, and mucolytic enzymes — facilitates penetration through the mucus layer to reach the gastric surface epithelium
  • Induces chronic active gastritis → direct epithelial injury by toxins (CagA, VacA) + host inflammatory response → disruption of mucosal defence → ulceration
  • In duodenal ulcer: H. pylori colonises gastric metaplasia in duodenum; promotes antral-predominant gastritis → ↑ gastrin → ↑ acid load to duodenum → duodenal injury
  • In gastric ulcer: pangastritis → mucosal atrophy → ↓ acid (paradoxically) but ↓ mucosal defence even more → ulceration

NSAIDs (including aspirin) [1][3]:

  • Present in 5% of DU and 25% of GU
  • Gastric and duodenal mucosa use COX-1 for prostaglandin synthesis
  • Prostaglandins (PGE₂) protect mucosal lining via: mucin production, mucosal bicarbonate secretion, maintaining mucosal blood flow, and inhibiting gastric acid secretion
  • NSAIDs non-selectively inhibit COX-1 and COX-2 → impaired prostaglandin production → disruption of mucosal barrier → increased mucosal permeability to H⁺ ions → acid-mediated damage
  • Selective COX-2 inhibitors spare COX-1-mediated GI protection
  • Risk factors for NSAID ulcers: advanced age ( > 75 years), prior ulcer history, high-dose / long-duration NSAIDs, concurrent corticosteroids / anticoagulants [1]

Other aetiologies [1][3]:

  • Stress ulcers — burns (Curling's ulcer), head injury (Cushing's ulcer — vagal-mediated acid hypersecretion), mechanical ventilation, coagulopathy; due to impaired mucosal perfusion + biliary reflux
  • Smoking — 2× risk; impairs mucosal blood flow and bicarbonate secretion, accelerates gastric emptying of acid into duodenum
  • Alcohol — direct mucosal irritant
  • Zollinger-Ellison syndrome — gastrinoma (usually pancreatic or duodenal) → hypergastrinaemia → massive acid hypersecretion → ulcers at atypical locations (D2, jejunum); suspect when recurrent ulcers despite adequate treatment, ulcers in unusual locations, H. pylori-negative, no NSAID use [1]

The fundamental concept is an imbalance between aggressive factors (acid + pepsin) and defensive factors (mucus, bicarbonate, blood flow, prostaglandins, epithelial renewal) [1][3].

GERD: Condition that develops when reflux of stomach contents causes troublesome symptoms and/or complications (Montreal definition, 2006) [4].

Pathophysiology [1][4]:

  • Incompetent lower oesophageal sphincter (LES): transient LES relaxation (early) or persistent weakness (late)
  • Increased intra-abdominal pressure: obesity, pregnancy, chronic cough, constipation
  • Hiatus hernia: sliding type (Type 1) — upper stomach slides up through oesophageal hiatus → loss of intra-abdominal oesophageal segment → loss of the "pinch" effect → functional LES weakness
  • Delayed oesophageal clearance: defective peristalsis → prolonged acid exposure
  • Gastric dysmotility: delayed gastric emptying

Why does GERD cause epigastric pain? The refluxed acid contacts the squamous epithelium of the lower oesophagus (which lacks the protective mucus-bicarbonate layer of the stomach), causing chemical irritation → oesophagitis → retrosternal burning (heartburn). Some patients present with an "acid feeling in the stomach" or epigastric burning rather than classic heartburn — this is the atypical presentation more common in Asians [4].

Risk factors [1][4]:

  • ↓ LES tone: genetic determinants, hiatus hernia, alcohol, caffeine, smoking
  • Drugs: NSAIDs, CCBs, beta-blockers, nitrates, anticholinergics
  • ↑ Intra-abdominal pressure: pregnancy, obesity, chronic cough, constipation

Functional dyspepsia (FD): dyspepsia in the absence of detectable organic disease [2].

Rome IV Subtypes [2]:

  1. Postprandial distress syndrome (PDS): postprandial fullness + early satiety (≥ 3 days/week)
  2. Epigastric pain syndrome (EPS): epigastric pain or burning (≥ 1 day/week)
  3. Overlap of both

Pathophysiology (not well understood, multifactorial) [2]:

  • Gastric dysmotility and impaired compliance → distension-like feeling
  • Visceral hypersensitivity → ↓ threshold for pain even with normal gastric compliance
  • H. pylori infection → evidence weak but eradication relieves symptoms in a minority
  • Altered gut microbiome
  • Psychological factors → anxiety and depression strongly associated
  • Diet and genetics

FD vs Organic Causes

A common student mistake is to assume that "normal OGD" = "nothing wrong." Functional dyspepsia is a real diagnosis with real pathophysiology (dysmotility + visceral hypersensitivity). It is not a diagnosis of dismissal; it requires active management.

Epidemiology: ↓ trend globally but ↑ in Asia; 6th in incidence, 4th in cancer mortality; adenocarcinoma (90%) > lymphoma (5%) > GIST, metastasis; site: distal stomach (antrum/pylorus) > cardia (↑ trend) > OGJ [5][6].

Risk factors [5][6]:

  • Compensatory epithelial cell proliferation:
    • H. pylori → chronic atrophic gastritis → intestinal metaplasia → body/distal CA (intestinal type)
    • Chronic gastric reflux (e.g., Barrett's oesophagus) → proximal CA
    • History of gastric resection → bile reflux (e.g., Billroth II) → chronic gastritis
    • Chronic atrophic gastritis associated with pernicious anaemia and Ménétrier's disease
  • Environmental factors: smoking, smoked/pickled food, nitrosamines, alcohol
  • Host factors: hereditary diffuse gastric carcinoma (HDGC: E-cadherin mutation), HNPCC, FAP, Peutz-Jeghers syndrome [5][6]
  • Adenomatous polyps [6]
  • Previous partial gastrectomy ( > 20 years) [6]
  • EBV infection (~10%) [5]
  • Industrial exposure (dusty, high temperature, rubber, coal mining, metal processing, chromium production) [6]
  • Pernicious anaemia [6]
  • Common variable immunodeficiency (CVID) [6]

Classification (Lauren) [5]:

FeatureIntestinal TypeDiffuse Type
DifferentiationWell-differentiated, better prognosisUndifferentiated, poorer prognosis
Risk factorsH. pylori, environmentalHDGC (E-cadherin mutation)
HER2+ve in 15%-ve; signet ring cells +ve
SpreadHaematogenousTransmural (linitis plastica) and lymphatic
DemographicsElderly male, distal stomachYoung female, proximal stomach

Pathophysiology of epigastric pain in gastric cancer: The tumour invades the gastric wall → serosal irritation and involvement of the coeliac plexus → constant, dull epigastric pain. Antral tumours may cause gastric outlet obstruction → distending pain with vomiting. Ulceration within the tumour mimics peptic ulcer pain.

Types: ductal adenocarcinoma (90%); cystic tumours, ampullary tumours, islet cell tumours (better prognosis); metastasis from RCC (MC), lung, breast [7][8].

Sites: head (60%), body (15%), tail (5%), diffuse (20%) [7].

Risk factors [7][8]:

  • Smoking (3× risk)
  • DM, chronic pancreatitis
  • Family history
  • Pre-malignant conditions: pancreatic intraepithelial neoplasia (PanIN)
  • Hereditary cancer syndromes: Lynch syndrome

Pathophysiology [7][8]:

  • Head tumours obstruct the CBD → painless progressive obstructive jaundice (the classic presentation) [7][8]
  • Body/tail tumours infiltrate the retroperitoneum → severe epigastric pain radiating to the back (because the coeliac plexus sits directly behind the pancreas) [7]
  • Pancreatic duct obstruction → pancreatic exocrine insufficiency → steatorrhoea, maldigestion, new-onset diabetes
  • Trousseau syndrome: hypercoagulable state → migratory superficial thrombophlebitis (mucin-secreting adenocarcinomas release tissue factor and other procoagulant substances) [7]

Definition: Acute inflammation of the pancreatic parenchyma [1][9].

Aetiology (mnemonic: GAME ID) [9]:

  • G — Gallstone (MC): impacted stone at ampulla → duct obstruction → reflux + duct hypertension → premature enzyme activation
  • A — Alcohol: direct toxic effect on acinar cells + increases ductal permeability
  • M — Metabolic: hypertriglyceridaemia, hypercalcaemia
  • E — ERCP (reduced by PR NSAID or temporary pancreatic stenting)
  • I — Idiopathic (10%)
  • D — Drugs (NSAIDs, steroids, azathioprine, ACEi, valproate)
  • Others: trauma, infections (mumps), autoimmune (SLE), pregnancy, scorpion venom, pancreatic divisum

Pathophysiology [1][9]:

  1. Initial insult: unregulated premature activation of pancreatic enzymes (especially trypsinogen → trypsin) within acinar cells
  2. Autodigestion: trypsin activates other zymogens → autodigestion of pancreatic parenchyma → necrosis
  3. Extension: autodigestion extends into retroperitoneum → fat necrosis (fatty acids bind calcium = saponification → hypocalcaemia → tetany)
  4. Systemic response: NF-κB pathway → cytokines (TNF-α, IL-1, IL-6) → SIRS → organ dysfunction (ARDS, AKI, shock)
  5. Enzymes in bloodstream: amylase and lipase leak into blood (diagnostic) → distant organ injury

Biliary colic [9]:

  • Transient obstruction of Hartmann's pouch or cystic duct by gallstone → gallbladder contracts against obstruction → steady (not truly colicky — gallbladder has no peristalsis) RUQ/epigastric pain
  • Worse after fatty meals (fat in duodenum → CCK release → gallbladder contraction)
  • Usually resolves < 6 hours; if > 6 hours → suspect acute cholecystitis

Acute cholecystitis [9]:

  • Calculous (95%): persistent cystic duct obstruction → gallbladder distension → ↑ intraluminal pressure → mucosal ischaemia → secondary bacterial infection
  • Acalculous (5%): critically ill patients (dehydration, shock, TPN) → gallbladder stasis and ischaemia

Definition: clinical syndrome characterised by epigastric pain and post-prandial vomiting due to mechanical obstruction [10].

Aetiology: malignant until proven otherwise [10]:

  • Malignant (80%): gastric cancer (MC), lymphoma; extraluminal compression (CA head of pancreas, CA ampulla, cholangioCA)
  • Benign (20%): PUD-related pyloric stenosis (2nd MC), gastric volvulus, SMA syndrome, foreign body/bezoar, Bouveret syndrome (gallstone in duodenum), chronic pancreatitis, Crohn's disease

Perforated peptic ulcer [3]:

  • Anterior duodenal ulcer perforates → gastric acid leaks into peritoneal cavity → chemical peritonitis (immediate, intense pain) → secondary bacterial peritonitis (hours later)
  • Pain starts in epigastrium → generalises to the whole abdomen
  • Board-like rigidity, pneumoperitoneum on CXR

Acute myocardial infarction (inferior wall) [11]:

  • The inferior wall of the left ventricle sits on the diaphragm → ischaemia/infarction → afferent fibres travel with the phrenic nerve and sympathetic chain → referred pain to the epigastrium
  • Especially common in diabetics (autonomic neuropathy masks typical chest pain)
  • Always do an ECG in any patient with epigastric pain, especially if risk factors for IHD

Abdominal aortic aneurysm (AAA) rupture:

  • Aorta lies retroperitoneally at the level of the epigastrium → expanding or leaking AAA → sudden epigastric/back pain + haemodynamic collapse
  • Classic triad: abdominal pain + hypotension + pulsatile abdominal mass

Gastric volvulus [10]:

  • Abnormal rotation of stomach > 180° → closed-loop obstruction ± strangulation
  • Usually secondary to diaphragmatic/hiatal hernia (rolling type)
  • Borchardt's triad: severe epigastric pain, retching without vomiting, inability to pass NG tube below diaphragm

Classification of Epigastric Pain

CategoryExamples
Acute ( < 24–48 hours)Perforated PU, acute pancreatitis, biliary colic, acute cholecystitis, acute MI, ruptured AAA, gastric volvulus
Subacute (days–weeks)Gastritis, PUD, cholangitis, GOO
Chronic ( > 4 weeks)Functional dyspepsia, GERD, chronic pancreatitis, gastric cancer, pancreatic cancer

MechanismCharacterExamples
Visceral (distension/spasm)Dull, vague, midline, ± N/VBiliary colic, early appendicitis, functional dyspepsia, gastric distension
Somatic (peritoneal irritation)Sharp, well-localised, ↑ with movementPerforated PU, cholecystitis with localised peritonitis
ReferredPain felt distant from sourceInferior MI → epigastric; diaphragmatic irritation → shoulder tip
InflammatoryConstant, progressivePancreatitis, cholecystitis
NeoplasticConstant, progressive, with weight lossGastric cancer, pancreatic cancer

SourceConditions
OesophagusGERD, oesophagitis, oesophageal spasm, Mallory-Weiss tear, Boerhaave's perforation
StomachGastritis, gastric ulcer, gastric cancer, gastric volvulus, gastroparesis
DuodenumDuodenal ulcer, duodenitis, periampullary tumour
HepatobiliaryBiliary colic, cholecystitis, cholangitis, hepatitis, liver abscess, HCC
PancreasAcute/chronic pancreatitis, pancreatic cancer
VascularAAA, mesenteric ischaemia, SMA syndrome
CardiacAcute MI (inferior), myopericarditis
OtherHerpes zoster (T5–T9 dermatome), musculoskeletal, DKA, Addisonian crisis

Clinical Features

A. Symptoms with Pathophysiological Basis

FeatureSignificancePathophysiological Basis
Site: epigastricForegut structures (T5–T9)Visceral afferents from stomach, duodenum, pancreas, gallbladder all converge on T5–T9 segments
Onset: suddenPerforation, vascular eventSudden peritoneal contamination (PPU) or acute ischaemia (MI, AAA)
Onset: gradualInflammatory or functionalAccumulating inflammation (pancreatitis) or ongoing functional derangement (FD)
Character: burningAcid-relatedMucosal contact with H⁺ ions → nociceptor activation in exposed submucosa
Character: sharp, constantPeritoneal irritationParietal peritoneum has somatic innervation → sharp, well-localised pain
Character: dull, crampyVisceral distension/spasmHollow viscus distension (biliary colic) or smooth muscle spasm stimulates poorly-localised autonomic afferents
Character: tearingAortic dissectionIntimal tear with propagating haematoma stretching the aortic wall
Radiation: to backPancreatitis, pancreatic CA, penetrating posterior DURetroperitoneal location of pancreas → inflammation/invasion of coeliac/superior mesenteric plexus [7][9]
Radiation: to right shoulderBiliary pathologyPhrenic nerve (C3–C5) irritation by diaphragmatic inflammation from gallbladder → referred to C3–C5 dermatome (shoulder)
Radiation: interscapularAortic dissectionDescending aorta posterior to heart → pain referred to interscapular region

PatternConditionWhy?
Pain immediately after meals → afraid of eatingGastric ulcerFood stimulates acid secretion → acid contacts exposed ulcer base → pain [3]
Pain 2 hours after meals; relieved by eatingDuodenal ulcerFood buffers gastric acid temporarily → relief; 2–3 hours later as stomach empties, acid bolus enters duodenum → pain [3]
Pain after fatty mealsBiliary colicFat → CCK release → gallbladder contraction against impacted stone → pain
Pain after heavy meals, worse lying flatGERDLarge meal → gastric distension → ↑ transient LES relaxation + ↑ intra-abdominal pressure → reflux
Pain exacerbated by movementPeritonitis (e.g., PPU)Movement stretches inflamed parietal peritoneum → somatic pain [3]
Pain relieved by leaning forwardAcute pancreatitis, CA pancreasLeaning forward takes pressure off the inflamed retroperitoneal pancreas by moving it away from the vertebral column and coeliac plexus [9]

SymptomConditionsPathophysiology
Nausea and vomitingMost causes of epigastric painVagal afferent stimulation from visceral inflammation → vomiting centre in medulla
Non-bilious projectile vomiting of undigested foodGastric outlet obstructionObstruction proximal to the ampulla of Vater → bile cannot enter stomach → vomitus contains food/gastric juice but no bile [10]
Bilious vomitingObstruction distal to ampullaBile from CBD enters duodenum proximal to obstruction → refluxes into stomach → bilious vomit
Haematemesis (fresh blood)Severe/acute UGIB (PUD, varices, Mallory-Weiss)Rapid bleeding from arterial erosion or variceal rupture — blood does not remain long enough for acid digestion
Coffee-ground vomitingSlow UGIBHaemoglobin exposed to gastric acid → oxidised to acid haematin (dark brown) → coffee-ground appearance
MelaenaUGIB (PUD, gastric CA)Blood digested through GI tract → haemoglobin broken down by bacteria → dark, tarry, foul-smelling stool [6]
Early satietyGastric CA (linitis plastica), FD, GOOLinitis plastica: diffuse infiltration → non-compliant, rigid stomach → cannot accommodate food; FD: impaired gastric accommodation reflex
DysphagiaCA oesophagus/cardia, GERD strictureLuminal narrowing → progressive difficulty swallowing solids then liquids (mechanical) vs. solids and liquids from the start (motility)
SteatorrhoeaChronic pancreatitis, pancreatic CA↓ Pancreatic lipase → undigested fat in stool → pale, greasy, foul-smelling, floating stools
Heartburn and regurgitationGERDAcid contacts squamous epithelium → burning; LES incompetence → gastric content flows retrogradely to throat [4]

SymptomConditionsPathophysiology
Unintended weight lossGastric CA, pancreatic CA, chronic pancreatitisMalignancy: catabolic state + anorexia; pancreatic insufficiency: malabsorption [6][7]
FeverAcute cholecystitis, cholangitis, pancreatitis, perforated PUInfection/SIRS → pyrogens → hypothalamic thermostat reset
Painless progressive jaundiceCA head of pancreasTumour gradually obstructs CBD → conjugated bilirubin cannot drain → regurgitates into blood → jaundice [7][8]
Jaundice with painCholedocholithiasis, cholangitisStone intermittently/acutely obstructs CBD → pain (distension) + jaundice (obstruction)
New-onset diabetesPancreatic CADestruction of islets of Langerhans → ↓ insulin → hyperglycaemia [7]
Trousseau syndrome (migratory thrombophlebitis)Pancreatic CAMucin-secreting adenocarcinoma releases tissue factor and procoagulants → hypercoagulable state [7]

Drug history [3]:

  • NSAIDs, aspirin: PUD, gastritis
  • Bisphosphonates (e.g., alendronate): oesophagitis
  • Steroids: potentiate NSAID ulcerogenicity
  • Anticoagulants/antiplatelets: increase bleeding risk from pre-existing lesion

Red flags (alarm features) [2][5]:

  • Background: age > 40 (Asian) / > 55 (Western), FHx of upper GI cancer
  • Constitutional: significant unintentional weight loss
  • Bleeding: haematemesis, coffee-ground vomiting, melaena, PR bleed, anaemic symptoms
  • Obstruction: dysphagia, early satiety, vomiting, abdominal distension, constipation

B. Signs with Pathophysiological Basis

SignConditionsPathophysiology
PallorUGIB, gastric CA with chronic blood lossChronic GI bleeding → iron deficiency → microcytic anaemia → ↓ haemoglobin → pallor
JaundiceBiliary obstruction, pancreatic CA, hepatitis↑ Serum bilirubin > 35–50 μmol/L → deposits in skin and sclerae
CachexiaAdvanced malignancy (gastric CA, pancreatic CA)Tumour-secreted cytokines (TNF-α, IL-6) → increased basal metabolic rate + anorexia → muscle wasting
Distress, lying stillPeritonitis (PPU)Any movement stretches inflamed parietal peritoneum → patient instinctively avoids motion
RestlessnessBiliary/ureteric colic, mesenteric ischaemiaVisceral pain with no position of comfort → patient writhes and moves about
Trousseau's sign of malignancyPancreatic CAMigratory superficial thrombophlebitis → tender, erythematous, cord-like superficial veins [7]

SignConditionsPathophysiology
Epigastric tendernessPUD, gastritis, pancreatitisInflammation of underlying organ → visceral nociceptors activated → tenderness on palpation
Guarding (voluntary → involuntary)Peritonitis (PPU, perforated cholecystitis)Reflex contraction of abdominal wall muscles to "guard" the inflamed peritoneum → progresses to involuntary as inflammation worsens
Board-like rigidityGeneralised peritonitis (PPU)Intense involuntary contraction of the rectus abdominis due to widespread parietal peritoneal irritation
Rebound tendernessPeritonitisSudden release of palpating hand → inflamed peritoneum snaps back → momentary sharp pain
Succussion splashGOO, gastric outlet obstructionRetained gastric content (food + fluid + air) in a dilated stomach → shaking patient produces audible splash [10]
Palpable epigastric massGastric CA, pancreatic CAAdvanced tumour large enough to be palpated in the epigastrium [6][7]
Murphy's sign (+ve)Acute cholecystitisPalpation of RUQ during inspiration → inflamed gallbladder descends with diaphragm → contacts examiner's hand → patient arrests inspiration due to pain
↓ Liver dullnessPneumoperitoneum (PPU)Free air rises to beneath anterior abdominal wall → abolishes normal liver dullness on percussion
Cullen's signSevere acute pancreatitisRetroperitoneal haemorrhage tracks along the falciform ligament to the periumbilical region → bluish discolouration [9]
Grey Turner's signSevere acute pancreatitisRetroperitoneal haemorrhage tracks laterally to the flanks → flank ecchymosis [9]
Fox's signSevere acute pancreatitisRetroperitoneal blood tracks to inguinal ligament region
Palpable gallbladder (Courvoisier's sign)Pancreatic head CA, periampullary tumourNon-fibrotic gallbladder distends when CBD is gradually obstructed by tumour (in contrast to gallstone disease where the GB is fibrotic and cannot distend) [7][8][9]
Virchow's node (left supraclavicular)Gastric CA, pancreatic CAMetastasis via thoracic duct → left supraclavicular lymph node (also called "Troisier's sign")
Sister Mary Joseph noduleGastric CA (advanced), ovarian CAPeritoneal metastasis tracking along the falciform ligament or umbilical ligaments to the umbilicus

Don't Forget the ECG!

In any patient presenting with acute epigastric pain — especially if elderly, diabetic, or with cardiovascular risk factors — perform an ECG. Inferior MI (occlusion of the right coronary artery) can mimic acute abdominal pathology and is immediately life-threatening.


ConditionCharacterTimingRadiationKey Associated Features
Gastric ulcerBurning, gnawingWorse with foodEpigastricWeight loss (afraid to eat), UGIB
Duodenal ulcerBurning, hunger painRelieved by food; 2h post-mealEpigastricGood appetite, nocturnal pain
GERDBurningPost-prandial, lying flatRetrosternal → throatHeartburn, regurgitation, water brash
Biliary colicSteady, severeAfter fatty mealRight shoulder/scapulaN/V, resolves < 6h
Acute cholecystitisConstant, severePersistent > 6hRight shoulderFever, Murphy's +ve
Acute pancreatitisSevere, constantRapid onset (gallstone) or less abrupt (alcohol)Radiates to backRelieved leaning forward, N/V, Cullen's/Grey Turner's
Pancreatic CAConstant, dull → severeProgressiveBackPainless jaundice (head), weight loss, new-onset DM
Gastric CAPersistent, dullConstantVariableWeight loss, early satiety, anaemia, haematemesis/melaena, palpable mass
PPUSudden, excruciatingSudden onsetGeneralises to whole abdomenBoard-like rigidity, pneumoperitoneum
GOODistending, waxing-waningPost-prandialEpigastricNon-bilious projectile vomiting, succussion splash
Inferior MIHeavy, squeezingAcuteJaw, left armDiaphoresis, dyspnoea, ECG changes

High Yield Summary

  1. Epigastric pain is a symptom, not a diagnosis — work backwards from pain character, timing, radiation, and associated features to the organ and then the pathology.

  2. Foregut structures (stomach, D1–D2, liver, gallbladder, pancreas) all refer visceral pain to the epigastrium via T5–T9 sympathetic afferents.

  3. PUD pathophysiology = imbalance between aggressive factors (acid, pepsin) and protective factors (mucus, bicarbonate, prostaglandins, mucosal blood flow). H. pylori (92% DU) and NSAIDs (25% GU) are the dominant causes.

  4. NSAIDs cause ulcers by inhibiting COX-1 → ↓ prostaglandins → ↓ mucosal defence → acid-mediated injury. COX-2 selective inhibitors spare GI protection.

  5. Gastric ulcer pain worsens with food; duodenal ulcer pain improves with food and recurs 2 hours later.

  6. Pain radiating to the back = think retroperitoneal (pancreatitis, pancreatic CA, penetrating posterior DU, AAA).

  7. Painless progressive obstructive jaundice + palpable gallbladder (Courvoisier's law) = periampullary tumour (CA head of pancreas) until proven otherwise.

  8. Always ECG for acute epigastric pain — inferior MI is a life-threatening mimic.

  9. Alarm features requiring urgent OGD: age ≥ 40 (Asia), weight loss, UGIB, dysphagia, anaemia, FHx of UGI cancer, palpable mass.

  10. Functional dyspepsia is the commonest cause of epigastric discomfort (prevalence 10–20% in Chinese), but is a diagnosis of exclusion. Pathophysiology involves gastric dysmotility, visceral hypersensitivity, altered microbiome, and psychological factors.

  11. Acute pancreatitis — gallstones MC cause; severe constant epigastric pain radiating to back, relieved by leaning forward; Cullen's and Grey Turner's signs indicate retroperitoneal haemorrhage.

  12. Gastric cancer — 6th incidence, 4th mortality; risk factors include H. pylori, atrophic gastritis, intestinal metaplasia, E-cadherin mutation (HDGC), smoking, pickled food; Lauren classification (intestinal vs diffuse).


Active Recall - Epigastric Pain (Definition, Epidemiology, Anatomy, Etiology, Clinical Features)

[1] Senior notes: felixlai.md (Peptic Ulcer Disease, Dyspepsia, Gastric Anatomy sections) [2] Senior notes: Ryan Ho Fundamentals.pdf (p264–268, Dyspepsia and Functional Dyspepsia); Ryan Ho GI.pdf (p54–56) [3] Senior notes: Ryan Ho GI.pdf (p76, p94 — Peptic Ulcer Disease, Causes of Upper Abdominal Pain) [4] Senior notes: Ryan Ho GI.pdf (p56–57 — GERD); felixlai.md (GERD section) [5] Senior notes: felixlai.md (Gastric Cancer — Etiology, Pathophysiology, Classification) [6] Lecture slides: GC 212. Weight loss and vomiting gastric cancer; abdominal imaging.pdf (p11, p24) [7] Senior notes: maxim.md (Pancreatic carcinoma section) [8] Lecture slides: WCS 056 - Painless jaundice and epigastric mass - by Prof R Poon.ppt (1).pdf [9] Senior notes: maxim.md (Acute pancreatitis, Biliary colic, Acute cholecystitis, Courvoisier's Law sections); felixlai.md (Acute pancreatitis section) [10] Senior notes: maxim.md (Gastric outlet obstruction, Gastric volvulus sections) [11] Senior notes: Ryan Ho Cardiology.pdf (p56 — Aortic dissection, Chest pain differentials)

Differential Diagnosis of Epigastric Pain

The differential diagnosis of epigastric pain is one of the broadest in clinical medicine. The key to narrowing it down efficiently is understanding why each condition produces epigastric pain — this always comes back to the anatomy (which organ?), the innervation (visceral vs somatic, which spinal segments?), and the pathological process (inflammation, obstruction, ischaemia, neoplasia).

Think of the differential in three tiers:

  1. Life-threatening emergencies — must be excluded first
  2. Common organic causes — the bread-and-butter diagnoses
  3. Less common but important causes — conditions you must not forget

Organising Framework

The best way to organise the differential is anatomically — organ by organ — because the epigastrium sits over multiple foregut structures, and extra-abdominal pathology can refer pain here.


These must be actively excluded in any acute epigastric pain presentation. Missing them is catastrophic.

ConditionWhy Epigastric Pain?Key Discriminating Features
Perforated peptic ulcerAnterior DU/GU perforates → gastric acid spills onto parietal peritoneum → immediate chemical peritonitis (somatic pain via T5–T9) → secondary bacterial peritonitis [3][12]Sudden onset, maximal from the start; board-like rigidity; pain ↑ by movement → lies still; pneumoperitoneum on erect CXR (↓ liver dullness); Hx of NSAIDs/PUD. Note: pain and guarding may ↓ after 4–6h as acid diluted — but peritonitis is still progressing [3]
Ruptured / expanding AAAAorta lies retroperitoneally at T12–L2 directly behind the epigastrium → aneurysmal expansion or rupture irritates retroperitoneal nerves → epigastric + back pain [13]Tearing pain at epigastrium radiating to back; shock; pulsatile abdominal mass; elderly male with vascular risk factors
Aortic dissectionIntimal tear → propagating haematoma stretches aortic wall → visceral afferents from thoracic/abdominal aorta → chest ± epigastric pain depending on extent of dissection [11][13]Sudden, excruciating, tearing/ripping pain; radiating to interscapular region of back or into abdomen; ↑↑↑ BP or Hx of HTN; Hx of connective tissue disorder (Marfan, EDS); ± branch vessel occlusion signs (stroke, limb ischaemia, AKI) [11]
Acute mesenteric ischaemiaSMA occlusion (embolus or thrombosis) → small bowel ischaemia → visceral afferent activation (T9–T12) → periumbilical / epigastric pain; as bowel infarcts, transmural necrosis → peritonitis [3]"Pain out of proportion to physical findings" early on; vascular risk factors (AF, recent MI, atherosclerosis); rapid deterioration; lactic acidosis; late: peritoneal signs, bloody diarrhoea
Acute MI (inferior wall)Inferior LV wall sits on diaphragm → ischaemic afferents travel with phrenic nerve and cardiac sympathetic chain → referred to epigastrium. Especially in diabetics with autonomic neuropathy who lack typical chest pain [11]Risk factors for IHD; diaphoresis, dyspnoea, nausea; ECG: ST elevation in II, III, aVF; troponin ↑. Always ECG + troponin in acute epigastric pain!
Severe acute pancreatitisPremature trypsin activation → autodigestion → retroperitoneal inflammation → coeliac plexus irritation → severe epigastric pain radiating to back [1][9]Severe constant pain; radiates to back; relieved leaning forward; N/V; Cullen's/Grey Turner's signs; amylase/lipase ≥ 3× ULN; organ failure

Life-Threatening DDx Mnemonic

For life-threatening causes of acute epigastric pain, remember "PRAMS": Perforated peptic ulcer, Ruptured AAA, Acute MI (inferior), Mesenteric ischaemia, Severe pancreatitis. Some add DKA, Addisonian crisis, and ruptured ectopic pregnancy to complete the list of abdominal emergencies [1][13].


Tier 2: Common Organic Causes

These are the conditions you encounter most frequently in clinical practice and exams.

ConditionWhy Epigastric Pain?Discriminating Features
GERD / OesophagitisRefluxing of acid from stomach up through LES onto squamous epithelium of oesophagus → pain [3][4]Retrosternal burning (heartburn); precipitated by bending, stooping, heavy lifting; occurs when lying flat; acid regurgitation with bitter taste ± cough; dysphagia suggests stricture [3][4]. Note: GERD is overdiagnosed in dyspepsia — do NOT conclude GERD unless typical symptoms present [2]
Oesophageal spasmDiffuse oesophageal spasm → uncoordinated, high-amplitude contractions of oesophageal smooth muscle → visceral pain via vagal and sympathetic afferents → retrosternal/epigastric painRetrosternal burning pain associated with supine position and recent eating/drinking; may radiate to back; may be a/w dysphagia; may be relieved by nitrates or warm water [11]
Mallory-Weiss tearForceful retching/vomiting → longitudinal mucosal tear at GEJ → bleeding from submucosal arteries → haematemesis with epigastric painPreceding forceful vomiting (often alcohol-related); haematemesis; usually self-limiting

ConditionWhy Epigastric Pain?Discriminating Features
Gastritis / GastropathyMucosal inflammation or epithelial injury (H. pylori, NSAIDs, alcohol, stress) → nociceptor activation in mucosa/submucosa → visceral epigastric pain [3][14]Non-specific dyspepsia (epigastric pain, nausea, vomiting); drug Hx (NSAIDs, alcohol, iron); may present with UGIB; endoscopy diagnostic [14]
Gastric ulcerIrritation of gastric/duodenal mucosa due to ↓ mucosal defence → acid contacts exposed submucosa/muscularis → nociceptor stimulation [3]Usually pain immediately after meal → often afraid of eating; ↓ by vomiting; epigastric tenderness ± guarding [3]. Drug Hx: ask about ANY drug ingested, esp aspirin, NSAIDs, alendronate [3]
Gastric cancerTumour invades gastric wall → serosal irritation; ulceration within tumour mimics PUD; antral tumours cause GOO → distension pain [5][6]Could be asymptomatic; distending discomfort, vomiting (splash); anaemia, pallor, melaena, haematemesis; perforation with acute peritonitis (rare); epigastric pain [6]. Persistent and progressive epigastric discomfort/pain as disease progresses; early satiety, bloating esp linitis plastica; constitutional symptoms (LOW, LOA, cachexia) [15]. Metastatic signs: Virchow's node, Sister Joseph nodule, Krukenberg tumour
Gastric volvulusRotation > 180° → closed-loop obstruction → gastric wall ischaemia and distension → intense visceral pain [10]Borchardt's triad: severe epigastric pain + retching without vomiting + inability to pass NG tube
GastroparesisDelayed gastric emptying without mechanical obstruction → gastric distension → stretch-activated visceral afferents → painN/V, early satiety, postprandial fullness, bloating; causes: DM neuropathy, drugs (CCB, GLP-1 agonists), post-surgical
Gastric outlet obstructionMechanical obstruction at pylorus/duodenum → proximal gastric distension → stretch-activated visceral afferents → epigastric pain [10]Waxing-and-waning epigastric pain; repeated non-bilious projectile vomiting of undigested food; early satiety; weight loss; succussion splash on examination; malignant until proven otherwise (80% malignant, 20% benign) [10]

ConditionWhy Epigastric Pain?Discriminating Features
Duodenal ulcer↓ pain after eating → usually good appetite; pain ~2h after meal — food buffers acid temporarily; as stomach empties, acid bolus hits duodenal ulcer [3]Hunger pain; nocturnal pain (circadian acid secretion maximal at night); relieved by antacids; 4 major risk factors: H. pylori, NSAIDs, stress, excess gastric acid [1][12]
DuodenitisMucosal inflammation of duodenum (same mechanisms as gastritis — H. pylori, NSAIDs) → visceral painClinically indistinguishable from DU without endoscopy; usually self-limited
Periampullary tumourTumour at ampulla of Vater → obstructs CBD/pancreatic duct → obstructive jaundice ± pancreatitis → epigastric painPainless jaundice (may have intermittent pain); ampullary tumours may present with melaena (ulceration)

ConditionWhy Epigastric Pain?Discriminating Features
Biliary colicGallbladder contracts against transient obstruction (Hartmann's pouch/cystic duct) → ↑ intra-gallbladder pressure → visceral pain via splanchnic afferents → RUQ/epigastric [9][11]RUQ/epigastric pain esp after fatty meal (fat intolerance); steady (not truly colicky); radiates to right shoulder/scapula; N/V; resolves < 6h; afebrile; no peritoneal signs [9][11]. Biliary pain is episodic, constant, NON-colicky, intense, dull — NOT ↑ by movement, NOT ↓ by squatting or bowel movements [2]
Acute cholecystitisPersistent cystic duct obstruction → GB distension → mucosal ischaemia → inflammation extends to serosa → parietal peritoneal irritation (somatic pain) [1][9]RUQ/epigastric pain lasting > 6h ± tenderness [11]; fever; Murphy's sign +ve; pain does NOT subside (cf. biliary colic); leukocytosis; USG: GB wall thickening, pericholecystic fluid, sonographic Murphy's [1]
Choledocholithiasis / CholangitisStone in CBD → duct distension → visceral pain; if infected → cholangitis (Charcot's triad: fever + jaundice + RUQ pain) [1]Obstructive jaundice pattern on LFT (↑ ALP, ↑ conjugated bilirubin); Reynolds' pentad adds hypotension + altered mental status in suppurative cholangitis
Hepatitis (acute)Hepatocyte inflammation → liver capsular stretch (Glisson's capsule innervated by phrenic nerve + lower intercostal nerves) → RUQ/epigastric painJaundice, dark urine, pale stools; ↑↑ transaminases; ask about viral risk factors, drugs, alcohol
HCCTumour expansion → capsular stretch → pain; or rupture → haemoperitoneum → acute abdomenBackground of chronic liver disease/cirrhosis; AFP ↑; irregular hepatomegaly

ConditionWhy Epigastric Pain?Discriminating Features
Acute pancreatitisPremature enzyme activation → autodigestion → retroperitoneal inflammation → coeliac plexus irritation [1][9][16]Severe constant epigastric pain radiating to back; relieved leaning forward; ↑ by movement; N/V (90%); initially little peritoneal signs ("pain out of proportion to findings"); amylase/lipase ≥ 3× ULN [16]. D/dx to consider: PUD (long-standing intermittent pain, normal amylase/lipase), PPU (early florid peritoneal signs, free gas, lipase < 3× ULN), cholangitis (obstructive jaundice, normal amylase), cholecystitis (RUQ, Murphy's, amylase rarely > 3× ULN), IO (imaging discernible), mesenteric ischaemia (periumbilical, vascular RFs, less marked enzyme rise) [16]
Chronic pancreatitisProgressive fibrosis and destruction of pancreatic parenchyma → ductal hypertension, perineural inflammation → chronic epigastric pain radiating to back [1]Recurrent episodes; steatorrhoea; new-onset DM; pancreatic calcifications on imaging; alcohol Hx
Pancreatic carcinomaHead: CBD obstruction → painless jaundice; Body/tail: retroperitoneal infiltration → severe epigastric pain radiating to back [7][8]Painless progressive obstructive jaundice (head); severe epigastric pain radiating to back (body/tail); constitutional symptoms; steatorrhoea; new-onset DM; Trousseau syndrome; Courvoisier's sign (palpable GB) [7][8]

High Yield: When distinguishing pancreatitis from PUD — PUD has long-standing intermittent epigastric pain, NSAID use/HP infection, and normal amylase and lipase; PPU has early florid peritoneal signs, free gas under diaphragm on erect CXR, and lipase/amylase < 3× ULN [16].

ConditionWhy Epigastric Pain?Discriminating Features
Acute MI (inferior)Inferior wall ischaemia → afferents via phrenic nerve and cardiac sympathetic chain → referred to epigastriumProlonged epigastric ± substernal pain [11]; diaphoresis; dyspnoea; ECG changes (ST elevation II, III, aVF); troponin ↑; IHD risk factors
MyopericarditisSharp, pleuritic pain of variable duration, may be positional (↑ when sitting up and leaning forward due to pressure on parietal pericardium); retrosternal, radiating to shoulder/neck; insidious onset, may be a/w prodromal viral illness [11]Positional pain; pericardial rub; diffuse ST elevation on ECG; recent viral illness
Aortic dissectionSudden, excruciating, tearing/ripping pain radiating to interscapular region or abdomen; may occur with heavy isometric exercise or ↑↑↑ BP; ± occlusion of aortic branches [11]BP differential between arms; widened mediastinum on CXR; CT aortogram diagnostic
Mesenteric ischaemiaSMA occlusion → small bowel ischaemia → visceral pain (T9–T12); late: transmural infarction → peritonitisPain out of proportion; AF or recent MI (embolus); lactic acidosis; CT angiography

ConditionWhy Epigastric Pain?Discriminating Features
Functional dyspepsiaGastric dysmotility + visceral hypersensitivity + psychological factors → chronic epigastric discomfort without structural disease [2]Commonest cause of epigastric discomfort; prevalence 10–20% in Chinese; young ( < 40y), F > M; diagnosis of exclusion after OGD and HP testing negative [2]. Overlap with GERD and IBS common in Chinese
Drug-induced dyspepsiaDirect mucosal irritation (NSAIDs, iron, bisphosphonates) or systemic effects (digoxin, metronidazole) → mucosal injury or altered GI motility → epigastric pain [2]Drugs: NSAIDs, steroids, oral antibiotics, iron, digoxin, metronidazole, alendronate, slow K [2]; temporal relationship with drug initiation; resolves on drug withdrawal
Herpes zosterVaricella-zoster virus reactivation in T5–T9 dorsal root ganglia → dermatomal neuropathic pain → epigastric region [11][13]Severe, unilateral dermatomal burning pain; ± vesicular eruption [11]; dermatomal hyperaesthesia [13]; rash may come after pain or without pain (zoster sine herpete)
Abdominal wall painMyofascial trigger points or nerve entrapment in rectus sheath → somatic pain localised to epigastriumCarnett sign positive (↑ local tenderness during muscle tensing → indicates abdominal wall origin) [2]
MetabolicDKA: gastroparesis + metabolic acidosis → vomiting + abdominal pain; Hypercalcaemia: ↑ Ca²⁺ → ↑ gastric acid secretion + constipation + pancreatitis; Hyperkalaemia: smooth muscle dysfunction → abdominal pain [1][2]DKA: Kussmaul breathing, ketotic breath, hyperglycaemia; hyperCa: "bones, stones, groans, thrones, moans"
Referred pain from chestBasal pneumonia or PE → diaphragmatic irritation → phrenic nerve (C3–C5) → referred to epigastrium/shoulderPleuritic pain; cough; dyspnoea; CXR findings; D-dimer / CTPA for PE
Pancreatitis (referred from retro-peritoneum) [13]Already discussed above but worth remembering as a common "forgotten" cause in acute abdominal pain [13]

Don't Forget These!

"Have you forgotten?" — In any acute abdominal pain, always consider [13]:

  • Hernia (inguinal or femoral) — incarceration/strangulation
  • Ruptured AAA or aortic dissection — tearing epigastric pain radiating to back + shock
  • Herpes zoster — dermatomal hyperaesthesia, vesicular eruption
  • Pancreatitis
  • Retention of urine
  • Non-specific abdominal pain

This table is extremely high yield for exams — it distils the discriminating features of the most commonly confused causes.

FeatureGastric UlcerDuodenal UlcerBiliary ColicAcute CholecystitisAcute PancreatitisPancreatic CAGastric CAInferior MI
Pain timingWorse with foodBetter with food; 2h post-mealAfter fatty mealPersistent > 6hAcute onsetProgressivePersistentAcute onset
RadiationEpigastricEpigastricR shoulderR shoulderBackBackVariableL arm, jaw
CharacterBurningBurning/hungerSteady, severeConstantSevere, boringDull → severeDull, achingHeavy, squeezing
Relieved byVomitingFood, antacidsResolves spontaneouslyNothing (needs Tx)Leaning forwardNothingNothingGTN (sometimes)
Key signsEpigastric tendernessEpigastric tendernessAfebrile, no peritoneal signsMurphy's +ve, feverCullen's/Grey Turner's (severe)Courvoisier's sign, jaundiceMass, Virchow's nodeECG changes
Lab clueNormal amylaseNormal amylaseNormal LFT (or mild ↑)Leukocytosis, ↑ LFTAmylase/lipase ≥ 3× ULN↑ ALP, ↑ bilirubin, CA19-9↓ Hb (chronic blood loss)↑ Troponin

Differential Diagnosis by Clinical Presentation Pattern

Sometimes it's more useful to think about the differential based on what the patient presents with, rather than organ-by-organ:

Think surgical emergency until proven otherwise:

  • Perforated peptic ulcer
  • Acute pancreatitis
  • Ruptured AAA
  • Acute mesenteric ischaemia
  • Acute MI (inferior)
  • Gastric volvulus
  • Boerhaave's perforation (oesophageal rupture — after forceful vomiting)

Think organic vs functional:

  • Functional dyspepsia (most common — 60% of dyspepsia presentations) [1]
  • PUD (H. pylori, NSAIDs)
  • GERD
  • Chronic pancreatitis
  • Gastric/pancreatic cancer (if alarm features)
  • Drug-induced dyspepsia
  • Coeliac disease, Crohn's disease (less common)

Think hepatobiliary/pancreatic:

  • Choledocholithiasis ± cholangitis
  • CA head of pancreas (painless jaundice) / body-tail (painful jaundice)
  • Acute hepatitis
  • Cholangiocarcinoma
  • Periampullary tumour

Think mucosal pathology:

  • PUD (MC cause of UGIB) [12]
  • Gastritis / duodenitis (erosive)
  • Oesophageal varices (portal hypertension)
  • Gastric cancer
  • Mallory-Weiss tear
  • Dieulafoy's lesion
  • Angiodysplasia

Think malignancy or malabsorption:

  • Gastric cancer
  • Pancreatic cancer
  • Chronic pancreatitis (malabsorption)
  • Coeliac disease
  • Functional dyspepsia (afraid to eat → weight loss, but mild)

Zollinger-Ellison syndrome (ZES) deserves special mention because it is a classic exam question [1][17]:

  • "Zollinger" and "Ellison" were the surgeons who described the triad of: (1) gastric acid hypersecretion, (2) severe peptic ulceration, (3) non-beta islet cell tumour (gastrinoma)
  • Gastrinoma (50% in duodenum, 25% in pancreas) → hypergastrinaemia → 4–6× gastric acid output due to trophic effect on parietal cells and histamine-secreting enterochromaffin cells [17]
  • Suspect when: recurrent ulcers despite adequate therapy; ulcers at atypical locations (D2, jejunum); complicated PUD without H. pylori or NSAID use; diarrhoea (chronic, due to fat maldigestion — acid inactivates pancreatic lipase); PPI-resistant ulcers [1][17]
  • 20–30% associated with MEN1 (parathyroid + pituitary + pancreatic tumours) [17]
  • Diagnosis: fasting serum gastrin > 10× ULN while gastric pH < 2; secretin stimulation test in difficult cases [17]

Exam Pearl: When to Suspect ZES

A patient with recurrent peptic ulcers at unusual sites (distal duodenum, jejunum), refractory to standard PPI therapy, H. pylori-negative, no NSAID use, and chronic diarrhoea → always think Zollinger-Ellison syndrome. Check fasting serum gastrin.


PPU can mimic acute appendicitis — this is known as Valentino's sign: duodenal contents from a perforated anterior DU track down the right paracolic gutter to the RIF, causing RLQ pain and tenderness that mimics appendicitis [10]. The key discriminator is:

  • PPU: sudden onset epigastric pain first, then migrates to RLQ
  • Appendicitis: periumbilical pain first (visceral, T10), then migrates to RLQ (somatic, parietal peritoneal irritation)

When you see a patient with epigastric pain, your clinical reasoning should follow this logical sequence:

High Yield: The approach differs by age and alarm features. In Hong Kong, the age threshold for OGD is ≥ 40 years (lower than Western ≥ 55) due to higher gastric cancer prevalence in East Asia [2].


SystemConditionKey Clue
OesophagealGERDHeartburn, regurgitation, positional
Oesophageal spasmRetrosternal pain relieved by nitrates/warm water
GastricGastric ulcerPain ↑ with food
Gastric cancerAlarm features, persistent pain, weight loss
GOONon-bilious projectile vomiting, succussion splash
Gastric volvulusBorchardt's triad
DuodenalDuodenal ulcerPain ↓ with food, 2h post-meal recurrence
BiliaryBiliary colicSteady RUQ/epigastric pain after fatty meal, < 6h
Cholecystitis> 6h, fever, Murphy's +ve
CholangitisCharcot's triad / Reynolds' pentad
PancreaticAcute pancreatitisSevere, radiates to back, leaning forward relieves
Chronic pancreatitisRecurrent, steatorrhoea, calcifications
Pancreatic CAPainless jaundice (head) / back pain (body-tail)
VascularRuptured AAAPulsatile mass, shock, back pain
Mesenteric ischaemiaPain out of proportion, AF, lactic acidosis
CardiacInferior MIECG changes, troponin ↑, diaphoresis
OtherFunctional dyspepsiaYoung, no alarm features, normal investigations
Drug-inducedTemporal relation to NSAID/iron/alendronate
Herpes zosterDermatomal, unilateral, vesicles
DKA / hyperCaMetabolic derangement

High Yield Summary

  1. Organise the DDx anatomically — oesophagus, stomach, duodenum, biliary, pancreas, vascular, cardiac, other — then prioritise by acuity.

  2. Life-threatening DDx to exclude first: Perforated PU, ruptured AAA, acute MI, mesenteric ischaemia, severe pancreatitis (mnemonic: PRAMS).

  3. Most common cause overall: Functional dyspepsia (60% of dyspepsia presentations), but this is a diagnosis of exclusion.

  4. Most common organic cause of UGIB: Peptic ulcer disease.

  5. Gastric ulcer pain ↑ with food; duodenal ulcer pain ↓ with food and recurs 2h later.

  6. Biliary colic: steady (NOT colicky), < 6h, afebrile, no peritoneal signs. Acute cholecystitis: > 6h, fever, Murphy's +ve.

  7. Pancreatitis vs PUD: PUD has normal amylase/lipase; pancreatitis has amylase/lipase ≥ 3× ULN. PPU has early florid peritoneal signs and pneumoperitoneum.

  8. Always ECG in acute epigastric pain — inferior MI is a life-threatening mimic.

  9. Don't forget: hernia, herpes zoster, ruptured AAA, retention of urine, non-specific abdominal pain.

  10. ZES: recurrent ulcers at unusual sites, refractory to PPI, H. pylori-negative, no NSAIDs, ± diarrhoea → check fasting serum gastrin.

  11. Valentino's sign: PPU mimics appendicitis as duodenal contents track down right paracolic gutter to RIF.


Active Recall - Differential Diagnosis of Epigastric Pain

References

[1] Senior notes: felixlai.md (Dyspepsia, Peptic Ulcer Disease, Acute Pancreatitis, Biliary sections) [2] Senior notes: Ryan Ho Fundamentals.pdf (p263–264, Approach to Dyspepsia); Ryan Ho GI.pdf (p53–54) [3] Senior notes: Ryan Ho GI.pdf (p94, Causes of Upper Abdominal Pain); Ryan Ho Fundamentals.pdf (p268) [4] Senior notes: Ryan Ho GI.pdf (p56–57, GERD) [5] Senior notes: felixlai.md (Gastric Cancer — Etiology, Classification) [6] Lecture slides: GC 212. Weight loss and vomiting gastric cancer; abdominal imaging.pdf (p24) [7] Senior notes: maxim.md (Pancreatic carcinoma section) [8] Lecture slides: WCS 056 - Painless jaundice and epigastric mass - by Prof R Poon.ppt (1).pdf [9] Senior notes: maxim.md (Biliary colic, Acute cholecystitis, Acute pancreatitis sections); felixlai.md (Biliary sections) [10] Senior notes: maxim.md (GOO, Gastric volvulus, Valentino's sign sections) [11] Senior notes: Ryan Ho Cardiology.pdf (p56, Chest pain differentials — aortic dissection, myopericarditis, GERD, biliary, gastritis/PU, herpes zoster) [12] Senior notes: felixlai.md (Upper GI Bleeding — Differential diagnosis) [13] Lecture slides: GC 195. Lower and diffuse abdominal pain RLQ problems; pelvic inflammatory disease; peritonitis and abdominal emergencies.pdf (p44) [14] Senior notes: Ryan Ho GI.pdf (p75, Gastritis) [15] Senior notes: Ryan Ho GI.pdf (p84, Gastric cancer clinical features) [16] Senior notes: Ryan Ho GI.pdf (p340–341, Acute pancreatitis — DDx) [17] Senior notes: Ryan Ho Endocrine.pdf (p102, Gastrinoma / Zollinger-Ellison Syndrome)

Epigastric pain is a symptom, not a disease — so there is no single "diagnostic criterion" for epigastric pain itself. Instead, the diagnostic approach involves systematically working through the differential using history, examination, bedside tests, blood tests, imaging, and endoscopy to identify (or exclude) the underlying cause. However, several of the key conditions causing epigastric pain do have formal diagnostic criteria, and you must know these.

This section covers:

  1. Formal diagnostic criteria for the major conditions
  2. The overall diagnostic algorithm for approaching a patient with epigastric pain
  3. Investigation modalities — what to order, what you're looking for, and why

Formal Diagnostic Criteria for Major Conditions

Functional dyspepsia (FD) is a diagnosis of exclusion — you must first rule out organic disease [1][2].

Rome IV diagnostic criteria (updated from Rome III) [1][2]:

Presence of one or more of the following, with no evidence of structural disease (including at upper endoscopy) to explain the symptoms:

  • Bothersome postprandial fullness
  • Bothersome early satiation
  • Bothersome epigastric pain
  • Bothersome epigastric burning

Criteria fulfilled for the last 3 months with symptom onset ≥ 6 months before diagnosis.

Two subtypes:

  • Postprandial distress syndrome (PDS): postprandial fullness and/or early satiation occurring ≥ 3 days/week
  • Epigastric pain syndrome (EPS): epigastric pain and/or burning occurring ≥ 1 day/week

Supportive remarks [1]:

  • Pain may be induced or relieved by ingestion of a meal, or may occur while fasting
  • Pain does not fulfil biliary pain criteria
  • Vomiting warrants consideration of another disorder
  • Heartburn is not a dyspeptic symptom but may often coexist
  • Symptoms relieved by evacuation of faeces or gas should generally not be considered as part of dyspepsia

Why is FD a Diagnosis of Exclusion?

Because functional dyspepsia and organic diseases (PUD, gastric CA, GERD) share identical symptoms, you cannot clinically distinguish them. A normal OGD + normal H. pylori status + no alarm features are required before labelling a patient as FD. This is why understanding the investigation algorithm is so important.

Diagnostic criteria: ≥ 2 out of 3 [9][16]:

CriterionDetailsWhy?
ClinicalAcute onset of persistent, severe epigastric pain often radiating to the backRetroperitoneal pancreatic inflammation irritating coeliac plexus
BiochemicalSerum amylase or lipase ≥ 3× upper limit of normal (ULN)Leakage of pancreatic enzymes into blood from damaged acinar cells
RadiologicalCharacteristic findings on transabdominal USG, contrast-enhanced CT, or MRIDirect visualisation of pancreatic oedema, necrosis, or peripancreatic fluid

Key points [9][16]:

  • Pancreatic enzyme elevation is NOT indicative of severity — it tells you the diagnosis, not the prognosis [9]
  • Imaging is usually only needed if the diagnosis is in doubt (i.e., amylase/lipase is equivocal but clinical suspicion is high) [16]
  • Early CT scan ( < 3 days) will not show necrotic/ischaemic areas — necrosis takes 48–72 hours to demarcate [16]

Diagnostic criteria (Sensitivity 91.2%, Specificity 96.9%) [18][19]:

ComponentCriteria
A: Local signs of inflammationMurphy's sign; RUQ mass/pain/tenderness
B: Systemic signs of inflammationFever; leukocytosis; elevated CRP ( > 3 mg/dL)
C: Imaging findingsImaging findings characteristic of acute cholecystitis

Interpretation [18][19]:

  • Suspected diagnosis = 1× item in A + 1× item in B
  • Definite diagnosis = 1× item in A + 1× item in B + 1× item in C

Why this structure? Because you want both clinical and radiological confirmation — clinical signs alone have limited specificity (Murphy's sign: Sens 50–65%, Spec 79–96%), and imaging alone may show incidental cholecystitis in asymptomatic patients [19].

Detection of rise and/or fall of cardiac biomarkers (preferably cTn) with ≥ 1 value above 99th percentile URL, PLUS ≥ 1 of [11][20]:

  1. Symptoms of ischaemia
  2. New or presumed new significant ST-T changes or new LBBB
  3. Development of pathological Q waves
  4. Imaging evidence of new loss of viable myocardium or new regional wall motion abnormality
  5. Identification of an intracoronary thrombus by angiography or post-mortem

This is critical because inferior MI can present as isolated epigastric pain — you diagnose it by ECG + troponin, not by abdominal examination.

PUD is diagnosed by direct visualisation at upper endoscopy (OGD) with biopsy [1][3]. There are no validated clinical diagnostic criteria — history alone cannot reliably distinguish PUD from functional dyspepsia or gastric cancer. This is why OGD is the definitive investigation.

GERD can be diagnosed clinically when typical symptoms (heartburn + regurgitation) are present [4]. A PPI therapeutic trial (1–4 weeks) serves as both diagnostic and therapeutic — symptom improvement strongly suggests GERD [1]. Definitive testing (pH monitoring, impedance) is reserved for refractory cases.


The Diagnostic Algorithm

The approach to a patient with epigastric pain depends on two critical decision points:

  1. Is this an acute emergency? → Stabilise first, then investigate
  2. Are alarm features present? → Determines urgency and type of investigation

1. Why ECG first in acute epigastric pain?

Because inferior MI can mimic an acute abdomen, and the treatment (reperfusion) is time-critical. An ECG takes 30 seconds and can save a life. Always ECG + cardiac enzymes to rule out basal MI [3][11][18].

2. Why erect CXR?

Erect CXR looks for free gas under diaphragm → pneumoperitoneum → perforation [3][18]. This is the fastest way to diagnose a perforated peptic ulcer. Also evaluates for: left-sided pleural effusion (pancreatitis, Boerhaave's), widened mediastinum (aortic dissection), basal pneumonia.

3. Why amylase/lipase?

Because acute pancreatitis requires ≥ 3× ULN for diagnosis — and the treatment pathway (aggressive fluid resuscitation, aetiology-directed therapy) is completely different from PUD or biliary colic [9][16].

4. The age threshold for OGD

In Hong Kong, age ≥ 40 years with new-onset dyspepsia warrants OGD (lower than Western guideline of ≥ 55) due to higher gastric cancer prevalence in East Asia [2].

5. Test-and-treat for H. pylori

In young patients ( < 40) without alarm features, a non-invasive H. pylori test (urea breath test or stool antigen test) is the first step — because HP eradication can cure a subset of both PUD and functional dyspepsia without needing endoscopy [2].


Investigation Modalities — Systematic Review

InvestigationWhat It Tells YouKey Findings
ECGRule out acute MI (inferior wall) [3][11][18]ST elevation in II, III, aVF = inferior MI; diffuse ST elevation with PR depression = pericarditis; normal ECG does not exclude ACS (repeat in 6–12h)
UrinalysisRule out urological causes (UTI, renal colic) [3][18]Haematuria → renal colic; nitrites + leukocytes → UTI; glucose + ketones → DKA
Urine pregnancy testRule out ectopic pregnancy in women of childbearing age [3][18]Always check before CT scan (radiation)

InvestigationWhat It Tells YouKey Findings & Interpretation
CBCInfection, chronic blood loss, haemoconcentration↑ WBC with left shift → infection/inflammation (cholecystitis, cholangitis, pancreatitis); ↓ Hb (microcytic) → chronic GI blood loss (PUD, gastric CA); ↑ Hb/Hct → haemoconcentration in pancreatitis (prognostic) [3][18]
LFTHepatocellular vs obstructive patternParenchymal (↑↑ AST/ALT, mild ↑ ALP): hepatitis; Ductal/Obstructive (↑↑ ALP, ↑ GGT, ↑ conjugated bilirubin): choledocholithiasis, cholangitis, pancreatic head tumour [18][21]. ↑ bilirubin/GGT in cholecystitis should raise suspicion of CBD obstruction [19]
RFTHydration, electrolytes, renal functionHypoK/hypoCl → prolonged vomiting; ↑ urea:creatinine ratio ( > 100:1) → UGIB (Hb digestion in gut + reduced renal perfusion); Cr → suitability for contrast scans [3][18]
Serum amylasePancreatic injuryRise within 6–12h of onset, normalise in 3–5 days; ≥ 3× ULN diagnostic of acute pancreatitis; prolonged elevation suggests complications (e.g., pseudocyst); false positives: PPU, ruptured AAA, DKA, macroamylasaemia [9][16]. If equivocal/delayed: urine amylase (rises within 24–48h, persists 1 week) [9]
Serum lipasePancreatic injury (preferred for delayed presentations)Rise within 4–8h of onset, normalise in 8–14 days (longer half-life); more specific than amylase; preferred for delayed presentation > 24h [9][16]
Cardiac markers (Troponin)Rule out myocardial infarction as a differential diagnosis of epigastric pain [1][3][18]↑ cTnI or cTnT with dynamic rise/fall pattern → MI. Repeat troponin at 6–12h if first is normal but clinical suspicion remains [20]
CRPInflammatory marker↑ CRP supports inflammatory/infective process (cholecystitis, pancreatitis); CRP > 150 mg/L at 48h in pancreatitis predicts severe disease [16]
GlucoseDKA, new-onset DM (pancreatic CA)Hyperglycaemia → DKA (with ketones) or pancreatic exocrine/endocrine destruction [7]
Calcium, PhosphateAetiology of pancreatitis; metabolic cause of abdominal painHypercalcaemia → can cause pancreatitis AND cause epigastric pain directly; Hypocalcaemia in pancreatitis → fat saponification (fatty acids precipitate with calcium) [9]
ABG / VBG + LactateMetabolic statusMetabolic acidosis + ↑ lactate → intestinal ischaemia; metabolic alkalosis → prolonged vomiting; respiratory alkalosis → early sepsis [3][18]
Clotting profileCoagulopathy, pre-operative baseline↑ INR in obstructive jaundice (vitamin K malabsorption — fat-soluble vitamin requires bile salts); responsive to IV vitamin K (cf. hepatocellular failure where it is not) [21]
Tumour markersPrognostic/monitoring (NOT diagnostic screening)CA19-9: elevated in ~80% pancreatic CA, but NOT sensitive and NOT specific for early diagnosis; also ↑ in HCC, cholangioCA, gastric CA, chronic pancreatitis, cholangitis; used for monitoring after treatment [7][8]. CEA: raised in 30–60% pancreatic CA

Amylase vs Lipase — Know the Difference

A common exam mistake is confusing the two. Serum lipase has a longer half-life (normalises in 8–14 days vs 3–5 days for amylase) and is more specific for pancreatic injury. Always prefer lipase for delayed presentations ( > 24h). Amylase can be falsely elevated in many non-pancreatic conditions (PPU, DKA, macroamylasaemia). The cut-off for diagnosis is ≥ 3× ULN for either, NOT an absolute value [9][16].

C. Radiological Investigations

Why order it? It is rapid, cheap, and answers three critical questions at once [3][18][22]:

FindingDiagnosisWhy?
Free gas under diaphragmPerforated peptic ulcer (or other viscus)Air escapes from the perforated hollow viscus into the peritoneal cavity → rises to highest point (under diaphragm on erect film) [22]
Left-sided pleural effusionAcute pancreatitis (or Boerhaave's)Pancreatic inflammation tracks via the oesophageal hiatus or diaphragmatic lymphatics to the left pleural space; amylase-rich effusion
Widened mediastinumAortic dissectionHaematoma around the aortic arch widens the mediastinal silhouette
Basal consolidationPneumonia (referred epigastric pain)Lower lobe pneumonia irritates the diaphragm → phrenic nerve → referred epigastric/shoulder pain

FindingDiagnosisPathophysiological Explanation
Sentinel loop signAcute pancreatitisLocalised ileus of a single jejunal loop adjacent to the inflamed pancreas → the loop becomes dilated and gas-filled [9][16][18]
Colonic cut-off signAcute pancreatitisFunctional spasm of the descending colon secondary to pancreatic inflammation → colon dilated from ascending to mid-transverse, then abrupt paucity of gas distal to splenic flexure [9][16]
Pancreatic calcificationChronic pancreatitisIntraductal protein plugs calcify over time → visible calcification in the pancreatic bed [16]
Radio-opaque stonesGallstones (only 15%), urinary stones (90%)Only pigmented gallstones are radio-opaque (calcium bilirubinate); majority cholesterol stones are radiolucent; urinary stones (calcium oxalate/phosphate) are usually radio-opaque [18]
Air-fluid levels ( > 5)Intestinal obstructionDilated bowel loops with fluid trapped behind the obstruction → gravity-dependent fluid with gas above it on erect film
Ground-glass appearancePeripancreatic fluid collectionHazy opacification of the abdomen due to free fluid
Obliteration of psoas outlineRetroperitoneal fluid/haemorrhageRetroperitoneal fluid accumulation (pancreatitis, AAA leak) obliterates the normally visible psoas muscle shadow [9]

USG is the first-line imaging for biliary pathology and is readily available, quick, and non-invasive [18][19].

TargetFindingsInterpretation
GallstonesHyperechoic focus with posterior acoustic shadowing, gravity-dependent (rolling stone sign on lateral decubitus)USG sensitivity for gallstones ~95% [9][18]
Acute cholecystitisThickened GB wall ( > 3 mm), distended GB with sludge, sonographic Murphy's sign, pericholecystic fluidSensitivity 88%, Specificity 80% [19]. Sonographic Murphy's sign = tenderness maximal when USG probe presses on the visualised gallbladder [18][19]
CBD dilatationCBD diameter > 6 mm (or > 10 mm post-cholecystectomy)Suggests distal obstruction — choledocholithiasis, pancreatic head tumour
PancreasDiffusely enlarged and hypoechoic (acute pancreatitis); peripancreatic anechoic fluid collectionMay be absent in initial phase; may be obscured by bowel gas due to ileus [16]
LiverHepatomegaly, focal lesions, dilated intrahepatic ductsHCC, metastatic disease, biliary obstruction

Limitations: operator-dependent; limited by body fat and bowel gas (especially for distal CBD and pancreas) [9].

Site of painImaging of choice
RUQUSG
LUQCT
RLQCT with IV contrast
LLQCT with IV contrast
SuprapubicUSG (transabdominal or transvaginal)

This table from the lecture notes is useful as a quick reference — RUQ pain defaults to USG because the most common pathology is biliary, and USG is the gold standard for gallstones [18].

CT is the workhorse of abdominal imaging for complex or unclear presentations. Different "protocols" are used depending on the clinical question [7][16][18]:

ProtocolWhat It EvaluatesKey Findings
Standard CT abdomen with IV contrastMost acute abdomen presentationsPPU: free gas + free fluid; cholecystitis: GB wall thickening + fat stranding (seen better than USG); appendicitis: distended appendix + fat stranding; AAA: aneurysmal dilatation ± retroperitoneal haematoma [18]
CT with pancreas protocol (thin-sliced, triphasic: arterial + pancreatic + portovenous phases)Pancreatic carcinomaIll-defined hypoattenuating mass within pancreas; double duct sign (dilated pancreatic duct + CBD) — present in 62–77% of CA head of pancreas; determine resectability: encasement of SMA, hepatic artery, coeliac trunk, SMV, portal vein [7][8]
CT abdomen with contrast for pancreatitisAcute pancreatitis (when diagnosis in doubt or assessing severity ≥ 3 days)Focal or diffuse enlargement with homogeneous enhancement; peripancreatic fat stranding; necrosis shown as hypoenhancement on contrast CT; early CT will NOT show necrotic areas [16]
CT angiographyMesenteric ischaemia, AAA, aortic dissectionFilling defect in SMA/SMV; intestinal pneumatosis (air in bowel wall); aortic intimal flap; contrast extravasation (active bleeding)

High Yield: Contrast is essential in pancreatitis CT to detect pancreatic necrosis — a non-enhanced CT cannot distinguish viable from necrotic tissue. Necrosis = hypoenhancement = failure to take up contrast [1][16].

ModalityWhat It DoesWhen To Use
MRCP (Magnetic Resonance Cholangiopancreatography)Non-invasive delineation of biliary and pancreatic ductal anatomyAlternative to ERCP; ↑ popularity because ERCP is associated with ↑↑↑ risks (pancreatitis, perforation, bleeding); used to confirm CBD stones, cholangiocarcinoma, define anatomy before surgery [7]
ERCP (Endoscopic Retrograde Cholangiopancreatography)Therapeutic + diagnostic: cannulation of ampulla of Vater → inject contrast → visualise ducts; can perform sphincterotomy, stone extraction, stentingSuspected cholangitis or CBD stones needing intervention; diagnostic doubt; brush cytology/biopsy for biliary strictures [7]

EUS-guided FNAC/biopsy is preferred over percutaneous USG/CT-guided biopsy for pancreatic masses — because of ↑ sensitivity (90%) and ↓ chance of tumour seeding [7][8].

Indications for tissue biopsy in pancreatic mass [7]:

  1. Diagnosis doubtful
  2. Plan for non-operative treatment (patient unfit, systemic spread, or unresectable disease)
  3. Plan for initial neoadjuvant chemotherapy

Tissue diagnosis is NOT mandatory if the lesion is potentially resectable — proceed directly to surgery to avoid seeding risk [7][8].

Upper Endoscopy (OGD — Oesophago-gastro-duodenoscopy)

OGD is the definitive investigation for the upper GI tract. It is both diagnostic and therapeutic [1][3].

Indications [1]:

  • Symptom-based: anaemia, haematemesis, melaena, epigastric pain, dysphagia, acid reflux, indigestion
  • Disease-based: PUD follow-up, suspected oesophageal/gastric cancer, oesophageal variceal treatment, foreign body ingestion

Contraindications [1]: Known/suspected perforation; recent MI

Key findings and their significance [1]:

FindingDiagnosisEndoscopic Features
Benign ulcerPeptic ulcer diseaseSmooth, regular, rounded edges; flat smooth ulcer base often filled with exudate [1]
Malignant ulcerGastric cancerUlcerated mass protruding into lumen; irregular or thickened ulcer margins; folds surrounding ulcer crater are nodular, clubbed, fused [1]
OesophagitisGERDMucosal breaks at the GEJ (Los Angeles classification A–D)
GastritisH. pylori, NSAIDs, alcoholErythema, erosions, petechiae
VaricesPortal hypertensionDilated submucosal veins in oesophagus/fundus

Forrest classification — endoscopic stigmata of recent haemorrhage (SRH), used to prognosticate rebleeding risk and guide therapy [1]:

ClassStigmataPrevalenceRebleeding RiskManagement
IaSpurting haemorrhage10%55–100%Endoscopic therapy required
IbOozing haemorrhage10%Endoscopic therapy required
IIaNon-bleeding visible vessel25%40–50%Endoscopic therapy required
IIbAdherent clot10%20–30%Consider endoscopic therapy
IIcFlat pigmented spot10%10%Acid suppression alone
IIIClean base35%5%Acid suppression alone

High Yield: Forrest Class I and IIa/IIb are high risk and require endoscopic haemostasis. Class IIc and III are low risk and can be managed with acid suppression alone [1].

Biopsy protocol at OGD:

  • All gastric ulcers must be biopsied (to exclude malignancy) — duodenal ulcers are rarely malignant and do not routinely need biopsy
  • H. pylori testing should be done on biopsy sample (rapid urease test / histology) [2]
  • Follow-up OGD for gastric ulcers at 6–8 weeks to confirm healing and re-biopsy if not healed

AVOID Endoscopy in Acute Abdomen!

AVOID endoscopy for acute abdomen — a sealed-off perforation may open by gas insufflation during endoscopy [18]. If perforation is suspected (peritonism, free gas on CXR), do NOT proceed with OGD. This is a critical safety point.

H. pylori testing is central to the diagnostic approach to epigastric pain, because it determines management for both PUD and functional dyspepsia [1][2].

TestTypeHow It WorksSensitivity / SpecificityNotes
Rapid urease test (CLO test)Invasive (biopsy at OGD)Biopsy placed in urea-containing medium → H. pylori urease converts urea to ammonia → pH change → colour changeHighRequires OGD; affected by recent PPI/antibiotics (must stop PPI ≥ 2 weeks, antibiotics ≥ 4 weeks before testing)
HistologyInvasive (biopsy at OGD)Direct visualisation of organisms on gastric biopsyGold standardAlso assesses gastritis, metaplasia, dysplasia
Urea breath test (UBT)Non-invasivePatient ingests ¹³C- or ¹⁴C-labelled urea → H. pylori urease hydrolyses it to labelled CO₂ → detected in breath samples [1]Sens ~95%, Spec ~95%Best non-invasive test; used for test-and-treat AND confirmation of eradication (≥ 4 weeks post-treatment)
Stool antigen testNon-invasiveDetects H. pylori antigens in stool using monoclonal antibodiesSens ~95%, Spec ~95%Good alternative to UBT; useful in children
Serology (IgG)Non-invasiveDetects antibodies to H. pylori in bloodModerateCannot distinguish current from past infection; NOT useful for confirming eradication; useful in epidemiological studies

Why stop PPI before HP testing? PPIs suppress H. pylori replication and reduce urease activity → false-negative results on urease-based tests (CLO test, UBT). Always stop PPI ≥ 2 weeks and antibiotics ≥ 4 weeks before testing [1][2].

StudyEvaluatesIndicationsKey Findings
Barium mealStomach and duodenumDyspepsia and epigastric pain; weight loss; suspected stomach cancer; suspected PPU [22]Ulcer crater (niche); filling defect (tumour); mucosal irregularity; gastric outlet narrowing; contrast leak (perforation — use water-soluble contrast, NOT barium, if perforation suspected)
Barium swallowHypopharynx, oesophagusDysphagia, odynophagiaStricture, achalasia ("bird's beak"), mucosal irregularity, hiatus hernia
Water-soluble contrast mealStomach/duodenum when perforation suspectedSuspected PPU or oesophageal perforationContrast extravasation at perforation site — barium NEVER used if perforation suspected (causes severe peritonitis)

ConditionKey InvestigationSpecific Findings
ZES / GastrinomaFasting serum gastrin + gastric pHGastrin > 10× ULN with pH < 2 diagnostic; secretin stimulation test for equivocal cases [17]
Chronic pancreatitisPlain AXR, USG, CT, MRCP, ± secretin-stimulated MRCP, faecal elastaseAXR: pancreatic calcification (30%); CT: ductal dilatation, calcification, pseudocysts; amylase/lipase usually NORMAL due to burnout effect [16]; faecal elastase < 200 μg/g → exocrine insufficiency
Gastric cancer stagingCT chest + abdomen + pelvis, ± PET-CT, EUSEUS for T and N staging; CT for distant metastases (liver, peritoneal, lung); diagnostic laparoscopy for peritoneal disease
Pancreatic cancer stagingCT pancreas protocol, ± MRCP, ± EUS-FNAC, ± PET-CTDouble duct sign; hypoattenuating mass; vascular encasement (SMA, hepatic artery, coeliac trunk, SMV, portal vein) determines resectability [7][8]
GERDPPI trial → if refractory: 24h pH/impedance monitoring, oesophageal manometrypH monitoring: gold standard for acid exposure; manometry for motility assessment before anti-reflux surgery
Mesenteric ischaemiaCT angiography, ± conventional angiographySMA filling defect (embolus/thrombus); intestinal pneumatosis; portal venous gas; bowel wall thickening

Clinical ScenarioFirst-Line InvestigationsSecond-Line / Definitive
Acute severe epigastric painECG, troponin, CBC, LRFT, amylase/lipase, VBG/lactate, erect CXRCT abdomen, OGD (if no perforation suspected), ± CT angiography
Chronic/recurrent epigastric pain, age ≥ 40 or alarm featuresCBC, LFT, OGD with biopsy + HP testingCT abdomen, USG abdomen, tumour markers if malignancy suspected
Chronic/recurrent epigastric pain, age < 40, no alarm featuresNon-invasive HP test (UBT or stool Ag)OGD if HP eradication fails or symptoms persist despite PPI
RUQ / biliary-type painUSG abdomen, CBC, LFT, amylaseMRCP, ERCP if CBD stones/cholangitis
Suspected pancreatic pathologyAmylase/lipase, USG, LFT, Ca²⁺, glucoseCT pancreas protocol, MRCP, EUS-FNAC
Suspected UGIBCBC, clotting, X-match, LRFT, VBGUrgent OGD (within 24h; within 12h if high-risk)

High Yield Summary

  1. Functional dyspepsia is diagnosed by Rome IV criteria PLUS exclusion of organic disease by OGD — it is a diagnosis of exclusion.

  2. Acute pancreatitis: ≥ 2/3 of clinical (epigastric pain radiating to back), biochemical (amylase/lipase ≥ 3× ULN), radiological. Enzyme elevation is diagnostic, NOT prognostic.

  3. Acute cholecystitis: Tokyo 2013 — suspected = local signs + systemic signs; definite = local + systemic + imaging.

  4. Acute MI: rise/fall of cTn above 99th URL + ≥ 1 of symptoms, ECG changes, Q waves, imaging, or thrombus.

  5. Always ECG + troponin in acute epigastric pain to exclude inferior MI.

  6. Erect CXR: pneumoperitoneum (PPU), pleural effusion (pancreatitis), widened mediastinum (dissection).

  7. AXR: sentinel loop sign and colonic cut-off sign → pancreatitis; radio-opaque stones → 90% urinary, only 15% gallstones.

  8. USG is first-line for biliary pathology (sensitivity 95% for gallstones); sonographic Murphy's sign confirms acute cholecystitis.

  9. CT pancreas protocol (triphasic) is essential for pancreatic carcinoma — hypoattenuating mass, double duct sign, vascular encasement determines resectability.

  10. Forrest classification at OGD guides management: Class I/IIa–b = high risk → endoscopic therapy; Class IIc/III = low risk → acid suppression alone.

  11. Stop PPI ≥ 2 weeks and antibiotics ≥ 4 weeks before H. pylori testing (urease-based tests) to avoid false negatives.

  12. AVOID endoscopy if perforation is suspected — gas insufflation can open a sealed perforation.

  13. EUS-guided FNAC is preferred over percutaneous biopsy for pancreatic masses (higher sensitivity, lower seeding risk). Tissue diagnosis is NOT mandatory if the lesion is potentially resectable.


Active Recall - Diagnostic Criteria, Algorithm, and Investigations for Epigastric Pain

[1] Senior notes: felixlai.md (Dyspepsia, OGD indications, PUD diagnosis, H. pylori testing, Forrest classification) [2] Senior notes: Ryan Ho Fundamentals.pdf (p263–264, Approach to Dyspepsia); Ryan Ho GI.pdf (p53–54) [3] Senior notes: Ryan Ho GI.pdf (p94, p105, Causes of Upper Abdominal Pain, Investigations for Acute Abdomen); Ryan Ho Fundamentals.pdf (p268, p279) [4] Senior notes: Ryan Ho GI.pdf (p56–57, GERD) [7] Senior notes: maxim.md (Pancreatic carcinoma — Investigations, tissue biopsy indications); Ryan Ho GI.pdf (p352) [8] Lecture slides: WCS 056 - Painless jaundice and epigastric mass - by Prof R Poon.ppt (1).pdf [9] Senior notes: maxim.md (Acute pancreatitis — Investigation, diagnostic criteria); felixlai.md (Acute pancreatitis — Diagnosis) [11] Senior notes: Ryan Ho Cardiology.pdf (p56, p58, p127 — Chest pain approach, MI definition) [16] Senior notes: Ryan Ho GI.pdf (p340–341, p348 — Acute pancreatitis diagnosis, imaging; Chronic pancreatitis) [17] Senior notes: Ryan Ho Endocrine.pdf (p102, Gastrinoma / ZES) [18] Lecture slides: GC 195. Lower and diffuse abdominal pain RLQ problems; pelvic inflammatory disease; peritonitis and abdominal emergencies.pdf (p12, Investigations); Senior notes: maxim.md (Acute abdomen — Investigations, imaging by site) [19] Senior notes: Ryan Ho GI.pdf (p247–248, Acute cholecystitis — Tokyo guidelines, imaging); felixlai.md (Tokyo criteria 2013) [20] Senior notes: Ryan Ho Cardiology.pdf (p127, Universal definition of MI) [21] Senior notes: Ryan Ho Fundamentals.pdf (p296, Investigations for jaundice — LFT patterns, clotting) [22] Senior notes: Ryan Ho Diagnostic Radiology.pdf (p19, GI fluoroscopy studies); Ryan Ho Radiology.pdf (p6, Pneumoperitoneum)

The management of epigastric pain is not a single pathway — it is cause-directed. Your first job is to stabilise the patient (if acutely unwell), then diagnose the underlying cause (covered in prior sections), and finally treat that cause specifically. Think of it as three phases:

  1. Immediate stabilisation — ABCDE, resuscitation
  2. Cause-specific definitive management — medical, endoscopic, or surgical
  3. Prevention of recurrence — lifestyle, H. pylori eradication, medication review


Phase 1: Immediate Stabilisation (Acute Presentations)

Any patient presenting with acute severe epigastric pain needs the ABCDE approach before any specific treatment [23][24]:

StepActionWhy
A — AirwaySecure airway; consider cuffed ETT + NGT if massive haematemesis or impaired consciousnessMassive UGIB → aspiration risk; peritonitis → septic shock → reduced GCS
B — BreathingHigh-flow O₂; monitor SpO₂; assess for respiratory distressPancreatitis → ARDS / pleural effusion; peritonitis → splinting → shallow breathing
C — CirculationNPO, 2 large-bore IV cannulae (16G); IV NS 2L fast rate to maintain BP/pulse + urine output; blood transfusion if Hb < 7 or massive haemorrhage; withhold anticoagulants/antiplatelets (balance thrombotic risk) [23]Hypovolaemic shock from UGIB, pancreatitis (third-spacing), or AAA rupture
D — DisabilityGCS, glucose, pupilsDKA can cause epigastric pain; altered consciousness in Reynolds' pentad (cholangitis)
E — ExposureFull abdominal examination, PR examLook for peritonism, Cullen's/Grey Turner's signs, hernia

When epigastric pain is accompanied by haematemesis/melaena [23][24]:

  • Bloods: CBC (baseline Hb), clotting, cross-match, LRFT, VBG (acidosis)
  • RFT: elevated urea:creatinine ratio ( > 100:1) — because Hb digestion in the gut generates urea + reduced renal perfusion from hypovolaemia [23]
  • Pre-endoscopic PPI: IV esomeprazole 80 mg stat → 8 mg/h infusion until OGD (only if early endoscopy cannot be arranged; raising gastric pH stabilises clots) [23]
  • Risk stratification:
ScoreComponentsUse
Glasgow-Blatchford Score (GBS)Clinical + Lab (endoscopic results NOT required)Predicts need for endoscopy; GBS = 0 can be safely discharged [23]
Rockall ScoreClinical (Age, BP, Comorbidities) + Endoscopy (Diagnosis, Evidence of bleeding)Predicts rebleeding and mortality [23]
AIMS65Albumin < 30, INR > 1.5, altered Mental status, Systolic BP ≤ 90, age > 65Predicts in-patient mortality [24]

Phase 2: Cause-Specific Management

A. Peptic Ulcer Disease (PUD)

PUD management has three pillars: eradicate the cause, heal the ulcer, and prevent recurrence.

If H. pylori is detected, eradication is mandatory — it cures the ulcer in the vast majority and prevents recurrence [1][2][25]:

RegimenComponentsDurationNotes
Standard triple therapyPPI (bd) + Amoxicillin 1g bd + Clarithromycin 500 mg bd7–14 daysFirst-line in areas with clarithromycin resistance < 15% [25]
Bismuth quadruple therapyPPI (bd) + Bismuth subsalicylate + Metronidazole + Tetracycline10–14 daysFirst-line if clarithromycin resistance ≥ 15% or previous macrolide exposure
Concomitant therapyPPI (bd) + Amoxicillin + Clarithromycin + Metronidazole (all bd)14 daysAlternative first-line; higher eradication rates than sequential

Post-treatment testing: Confirm eradication with non-invasive tests (UBT or stool antigen) ≥ 4 weeks after completing all drugs. Do NOT use serology (positive for life). Stop PPI ≥ 2 weeks before testing [25].

Causes of failure of triple therapy [25]:

  • Poor compliance
  • Inappropriate dose and duration
  • Smoking: nicotine can ↓ efficacy of antibiotics
  • True antibiotic resistance

If first-line fails → switch to alternative regimen or guide treatment by sensitivity studies.

Drug ClassMechanismIndicationsKey Points
Proton pump inhibitors (PPI)Irreversibly inhibit H⁺/K⁺-ATPase (proton pump) on parietal cell apical membrane → blocks the final common pathway of acid secretionFull-dose PPI × 4–8 weeks for non-HP non-NSAID PUD; × 8 weeks for NSAID PUD [2][25]All PPIs except dexlansoprazole should be taken 30 min–1 hour before meals for maximal efficacy (pump must be active to be inhibited) [1]. Examples: omeprazole, esomeprazole, lansoprazole, pantoprazole, rabeprazole
H₂-receptor antagonists (H₂RA)Competitively block histamine H₂ receptors on parietal cells → ↓ basal and stimulated acid secretionAlternative if PPI intolerant; second-lineRegular use leads to tolerance and loss of therapeutic effect → use intermittently [1]. Examples: famotidine, ranitidine (withdrawn in many markets due to NDMA concerns)
AntacidsDirectly neutralise gastric acid (Al(OH)₃, Mg(OH)₂, CaCO₃)Symptomatic relief onlyDo NOT heal ulcers; provide rapid but short-lived relief
SucralfateForms a viscous gel that binds to the ulcer base → physical barrier protecting from acid and pepsinAdjunctive in stress ulcer prophylaxisMust be taken on empty stomach; can impair absorption of other drugs
MisoprostolPGE₁ analogue → replaces the prostaglandins inhibited by NSAIDs → restores mucosal defenceCo-therapy for NSAID gastroprotection [25]Side effects: diarrhoea, abdominal cramps; contraindicated in pregnancy (uterotonic → can induce abortion)

Why PPI Before Meals?

PPIs are prodrugs that require an acidic environment for activation. They are absorbed in the small intestine, circulate to the parietal cell, and are trapped in the secretory canaliculus (pH ~1) where they are activated. But the proton pump must be actively secreting acid for the PPI to bind and inhibit it. Eating stimulates acid secretion → pumps are active → PPI works best. Taking PPI 30–60 minutes before a meal ensures peak plasma levels coincide with maximal pump activity.

  • Switch to less ulcerogenic NSAIDs or COX-2 selective inhibitors (e.g., celecoxib)
  • Withdraw NSAIDs during PPI treatment if possible
  • Bleeding peptic ulcer in aspirin users: resume aspirin with PPI once haemostasis is secured — to minimise cardiovascular risk (delaying aspirin restart ↑ CV events without significantly reducing rebleeding) [1]
  • Non-bleeding peptic ulcer in aspirin users: continue aspirin with PPI [1]
  • Prevention in high-risk NSAID users [25]:
    • Review indications for NSAIDs
    • Prior HP testing ± eradication before starting long-term NSAIDs
    • Co-therapy with PPI, H₂RA, or misoprostol (PG analogue)

  • Gastric ulcer: follow-up OGD necessary until complete healing confirmed (to avoid missing concomitant gastric cancer due to sampling error; repeat biopsy at 6–8 weeks)
  • Uncomplicated duodenal ulcer: follow-up OGD unnecessary if asymptomatic (majority benign)
  • Complicated duodenal ulcer: follow-up until healing confirmed
  • Non-healing gastric ulcer after 12 weeks of medical therapy → elective surgery even if biopsy is benign (non-healing indicates risk of malignancy) [1]

Indications for surgery [1][10]:

  • Complicated PUD (haemorrhage, perforation, GOO)
  • Refractory to medical treatment (exclude ZES before elective surgery)
  • Suspicious of malignancy (non-healing GU > 3 months)
Ulcer TypeSurgical OptionsRationale
DU (acid reduction)Highly selective vagotomy (nerve of Latarjet preserved); Truncal vagotomy + drainage (pyloroplasty / gastrojejunostomy); Antrectomy + Billroth II / Roux-en-Y [10]DU is acid-driven → reduce acid secretion by dividing vagal supply to parietal cells (vagotomy) or removing gastrin-producing antrum (antrectomy)
GU Type IDistal gastrectomy + Billroth IIType I is on lesser curvature, normal/low acid → remove ulcer to exclude malignancy
GU Type II/IIITruncal vagotomy + antrectomy + Billroth IIType II/III have high acid → need acid reduction + ulcer excision
GU Type IVSubtotal gastrectomy extending to ulcer + Billroth I/II/Roux-en-YHigh lesser curvature → technically difficult, needs wider resection

B. Management of PUD Complications

This is the leading cause of death in PUD (5–15% mortality).

Step-wise approach:

Endoscopic treatment modalities — usually dual therapy (adrenaline injection + one other modality) [1][24]:

ModalityMechanismKey Points
Chemical: Adrenaline injectionVolume effect (tamponade) + vasoconstriction + platelet aggregationShould NOT be used as monotherapy — high rate of rebleeding after absorption (~1h) [1][24]
Thermal: Heater probe / bipolar cauteryCoaptive coagulation — compress vessel walls together + seal with heatRisk of perforation (immediate or delayed)
Mechanical: HaemoclipsPhysically clamp the bleeding vesselUseful for large visible vessels
Haemospray (TC-325)Nanopowder with large surface area → induces mechanical haemostasisUsually when other modalities fail; good for diffuse oozing
Argon plasma coagulationNon-contact thermal → lower energy depth → lower perforation riskUseful for diffuse superficial oozing (gastritis, angiodysplasia) [24]

Post-endoscopy [24]:

  • IV PPI × 72h to ↑ pH for clot stabilisation (for Forrest IIa and above, or adherent clot resistant to vigorous irrigation)
  • Close monitoring for rebleeding (3–10%): keep inpatient ≥ 3 days
  • Signs of rebleeding: ↑ pulse rate, haematemesis, fresh blood from NGT, fresh melaena, sudden ↓ Hb

Transcatheter arterial embolisation (TAE) [1][10]:

  • Angiography of coeliac trunk and SMA → identify contrast extravasation → selective coiling of bleeding vessel
  • Equally effective as surgery for failed endoscopic haemostasis with fewer complications
  • Consider when patient is high-risk for surgery
  • Reduces need for surgery without increasing mortality

Surgical treatment [10][24]:

  • DU: suture ligation of bleeding vessel (usually GDA) → ± partial gastrectomy or vagotomy + pyloroplasty
  • GU: partial gastrectomy (risk of malignant ulcer → need histology)

Perforated peptic ulcer (PPU) is a surgical emergency:

  • Initial management: NPO, IV PPI (high-dose), IV broad-spectrum antibiotics (cover gut flora — e.g., co-amoxiclav or cefuroxime + metronidazole), IV fluids, NG decompression, urinary catheter
  • Definitive: Emergency laparoscopic or open omental patch repair (Graham patch) — suturing a pedicled omental flap over the perforation
  • Post-operatively: H. pylori eradication, review NSAIDs, PPI therapy

Boey score (prognostic for PPU mortality) [10]:

Risk FactorPoints
Time from perforation to admission > 24 hours1
Pre-operative systolic BP < 100 mmHg1
Any systemic illness (heart disease, liver disease, renal disease, DM)1
Mortality: Score 0 = 0%, 1 = 10%, 2 = 45.5%, 3 = 100%

  • Malignant until proven otherwise (80% malignant, 20% benign)
  • Initial: NPO, NG decompression, IV fluids (correct metabolic alkalosis from vomiting — hypokalaemic, hypochloraemic), IV PPI
  • Definitive: depends on underlying cause:
    • Medical: PPI, H. pylori eradication (if PUD-related)
    • Endoscopic balloon dilatation ± duodenal stenting (palliative for malignant GOO)
    • Surgical: bypass (gastrojejunostomy), pyloroplasty + gastroduodenostomy [10]

C. GERD Management [1][4][25]

StepTreatmentDetails
1. Lifestyle modificationWeight loss, smoking cessation, reduce alcohol, elevate head of bed, avoid late meals ( < 2–3h before bed), avoid precipitants (chocolate, coffee, fatty food, spicy food) [1]Reducing intra-abdominal pressure (weight loss) and decreasing LES relaxation (avoiding triggers) reduces reflux
2. Medical therapyFull-dose PPI × 4–8 weeks for healing of oesophagitis [25]PPI only changes acidic reflux into non-acidic reflux → relieves heartburn and oesophagitis but regurgitation often remains uncorrected since reflux mechanism is unaffected [1]
3. MaintenanceLowest dose PPI if symptoms recur; offer H₂RA if inadequate PPI response [25]
4. Severe oesophagitisFull-dose PPI × 8 weeks or long-term; double-dose PPI or switch PPI if failed [25]

Indications [10][26]:

  • Young and fit PPI-dependent patients (to avoid lifelong PPI)
  • GERD / complications unresponsive to medical treatment (very rare — consider alternative diagnosis)

Contraindications: Aperistalsis → risk of dysphagia [26]

Laparoscopic fundoplication [26]:

  • Goal: close the hiatal defect, restore LES pressure and angle of His, lengthen intra-abdominal oesophagus
  • Types:
    • Total (Nissen): 360° wrap → more durable but more dysphagia
    • Partial (Toupet — posterior 270°; Dor/Watson — anterior 90–180°): preferred in Chinese — less dysphagia
  • Specific complications:
    • Gas bloat syndrome (90% esp in Nissen): inability to burp or vomit, flatus; self-limiting in 4 weeks — because the tight wrap prevents air escape from the stomach
    • Too tight → dysphagia (50% early, 10% long-term) → Ix: water-soluble contrast swallow; Tx: endoscopic bougie/balloon dilatation or revision
    • Too loose → recurrence of reflux
    • Slipped Nissen: wrap slides down, GEJ retracts into chest
  • Efficacy: PPI independence rate ~60%

Pre-operative workup [26]: oesophageal manometry (to exclude aperistalsis), 24h ambulatory pH monitoring, OGD with biopsy

D. Acute Pancreatitis Management [1][9][16][27]

Management is primarily supportive — there is no specific drug that "treats" pancreatitis. The focus is on:

  1. Aggressive IV fluid resuscitation
  2. Pain control
  3. Nutritional support
  4. Aetiology-directed treatment
  5. Management of complications

ComponentDetailsRationale
Aggressive IV fluids5–10 mL/kg/h isotonic crystalloids (Lactated Ringer's may be superior to NS in reducing SIRS); adjust according to clinical assessment, Hct, and urea [1][16][27]Pancreatitis causes massive third-space fluid loss → hypovolaemia → end-organ ischaemia; aggressive early resuscitation ↓ pancreatic necrosis. Aim for urine output 0.5–1.0 mL/kg/h [1]
AnalgesiaOpioids preferred: fentanyl, hydromorphone, tramadol, pethidine; morphine should be AVOIDED [1][27]Morphine can cause sphincter of Oddi spasm → theoretically worsens ductal hypertension (though evidence is debated, it remains standard teaching to avoid it). NSAIDs NOT preferred: can worsen pancreatitis and cause renal failure [27]
O₂ supplementationPulse oximetry and ABG monitoringPancreatitis → SIRS → ARDS; diaphragmatic inflammation → pleural effusion → hypoxia
Electrolyte correctionCorrect hypocalcaemia (tetany from fat saponification), hypokalaemia, hyperglycaemiaMetabolic derangements common; hypocalcaemia is prognostic
NPO + NG suctionNPO only if nausea/vomiting; NG suction if ileus or protracted vomiting [1]
MonitoringHDU care if severe; serial vitals, electrolytes, glucose, ABG
Stress ulcer prophylaxisPPICritically ill patients at risk of stress ulceration

This is a critical concept — the old dogma of "resting the pancreas" by prolonged NPO is WRONG.

  • Early enteral feeding ( < 48–72h) is preferred → associated with ↓ mortality, ↓ organ failure, ↓ infection, ↓ surgical intervention [27]
  • Nasogastric or nasojejunal feeding are both safe and effective [1]
  • Oral feeding can be initiated early (≤ 24h) if no ileus, N/V in mild cases [27]
  • Parenteral nutrition should only be considered if enteral route is not available, not tolerated, or caloric requirements cannot be met [1]

  • Prophylactic antibiotics are generally NOT recommended [1][27]
  • May be considered in pancreatic necrosis > 30% involvement by CT
  • Therapeutic antibiotics for infected necrosis: imipenem or meropenem to target enteric organisms; alternatives: fluoroquinolones + metronidazole [1]
  • In HK: routine antibiotics are generally given due to ↑ proportion of biliary pancreatitis — usually amoxicillin for interstitial pancreatitis (cover cholangitis) and imipenem for necrosis [27]

Indications for ERCP [1][27]:

  • Patients with jaundice, acute cholangitis, or evidence of persistent CBD stones
    • Arrange within 24–72 hours after admission for endoscopic sphincterotomy and stone extraction
  • Patients with no identifiable cause (to rule out CBD stones, strictures, neoplasms)

Contraindications: altered GI anatomy (e.g., Billroth II, Roux-en-Y) — relative; may need percutaneous approach [28]

Alternative if ERCP not feasible: Percutaneous transhepatic biliary drainage (PTBD) [1]

  • Cholecystectomy should be performed after recovery in ALL patients with gallstone pancreatitis [1]
  • Mild pancreatitis: cholecystectomy during same index hospitalisation (within 1 week of recovery)
  • Severe necrotising pancreatitis: delay cholecystectomy until inflammation subsides and collections resolve (interval cholecystectomy)
  • Intraoperative cholangiography to rule out persistent choledocholithiasis
  • If clinical suspicion of CBD stone is high → ERCP first; moderate → MRCP/EUS then cholecystectomy; low → cholecystectomy with IOC [1]

ComplicationManagement
Acute peripancreatic fluid collectionNone needed — majority resolves spontaneously [27]
Acute necrotic collection (sterile)Conservative management for ≥ 4 weeks (necrotic tissue is poorly demarcated early on → early debridement is incomplete and harmful) [27]
Infected necrosisEmpirical antibiotics → percutaneous/endoscopic drainage → surgical necrosectomy if failed (step-up approach); leading cause of morbidity/mortality; usually occurs > 10 days post-onset [27]
Pseudocyst (walled-off collection)Observe if asymptomatic; drain if symptomatic/infected/causing organ dysfunction; endoscopic (EUS-guided), percutaneous, or surgical drainage
PseudoaneurysmEndoscopic drainage absolutely contraindicated → angiographic embolisation or surgical resection [27]
Abdominal compartment syndromeIAP > 20 mmHg + new organ failure → surgical decompression [27]

Definitive treatment: Early laparoscopic cholecystectomy (LC) — ideally within 72 hours of symptom onset. This is supported by current guidelines because:

  • Early LC has comparable morbidity to delayed LC
  • ↓ Overall hospital stay
  • ↓ Risk of recurrent attacks while waiting for interval surgery
Severity (TG13)Management
Grade I (Mild)IV antibiotics + early LC (within 72h)
Grade II (Moderate)IV antibiotics + early LC if safe; percutaneous cholecystostomy (drainage) if high surgical risk
Grade III (Severe)Organ support + IV antibiotics + percutaneous cholecystostomy for drainage → interval LC when stable

First-line approach: Endoscopic retrograde cholangiopancreatography (ERCP) ± biliary stenting [28]

  • IV broad-spectrum antibiotics (cover Gram-negatives: e.g., piperacillin-tazobactam, or ceftriaxone + metronidazole)

  • ERCP for biliary decompression: sphincterotomy + stone extraction + stenting

  • Potential complications of ERCP: perforation, bleeding from papillotomy, pancreatitis [28]

  • Relative contraindications for ERCP: altered GI anatomy e.g., Billroth II gastrectomy, Roux-en-Y [28]

  • If ERCP not feasible: PTBD (percutaneous transhepatic biliary drainage) or surgical exploration of CBD

  • Prevent recurrence: elective LC after recovery

StepTreatmentRationale
1. ReassuranceExplain that no serious organic disease has been foundReduces anxiety, which itself perpetuates symptoms
2. Dietary changesAvoid known precipitants, low-fat diet, ↓ FODMAPs, ↓ lactose [2]Dietary triggers exacerbate gastric dysmotility and visceral hypersensitivity
3. HP eradicationIf HP +ve: eradication therapy → offers symptomatic benefit in a small subgroup [2]NNT ~14 — modest benefit, but worthwhile as HP is a modifiable factor
4. Empirical PPILow-dose PPI or H₂RA × 4 weeks if symptoms persist after HP excluded [25]Effective in Western populations but effect not clearly demonstrated in Asians; effective in ulcer-like/reflux-like but NOT in dysmotility-like FD [2]
5. ProkineticsMetoclopramide for refractory casesEnhances gastric emptying → helps postprandial distress symptoms. Side effects: extrapyramidal (dopamine antagonist)
6. NeuromodulatorsTCAs (e.g., amitriptyline) and SSRIs (e.g., escitalopram) [2]Modulate visceral hypersensitivity via central and peripheral mechanisms; TCAs also have anticholinergic effects that may ↓ gastric motility (paradoxical) — use at low doses
7. OthersSimeticone (Mylicon): anti-foaming agent for belching symptoms [2]Commonly used in GOPC; reduces gas bubble surface tension

High Yield: Reinvestigate by OGD if symptoms persist despite multiple treatments — do not keep treating empirically indefinitely [2].

StageApproach
Early gastric cancer (T1N0)Endoscopic mucosal resection (EMR) or endoscopic submucosal dissection (ESD); HP eradication; > 90% 5-year survival [5]
Resectable invasive CAGastrectomy (distal/subtotal/total depending on site) + D2 lymphadenectomy + perioperative chemotherapy
Unresectable / metastaticPalliative chemotherapy ± targeted therapy (trastuzumab if HER2+ve); local palliation for GOO (stenting / bypass), bleeding (radiotherapy / endoscopic)

Criteria for unresectability [5]:

  • Distant metastasis
  • Invasion of major vascular structures (aorta)
  • Encasement/occlusion of coeliac axis, proximal splenic artery, or hepatic artery (distal splenic artery involvement is NOT a contraindication)

Assess resectability — this is the central decision point [7][8]:

CategoryManagement
Resectable (no vascular involvement)Surgery: Whipple's procedure (pancreaticoduodenectomy) for head tumours; distal pancreatectomy + splenectomy for body/tail; ± adjuvant chemotherapy
Borderline resectableNeoadjuvant chemotherapy ± chemoradiation → reassess → surgery if responds
Unresectable / locally advancedPalliative chemotherapy (FOLFIRINOX or gemcitabine + nab-paclitaxel); biliary stenting for jaundice; coeliac plexus block for pain
MetastaticPalliative chemotherapy; best supportive care

Vascular encasement by SMA, hepatic artery, coeliac trunk, SMV, or portal vein determines resectability on CT pancreas protocol [7][8].

  • Acute: NPO, analgesia (NSAIDs preferred — e.g., diclofenac IM; opioids if severe), antiemetics [9]
  • Definitive: Elective laparoscopic cholecystectomy — to ↓ risk of future complications (cholecystitis, cholangitis, pancreatitis) [9]

ConditionTreatment Protocol
Uninvestigated dyspepsiaHP testing and eradication (test-and-treat); empirical full-dose PPI × 4 weeks; offer H₂RA if inadequate PPI response
Functional dyspepsiaHP eradication if HP+ve; low-dose PPI or H₂RA × 4 weeks if symptoms persist after HP excluded; lowest dose PPI/H₂RA if symptoms recur
Peptic ulcer diseaseHP eradication if HP+ve; full-dose PPI or H₂RA × 4–8 weeks for non-HP non-NSAID PUD; × 8 weeks for NSAID PUD
GERDFull-dose PPI × 4–8 weeks for oesophagitis; × 8 weeks or long-term for severe oesophagitis; lowest-dose PPI for recurrent symptoms; H₂RA if PPI inadequate

High Yield Summary

  1. Management of epigastric pain is cause-directed — stabilise first (ABCDE), diagnose (Ix), then treat the specific cause.

  2. PUD: eradicate H. pylori (triple therapy 7–14 days) + PPI for ulcer healing (4–8 weeks) + review NSAIDs.

  3. Bleeding PUD: IV PPI 80 mg bolus + 8 mg/h infusion → urgent OGD → endoscopic haemostasis (dual therapy: adrenaline + heater probe/clip) for Forrest Ia–IIb → IV PPI 72h post-endoscopy. Adrenaline alone is NOT sufficient.

  4. Failed endoscopic haemostasis → TAE (if unfit) or surgery (suture ligation ± acid-reducing procedure for DU; partial gastrectomy for GU).

  5. PPU: emergency omental patch repair + IV PPI + IV antibiotics + HP eradication. Boey score predicts mortality.

  6. GERD: lifestyle + PPI 4–8 weeks → lowest maintenance dose → fundoplication if PPI-dependent/refractory. Nissen (360°) is more durable but more dysphagia; partial wraps preferred in Chinese.

  7. Acute pancreatitis: aggressive IV fluids (LR 5–10 mL/kg/h) + opioid analgesia (NOT morphine) + early enteral feeding ( < 48–72h) + ERCP within 24–72h if biliary cause with cholangitis/CBD stones. Prophylactic antibiotics NOT routinely recommended.

  8. Cholecystectomy for ALL gallstone pancreatitis patients — during same admission if mild, interval if severe.

  9. Acute cholecystitis: early LC within 72h + IV antibiotics. Percutaneous cholecystostomy if too sick for surgery.

  10. Cholangitis: IV antibiotics + ERCP for biliary decompression. ERCP complications: perforation, bleeding, pancreatitis.

  11. Functional dyspepsia: reassurance → dietary changes → HP eradication if +ve → low-dose PPI → prokinetics/TCA if refractory → reinvestigate by OGD if persistent.

  12. Gastric cancer: EMR/ESD for T1N0; gastrectomy + D2 LN dissection + perioperative chemo for resectable; palliative chemo ± targeted therapy for unresectable.

  13. Pancreatic cancer: Whipple's for resectable head tumours; assess vascular encasement (SMA, hepatic artery, coeliac trunk, SMV, PV) for resectability; neoadjuvant chemo for borderline; palliative chemo + stenting for unresectable.


Active Recall - Management of Epigastric Pain

[1] Senior notes: felixlai.md (PUD treatment, NSAID management, aspirin in bleeding ulcer, PUD complications, Acute pancreatitis treatment, Cholecystectomy for gallstone pancreatitis, GERD medical treatment) [2] Senior notes: Ryan Ho GI.pdf (p54–55, Functional Dyspepsia management); Ryan Ho Fundamentals.pdf (p264–265) [3] Senior notes: Ryan Ho Fundamentals.pdf (p268, Perforated peptic ulcer) [4] Senior notes: Ryan Ho GI.pdf (p56–57, GERD pathophysiology and treatment) [5] Senior notes: Ryan Ho GI.pdf (p86, Gastric cancer staging and management) [6] Lecture slides: GC 212. Weight loss and vomiting gastric cancer; abdominal imaging.pdf [7] Senior notes: maxim.md (Pancreatic carcinoma — Investigations, resectability) [8] Lecture slides: WCS 056 - Painless jaundice and epigastric mass - by Prof R Poon.ppt (1).pdf [9] Senior notes: maxim.md (Biliary colic, Acute pancreatitis — Investigation, diagnostic criteria, management) [10] Senior notes: maxim.md (PUD surgical management, Boey score, GOO, PUD complications — haemorrhage) [16] Senior notes: Ryan Ho GI.pdf (p340–346, Acute pancreatitis diagnosis, management, complications) [19] Senior notes: Ryan Ho GI.pdf (p247–248, Acute cholecystitis — Tokyo guidelines, management) [23] Senior notes: maxim.md (UGIB initial management, pre-endoscopy management, risk stratification) [24] Senior notes: Ryan Ho Fundamentals.pdf (p255–257, Endoscopic Tx modalities, post-endoscopy management, surgery for bleeding ulcers) [25] Senior notes: Ryan Ho GI.pdf (p55, p78–79, NICE guidelines, HP eradication, NSAID ulcer management); Ryan Ho Fundamentals.pdf (p265) [26] Senior notes: maxim.md (GERD surgical treatment, fundoplication types and complications) [27] Senior notes: Ryan Ho GI.pdf (p344–346, Pancreatitis supportive management, antibiotics, nutritional support, management of complications) [28] Lecture slides: GC 200. RUQ pain, jaundice and fever Cholecytitis and cholangitis Imaging of GI system.pdf (p14, ERCP for cholangitis)

Understanding complications requires you to think about what happens when the primary disease process progresses unchecked — the pathology extends to involve adjacent structures, systemic inflammation escalates, or the treatment itself creates new problems. We will cover complications organised by the major conditions, because each has a distinct and predictable complication profile.


1. Complications of Peptic Ulcer Disease

The four classic PUD complications can be remembered by the mnemonic "4 Bs" — Bleed, Burst (perforation), Block (GOO), and Burrow (penetration/fistulisation) [1][25].

The leading cause of death in peptic ulcer disease (5–15% mortality) [1][10].

Pathophysiology: The ulcer erodes through the mucosa and submucosa into a submucosal or serosal artery. Posterior duodenal ulcers classically erode into the gastroduodenal artery (GDA) because the GDA runs directly behind the first part of the duodenum [1][10]. Gastric ulcers may erode into the left gastric artery or splenic artery.

Clinical features [1]:

  • Haematemesis: vomiting of red blood (rapid bleed) or coffee-ground material (slow bleed — Hb oxidised to acid haematin by gastric acid)
  • Melaena: black tarry stools (Hb digested by gut bacteria → dark pigment)
  • Haematochezia: fresh red blood per rectum in massive upper GI bleeding (transit too rapid for digestion)
  • Postural hypotension, tachycardia, syncope (hypovolaemia)

Signs of rebleeding [1]: haematemesis, fresh melaena, tachycardia, falling Hb trend, fresh blood from NGT

Why does bleeding recur after initial haemostasis? The clot that forms over the eroded vessel is unstable in an acidic environment — gastric acid (pH < 6) inhibits platelet aggregation and promotes clot fibrinolysis. This is why IV PPI (to raise gastric pH above 6) after endoscopic haemostasis is critical for clot stabilisation [1][24].

Pathophysiology: The ulcer erodes through the full thickness of the gastric or duodenal wall into the peritoneal cavity. Anterior duodenal ulcers perforate (because there is no adjacent solid organ to seal them off — they face the free peritoneal cavity), whereas posterior duodenal ulcers bleed (they face the retroperitoneum and the GDA) [1][3].

Sequence of events [3]:

  1. Chemical peritonitis (immediate): Gastric acid (pH 1–2) spills into the peritoneal cavity → intense chemical irritation → sudden excruciating epigastric pain → board-like rigidity
  2. "Silent interval" (4–6h): Acid becomes diluted by peritoneal fluid → pain and guarding may paradoxically decrease — but the peritonitis is still progressing
  3. Bacterial peritonitis (late): Gut flora contaminate the peritoneal cavity → sepsis, systemic toxicity

Clinical features [1][3]:

  • Fever, tachycardia, hypotension
  • Acute onset of severe diffuse abdominal pain (initially epigastric → generalises)
  • Board-like rigidity; ↓ liver dullness on percussion (pneumoperitoneum)
  • Erect CXR: free gas under diaphragm

Pathophysiology: The ulcer erodes through the bowel wall without free perforation — the base of the ulcer penetrates into an adjacent solid organ that seals it off. This is because the inflammatory process creates adhesions between the ulcer base and the adjacent organ before full-thickness perforation occurs [1].

Sites of penetration (in descending order of frequency) [1]:

  • Pancreas (most common) → pancreatitis
  • Lesser omentum
  • Biliary tract → cholangitis
  • Liver
  • Greater omentum
  • Mesocolon
  • Colon → fistulisation
  • Vascular structures → haemorrhage

Clinical features [1]:

  • Change in pain character: more intense, longer duration
  • Shift from vague visceral discomfort to localised intense pain in the back (pancreatic penetration)
  • NOT relieved by food or antacids (unlike uncomplicated PUD)

Pathophysiology: Two mechanisms, often coexisting [1]:

  1. Acute: Inflammation and oedema from active ulcer → duodenal spasm → reversible obstruction
  2. Chronic: Repeated cycles of ulceration → healing with fibrosis and scarring → fixed pyloric/duodenal stenosis → irreversible obstruction

Clinical features [1][10]:

  • Epigastric pain after eating, early satiety, bloating, nausea and vomiting
  • Non-bilious projectile vomiting of undigested food (obstruction is proximal to ampulla of Vater → no bile in vomitus)
  • Succussion splash on examination (retained gastric content)
  • Weight loss, dehydration
  • Metabolic consequences: prolonged vomiting → loss of H⁺, Cl⁻, K⁺ → hypokalaemic, hypochloraemic metabolic alkalosis [1]

Pathophysiology: Chronic ulcer penetrates completely through the bowel wall into an adjacent hollow viscus, creating an abnormal communication [1].

Fistula TypeConsequence
Gastrocolic or duodenocolic fistulaFeculent vomiting, postprandial diarrhoea (colonic bacteria contaminate small bowel), dyspepsia, weight loss [1]
Choledochoduodenal fistulaPneumobilia (air in biliary tree)
Aortoduodenal fistulaMassive, often fatal UGIB (rare; more common post-aortic graft)

GERD complications result from chronic acid exposure to the squamous epithelium of the lower oesophagus [1][4].

ComplicationPathophysiologyClinical Significance
OesophagitisAcid erodes squamous epithelium → inflammation → mucosal breaks (Los Angeles A–D)Pain (odynophagia), bleeding
Oesophageal ulcerationDeep mucosal erosion into submucosaBleeding, pain, perforation (rare)
Oesophageal strictureChronic inflammation → fibrosis → luminal narrowingProgressive dysphagia (solids then liquids) [1]
Barrett's oesophagusChronic acid injury → metaplasia of squamous epithelium to specialised intestinal-type columnar epitheliumPre-malignant condition; risk of progression: non-dysplastic → low-grade dysplasia → high-grade dysplasia → adenocarcinoma (~0.5%/year progression rate to cancer) [1]
Oesophageal adenocarcinomaMalignant transformation of Barrett's epitheliumRising incidence; poor prognosis if diagnosed late
Oesophageal haemorrhageUlceration of Barrett's or oesophagitic mucosa → vessel erosionHaematemesis, anaemia

High Yield: Barrett's oesophagus (described as "chronic reflux → stricture → Barrett's oesophagus (10%) → metaplasia → adenocarcinoma (7% of Barrett's)") [26]. ALL patients with Barrett's should receive PPI regardless of symptoms. Surveillance: non-dysplastic → every 3–5 years; low-grade → every 6 months for 1 year then annually; high-grade → EMR + RFA or oesophagectomy [1].


3. Complications of Acute Pancreatitis

Acute pancreatitis complications can be classified by timing (early vs late) and type (local vs systemic) using the Revised Atlanta Classification [9][16][27].

SeverityDefinitionMortality
MildNO organ failure, NO local/systemic complications< 2%
Moderately severeTransient organ failure < 48h OR local/systemic complications~5%
SeverePersistent organ failure > 48h10–30%

TimingInterstitial Oedematous Pancreatitis (90–95%)Necrotising Pancreatitis (5–10%)
Early ( < 4 weeks)Acute peripancreatic fluid collection (APFC, 30–50%): inflammatory rupture of pancreatic duct → fluid/debris in lesser sac; CT: wall not well-defined, homogeneous; most resolve spontaneously in 7–10 days; does NOT require intervention [27]Acute necrotic collection (ANC): similar but contains necrotic tissue (heterogeneous, solid debris); Infected pancreatic necrosis: usually > 1 week, secondary to enteric G⁻ bacilli; CT: extraluminal gas in/around pancreas; leading cause of morbidity/mortality; requires drainage + antibiotics ± necrosectomy [27]
Late ( > 4 weeks)Pseudocyst: mature APFC with well-defined wall (only 6.8% of APFCs); Sx: pain, visceral obstruction, vascular occlusion, fistulation, pseudoaneurysmWalled-off necrosis (WON): mature ANC with well-defined wall; may be sterile or infected; drainage/debridement if symptomatic, infected, or causing organ failure [27]

Why does infected necrosis develop? Pancreatic necrosis creates a devitalised tissue bed — an ideal medium for bacterial colonisation. Gut bacteria (mainly Gram-negative bacilli) translocate across the inflamed, permeable intestinal wall into the peripancreatic tissue via the portal circulation or lymphatics. This typically occurs after > 7–10 days of disease onset [27].

ComplicationPathophysiologyClinical FeaturesManagement
Splenic vein thrombosis (~11% of necrotising pancreatitis)Pancreatic inflammation → venous endothelial injury → thrombosis → left-sided portal hypertension → blood drains via short gastric veins → gastric varices [16][27]UGIB from gastric varices, splenomegaly, ascitesAnticoagulation if extends into portal/SMV; splenectomy if isolated splenic vein thrombosis with variceal bleeding
PseudoaneurysmPancreatic enzyme-rich fluid erodes into adjacent arteries (splenic, GDA, pancreaticoduodenal) → weakened arterial wall → pseudoaneurysm formationUnexplained GI bleed, anaemia, sudden ↑ size of fluid collectionEndoscopic drainage of pancreatic collection is ABSOLUTELY CONTRAINDICATED (risk of fatal haemorrhage); Mx: angiographic embolisation or surgical resection [27]
Portosplenomesenteric venous thrombosis (~50% of necrotising pancreatitis)Extension of splenic vein thrombosis into portal/SMV systemLeft-sided portal HTN, ascites, bowel ischaemia (if SMV involved)Anticoagulation; monitor for bowel ischaemia [27]

ComplicationPathophysiologyKey Points
Organ failure (respiratory/cardiovascular/renal)SIRS → cytokine storm (TNF-α, IL-1, IL-6) → capillary leak, endothelial damage → multi-organ dysfunctionPersistent organ failure > 48h defines severe pancreatitis [9]
ARDSCirculating pancreatic enzymes + inflammatory mediators → pulmonary capillary damage → non-cardiogenic pulmonary oedemaDyspnoea; bilateral infiltrates on CXR; PaO₂/FiO₂ < 300
Pleural effusionPancreatic inflammation tracks via oesophageal hiatus or diaphragmatic lymphatics → amylase-rich effusion (usually left-sided)Dyspnoea; diagnostic thoracentesis shows ↑ amylase
AKIHypovolaemia (third-spacing) → pre-renal AKI; or cytokine-mediated intrinsic renal injuryOliguria, ↑ creatinine; aggressive fluid resuscitation is key to prevention
HypocalcaemiaFat saponification: lipolysis of peripancreatic fat → release of fatty acids → precipitate with calcium → transient hypocalcaemia → tetany [9]Positive Trousseau's and Chvostek's signs; correct with IV calcium gluconate
DICSystemic inflammation → activation of coagulation cascade → consumption of clotting factors + plateletsBleeding + thrombosis; ↑ PT/aPTT, ↓ platelets, ↑ D-dimer, ↓ fibrinogen
HyperglycaemiaIslet cell damage → ↓ insulin secretion; stress response → ↑ cortisol/catecholamines → insulin resistanceMay require insulin infusion
Abdominal compartment syndromeTissue oedema + ascites + ileus → ↑ intra-abdominal pressure > 20 mmHg → ↓ venous return, ↓ renal perfusion, ↓ diaphragmatic excursion → new organ failureMx: surgical decompression [27]

Never Drain a Pseudoaneurysm Endoscopically!

If a patient with pancreatitis has a fluid collection and you suspect a pseudoaneurysm (suggested by unexplained bleeding, anaemia, or sudden ↑ in collection size), endoscopic drainage is absolutely contraindicated — puncturing a pseudoaneurysm causes fatal haemorrhage. Always get angiographic confirmation and embolisation first [27].


Chronic pancreatitis has a distinct complication profile arising from progressive fibrosis and ductal destruction [16].

ComplicationPathophysiologyClinical Features
Pseudocyst (10%)Ductal disruption → fluid collects in lesser sac → encapsulated by inflammatory tissueAbdominal pain, visceral obstruction, vascular occlusion, fistulation (pancreatico-enteric, pancreaticopleural), pseudoaneurysm [16]
CBD / duodenal obstruction (5–10%)Inflammation and fibrosis of head of pancreas or pseudocyst compresses CBD/duodenumObstructive jaundice, secondary biliary cirrhosis (biliary); postprandial pain, early satiety (duodenal) [16]
Pancreatic ascites and pleural effusionDisrupted pancreatic duct or ruptured pseudocyst → fistulation into peritoneal/pleural cavityAbdominal distension, dyspnoea; ↑↑ amylase in ascitic/pleural fluid [16]
Splenic vein thrombosis (11%)Chronic inflammation → venous injury → thrombosis → left-sided portal HTN → gastric varicesUGIB, splenomegaly
Pancreatic cancer2–3× increased risk of pancreatic ductal adenocarcinoma; chronic inflammation → dysplasia → carcinomaWeight loss, new/changed pain pattern, jaundice; EUS or MRCP screening indicated in hereditary pancreatitis [16]
Exocrine insufficiencyProgressive loss of acinar cells → ↓ pancreatic enzymes; clinically significant only when > 90% of exocrine mass is lostSteatorrhoea, malabsorption, fat-soluble vitamin deficiency (A, D, E, K)
Endocrine insufficiencyProgressive islet cell destruction → diabetes mellitus (30%); α-cells also destroyed → ↑↑ risk of hypoglycaemiaBrittle diabetes; need careful insulin titration

Complications of gallstone disease [28][29]:

ComplicationPathophysiologyKey Features
Acute cholecystitisPersistent cystic duct obstruction → GB distension → mucosal ischaemia → secondary bacterial infectionRUQ pain > 6h, fever, Murphy's +ve
Mucocele of gallbladderCystic duct obstruction → GB distends with mucus (sterile)Palpable non-tender GB
Empyema of gallbladderMucocele becomes secondarily infected → pus fills the GBSeptic patient, high fever, RUQ mass
Gallbladder perforationGangrenous cholecystitis → wall necrosis → perforationPeritonitis, sepsis; may be contained (pericholecystic abscess) or free (generalised peritonitis)
Acute cholangitisStone in CBD → bile stasis → ascending bacterial infectionCharcot's triad (fever, jaundice, RUQ pain); Reynolds' pentad adds hypotension + altered mental status
Acute biliary pancreatitisStone impacts at ampulla → duct obstruction → reflux + ductal hypertension → premature enzyme activationEpigastric pain radiating to back + amylase/lipase ≥ 3× ULN
Cholecystoduodenal (cholecystoenteric) fistulaChronic cholecystitis → adhesions between GB and duodenum → erosion → fistulaPneumobilia (air in biliary tree on AXR/CT)
Gallstone ileusLarge stone passes through cholecystoenteric fistula → impacts in terminal ileum (narrowest part of small bowel) → mechanical small bowel obstructionRigler's triad: SBO + pneumobilia + ectopic gallstone; Bouveret syndrome = gallstone impacts in duodenum causing GOO
Liver abscessAscending infection via biliary system → pyogenic liver abscessFever, RUQ pain, hepatomegaly, sepsis
Mirizzi syndromeLarge stone in Hartmann's pouch or cystic duct → extrinsic compression of common hepatic duct → obstructive jaundiceJaundice + cholecystitis; easily confused with cholangioCA

Complications of gastric cancer [1][5]:

ComplicationPathophysiologyClinical Features
BleedingTumour ulceration → erosion into gastric vesselsIron-deficiency anaemia (chronic occult blood loss); haematemesis and melaena (acute) [1]
Gastric outlet obstructionAntral/pyloric tumour → mechanical luminal obstructionAbdominal distension, vomiting, dehydration; hypokalaemic hypochloraemic metabolic alkalosis [1]
PerforationTumour necrosis → full-thickness wall erosion → peritonitisRare; acute peritonitis [1]
Gastrocolic fistulaTumour invades through posterior gastric wall into transverse colonFeculent vomiting, diarrhoea
Linitis plastica → non-compliant stomachDiffuse type (signet ring) → transmural infiltration → rigid, non-distensible stomachSevere early satiety, weight loss
Metastatic complicationsHaematogenous (liver), lymphatic (Virchow's node, Irish's node), transcoelomic (peritoneum, Krukenberg tumour, Sister Joseph nodule)Jaundice (liver mets), ascites (peritoneal carcinomatosis), bowel obstruction (peritoneal deposits)

ComplicationPathophysiologyClinical Features
Obstructive jaundiceHead tumour → CBD obstruction → conjugated hyperbilirubinaemiaPainless jaundice, dark urine, pale stools, pruritus
Acute cholangitisBiliary stasis → secondary infectionFever, jaundice, RUQ pain [1]
Acute pancreatitisTumour obstructs main pancreatic duct → ductal hypertension → enzyme activationCan be the presenting feature of early pancreatic cancer [1]
Pancreatic exocrine insufficiencyDuct obstruction + parenchymal destruction → ↓ enzyme outputSteatorrhoea, malabsorption, weight loss
New-onset diabetes mellitusIslet cell destruction by tumourHyperglycaemia; may resolve after Whipple's (suggesting tumour-mediated β-cell dysfunction) [7]
Trousseau syndromeMucin-secreting adenocarcinoma → hypercoagulable stateMigratory superficial thrombophlebitis; DVT/PE
GOOLarge tumour or duodenal invasion → mechanical obstructionVomiting, unable to tolerate oral intake

8. Post-Surgical Complications (Gastrectomy / Whipple's)

These are important because many patients with epigastric pain are post-surgical — the complications themselves cause new epigastric pain.

General [29]:

  • Immediate: bleeding, injury to nearby organs (pancreas, duodenum)
  • Early: wound infection, chest infection, post-op ileus
  • Late: recurrence (usually at gastric bed)

Anastomosis-Related [1][5][29]:

ComplicationPathophysiologyClinical Features
Anastomotic leakTechnical failure at suture line → GI content leaks into peritoneal cavityFever, tachycardia, peritonitis; usually POD 7–10 [29]
Duodenal stump blowoutIn Billroth II: duodenal stump closure fails → bile and pancreatic juice leakPeritonitis, sepsis; life-threatening
Afferent loop syndromeKinking, anastomotic narrowing, adhesions, or volvulus of afferent limb in Billroth II → accumulation of biliary/pancreatic secretions → risk of duodenal stump blowout, obstructive jaundice, ascending cholangitis, pancreatitis [1][29]Post-prandial epigastric pain, nausea, non-bilious vomiting (bilious after obstruction relieved); ↑ amylase [29]. Mx: revise GJ, convert to Roux-en-Y, or Braun's enteroenterostomy [29]
Efferent loop syndromeObstruction of efferent limb → GOOEpigastric pain, distension, bilious vomiting [29]

Motility-Related ("Post-Gastrectomy Syndromes") [1][5][29]:

ComplicationPathophysiologyClinical Features
Dumping syndrome (20%)Loss of pylorus → rapid gastric emptying of hyperosmolar carbohydrates → fluid drawn into intestinal lumen by osmosis + inappropriate GI hormone release [29]Early (15–30 min): abdominal pain, N/V/D, vasomotor symptoms (sweating, flushing, palpitations — because of ↓ circulating volume from fluid shift). Late (2–3h): post-prandial hyperinsulinaemic hypoglycaemia (PHH) — rapid glucose absorption → exaggerated insulin spike → rebound hypoglycaemia [1][29]
Alkaline reflux gastritisBillroth II: bile refluxes into gastric remnant → chronic chemical gastritisEpigastric burning pain, nausea, bilious vomiting; unresponsive to PPI
Roux stasis syndromeDisrupted normal motility in Roux limb → ectopic pacemakers → net propulsive activity proximal (towards stomach) rather than distal [1][29]Chronic abdominal pain, nausea, vomiting aggravated by eating
Gastric stasisImpaired gastric emptying due to post-op atony or vagal denervationEarly satiety, nausea, vomiting
Small stomach syndromeInadequate reservoir function after subtotal/total gastrectomyEarly satiety; recommend small frequent meals [1]

Nutritional Deficiencies [5][29]:

DeficiencyMechanismConsequence
Vitamin B₁₂ deficiency↓ Gastric acid + ↓ intrinsic factor (parietal cells removed)Megaloblastic anaemia, neuropathy; Mx: IM B₁₂ every 3 months [29]
Iron deficiency↓ Gastric acid needed to cleave Fe³⁺ from food + duodenal bypass (Billroth II)Microcytic anaemia
Calcium deficiency↓ Gastric acid needed for Ca²⁺ absorption + duodenal bypassOsteoporosis
Fat-soluble vitamins (A, D, E, K)Loss of duodenal continuity → ↓ bile-pancreatic mixingCoagulopathy (K), osteomalacia (D), neuropathy (E)
SteatorrhoeaImpaired mixing of food with bile/pancreatic enzymes; rapid transitFatty stools, weight loss

TimingComplicationDetails
EarlyAnastomotic leakPJ leak (30%) > CJ > GJ — highest risk for pancreaticojejunostomy due to digestive enzymes + small, soft duct [29]. Severe PJ leak may require completion distal pancreatectomy
Pancreatic fistulaPersistent amylase-rich drainage from PJ anastomosis; may lead to pseudoaneurysm (GDA stump), splenic vein thrombosis
Delayed gastric emptyingEspecially in pylorus-preserving PD; mechanisms: injury to nerve of Latarjet, disrupted pacemaker cells, ↓ CCK (high concentration in duodenum) [29]
HaemorrhageFrom GDA stump pseudoaneurysm (eroded by pancreatic fistula), or surgical site
LateExocrine insufficiencyMalabsorption, steatorrhoea; Mx: pancreatic enzyme replacement therapy (PERT)
Endocrine insufficiencyNew-onset DM (16%) [29]; brittle diabetes
Dumping syndromeLoss of pylorus (classic Whipple) → same mechanism as post-gastrectomy
RecurrenceLocally at surgical bed, liver metastases, peritoneal carcinomatosis

ERCP is a critical therapeutic tool but carries significant procedure-specific risks [1][28]:

ComplicationIncidencePathophysiology
Post-ERCP pancreatitis~2% (MOST frequent complication)Manipulation of pancreatic ductal system → oedema at papilla → ductal obstruction → enzyme activation [1]
Cholangitis (0.6%)Manipulation of obstructed biliary system → introduction of bacteriaFever, jaundice, RUQ pain after procedure
BleedingAfter sphincterotomy → cutting through papilla disrupts submucosal vesselsIncreased risk in thrombocytopenia and coagulopathy [1]
PerforationInstrument-related or sphincterotomy-related → duodenal/retroperitoneal perforationRetroperitoneal air on CT; may need surgery [1]
Papillary stenosisLong-term: scarring at sphincterotomy site → ampullary strictureRecurrent biliary obstruction
Stent stenosis or migrationPlastic stents occlude with biofilm/sludge (~3 months); metal stents may migrateRecurrent jaundice, cholangitis

Preventing Post-ERCP Pancreatitis

Two proven strategies: (1) PR indomethacin (NSAID) immediately before or after ERCP — inhibits phospholipase A₂ and ↓ inflammation; (2) Temporary prophylactic pancreatic duct stenting — maintains ductal drainage to prevent oedema-induced obstruction [9].


Primary hyperparathyroidism can cause epigastric pain through multiple mechanisms [30]:

MechanismPathophysiology
↑ Gastric acid secretionCalcium stimulates gastrin release → ↑ HCl → PUD
PancreatitisHypercalcaemia → premature activation of trypsinogen within pancreatic duct → autodigestion
ConstipationCalcium → ↓ smooth muscle motility → constipation → abdominal pain
Renal colicHypercalciuria → calcium stones → ureteric colic (may radiate to epigastrium)

The classic mnemonic for hypercalcaemia: "Bones, stones, groans, thrones, and psychic overtones" — bone pain/fractures, renal stones, abdominal groans (GI pain including epigastric pain/dyspepsia), polyuria (thrones), confusion/depression [30].


High Yield Summary

  1. PUD "4 Bs": Bleed, Burst, Block, Burrow. Posterior DU bleeds (GDA); anterior DU perforates; chronic scarring blocks (GOO); penetration burrows into pancreas/adjacent organs.

  2. Bleeding PUD is the leading cause of death — IV PPI post-endoscopy raises pH > 6 to stabilise clots. Signs of rebleeding: haematemesis, fresh melaena, tachycardia, falling Hb.

  3. PPU: chemical peritonitis → "silent interval" (acid dilution) → bacterial peritonitis. Pain and guarding may ↓ after 4–6h but peritonitis is progressing.

  4. GOO from PUD → hypokalaemic, hypochloraemic metabolic alkalosis from vomiting.

  5. GERD progression: oesophagitis → ulceration → stricture → Barrett's → adenocarcinoma.

  6. Acute pancreatitis complications (Atlanta): APFC (resolves, no Rx) vs ANC → infected necrosis (leading cause of death; > 7–10 days; step-up approach). Pseudoaneurysm: NEVER drain endoscopically.

  7. Hypocalcaemia in pancreatitis: fat saponification (fatty acids + calcium → soap).

  8. Gallstone complications: mucocele, empyema, perforation, cholangitis, biliary pancreatitis, cholecystoenteric fistula → gallstone ileus / Bouveret syndrome.

  9. Post-gastrectomy syndromes: dumping (early = osmotic fluid shift; late = hyperinsulinaemic hypoglycaemia), afferent/efferent loop syndrome, alkaline reflux gastritis, nutritional deficiencies (B₁₂, iron, calcium, ADEK).

  10. Post-Whipple's: PJ leak (30%, highest risk), delayed gastric emptying, pancreatic fistula → pseudoaneurysm, new-onset DM (16%).

  11. Post-ERCP pancreatitis is the most frequent ERCP complication (~2%); preventable with PR indomethacin and pancreatic duct stenting.


Active Recall - Complications of Conditions Causing Epigastric Pain

[1] Senior notes: felixlai.md (PUD complications — bleeding, perforation, penetration, GOO, fistulisation; Barrett's oesophagus; Gastric cancer complications; Post-gastrectomy syndromes; ERCP complications; Gallstone pancreatitis prevention) [3] Senior notes: Ryan Ho Fundamentals.pdf (p268, Perforated peptic ulcer — pathology, clinical features) [4] Senior notes: Ryan Ho GI.pdf (p56–57, GERD pathophysiology and complications) [5] Senior notes: Ryan Ho GI.pdf (p84, p86, p88, Gastric cancer clinical features, staging, post-gastrectomy complications) [7] Senior notes: maxim.md (Pancreatic carcinoma — complications, Whipple's complications) [9] Senior notes: maxim.md (Acute pancreatitis — Revised Atlanta classification, severity, complications) [10] Senior notes: maxim.md (PUD complications — haemorrhage, perforation, GOO, Boey score, surgical options) [16] Senior notes: Ryan Ho GI.pdf (p340–342, p345–346, p350, Acute pancreatitis — complications, local collections, vascular complications; Chronic pancreatitis complications) [24] Senior notes: Ryan Ho Fundamentals.pdf (p255–257, Endoscopic Tx modalities, post-endoscopy management) [25] Senior notes: Ryan Ho GI.pdf (p78–79, PUD complications — bleed/burst/block/burrow) [26] Senior notes: maxim.md (GERD — relationship with Barrett's and oesophagitis, complications) [27] Senior notes: Ryan Ho GI.pdf (p342, p345–346, Revised Atlanta classification of local complications, vascular complications, management of pancreatitis complications) [28] Lecture slides: GC 200. RUQ pain, jaundice and fever Cholecytitis and cholangitis Imaging of GI system.pdf (p5, Complications of gallstone disease; p14, ERCP complications) [29] Senior notes: maxim.md (Post-gastrectomy complications — afferent/efferent loop, dumping, nutritional; Whipple complications — PJ leak, DGE); felixlai.md (Post-gastrectomy syndromes — afferent/efferent loop, Roux stasis, dumping, nutritional deficiencies) [30] Senior notes: Ryan Ho Endocrine.pdf (p42, Hyperparathyroidism — GI complications, bones stones groans)

On this page

No Headings