Surgery chapters
Liver: abscess, hydatid cyst, tumours and portal hypertension
Surgical anatomy of the liver, pyogenic and amoebic liver abscess, hydatid disease, liver cysts, benign and malignant liver tumours, Child-Pugh scoring, and the management of portal hypertension and bleeding varices.
- Amoebic liver abscess (young man, single, right lobe, "anchovy sauce" pus) responds to metronidazole; pyogenic abscess (elderly, diabetic, biliary source, E. coli, Klebsiella, Strep. milleri) needs antibiotics plus ultrasound-guided aspiration or drainage.
- Hydatid cyst (Echinococcus granulosus, dog host) shows daughter cysts and a floating membrane on imaging; treat with albendazole plus PAIR or surgery, using hypertonic saline to kill scolices and avoiding spillage.
- Portal hypertension is mostly from cirrhosis; bleeding varices need resuscitation, terlipressin or octreotide, antibiotics and endoscopic band ligation, then TIPSS if bleeding persists; HCC arises in cirrhosis (HBV, HCV) and is followed with AFP and imaging.
On this page
Overview
Liver surgery questions in PGET cluster around infections common in Pakistan (amoebic abscess, hydatid cyst), the solid liver lump (benign vs malignant) and portal hypertension with bleeding varices. Knowing the segmental anatomy explains how resections are planned.
Surgical anatomy
- Couinaud divided the liver into eight functional segments, each with its own portal pedicle (portal vein, hepatic artery, bile duct) and hepatic vein drainage.
- Cantlie's line (gallbladder fossa to IVC, along the middle hepatic vein) divides the functional right liver (V-VIII) from the left liver (II-IV). Segment I (caudate lobe) drains straight into the IVC, so it is spared in Budd-Chiari syndrome and enlarges.
- Blood supply: mostly from the portal vein, the rest from the hepatic artery, which is the main supply of the bile ducts.
- Pringle manoeuvre: clamping the hepatoduodenal ligament (portal vein and hepatic artery) through the epiploic foramen to control bleeding. Bleeding that continues points to hepatic vein or IVC injury.
- Anatomical variants: a replaced right hepatic artery from the SMA, and an extra left hepatic branch arising from the left gastric, are each common.
Liver abscess
| Feature | Amoebic abscess | Pyogenic abscess |
|---|---|---|
| Cause | Entamoeba histolytica from the colon via the portal vein | Bacteria via biliary tree (gallstones, cholangitis, commonest known source), portal vein (appendicitis, diverticulitis), blood, direct spread; often no cause found |
| Patient | Young adult man, endemic area, poor sanitation; history of dysentery in a minority | Elderly, diabetic, immunosuppressed, biliary disease or malignancy |
| Number and site | Usually single, right lobe (posterosuperior) | Often multiple, may be multiloculated |
| Pus | "Anchovy sauce", odourless, usually sterile; amoebae found in the wall | Foul pus; E. coli, Klebsiella, Streptococcus milleri, anaerobes |
| Tests | Amoebic serology positive | Blood cultures, aspirate culture |
| Treatment | Metronidazole (400-800 mg three times daily for 7-10 days), then a luminal agent such as diloxanide furoate | IV antibiotics (for example a cephalosporin plus metronidazole) plus ultrasound- or CT-guided aspiration or drainage; treat the source |
Clinical features (both): fever with rigors, right upper quadrant pain, tender enlarged liver, intercostal tenderness, sometimes right shoulder pain, cough and a right basal effusion; jaundice is uncommon in amoebic abscess.
Investigations:
- Ultrasound is the first and best initial test; CT for multiple or complex abscesses.
- Raised white cell count, ALP; chest X-ray shows a raised right hemidiaphragm and effusion.
When to aspirate an amoebic abscess:
- No improvement after a few days of metronidazole.
- Large abscess at risk of rupture, or left lobe abscess (risk of rupture into the pericardium).
- Diagnosis in doubt (to exclude pyogenic abscess).
Complications: rupture into the pleura (empyema), lung (anchovy sauce sputum, hepatobronchial fistula), peritoneum, or pericardium (left lobe); secondary infection.
An amoebic abscess is treated medically first. Most do not need drainage, unlike a pyogenic abscess.
Hydatid disease of the liver
- Caused by the larval stage of Echinococcus granulosus. Dogs are the definitive host; sheep are the usual intermediate host; humans are accidental intermediate hosts after swallowing eggs.
- Common in sheep-rearing areas, including parts of Pakistan (Balochistan, northern areas).
- The liver (mostly right lobe) is the commonest site, then the lung.
Cyst structure: outer pericyst (host fibrous layer), the parasite's laminated ectocyst, and the inner germinal layer (endocyst) that buds daughter cysts and scolices ("hydatid sand").
Clinical features: often found by chance; RUQ mass or discomfort. Complications:
- Rupture into bile ducts: obstructive jaundice, cholangitis, biliary colic (daughter cysts block the duct).
- Rupture into the peritoneum (after minor trauma): anaphylaxis and spread of daughter cysts.
- Rupture through the diaphragm into the pleura or bronchus; secondary infection (abscess).
Investigations:
- Ultrasound and CT: cyst with daughter cysts, wall calcification, and a detached floating membrane ("water lily sign").
- Serology (ELISA) supports the diagnosis; eosinophilia in some.
- Do not do a diagnostic aspiration outside a planned PAIR procedure (anaphylaxis, spillage).
Treatment:
- Albendazole (or mebendazole): alone for small or inoperable cysts, and as cover before and after any procedure.
- PAIR: Puncture, Aspiration, Injection of a scolicidal agent (20% hypertonic saline), Re-aspiration, under ultrasound guidance with albendazole cover. Not used if the cyst communicates with the biliary tree (risk of sclerosing cholangitis).
- Surgery: deroofing and evacuation of the cyst (conservative) or pericystectomy/liver resection (radical). Pack the field with hypertonic saline-soaked swabs, inject scolicide before opening, look for and suture bile leaks, and fill the cavity with omentum (omentoplasty).
- Daughter cysts in the bile duct are cleared by ERCP.
- Calcified cysts are often dead and can be watched.
Never aspirate a suspected hydatid cyst casually: spillage risks anaphylaxis and peritoneal seeding.
Liver cysts
- Simple cysts: common, usually solitary, women; leave alone unless symptomatic; laparoscopic deroofing.
- Polycystic liver disease: autosomal dominant; about half also have polycystic kidneys.
- Caroli disease: congenital dilatation of the intrahepatic ducts with stones, cholangitis and a risk of cholangiocarcinoma.
Benign liver tumours
| Tumour | Key points | Treatment |
|---|---|---|
| Haemangioma | Commonest liver tumour; often found by chance; CT or MRI shows peripheral nodular enhancement filling in slowly; do not biopsy (bleeding) | None, unless large and clearly symptomatic |
| Hepatic adenoma | Women aged 25-50 on the oral contraceptive pill (also anabolic steroids, glycogen storage disease); can bleed or rupture; small risk of turning into HCC | Stop the pill; resect if larger than 5 cm, bleeding or in men |
| Focal nodular hyperplasia (FNH) | Middle-aged women; hypervascular lump with a central stellate scar; contains Kupffer cells; no malignant potential | None once diagnosed |
Malignant liver tumours
Metastases
Secondary tumours are the commonest malignant liver tumours, mainly from the colon and rectum, stomach, pancreas, breast and lung.
- Liver metastases from bowel (colon and rectal) cancer can be cured by resection in selected patients when all disease can be removed with a clear (R0) margin and enough healthy liver is left (a future liver remnant of at least about 25% in a normal liver).
- Perioperative chemotherapy is usual and can convert some unresectable cases to resectable.
- Ablation (radiofrequency or microwave) for small lesions or unfit patients.
Hepatocellular carcinoma (HCC)
Risk factors: chronic hepatitis B (more than half of cases worldwide; can cause HCC without cirrhosis), hepatitis C (common in Pakistan), cirrhosis of any cause (alcohol, NAFLD, haemochromatosis), aflatoxin (moulds on stored grain and nuts), obesity and diabetes.
Clinical features: often found on surveillance of cirrhotics; otherwise RUQ pain, weight loss, a hard knobbly liver with a bruit, worsening of liver function, ascites, or bloody ascites after rupture.
Investigations:
- Alpha-fetoprotein (AFP): raised in most; with 6-monthly ultrasound used to screen cirrhotics.
- Triple-phase CT or MRI: arterial phase enhancement with washout in the portal venous phase is diagnostic in a cirrhotic liver, so biopsy is often unnecessary (and risks seeding).
- Fibrolamellar HCC: young patients, no cirrhosis, normal AFP, better prognosis.
Treatment depends on tumour stage and liver function (Barcelona staging):
| Situation | Treatment |
|---|---|
| Single tumour, good liver function (Child-Pugh A), no significant portal hypertension | Liver resection (anatomical) |
| Small tumours within Milan criteria (one up to 5 cm, or up to three each up to 3 cm) with poor liver function | Liver transplantation (treats tumour and cirrhosis) |
| Small tumour, unfit for surgery | Radiofrequency or microwave ablation |
| Multinodular, intermediate stage | Transarterial chemoembolisation (TACE) |
| Advanced (vascular invasion, spread) | Systemic therapy (sorafenib; newer immunotherapy combinations) |
| Child-Pugh C, poor performance status | Supportive care |
Cholangiocarcinoma is covered in the bile duct chapter. Other primary tumours (angiosarcoma from vinyl chloride, hepatoblastoma in children) are rare.
Assessing liver function before surgery: Child-Pugh
| Measure | 1 point | 2 points | 3 points |
|---|---|---|---|
| Bilirubin (µmol/L) | below 34 | 34-50 | above 50 |
| Albumin (g/L) | above 35 | 25-35 | below 25 |
| INR | below 1.7 | 1.7-2.2 | above 2.2 |
| Ascites | Absent | Mild, controlled | Tense or refractory |
| Encephalopathy | None | Grade I-II | Grade III-IV |
Class A = 5-6, B = 7-9, C = 10-15. Surgical mortality rises with class, roughly 10% for A, 30% for B and 75-80% for C. The MELD score (bilirubin, INR, creatinine) is used to prioritise transplantation.
Bilirubin 40 µmol/L (2), albumin 30 g/L (2), INR 1.5 (1), mild ascites controlled with diuretics (2), no encephalopathy (1)
Total = 2 + 2 + 1 + 2 + 1 = 8 → Child-Pugh class B
Portal hypertension
Definition: a rise in portal venous pressure (hepatic venous pressure gradient above about 10 mmHg is clinically significant), producing portosystemic collaterals.
Causes
| Level | Causes |
|---|---|
| Prehepatic | Portal vein thrombosis (in children often after umbilical sepsis or umbilical vein catheterisation; extrahepatic portal vein obstruction), splenic vein thrombosis (pancreatitis, pancreatic cancer) |
| Intrahepatic | Cirrhosis (commonest overall: HBV, HCV, alcohol, NAFLD), schistosomiasis (presinusoidal; commonest worldwide in endemic areas), non-cirrhotic portal fibrosis |
| Posthepatic | Budd-Chiari syndrome (hepatic vein thrombosis), constrictive pericarditis, right heart failure |
Portosystemic collateral sites
| Site | Portal side | Systemic side | Result |
|---|---|---|---|
| Lower oesophagus | Left gastric vein | Azygos (oesophageal) veins | Oesophageal varices |
| Umbilicus | Paraumbilical veins | Superior and inferior epigastric veins | Caput medusae |
| Anorectum | Superior rectal vein | Middle and inferior rectal veins | Anorectal varices |
| Retroperitoneum | Colonic veins | Lumbar and renal veins | Retroperitoneal collaterals |
Features: splenomegaly with hypersplenism (low platelets and white cells), ascites, variceal bleeding, encephalopathy.
In extrahepatic portal vein obstruction (a child with a past umbilical infection), the liver is normal: there is massive haematemesis and splenomegaly but no jaundice, ascites or encephalopathy, and bleeds are well tolerated.
Acute variceal bleeding
- Resuscitate: two large cannulae, blood transfusion to a cautious target (over-transfusion raises portal pressure), correct clotting (vitamin K, FFP), platelets if very low, protect the airway (intubate if encephalopathic or bleeding heavily).
- Vasoactive drug: terlipressin (or octreotide/somatostatin) started before endoscopy.
- Prophylactic antibiotics (for example ceftriaxone or a quinolone): reduce infection, rebleeding and death.
- Urgent endoscopy once stable: band ligation is preferred over sclerotherapy for oesophageal varices; cyanoacrylate glue for gastric varices. Remember that about half of cirrhotic patients who bleed have a non-variceal source.
- Uncontrolled bleeding: balloon tamponade (Sengstaken-Blakemore or Minnesota tube) as a short-term bridge, or a covered oesophageal stent.
- Rescue: TIPSS (transjugular intrahepatic portosystemic stent shunt) between a hepatic vein and the portal vein.
- Prevent encephalopathy: lactulose.
TIPSS: decompresses the portal system; complications are encephalopathy and shunt stenosis; main contraindication is portal vein occlusion. Also used for refractory ascites and Budd-Chiari syndrome.
Preventing bleeding
- Primary prophylaxis (large varices, never bled): non-selective beta-blocker (propranolol, carvedilol) or band ligation.
- Secondary prophylaxis (after a bleed): beta-blocker plus repeated band ligation until varices are gone; TIPSS for recurrent bleeding.
- Surgery (rare now): portosystemic shunts (non-selective portocaval; selective distal splenorenal (Warren) shunt, less encephalopathy), and devascularisation operations (oesophagogastric devascularisation with splenectomy, Sugiura type) where TIPSS or transplantation is unavailable.
- Liver transplantation treats the underlying cirrhosis.
Left-sided (sinistral) portal hypertension: splenic vein thrombosis (usually from pancreatitis) gives isolated gastric fundal varices with normal liver function; splenectomy cures it.
Variceal bleed = "ABCs, Terlipressin, Antibiotics, Bands, then TIPSS."
Budd-Chiari syndrome
- Obstruction of hepatic venous outflow: hepatic vein thrombosis (myeloproliferative disease, thrombophilia, OCP, pregnancy) or IVC webs.
- Acute: abdominal pain, tender hepatomegaly and rapidly developing ascites; caudate lobe enlarges.
- Doppler ultrasound, CT or MRI venography.
- Anticoagulation, angioplasty or stenting, TIPSS, transplantation for failure.
Expect: amoebic vs pyogenic abscess (anchovy sauce pus, right lobe, metronidazole; aspiration indications such as left lobe or large size); organisms and drainage in pyogenic abscess; hydatid life cycle, water lily sign, albendazole, PAIR with hypertonic saline and its contraindication (biliary communication); haemangioma as the commonest benign tumour, adenoma with the oral contraceptive pill, FNH central scar; HCC risk factors, AFP and treatment options; Child-Pugh components and classes; causes of portal hypertension (EHPVO in children); collateral sites; management of variceal bleeding (terlipressin or octreotide, antibiotics, banding, Sengstaken tube, TIPSS); sinistral portal hypertension.
Quick revision
- Amoebic abscess: young man, single, right lobe, anchovy sauce, sterile pus, metronidazole; aspirate if large, left lobe or not settling.
- Pyogenic abscess: elderly diabetic, biliary source, Strep. milleri, E. coli, Klebsiella; antibiotics plus drainage.
- Hydatid: Echinococcus granulosus, dog host; water lily sign; albendazole plus PAIR or surgery; hypertonic saline; avoid spill.
- Haemangioma: commonest, leave. Adenoma: pill, resect over 5 cm. FNH: central scar, leave.
- HCC: HBV, HCV, cirrhosis, aflatoxin; AFP; resection, transplant, ablation, TACE, systemic therapy.
- Child-Pugh: bilirubin, albumin, INR, ascites, encephalopathy; A 5-6, B 7-9, C 10-15.
- Varices: terlipressin, antibiotics, band ligation, Sengstaken bridge, TIPSS; beta-blocker plus banding to prevent rebleeding.
Written by The House Job from standard references (Bailey & Love).
FAQ
Does every amoebic liver abscess need drainage?
No. Most settle on metronidazole alone; aspiration is kept for large or left lobe abscesses, failure to improve, or diagnostic doubt.
Why is hypertonic saline used in hydatid surgery?
It kills the scolices in the cyst and in any spilled fluid, reducing the risk of secondary hydatid seeding in the peritoneum.
What is the commonest benign tumour of the liver?
Haemangioma; it is usually found by chance and rarely needs treatment.
Which drug is given before endoscopy in suspected variceal bleeding?
A splanchnic vasoconstrictor such as terlipressin or octreotide, together with prophylactic antibiotics.
What causes portal hypertension in a child with a normal liver?
Usually extrahepatic portal vein obstruction from portal vein thrombosis, often after neonatal umbilical sepsis or umbilical vein catheterisation.