Gallstones and pancreatitis
Gallstones, cholecystitis, cholangitis, pancreatitis and obstructive jaundice for FCPS
Gallstones, biliary colic, cholecystitis, cholangitis, acute and chronic pancreatitis and obstructive jaundice for FCPS Part 1 and surgery. Where a stone lodges decides the disease; ultrasound comes first, and severity scores and imaging timing guide treatment.
Gallstones
| Type | Features | Causes |
|---|---|---|
| Mixed (cholesterol-predominant) | Commonest; cholesterol and mixed stones make up about 75–80% | Supersaturated bile |
| Cholesterol | Large, yellow, often single | Female, obesity, age around 40, pregnancy and oestrogens, rapid weight loss, ileal resection or Crohn disease (bile salt loss), fibrates, TPN, octreotide |
| Black pigment | Small, multiple, often radio-opaque | Chronic haemolysis (spherocytosis, sickle cell, thalassaemia), cirrhosis |
| Brown pigment | In the bile ducts | Infection (bacterial β-glucuronidase deconjugates bilirubin), parasites (*Ascaris*, *Clonorchis*), strictures |
- Only 10–15% are radio-opaque; ultrasound is the investigation of choice (echogenic focus with acoustic shadow), including in pregnancy.
- Most stones are silent and need no treatment. Long-standing stones cause chronic inflammation, the main link to gallbladder carcinoma (a porcelain gallbladder carries a higher risk).
Biliary colic and acute cholecystitis
- Biliary colic: a stone temporarily blocks the cystic duct: constant RUQ or epigastric pain for over 30 minutes to hours, radiating to the right scapula, after fatty meals; no fever, no peritonism, normal blood tests. Analgesia with an NSAID (diclofenac) is very effective, adding an antispasmodic such as hyoscine if needed; then elective laparoscopic cholecystectomy.
- Acute cholecystitis: persistent cystic duct obstruction causes chemical then bacterial inflammation (*E. coli*, *Klebsiella*, *Enterococcus*). RUQ pain over 24 hours, fever, Murphy sign (inspiratory arrest on RUQ palpation), raised white count and CRP, mild rise of ALP.
- Ultrasound: thick wall (over 3 mm), pericholecystic fluid, stones, sonographic Murphy sign; HIDA scan if doubtful.
- Treatment: fluids, analgesia, IV antibiotics, early laparoscopic cholecystectomy (within a week, ideally 72 hours); percutaneous cholecystostomy if unfit.
- Complications: empyema, gangrene and perforation (elderly, diabetics), cholecystoenteric fistula with gallstone ileus (Rigler triad: small bowel obstruction, pneumobilia, ectopic stone, usually at the terminal ileum), Mirizzi syndrome (a stone in Hartmann's pouch compresses the common hepatic duct, causing jaundice), mucocele (distended, non-tender).
- Acalculous cholecystitis in the critically ill (ICU, burns, sepsis, TPN): high mortality; cholecystostomy.
Bile duct stones and cholangitis
- Common bile duct stones (10–15% of gallstone patients) cause fluctuating painful jaundice, pancreatitis or cholangitis.
- Ascending cholangitis: Charcot triad (fever with rigors, jaundice, RUQ pain); Reynolds pentad adds hypotension and confusion. IV antibiotics and urgent biliary decompression by ERCP (sphincterotomy, stone extraction, stent); PTC if ERCP fails.
- MRCP diagnoses duct stones non-invasively; EUS is very sensitive; ERCP is therapeutic. Cholecystectomy follows duct clearance.
Laparoscopic cholecystectomy
- Calot triangle: cystic duct, common hepatic duct and inferior surface of the liver, containing the cystic artery.
- Critical view of safety: the hepatocystic triangle cleared of fat, the lower third of the gallbladder off the liver bed, and only two structures (cystic duct and artery) entering the gallbladder.
- Complications: bile duct injury (most serious, 0.3–0.5%), bile leak (cystic stump, ducts of Luschka), bleeding, retained stones, right hepatic artery injury, port-site hernia.
Acute pancreatitis
- Causes: gallstones (commonest in Pakistan and worldwide) and alcohol (together about 80%); post-ERCP; hypertriglyceridaemia (over 11 mmol/L; type I hyperlipidaemia from lipoprotein lipase deficiency with eruptive xanthomas and chylomicrons); hypercalcaemia; drugs (azathioprine, valproate, thiazides, furosemide, steroids, oestrogens); trauma; mumps, Coxsackie, CMV, *Ascaris*; scorpion sting; autoimmune (IgG4); pancreas divisum; hypothermia; idiopathic.
- The common first event: trypsinogen is activated to trypsin inside acinar cells (blocked duct pressure, calcium overload, alcohol), which activates other enzymes (phospholipase A₂, elastase, lipase) and causes autodigestion, inflammation, fat necrosis and haemorrhage.
- Features: sudden severe epigastric pain radiating to the back, eased by sitting forward, vomiting, tachycardia; Grey Turner sign (flank bruising) and Cullen sign (periumbilical) from retroperitoneal haemorrhage.
- Diagnosis needs two of: typical pain, amylase or lipase over 3 times normal, imaging. The pair of enzymes is the most valuable test; lipase is more specific and stays raised longer; amylase may be normal late or with very high triglycerides (and a high amylase in mumps can be salivary). Enzyme levels do not reflect severity.
- Ultrasound in everyone (gallstones). Contrast CT is not routine early; do it after 72 hours if the diagnosis is uncertain or the patient deteriorates (necrosis).
- Severity: Revised Atlanta: mild (no organ failure), moderately severe (organ failure under 48 hours or local complications), severe (organ failure persisting beyond 48 hours). Glasgow (Imrie) score of 3 or more within 48 hours (PaO₂ under 8 kPa, age over 55, white count over 15, calcium under 2 mmol/L, urea over 16 mmol/L, LDH over 600 or AST over 200, albumin under 32 g/L, glucose over 10 mmol/L); CRP over 150 mg/L at 48 hours; APACHE II 8 or more. Severe disease shows hypocalcaemia (fat saponification), hyperglycaemia, rising haematocrit and urea, hypoxia.
- Management: goal-directed IV fluids (Hartmann's, avoiding overload), analgesia (opioids are fine), oxygen, urine output monitoring, early enteral feeding (better than TPN), no prophylactic antibiotics, ICU for organ failure. Gallstone pancreatitis: urgent ERCP for cholangitis or persistent obstruction; cholecystectomy in the same admission for mild disease.
| Collection | Timing | Wall | Action |
|---|---|---|---|
| Acute peripancreatic fluid | Under 4 weeks | None | Usually resolves |
| Pseudocyst | Over 4 weeks | Fibrous, no epithelium; lesser sac | Drain (endoscopic cystgastrostomy) if symptomatic, enlarging or complicated, once the wall matures |
| Acute necrotic collection | Under 4 weeks | None | Supportive |
| Walled-off necrosis | Over 4 weeks | Defined wall | Step-up approach if infected |
- Infected necrosis (gas on CT, deterioration in weeks 2–4): carbapenem, then the step-up approach (percutaneous or endoscopic drainage, then minimally invasive necrosectomy, ideally after 4 weeks). Other complications: splenic artery pseudoaneurysm bleeding, splenic vein thrombosis, left pleural effusion, ARDS, AKI, DIC.
Chronic pancreatitis
- Alcohol is the commonest cause. Triad: recurrent epigastric pain, steatorrhoea (exocrine failure) and diabetes (endocrine failure), with calcification on X-ray or CT and low faecal elastase.
- Fat malabsorption causes deficiency of the fat-soluble vitamins A, D, E and K; B12 absorption also falls because pancreatic proteases are needed to free B12 from R-binder.
- Enzyme replacement with meals, analgesia, abstinence; endotherapy or surgery for duct strictures and stones; increased pancreatic cancer risk.
Obstructive jaundice
| Feature | Pre-hepatic (haemolytic) | Hepatocellular | Obstructive |
|---|---|---|---|
| Bilirubin | Unconjugated | Mixed | Conjugated |
| Urine bilirubin | Absent (acholuric) | Present | Present, dark urine |
| Urine urobilinogen | Raised | Variable | Absent if complete |
| Stools | Normal | Normal or pale | Pale |
| Itch | No | Variable | Yes |
| Enzymes | Normal, LDH raised | ALT, AST very high | ALP and GGT very high |
- Causes: in the lumen (duct stones, the commonest; *Ascaris*), in the wall (benign strictures, PSC, cholangiocarcinoma, choledochal cyst, biliary atresia), outside (carcinoma of the head of pancreas, periampullary tumours, porta hepatis nodes, Mirizzi, pancreatitis).
- Courvoisier law: painless jaundice with a palpable, non-tender gallbladder is unlikely to be due to stones. Gallstones cause years of chronic inflammation that leaves the gallbladder fibrotic and shrunken, so it cannot distend; a malignant obstruction of the lower duct develops in a previously healthy, distensible gallbladder.
- Investigation sequence: LFTs, ultrasound (are ducts dilated, at what level?), MRCP or pancreatic-protocol CT, EUS, then ERCP (lower obstruction) or PTC (hilar).
- Before operating on a jaundiced patient: IV vitamin K (no bile salts to absorb it; FFP if urgent), hydration and urine output to prevent hepatorenal failure from endotoxaemia, antibiotic cover for cholangitis, nutrition, care with drug doses.
- In cirrhosis, hepatic stellate (Ito) cells, which normally store vitamin A in the space of Disse, become myofibroblasts and lay down the collagen that, with regenerative nodules, defines cirrhosis.
Remember Where the stone stops decides the disease: cystic duct for colic and cholecystitis, common duct for jaundice and cholangitis, ampulla for pancreatitis.
Exam trap Charcot triad (fever with rigors, jaundice, RUQ pain) means cholangitis and urgent ERCP.
Exam trap A pseudocyst forms after 4 weeks and has a fibrous wall without epithelium; enzyme levels do not measure severity.
How FCPS asks about this
- First event in acute pancreatitis: trypsinogen activated inside acinar cells; lipase and amylase together confirm.
- Severity: Glasgow 3 or more, CRP over 150 at 48 hours, persistent organ failure over 48 hours; no prophylactic antibiotics; feed enterally.
- Recurrent pancreatitis with eruptive xanthomas: lipoprotein lipase deficiency.
- Courvoisier law: stones leave a fibrotic gallbladder that cannot distend.
- Pigment stones: black in haemolysis, brown in infected ducts.
- Gallstone complications: Mirizzi syndrome, gallstone ileus with pneumobilia, empyema.
- Jaundiced patient before surgery: IV vitamin K and hydration; ultrasound first, including in pregnancy.
Test yourself on this topic
5 of the 30 questions in our bank on this topic. Choose an answer to see why every option is right or wrong.
A 42-year-old woman has 18 hours of constant right upper quadrant pain, fever of 38.4 °C and catches her breath when the right subcostal area is pressed. Which of the following is the first investigation of choice?
Answer: Abdominal ultrasound
Constant RUQ pain with fever and a positive Murphy sign suggests acute cholecystitis. Ultrasound is the first-line test: it shows stones, a thickened gallbladder wall, pericholecystic fluid and a sonographic Murphy sign, without radiation. Only about 10–15% of gallstones are radio-opaque on X-ray. HIDA scanning is used if ultrasound is equivocal, and ERCP is for duct stones, not the gallbladder.
Acute cholecystitis
- Constant RUQ pain + fever
- Murphy sign positive
- First test: ultrasound
- Thick wall, pericholecystic fluid
Remember Gallbladder pain: ultrasound first.
Exam trap Murphy sign may be negative in the elderly and diabetics.
Why the other options are wrong
- Plain abdominal X-ray Misses most gallstones.
- HIDA scan Second-line if ultrasound is unclear.
- ERCP Invasive; for CBD stones.
- CT abdomen Less sensitive for gallstones; used for complications.
Which set of variables, assessed within 48 hours of admission, is used in the modified Glasgow (Imrie) score for acute pancreatitis?
Answer: PaO2, age, WCC, calcium, urea, LDH, albumin
The modified Glasgow score (mnemonic PANCREAS: PaO2 under 8 kPa, Age over 55, Neutrophils (WCC) over 15, Calcium under 2 mmol/L, Renal (urea over 16), Enzymes (LDH over 600 or AST over 200), Albumin under 32 g/L, Sugar over 10) gives one point each. Three or more suggests severe pancreatitis needing HDU or ICU care. Amylase level does not predict severity.
Glasgow score (PANCREAS)
- PaO2 < 8, Age > 55, Neutrophils > 15
- Calcium < 2, Renal urea > 16
- Enzymes LDH/AST, Albumin < 32, Sugar > 10
- ≥ 3 = severe
Remember Amylase diagnoses; it does not grade.
Exam trap Low calcium reflects fat saponification in severe pancreatitis.
Why the other options are wrong
- Amylase, lipase, bilirubin, ALT and GGT Diagnostic, not severity.
- Heart rate, temperature, respiratory rate SIRS criteria, partly.
- Haemoglobin, platelets, INR and APTT Not this score.
- CRP alone above 50 mg/L CRP over 150 at 48 hours is a separate marker.
A 65-year-old man has painless progressive jaundice, weight loss and a palpable, non-tender gallbladder. What is the most likely cause?
Answer: Pancreatic head cancer
Courvoisier's law: in a jaundiced patient, a palpable gallbladder is unlikely to be due to stones. Gallstone disease causes chronic inflammation and fibrosis, so the gallbladder is shrunken and cannot distend; malignant obstruction of the distal common bile duct (carcinoma of the pancreatic head, ampulla or distal cholangiocarcinoma) occurs in a previously normal gallbladder, which distends. Pancreatic adenocarcinoma presents with painless jaundice, weight loss, new diabetes, back pain and migratory thrombophlebitis (Trousseau sign); CA 19-9 is a marker; contrast CT stages it; Whipple pancreaticoduodenectomy is used for resectable tumours.
Courvoisier's law
- Jaundice + palpable gallbladder → not stones
- Think carcinoma head of pancreas, ampulla
- Stones → fibrosed, shrunken gallbladder
- Pancreatic cancer: weight loss, CA 19-9, Trousseau sign
- Resectable: Whipple
Remember A big painless gallbladder with jaundice is cancer until proved otherwise.
Why the other options are wrong
- Common bile duct stone Gallbladder usually shrunken; pain common.
- Acute cholecystitis Tender; fever.
- Hepatitis A Not this picture.
- Mirizzi syndrome Stone in Hartmann's pouch; gallbladder often inflamed.
A woman has obstructive jaundice. Imaging shows a large stone impacted in Hartmann's pouch compressing the common hepatic duct. What is this called?
Answer: Mirizzi syndrome
Hartmann's pouch is a dilatation of the gallbladder neck where stones often lodge. In Mirizzi syndrome, a stone impacted there (or in the cystic duct) compresses the common hepatic duct externally, causing obstructive jaundice, and may erode to form a cholecystocholedochal fistula. It increases the risk of bile duct injury at cholecystectomy. Bouveret syndrome is gastric outlet obstruction by a gallstone in the duodenum; gallstone ileus is obstruction at the terminal ileum after a cholecystoenteric fistula.
Mirizzi syndrome
- Stone in Hartmann's pouch/cystic duct
- Compresses common hepatic duct
- Obstructive jaundice; risk of duct injury
Remember Stone outside the duct squeezes it.
Why the other options are wrong
- Courvoisier's law Palpable gallbladder with painless jaundice suggests malignancy.
- Charcot's triad Fever, jaundice and RUQ pain of cholangitis.
- Bouveret syndrome Gallstone in the duodenum causing gastric outlet obstruction.
- Gallstone ileus Gallstone in the terminal ileum.
An elderly man has painless progressive jaundice and a palpable, non-tender gallbladder. Why does this make gallstones an unlikely cause?
Answer: Stones leave a fibrotic gallbladder
Courvoisier's law: in a jaundiced patient, a palpable gallbladder is unlikely to be due to stones. Chronic gallstone disease scars the gallbladder so it cannot distend. Obstruction below the cystic duct by tumour (head of pancreas, ampulla, distal bile duct) lets a healthy gallbladder dilate. Exceptions include double impaction of stones (in the cystic duct and CBD) and Mirizzi syndrome.
Courvoisier's law
- Jaundice + palpable gallbladder
- Unlikely stones
- Think pancreatic head, ampulla
- Stones: fibrotic, shrunken gallbladder
Remember Big gallbladder with jaundice: think tumour.
Exam trap The law is about jaundice with a palpable gallbladder, not about pain.
Why the other options are wrong
- Gallstones never cause jaundice at all Stones in the CBD commonly cause jaundice.
- Stones cause pain but never jaundice They can cause obstructive jaundice.
- Stones make the gallbladder huge, tender Chronic stone disease shrinks the gallbladder.
- Jaundice from stones is unconjugated Obstructive jaundice is conjugated.
Where this sits in the CPSP syllabus
- Surgery & Allied, Paper 2: Surgical conditions: pathology and investigation, Gallstones, cholecystitis, pancreatitis and obstructive jaundice
Read next
Drug dose pages
Doses, cautions and practical tips for drugs in this chapter.