Upper gastrointestinal · General surgery
Ahmed Al Johani
Oesophagus & Stomach
High-yield surgical revision
Dysphagia and the pattern that explains it; achalasia; reflux, Barrett’s oesophagus and the hiatus hernia; oesophageal cancer; the torn and the perforated oesophagus; peptic ulcer disease and its three complications; gastric tumours; and bariatric surgery.
Contents
- 1Anatomy and physiology that carries marks
- 2Dysphagia: reading the pattern
- 3Achalasia
- 4Reflux, Barrett’s and the hiatus hernia
- 5Oesophageal cancer
- 6The torn and the perforated oesophagus
- 7Peptic ulcer disease
- 8The three complications of an ulcer
- 9Ulcer surgery and what follows it
- 10Gastric tumours
- 11Bariatric surgery
1Anatomy and physiology that carries marks
Landmarks
| Oesophagus pierces the diaphragm | T10, carrying both vagi |
| Behind the 1st part of the duodenum | Gastroduodenal artery — the vessel that bleeds in a posterior duodenal ulcer |
| In front of the pylorus | Prepyloric vein of Mayo — the intra-operative landmark in a sleeve gastrectomy |
| Incisura angularis | On the lesser curvature — a common site for a non-healing ulcer |
For completeness the other two diaphragmatic openings: the IVC at T8 and the aorta at T12.
Two secretions worth knowing
| Ghrelin | From the fundus of the stomach — the hunger hormone, and the reason a sleeve gastrectomy reduces appetite rather than only capacity |
| Gastric acid | From the parietal cell H⁺/K⁺ ATPase — the pump that omeprazole blocks. It does not buffer acid, and it does not stop gastrin release |
2Dysphagia: reading the pattern
One question settles half the differential: does the patient struggle with solids first, or with solids and liquids together from the outset?
| Pattern | Means | Typical stem |
| Solids first, then liquids | Mechanical narrowing | Progressive, with weight loss, in an older patient → cancer until proven otherwise. Add a benign stricture and a ring |
| Both from the start | Motility disorder | Achalasia; intermittent and stress-related suggests diffuse spasm |
| With iron-deficiency anaemia and a web | Plummer–Vinson | Treat the anaemia and dilate the web endoscopically |
| Regurgitation of undigested food, upper pouch | Zenker’s (pharyngeal) diverticulum | Halitosis, a gurgling neck swelling, nocturnal cough |
High-yield: alarm symptoms end the medical trial
Dysphagia, weight loss, anaemia, bleeding, persistent vomiting, a mass, or new-onset dyspepsia over 60 → endoscopy. Long-standing reflux that suddenly turns to dysphagia is the classic stem, and the answer is never “increase the PPI”, “add an H₂ antagonist” or “reassure”. Where cancer is on the differential, the first investigation is upper endoscopy with biopsy — it sees the lesion and samples it in one sitting, while barium and manometry only describe it.
The age threshold differs between the two schools
Age alone, with no other alarm feature, is an indication for endoscopy at 60 in the American guidance (ACG/AGA) and at 55 in the British (NICE). This book uses 60, because the licensing examination follows the American sources — but a stem written to the British threshold will place a 56-year-old with isolated dyspepsia in the endoscopy arm. The rest of the list does not move: any alarm symptom at any age ends the medical trial.
3Achalasia
The defect: failure of the lower oesophageal sphincter to relax, with absent peristalsis in the body — so food sits in a dilated oesophagus above a tight sphincter.
Recognising it
- Dysphagia to solids and liquids from the outset, often worse with stress
- Regurgitation of undigested food, nocturnal cough and aspiration
- Retrosternal discomfort; weight loss is late and modest, unlike cancer
- Barium swallow: the bird’s beak — a smoothly tapering distal oesophagus with dilatation above
Confirming it
| Confirmatory test | Oesophageal manometry — high-resolution |
| Endoscopy | Mandatory, and the main aim of investigation: to exclude pseudoachalasia from a tumour at the cardia, which looks identical on barium |
| Treatment | Role |
| Pneumatic (balloon) dilatation | Definitive, endoscopic |
| Heller cardiomyotomy | Definitive, surgical — and the answer when conservative treatment has failed. POEM is the newer endoscopic equivalent |
| Calcium channel blockers, nitrates | Temporising only, for a patient unfit for definitive treatment |
| Botulinum toxin injection | Temporising only; the effect wears off |
Why the myotomy always comes with a wrap
Dividing the sphincter abolishes the antireflux barrier, so a Heller myotomy is paired with a partial fundoplication — Dor anterior or Toupet posterior. A full Nissen wrap is deliberately avoided: it would obstruct an oesophagus that can no longer peristalse.
The complication of dilatation is perforation
Retrosternal pain and dyspnoea after an oesophageal dilatation is a perforation until proven otherwise. A significant or septic thoracic perforation needs surgical drainage and repair — not a stent, not parenteral feeding, and certainly not an oesophagectomy.
4Reflux, Barrett’s and the hiatus hernia
Managing reflux
- Lifestyle modification is a fundamental part of treatment, not an afterthought: weight loss, raising the head of the bed, avoiding late or large meals, stopping smoking and alcohol
- Proton pump inhibitor alongside it
- 24-hour pH monitoring is the most appropriate investigation — and is required before any antireflux operation
- Manometry is done before surgery too, to check the oesophagus can still peristalse
When reflux needs an operation
A floppy Nissen (360°) or a Toupet partial wrap, once pH monitoring has proved acid exposure and manometry has shown adequate peristalsis.
An incarcerated para-oesophageal hernia
Epigastric pain and vomiting with a nasogastric tube that will not pass is an incarcerated para-oesophageal hernia. It is surgical: reduce the hernia, repair the defect, place a mesh.
Barrett’s oesophagus
| Point | Answer |
| The cellular change | Metaplasia — squamous to intestinal-type columnar. Not dysplasia, not hyperplasia, not hypertrophy |
| Why it matters | It is the precursor of adenocarcinoma of the lower third |
| Prolonged reflux + barium showing ulcers with overriding edges | Adenocarcinoma arising on Barrett’s |
| High-grade dysplasia | Pre-malignant with a high rate of progression or coexisting cancer → definitive treatment, not surveillance: endoscopic resection or ablation, and oesophagectomy in selected patients |
| The cancer-preventive procedure | Endoscopic submucosal resection of the Barrett’s segment |
5Oesophageal cancer
The two cell types
| Squamous cell | The commonest type overall; upper and middle thirds. Risk: alcohol and smoking |
| Adenocarcinoma | Lower third, on Barrett’s. Risk: reflux, obesity |
Presentation is progressive dysphagia, solids before liquids, with marked weight loss — and often anaemia or occult bleeding. Palpable cervical nodes mean the diagnosis is no longer in doubt.
The barium signs, side by side
| Shouldering and rat tail | Oesophageal cancer |
| Bird’s beak | Achalasia |
| Apple core | Colonic carcinoma |
| Soup dish | A benign gastric ulcer crater |
Definitive diagnosis — endoscopy and biopsy. Staging — CT chest and abdomen. Curative treatment — trans-hiatal total oesophagectomy. Metastatic disease — palliation with a stent, or a bypass.
6The torn and the perforated oesophagus
| Boerhaave’s syndrome | Mallory–Weiss tear |
| Depth | Full thickness rupture | Mucosal tear only |
| Site | Distal left posterolateral oesophagus | Gastro-oesophageal junction |
| Trigger | Violent vomiting or retching | Forceful vomiting, often after alcohol |
| Presentation | Mackler’s triad: vomiting + chest pain + subcutaneous emphysema. Hamman’s crunch; reduced breath sounds and an effusion in the left lower chest | Haematemesis after a bout of retching, in an otherwise well patient |
| Diagnosis | Water-soluble (gastrografin) contrast swallow + CT chest | Endoscopy |
| Management | Resuscitate, nil by mouth, broad-spectrum antibiotics and antifungal cover; surgical repair and drainage for a large or septic perforation, a covered stent or clip for a small contained one | Conservative — most settle on their own |
The third cause is iatrogenic: perforation after dilatation, endoscopy or ERCP. A duodenal perforation after ERCP is retroperitoneal, so its air tracks upward and shows as subcutaneous emphysema in the neck.
7Peptic ulcer disease
The two causes that matter: Helicobacter pylori and NSAIDs — with steroids and antiplatelets adding risk.
The two named stress ulcers
| Curling’s | After a major burn — the mechanism is reduced gastric perfusion (splanchnic hypoperfusion), not excess acid |
| Cushing’s | After head injury or raised intracranial pressure — vagally driven acid hypersecretion |
Eradicating H. pylori
| Diagnosis | Urea breath test |
| First line | Triple therapy, 14 days: PPI + clarithromycin + amoxicillin (metronidazole if penicillin-allergic) |
| After clarithromycin failure | Bismuth quadruple therapy: PPI + bismuth subcitrate + tetracycline + metronidazole, 14 days. Do not simply repeat clarithromycin |
| Confirming cure | Urea breath test at least 4 weeks after treatment |
A gastric ulcer that will not heal is cancer
Eight weeks of full medical therapy and the ulcer is still there → endoscopy with multiple biopsies, not a gastrectomy and not another course of tablets. A non-healing gastric ulcer is malignant until proven otherwise.
Two other ulcer pictures recur in examinations. Zollinger–Ellison: multiple ulcers in unusual sites — the distal duodenum and proximal jejunum — failing full therapy, with a gastrin above 1,000 pg/mL or a positive secretin test. Ménétrier’s disease: grossly hypertrophied gastric rugae with a low serum albumin — a protein-losing gastropathy, not an ulcer at all.
8The three complications of an ulcer
Perforation
Sudden severe epigastric pain · a rigid, board-like abdomen · absent bowel sounds · free air under the diaphragm on an erect chest X-ray (seen in about 70–80%). If the film is equivocal, CT. If the patient cannot sit up, a left lateral decubitus film.
- Resuscitate — nil by mouth, nasogastric tube, IV fluids, IV proton pump inhibitor, antibiotics, analgesia
- Then laparotomy: simple closure with an omental (Graham) patch and peritoneal washout
- Follow with H. pylori eradication. Definitive acid-reducing surgery is rarely needed today — Billroth I, gastrojejunostomy and vagotomy are the decoys
Bleeding
| Step | Answer |
| Frequency | Peptic ulcer is the commonest cause of significant upper GI bleeding. A raised urea : creatinine ratio reflects digested blood from above |
| First action | Resuscitate, then upper GI endoscopy — diagnostic and therapeutic |
| After endoscopic haemostasis with high-risk stigmata | High-dose IV PPI infusion for 72 hours — the peak rebleeding window — then oral |
| Endoscopy fails, frail patient | Oversewing of the bleeding point |
| Multiple antral ulcers, refractory bleeding | Partial distal gastrectomy (antrectomy), removing the ulcer-bearing area |
Gastric outlet obstruction
Long-standing duodenal ulcer, now vomiting undigested food, anorexia and weight loss, with a succussion splash. Scarring and fibrosis of the duodenum is the mechanism. Vomiting hydrochloric acid produces a hypochloraemic, hypokalaemic metabolic alkalosis with paradoxical aciduria — and the alkalosis lowers ionised calcium enough to cause carpopedal spasm. Correct the fluids and electrolytes first, then relieve the obstruction with a pyloroplasty or gastrojejunostomy.
9Ulcer surgery and what follows it
The vagotomies
| Truncal vagotomy | Denervates the pylorus, so it must be paired with a drainage procedure — pyloroplasty or gastroenterostomy — to let the stomach empty |
| Highly selective (parietal cell) | Cuts acid secretion while sparing the pylorus: no drainage procedure, and no diarrhoea or dumping |
The reconstructions
| Billroth I | Stomach to duodenum |
| Billroth II | Stomach to jejunum, leaving an afferent limb |
| Roux-en-Y | The salvage reconstruction when a Billroth II goes wrong |
| Late problem | Recognise it by | Do |
| Early dumping | ~30 minutes after a meal: sweating, palpitations, dizziness — hypovolaemia as hypertonic chyme pulls fluid into the small bowel | Diet modification first: small, frequent, low-carbohydrate meals |
| Late dumping | 2–3 hours after a meal: sweating, tremor, confusion, relieved by sugar — reactive hypoglycaemia from rapid glucose absorption and an insulin surge |
| Afferent loop obstruction | Days after a Billroth II: continuous bilious vomiting containing no food — the obstructed limb carries bile alone | Roux-en-Y reconstruction |
| Nutritional deficiency | Loss of intrinsic factor and acid | Lifelong vitamin B12, with iron, calcium and vitamin D |
10Gastric tumours
| Tumour | Recognise it by | Treatment |
| Adenocarcinoma | Epigastric pain, weight loss, early satiety; Virchow’s node in the left supraclavicular fossa (Troisier’s sign); ascites | Upper GI endoscopy and biopsy first, then CT and staging laparoscopy. Resection if localised |
| Linitis plastica | Diffuse infiltration thickening the whole wall — the rigid leather-bottle stomach. An aggressive carcinoma, not fibrosis from an ulcer | Usually advanced at diagnosis |
| GIST | A submucosal mass; arises from the interstitial cells of Cajal | Wedge or wide local excision with clear margins. No lymphadenectomy — GISTs rarely go to nodes. Imatinib for high-risk or unresectable disease |
| MALT lymphoma | Found at endoscopy in an H. pylori-positive stomach | Eradicate H. pylori — most regress. Surgery is wrong |
| Gastric non-Hodgkin lymphoma | Anorexia, vomiting of blood; biopsy gives the diagnosis | Chemotherapy and radiotherapy — not primary surgery |
How the stomach reaches the neck
Gastric adenocarcinoma reaches the left supraclavicular node along the thoracic duct. That is also why unexplained iron-deficiency anaemia in an adult is investigated with both upper endoscopy and colonoscopy — bidirectional endoscopy — rather than one or the other.
11Bariatric surgery
Choosing the patient
| Indication | BMI ≥ 40, or ≥ 35 with a weight-related comorbidity |
| BMI 30, no comorbidity | Lifestyle modification — not an operation |
| Absolute contraindication | Alcohol or drug misuse, and untreated psychiatric illness: the follow-up cannot be kept |
| Before operating | Upper GI endoscopy — it finds the reflux, hiatus hernia and H. pylori that decide which operation |
Choosing the operation
- Reflux or a hiatus hernia → Roux-en-Y gastric bypass, because a sleeve makes reflux worse
- Mechanisms: restriction, reduced ghrelin once the fundus is gone, and malabsorption after a bypass
- Expect 50–80% of excess body weight lost; the phases run loss → plateau → maintenance → possible regain
High-yield: the sick patient after bariatric surgery
Persistent tachycardia is the earliest sign of a leak — before the fever, before the pain. A leak appears on days 3 to 7 with left upper quadrant or left shoulder-tip pain. Stable → CT abdomen with oral and IV contrast to localise it; unstable → straight to theatre for diagnostic exploration. And the leading cause of death after bariatric surgery is pulmonary embolism, which is why prophylaxis is not optional.
| Later problem | Picture | Do |
| Stricture at the incisura | About 2 weeks after a sleeve: persistent vomiting, unable to tolerate oral intake, otherwise well | Endoscopy and dilatation |
| Marginal ulcer | Years after a bypass: recurrent epigastric pain with a little haematemesis, usually a smoker | PPI, sucralfate, analgesia and upper GI endoscopy |
| Internal hernia | Colicky pain with obstruction after a bypass | CT with oral and IV contrast |
| Nutritional | Lifelong after any bypass or gastrectomy | B12, iron, calcium, vitamin D, folate |
Beyond the examination
On total parenteral nutrition, electrolytes and glucose are checked daily at first, but liver function tests and a lipid panel go weekly — looking for the cholestasis, steatosis and hypertriglyceridaemia that TPN causes. Watch for refeeding syndrome in the malnourished: phosphate, potassium and magnesium fall as feeding starts.