Now synthesizing a comprehensive answer from retrieved content and clinical knowledge.
Hepatobiliary System: All Pathologies & Surgeries
ANATOMY OVERVIEW
The hepatobiliary system comprises:
- Liver (right lobe, left lobe, caudate lobe; Couinaud segments I–VIII)
- Biliary tree (intrahepatic ducts → right/left hepatic ducts → common hepatic duct → CBD)
- Gallbladder + cystic duct
- Extrahepatic bile ducts (common bile duct → ampulla of Vater)
- Pancreas (head closely associated — pancreaticoduodenal junction)
PART 1: GALLBLADDER PATHOLOGIES & SURGERY
1.1 Cholelithiasis (Gallstones)
| Feature | Details |
|---|
| Types | Cholesterol (80%), pigment (black/brown), mixed |
| Risk factors | 5 F's: Fat, Female, Forty, Fertile, Fair-skinned; rapid weight loss, TPN, hemolysis |
| Symptoms | Biliary colic (RUQ pain post-fatty meal), often asymptomatic |
| Diagnosis | USS (gold standard) — acoustic shadowing, mobile stones |
| Complications | Acute cholecystitis, choledocholithiasis, cholangitis, gallstone ileus, Mirizzi syndrome, Bouveret syndrome, gallbladder cancer |
Surgery: Laparoscopic Cholecystectomy (gold standard)
- 4-port technique; cystic artery and duct clipped and divided
- Critical View of Safety (CVS) must be achieved before dividing any structure (Bailey & Love, p. 14)
- Convert to open if: poor visualization, bleeding, unclear anatomy, suspected cancer
- Factors increasing difficulty: male sex, obesity, cirrhosis, chronic cholecystitis, previous abdominal surgery, cystic duct stones, anatomic variation, bilio-digestive fistula, limited experience (Prevention of BDI During Cholecystectomy, p. 14)
Open Cholecystectomy
- Kocher (subcostal) incision; indicated when laparoscopy is contraindicated or fails
1.2 Acute Cholecystitis
| Feature | Details |
|---|
| Pathophysiology | Cystic duct obstruction → bile stasis → mucosal ischemia → secondary infection |
| Signs | Murphy's sign, RUQ tenderness, fever, leukocytosis |
| Diagnosis | USS (thickened wall >4 mm, pericholecystic fluid, gallstones); HIDA scan if USS equivocal |
| Tokyo Guidelines grading | Grade I (mild), II (moderate), III (severe/organ dysfunction) |
| Management | IV antibiotics, analgesia; early laparoscopic cholecystectomy within 72 hours (superior to delayed) |
Complications requiring surgery:
- Gangrenous cholecystitis — emergent cholecystectomy
- Pericholecystic abscess — percutaneous drainage ± cholecystectomy
- Emphysematous cholecystitis — gas-forming organisms (Clostridium); high mortality, emergent surgery
- Cholecystocolic / cholecystoduodenal fistula — open surgical repair
1.3 Acalculous Cholecystitis
- Occurs in ICU patients, burns, major trauma, TPN
- Higher complication rate; treated with percutaneous cholecystostomy or cholecystectomy
1.4 Gallbladder Carcinoma
| Feature | Details |
|---|
| Risk factors | Gallstones, porcelain GB, anomalous pancreaticobiliary duct junction, chronic typhoid |
| Spread | Direct invasion of liver (segments IVb/V), lymphatics, peritoneum |
| Nevin staging / T staging | T1: mucosa/muscularis; T2: perimuscular; T3: serosa/single organ; T4: portal vein or ≥2 organs |
Surgical management by T stage:
- T1a (mucosa): Simple cholecystectomy curative
- T1b (muscularis): Simple cholecystectomy ± re-resection
- T2: Extended cholecystectomy — GB + 2 cm liver bed (segments IVb/V) + portal lymphadenectomy
- T3–T4: Radical resection (right hepatectomy + bile duct excision) if R0 achievable; otherwise palliative
1.5 Cholangitis (Acute)
- Charcot's triad: Fever + RUQ pain + Jaundice
- Reynolds' pentad (severe): + Shock + Altered consciousness
- Pathophysiology: Biliary obstruction (stone, stricture, malignancy) → bacterial overgrowth → bacteremia
- Management: IV antibiotics + urgent biliary decompression
- ERCP with sphincterotomy (first-line for CBD stones)
- Percutaneous transhepatic cholangiography (PTC) if ERCP fails
- Open CBD exploration (rarely needed)
1.6 Choledocholithiasis (CBD Stones)
- Primary (brown pigment — bile stasis/infection) vs Secondary (passed from GB)
- Investigations: LFTs (↑ ALP, bilirubin), USS, MRCP (non-invasive, gold standard for diagnosis)
- Management:
- ERCP + sphincterotomy + stone extraction (first line)
- Laparoscopic CBD exploration (LCBDE) — simultaneous with cholecystectomy
- Open CBD exploration (choledochotomy) with T-tube drainage — if endoscopic/laparoscopic approach fails
1.7 Mirizzi Syndrome
- External compression of CHD by a stone in the Hartmann's pouch/cystic duct
- Type I: External compression only
- Type II–IV: Cholecystocholedochal fistula (increasing size)
- Surgery: Cholecystectomy ± biliary reconstruction (hepaticojejunostomy)
1.8 Gallstone Ileus
- Large stone erodes through GB wall into duodenum (cholecystoduodenal fistula) → impacts at terminal ileum (most common) or Treitz (Bouveret syndrome — gastric outlet obstruction)
- Rigler's triad on AXR: pneumobilia + small bowel obstruction + ectopic calcified stone
- Surgery: Enterolithotomy ± cholecystectomy (one-stage vs two-stage)
PART 2: BILE DUCT PATHOLOGIES & SURGERY
2.1 Bile Duct Injury (BDI)
Incidence: 0.1–0.5% in laparoscopic cholecystectomy
Strasberg Classification:
| Type | Description |
|---|
| A | Bile leak from minor ducts (cystic duct/ducts of Luschka) |
| B | Occlusion of aberrant R duct |
| C | Transection of aberrant R duct without ligation |
| D | Lateral injury to extrahepatic duct |
| E1–E5 | Complete transection at various levels (Bismuth I–V) |
Management:
- Early recognition: primary repair over T-tube if <24 hrs and clean field
- Delayed/complex injury: Roux-en-Y hepaticojejunostomy (gold standard reconstruction)
- Bismuth IV–V: May require partial hepatectomy + biliary reconstruction
2.2 Biliary Strictures
- Benign: Post-operative (BDI), PSC, chronic pancreatitis, radiation
- Malignant: Cholangiocarcinoma, pancreatic head cancer, gallbladder cancer
Management:
- Benign: ERCP + balloon dilation + stenting; if refractory → hepaticojejunostomy
- Malignant: Resection if possible; biliary bypass or stenting for palliation
2.3 Cholangiocarcinoma (Bile Duct Cancer)
Classification by location:
| Type | Location | Frequency |
|---|
| Intrahepatic (iCCA) | Within liver parenchyma | 10–15% |
| Perihilar / Klatskin | Confluence of R+L hepatic ducts | 50–60% |
| Distal (dCCA) | CBD below cystic duct | 20–30% |
Bismuth-Corlette classification (Klatskin):
- Type I: Below confluence
- Type II: Reaches confluence
- Type III: Extends into R (IIIa) or L (IIIb) hepatic duct
- Type IV: Bilateral involvement
Surgical management:
- iCCA: Liver resection (anatomical) with R0 margins
- Klatskin (perihilar): Right/left hepatectomy + bile duct excision + lymphadenectomy; liver transplant in selected centers (Mayo protocol)
- Distal CCA: Pancreaticoduodenectomy (Whipple procedure)
- Unresectable: Biliary stenting (ERCP/PTC) + chemotherapy (gemcitabine + cisplatin)
2.4 Choledochal Cysts (Biliary Cysts)
Todani Classification:
| Type | Description |
|---|
| I | Fusiform/cystic dilation of CBD (most common, 80–90%) |
| II | CBD diverticulum |
| III | Choledochocele (intraduodenal) |
| IVa | Multiple intra + extrahepatic cysts |
| IVb | Multiple extrahepatic cysts |
| V | Intrahepatic cysts only (Caroli disease) |
Surgery:
- Type I/II/IVb: Complete cyst excision + Roux-en-Y hepaticojejunostomy
- Type III: Endoscopic sphincterotomy or transduodenal excision
- Caroli's (Type V): Liver resection if localized; liver transplant if diffuse
- Must excise cyst (not drain) — malignant potential
2.5 Primary Sclerosing Cholangitis (PSC)
- Progressive fibroinflammatory stricturing of intra- and extrahepatic bile ducts
- Associated with IBD (UC 70%), increased cholangiocarcinoma risk
- MRCP/ERCP: "Beaded" appearance
- End-stage: Liver transplant (only definitive treatment)
- Dominant strictures: ERCP dilation/stenting
2.6 Biliary Atresia
- Fibroinflammatory obliteration of extrahepatic bile ducts in neonates
- Diagnosis: HIDA scan + liver biopsy + intraoperative cholangiogram
- Surgery: Kasai portoenterostomy — fibrous biliary remnant excised, Roux-en-Y loop anastomosed to porta hepatis
- Best if done <60 days of life; 80% success rate
- If Kasai fails or presents late → liver transplant
PART 3: LIVER PATHOLOGIES & SURGERY
3.1 Liver Abscesses
| Type | Cause | Management |
|---|
| Pyogenic | E. coli, Klebsiella, polymicrobial; biliary source (50%) | IV antibiotics + USS/CT-guided percutaneous drainage; surgery if rupture/failure |
| Amoebic | Entamoeba histolytica | Metronidazole ± aspiration (if >10 cm or no response) |
| Hydatid (Echinococcal) | Echinococcus granulosus | PAIR (Puncture-Aspiration-Injection-Reaspiration) or surgical cystectomy/pericystectomy; albendazole cover |
3.2 Liver Cysts
| Type | Features | Management |
|---|
| Simple cysts | Thin-walled, no internal echoes | Observation; fenestration if symptomatic |
| Polycystic liver disease | ADPKD-associated | Fenestration, partial hepatectomy, or transplant |
| Hydatid cyst | See above | PAIR / surgical |
| Cystadenoma/cystadenocarcinoma | Multiloculated, septated; malignant potential | Surgical excision (enucleation / formal resection) |
3.3 Benign Liver Tumors
| Tumor | Features | Surgery |
|---|
| Hemangioma | Most common benign tumor; F>M; giant if >4 cm | Observation; resection if symptomatic/giant/diagnostic uncertainty |
| Hepatic adenoma | OCP-associated; risk of hemorrhage and malignant transformation | Stop OCP → if >5 cm or no regression → resection |
| FNH (Focal Nodular Hyperplasia) | Central stellate scar; Kupffer cells present on sulfur colloid scan | No treatment needed (not malignant); resect only if symptomatic |
3.4 Hepatocellular Carcinoma (HCC)
Risk factors: Cirrhosis (80%), HBV, HCV, NAFLD, alcohol, aflatoxin, hemochromatosis
Staging (Barcelona Clinic Liver Cancer — BCLC):
| Stage | Description | Treatment |
|---|
| 0 (Very early) | Single <2 cm, Child A | Resection or ablation |
| A (Early) | Single or 3 nodules <3 cm, Child A–B | Resection / transplant / ablation |
| B (Intermediate) | Multinodular, preserved liver function | TACE (transarterial chemoembolization) |
| C (Advanced) | Portal invasion, extrahepatic spread | Sorafenib / lenvatinib |
| D (Terminal) | Poor liver function | Best supportive care |
Surgical principles (Bailey & Love, p. 1236):
- Anatomical resection (based on Couinaud segments) = standard of care
- Resects portal and hepatic venous drainage territory → removes occult micrometastases
- 30-day mortality now <5% with modern techniques
- Milan criteria (for transplant): Single ≤5 cm OR ≤3 nodules each ≤3 cm, no vascular invasion, no extrahepatic spread
Liver Transplant for HCC:
- Within Milan criteria: 70% 5-year survival
- UCSF criteria (expanded): Single ≤6.5 cm or ≤3 lesions largest ≤4.5 cm, total diameter ≤8 cm
Ablative therapies:
- RFA (radiofrequency ablation): lesions <3 cm, not near vessels
- Microwave ablation: faster, less heat sink effect
- Ethanol injection: older technique, largely replaced
3.5 Liver Metastases
- Most common hepatic malignancy overall
- Primary sources: Colorectal (most surgically resectable), breast, neuroendocrine, stomach
- Colorectal liver metastases (CRLM): potentially curative resection if R0 achievable, adequate remnant liver function
- Two-stage hepatectomy: portal vein embolization (PVE) to hypertrophy future liver remnant (FLR), then resection
- ALPPS (Associating Liver Partition with Portal vein ligation for Staged hepatectomy): rapid FLR augmentation
- Systemic chemo (FOLFOX/FOLFIRI) ± bevacizumab as downsizing before resection
3.6 Portal Hypertension
Causes by block site:
- Prehepatic: Portal vein thrombosis
- Intrahepatic sinusoidal: Cirrhosis (most common)
- Posthepatic: Budd-Chiari syndrome
Complications and surgical management:
| Complication | Management |
|---|
| Esophageal varices | Propranolol (primary prophylaxis); EVL/sclerotherapy (acute); TIPS (Transjugular Intrahepatic Portosystemic Shunt) |
| Gastric varices | BRTO (balloon-occluded retrograde transvenous obliteration); TIPS |
| Ascites | Diuretics → paracentesis → TIPS → transplant |
| Hypersplenism | Splenectomy (rarely needed) |
| Portosystemic shunts (surgical) | H-graft portocaval shunt, distal splenorenal shunt (Warren), mesocaval shunt — largely replaced by TIPS |
3.7 Budd-Chiari Syndrome
- Hepatic venous outflow obstruction (thrombosis of hepatic veins or IVC)
- Causes: Hypercoagulable states (JAK2 mutation, PNH, antiphospholipid), myeloproliferative disorders
- Presentation: Acute hepatic failure, ascites, hepatomegaly, abdominal pain
- Management: Anticoagulation + treat underlying; TIPS or surgical shunting; liver transplant if fulminant
3.8 Liver Trauma
AAST Liver Injury Grade:
| Grade | Description | Management |
|---|
| I | Laceration <1 cm, subcapsular hematoma <10% | Non-operative (NOM) |
| II | Laceration 1–3 cm, hematoma 10–50% | NOM if hemodynamically stable |
| III | Laceration >3 cm, hematoma >50% | NOM with angioembolization or OR |
| IV | Parenchymal disruption 25–75% | Damage control surgery |
| V | Hepatic vein/IVC involvement | Damage control surgery |
| VI | Hepatic avulsion | Near 100% mortality |
Surgical techniques:
- Damage control: Perihepatic packing, temporize → ICU → re-look at 48 hrs
- Pringle maneuver: Hepatoduodenal ligament clamping to control hemorrhage
- Hepatorrhaphy, mesh wrapping, hepatic artery ligation
- Formal hepatic resection reserved for destructive injuries
3.9 Liver Cirrhosis & End-Stage Liver Disease
- Child-Pugh score (A/B/C): Bilirubin, albumin, PT, ascites, encephalopathy
- MELD score: Bilirubin, creatinine, INR — predicts 90-day mortality; used for transplant listing
- Surgical risk: Child C → extremely high operative risk; elective surgery contraindicated
Liver Transplant:
- Indications: ESLD (MELD ≥15), HCC within Milan criteria, acute liver failure, metabolic liver disease (Wilson's, AATD, PBC, PSC)
- Types:
- Orthotopic liver transplant (OLT) — most common
- Living donor liver transplant (LDLT) — right lobe (adult-to-adult), left lobe/lateral segment (pediatric)
- Split liver transplant
- GRWR (Graft-to-Recipient Weight Ratio): ≥0.8% for adequate function
- Contraindications: Extrahepatic malignancy, active sepsis, severe cardiopulmonary disease, ongoing alcohol/drug use
3.10 Hepatic Resections (Summary)
| Resection | Definition |
|---|
| Right hepatectomy | Segments V, VI, VII, VIII |
| Left hepatectomy | Segments II, III, IV |
| Extended right (right trisectionectomy) | Segments IV–VIII |
| Extended left (left trisectionectomy) | Segments II, III, IV + V, VIII |
| Right posterior sectionectomy | Segments VI, VII |
| Left lateral sectionectomy | Segments II, III (most common living donor graft) |
| Segmentectomy | Single Couinaud segment |
| Non-anatomical / wedge | Margin-free excision not following segmental planes |
Key surgical principles:
- FLR (Future Liver Remnant) must be >20–25% in normal liver, >30–40% in diseased/cirrhotic liver
- Portal vein embolization (PVE): Contralateral lobe embolized to hypertrophy FLR (4–8 weeks before major resection)
- Intraoperative USS: Define tumor margins, vascular proximity
- Intermittent Pringle maneuver: Hepatoduodenal occlusion during parenchymal transection
PART 4: PANCREATIC PATHOLOGIES & SURGERY (Hepatobiliary-Related)
4.1 Pancreatic Carcinoma (Head of Pancreas)
- Causes biliary obstruction (progressive painless jaundice, Courvoisier's sign)
- Surgical resection: Whipple's Pancreaticoduodenectomy
Whipple Procedure:
| Step | Details |
|---|
| Resection | Head of pancreas + duodenum + proximal jejunum + distal stomach (classical) or pylorus-preserving (PPPD) + CBD + gallbladder + regional lymph nodes |
| Reconstruction | Pancreaticojejunostomy (or pancreaticogastrostomy) + hepaticojejunostomy + gastrojejunostomy (Child's reconstruction) |
| Complications | Pancreatic fistula (most common), delayed gastric emptying, bile leak, post-pancreatectomy hemorrhage, wound infection |
| 5-year survival | ~20–25% after R0 resection |
4.2 Pancreatic Cystic Lesions (Biliary Relevance)
| Lesion | Features | Management |
|---|
| IPMN (Intraductal papillary mucinous neoplasm) | Main duct (high malignancy) vs branch duct | Main duct IPMN → resection; branch duct → follow guidelines (Fukuoka) |
| MCN (Mucinous cystic neoplasm) | Women, body/tail; no ductal communication | Resection (malignant potential) |
| SCN (Serous cystadenoma) | Honeycomb pattern; benign | Observation unless symptomatic |
PART 5: SPECIAL PROCEDURES & APPROACHES
5.1 ERCP (Endoscopic Retrograde Cholangiopancreatography)
- Diagnostic + therapeutic
- Indications: CBD stones, biliary strictures, cholangitis, bile leaks, stent placement, tissue biopsy
- Complications: Post-ERCP pancreatitis (3–5%), perforation, bleeding, cholangitis
5.2 MRCP
- Non-invasive, no radiation, excellent ductal anatomy
- First-line imaging for suspected biliary/pancreatic duct pathology before ERCP
5.3 PTC (Percutaneous Transhepatic Cholangiography)
- Access via right intercostal (right biliary tree) or subxiphoid (left)
- Indicated when ERCP fails or anatomy altered (post-Whipple, Roux-en-Y)
- Can place percutaneous biliary drains (PBDs) or stents
5.4 TIPS (Transjugular Intrahepatic Portosystemic Shunt)
- Angiographic creation of intrahepatic tract between hepatic vein and portal vein
- Indicated: Refractory variceal bleeding, refractory ascites, Budd-Chiari
- Complication: Hepatic encephalopathy (30%)
5.5 Roux-en-Y Hepaticojejunostomy
- Biliary-enteric anastomosis: jejunal loop anastomosed to hepatic duct
- Gold standard for biliary reconstruction after BDI, choledochal cyst excision, hilar cholangiocarcinoma
5.6 Choledochoduodenostomy
- Side-to-side anastomosis of CBD to duodenum
- Used for distal CBD stricture; risk of "sump syndrome" (retained debris in CBD)
SUMMARY TABLE: Pathology → Surgery
| Pathology | Surgery of Choice |
|---|
| Symptomatic gallstones | Laparoscopic cholecystectomy |
| Acute cholecystitis | Early lap cholecystectomy (within 72 hrs) |
| Acalculous cholecystitis | Percutaneous cholecystostomy |
| CBD stones | ERCP + sphincterotomy; LCBDE |
| Bile duct injury | Roux-en-Y hepaticojejunostomy |
| Mirizzi syndrome | Cholecystectomy ± hepaticojejunostomy |
| Gallstone ileus | Enterolithotomy |
| Gallbladder carcinoma T2+ | Extended cholecystectomy + lymphadenectomy |
| Cholangiocarcinoma (hilar) | Hepatectomy + bile duct excision |
| Cholangiocarcinoma (distal) | Whipple procedure |
| Choledochal cyst | Cyst excision + hepaticojejunostomy |
| Biliary atresia | Kasai portoenterostomy / liver transplant |
| PSC / ESLD | Liver transplant |
| HCC (early, Child A) | Anatomical liver resection / ablation |
| HCC (within Milan, Child C) | Liver transplant |
| Colorectal liver metastases | Hepatic resection ± PVE ± ALPPS |
| Liver abscess (pyogenic) | Percutaneous drainage + antibiotics |
| Hydatid cyst | PAIR / pericystectomy + albendazole |
| Hepatic hemangioma (symptomatic) | Enucleation / resection |
| Hepatic adenoma >5 cm | Resection |
| Portal hypertension (bleeding varices) | EVL → TIPS → surgical shunt |
| Budd-Chiari | TIPS / portocaval shunt / transplant |
| Pancreatic head carcinoma | Whipple (pancreaticoduodenectomy) |
| Liver trauma grade IV–V | Damage control + packing; formal resection |
| Biliary stricture (benign) | ERCP dilation; hepaticojejunostomy |
Sources: Bailey & Love's Short Practice of Surgery, 28th Edition (p. 1236); Prevention of Bile Duct Injury During Cholecystectomy (p. 14); supplemented with current BCLC, Tokyo Guidelines, Todani classification, AAST liver trauma grading, and Milan/UCSF transplant criteria.