For education and revision only. Not individual medical advice; check current NICE/BNF and local guidance before clinical use.

MAKINDO MEDICINE · Surgery137 / 290

Surgery: Upper GI, hepatobiliary and bariatric surgery

🍽️ Upper GI, hepatobiliary and bariatric surgery - page 4 of the Surgery chapter. This covers the surgical side of the oesophagus, stomach, gallbladder, bile ducts, pancreas, liver and spleen, plus obesity surgery. The commonest problems are gallstones (colic, cholecystitis, cholangitis, pancreatitis); the most important not to miss are upper GI cancers, which present with dysphagia, weight loss and painless jaundice. Medical management of these organs is in the Gastroenterology chapters; acute pancreatitis is on the Acute Abdomen page.
Your four questions for every patient: Are there red flags for cancer (dysphagia, weight loss, anaemia, jaundice, a mass)? Is this a biliary emergency (cholecystitis, cholangitis) needing antibiotics and drainage? Does the patient need endoscopy, imaging or an MDT decision? Is the patient fit and nourished enough for major surgery?


Dysphagia - The Surgical Approach
Reflux and Hiatus Hernia Surgery
Barrett's Oesophagus and Achalasia
Oesophageal Cancer
Oesophageal Perforation and Foreign Bodies
Peptic Ulcer Complications
Gastric Cancer and Other Gastric Tumours
Life After Gastrectomy
Obesity Surgery
Complications of Bariatric Surgery
Gallstones and Biliary Colic
Illustration accompanying Gallstones and biliary colic in Makindo Topics
Gallstones and biliary colicSource: Makindo Topics · 3017
Acute Cholecystitis
Illustration accompanying Acute Cholecystitis in Makindo Topics
Acute CholecystitisSource: Makindo Topics · 60
Bile Duct Stones and Cholangitis
Cholecystectomy and Its Complications
Obstructive Jaundice
Pancreatic Cancer and Other Pancreatic Tumours
Liver Lumps, Abscesses and Tumours
LesionKey points
HaemangiomaThe commonest benign liver lesion; usually incidental; typical appearance on imaging; no treatment
Focal nodular hyperplasiaBenign; young women; central scar on imaging; no treatment usually
Hepatocellular adenomaYoung women on the combined pill, anabolic steroid users; risk of bleeding and (rarely) malignant change - stop oestrogen; resect if large (over about 5 cm) or in men
Simple cystsCommon, harmless; polycystic liver disease with ADPKD
Hydatid cystEchinococcus - sheep-farming areas; complex cyst with daughter cysts; albendazole plus surgery or drainage (risk of anaphylaxis if spilled)
Pyogenic liver abscessFever, RUQ pain, raised inflammatory markers; source often biliary or abdominal (diverticulitis, appendicitis); organisms - E. coli, Klebsiella (diabetes; East Asian patients; can spread to eyes and brain), Streptococcus anginosus group (look for a colonic source), anaerobes; percutaneous drainage plus prolonged antibiotics (several weeks)
Amoebic liver abscessTravel history; metronidazole (see the Viral, Fungal and Parasitic Infections page)
Liver metastasesThe commonest liver malignancy - colorectal, breast, lung, pancreas, stomach, neuroendocrine; colorectal liver metastases can be cured by resection in selected patients (with chemotherapy)
Hepatocellular carcinomaUsually in cirrhosis (alcohol, MASLD, hepatitis B and C, haemochromatosis) or chronic hepatitis B; 6-monthly ultrasound surveillance (± AFP) in cirrhosis; diagnosis on contrast CT or MRI (often without biopsy); treatment - resection, liver transplant (if within size criteria), ablation, TACE (chemoembolisation), systemic therapy (immunotherapy combinations)
CholangiocarcinomaBile duct cancer - PSC (with ulcerative colitis), liver flukes (Asia), choledochal cysts; painless jaundice, weight loss, itch; hilar (Klatskin) tumours; resection if possible; stents and chemotherapy for most
Gallbladder cancerOlder women with long-standing gallstones, porcelain gallbladder, large polyps (over 1 cm - cholecystectomy)
Liver Transplantation
Splenic Surgery
Upper GI and HPB at a Glance
ConditionKey cluesKey testManagement
Oesophageal cancerProgressive dysphagia, weight lossUrgent OGD, CT, PETNeoadjuvant therapy + oesophagectomy, or stent
AchalasiaDysphagia to solids and liquids, regurgitationManometry, barium swallowDilatation, Heller myotomy, POEM
Boerhaave'sVomiting, chest pain, surgical emphysemaCT with oral contrastNBM, antibiotics, antifungals, repair or stent
Gastric outlet obstructionVomiting undigested food, succussion splash, alkalosisOGDNG, saline + K, dilate or bypass
Gastric cancerDyspepsia, weight loss, Virchow's nodeOGD, CT, laparoscopyPerioperative chemo + gastrectomy
Biliary colicPost-prandial RUQ pain under 6 hours, no feverUltrasoundElective laparoscopic cholecystectomy
Acute cholecystitisConstant RUQ pain, fever, Murphy's signUltrasoundAntibiotics, cholecystectomy within 1 week
CholangitisFever, jaundice, RUQ pain (± confusion, shock)Ultrasound, MRCPAntibiotics + urgent ERCP
Pancreatic head cancerPainless jaundice, palpable gallbladder, weight lossCT pancreas protocol, CA19-9Whipple's if resectable; stent, chemo, PERT
Pyogenic liver abscessFever, RUQ pain, biliary or colonic sourceUS or CTDrainage + weeks of antibiotics
HCCCirrhosis, rising AFP, new liver lesionContrast CT or MRIResection, transplant, ablation, TACE
Splenic injuryLeft rib fractures, shoulder tip painCT (if stable)Observation or embolisation; splenectomy if unstable
Spot the Diagnosis
ClueDiagnosis
Older man regurgitating undigested food with gurgling and bad breathPharyngeal pouch
"Bird's beak" narrowing on barium swallowAchalasia
Can't belch after anti-reflux surgeryGas bloat after fundoplication
Chest pain, retching without vomiting and an NG tube that won't passGastric volvulus (paraoesophageal hernia)
Milky fluid from a chest drain after oesophagectomyChylothorax
Vomiting after a binge, chest pain and crackling in the neckBoerhaave's syndrome
Toddler swallowed a button battery that is in the oesophagusEmergency endoscopic removal
Projectile vomiting of food from the day before, K 2.8, bicarbonate 38Gastric outlet obstruction
Hard left supraclavicular node in a man with dyspepsia and weight lossGastric cancer (Troisier's sign)
Ovarian masses in a woman with a signet-ring cell gastric cancerKrukenberg tumours
Palpitations, flushing and diarrhoea 20 minutes after meals post-gastrectomyEarly dumping syndrome
Sweating and confusion 2 hours after meals post-bypassLate dumping - hypoglycaemia
Tachycardia of 120 on day 2 after sleeve gastrectomy, otherwise few signsPossible staple-line leak - urgent assessment
Confusion, ataxia and nystagmus after weeks of vomiting post-bypassWernicke's encephalopathy - IV thiamine
Bleeding ulcer at a bypass join in a smoker on ibuprofenMarginal ulcer
Fever, RUQ pain for 2 days, Murphy's sign, thickened gallbladder wallAcute cholecystitis
Very ill diabetic man with gas in the gallbladder wallEmphysematous cholecystitis
ICU patient on TPN with RUQ tenderness and a distended gallbladder without stonesAcalculous cholecystitis
Fever, rigors, jaundice, RUQ pain, confusion and BP 80/50Severe cholangitis (Reynolds' pentad) - urgent ERCP
Jaundice from a gallbladder neck stone compressing the hepatic ductMirizzi syndrome
Painless jaundice, weight loss and a palpable gallbladderPancreatic head cancer (Courvoisier's law)
New diabetes at 67 with weight loss and back painPossible pancreatic cancer
Liver lesion in a woman on the combined pill that bledHepatocellular adenoma
Liver abscess with Streptococcus anginosusLook for a colonic source
Painless jaundice in a man with ulcerative colitis and PSCCholangiocarcinoma
Left shoulder tip pain after a fall onto the left ribsSplenic injury (Kehr's sign)
Exam-style Scenarios

1. A 66-year-old man with long-standing reflux has 3 months of food sticking behind his lower sternum, now including soft foods, and has lost 8 kg.
Answer: Suspected oesophageal cancer (likely adenocarcinoma).

2. A 45-year-old woman has 2 days of constant right upper quadrant pain, fever of 38.3°C and vomiting. Murphy's sign is positive. WCC 16, bilirubin normal. Ultrasound shows gallstones with a thickened wall and pericholecystic fluid.
Answer: Acute calculous cholecystitis.

3. A 76-year-old woman has fever, rigors, jaundice and right upper quadrant pain. She is confused, BP 84/50, lactate 4.1. Ultrasound shows a dilated common bile duct with a stone.
Answer: Severe acute cholangitis (Reynolds' pentad).

4. A 69-year-old man presents with painless jaundice, itch, dark urine and pale stools, 6 kg weight loss and new diabetes. His gallbladder is palpable and non-tender.
Answer: Suspected pancreatic head cancer.

5. A 37-year-old woman had a Roux-en-Y gastric bypass 18 months ago. She has vomited most meals for 4 weeks and now has confusion, unsteady gait and double vision.
Answer: Wernicke's encephalopathy from thiamine deficiency after bariatric surgery.

Key Points
Guidelines and Further Reading