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 18 questions in our bank on this topic. Choose an answer to see why every option is right or wrong.
A man has jaundice with raised direct bilirubin and an ALP six times normal. Most likely diagnosis?
Answer: Obstructive jaundice
Conjugated hyperbilirubinaemia with a disproportionate rise in ALP indicates cholestasis, meaning obstruction to bile flow. ALP is made by bile duct epithelium and is induced by retained bile acids, while hepatocellular disease raises the transaminases far more. How it's asked clinically: A 52-year-old woman with known gallstones has jaundice, right upper quadrant pain and fever with rigors; her urine is dark and her stools pale → obstructive jaundice (common bile duct stone).
Jaundice
- Direct bilirubin rises when bile flow is blocked
- ALP and GGT rise out of proportion to ALT
- Dark urine, pale stools, itching
- Hepatitis shows ALT/AST in the hundreds
Remember Raised direct bilirubin with a disproportionately high ALP means cholestatic or obstructive jaundice.
Why the other options are wrong
- Acute viral hepatitis Gives a marked rise in ALT and AST, with only a modest ALP rise.
- Gilbert syndrome Mild isolated unconjugated hyperbilirubinaemia with normal ALP, seen during fasting or illness.
- Alcoholic hepatitis Typically AST greater than ALT, with high GGT and only a moderate ALP rise.
- Haemolytic jaundice Raises unconjugated bilirubin, with normal ALP and reticulocytosis.
A 44-year-old man has severe epigastric pain radiating to his back with repeated vomiting, starting the morning after a heavy drinking binge. Which serum enzyme is most specific for confirming the likely diagnosis?
Answer: Lipase
Severe epigastric pain radiating to the back with vomiting after an alcohol binge suggests acute pancreatitis; lipase is more specific than amylase, which also comes from salivary glands. Serum lipase is more specific than amylase and stays raised for longer, up to 8-14 days. Amylase also rises in salivary gland disease, so it is less specific.
Acute pancreatitis
- Lipase: specific, long-lasting
- Amylase: non-specific, falls early
- Diagnosis: pain + >3x ULN lipase
Remember Serum lipase is the most specific enzyme for acute pancreatitis.
Why the other options are wrong
- Amylase Rises early but falls within days and is raised in parotitis.
- Alkaline phosphatase Marker of cholestasis and bone disease.
- Gamma-glutamyl transferase Marker of cholestasis and alcohol use.
- ALT Liver enzyme raised in hepatitis and gallstone disease.
A 42-year-old man is admitted after a weekend of heavy drinking with severe epigastric pain boring through to his back and repeated vomiting. His serum amylase is markedly raised. He dies of multi-organ failure. Pancreatic histology shows which cells, normally absent from the gland?
Answer: Neutrophils
Binge drinking, epigastric pain radiating to the back and a high amylase indicate acute pancreatitis; enzyme-mediated acinar and fat necrosis attracts an acute inflammatory infiltrate of neutrophils. Acute pancreatitis shows acinar necrosis, fat necrosis and an acute inflammatory infiltrate of neutrophils. Neutrophils are not normal residents of pancreatic tissue. Chronic pancreatitis instead shows lymphocytes, plasma cells and fibrosis.
Pancreatitis
- Acute pancreatitis: neutrophils, fat necrosis
- Chronic: lymphocytes, plasma cells, fibrosis
- Causes: gallstones and alcohol
- Lipase more specific than amylase
Remember Acute pancreatitis shows neutrophil infiltrate with fat necrosis.
Why the other options are wrong
- Eosinophils Seen in allergic and parasitic reactions, not acute pancreatitis.
- Megakaryocytes Marrow cells, seen only in extramedullary haematopoiesis.
- Mast cells Found in allergic reactions and some tumours.
- Plasma cells Typical of chronic inflammation and autoimmune pancreatitis.
Persistent right upper quadrant pain with fever and a positive Murphy sign radiates to the right shoulder tip. What is the most likely diagnosis?
Answer: Acute cholecystitis
An inflamed gallbladder irritates the adjacent diaphragmatic peritoneum, whose sensory supply is the phrenic nerve (C3 to C5). Pain is referred to the shoulder-tip dermatomes (C4) of the same spinal segments. How it's asked clinically: A 52-year-old woman has 2 days of severe, constant right hypochondrial pain radiating to the right shoulder tip, with fever and leucocytosis; palpation under the right costal margin stops her inspiration → acute cholecystitis.
Referred pain
- Phrenic nerve: C3, C4, C5
- Diaphragm irritation: shoulder-tip pain
- Gallbladder inflammation: right shoulder
Remember Diaphragmatic irritation refers pain to the shoulder tip via the phrenic nerve (C3 to C5).
Why the other options are wrong
- Renal colic Loin-to-groin colicky pain from the ureter.
- Cholelithiasis Uncomplicated stones cause visceral colic in the epigastrium or right subscapular region, without peritoneal irritation.
- Acute appendicitis Periumbilical pain that migrates to the right iliac fossa.
- Acute pancreatitis Epigastric pain radiating through to the back, relieved by leaning forward.
A 64-year-old man has painless jaundice and weight loss. CT shows a diffusely enlarged, sausage-shaped pancreas with a low-density rim and no focal mass. He also has bilateral painless swelling of the submandibular glands. Which immunoglobulin is most likely raised?
Answer: IgG4
Painless jaundice with a diffusely swollen, sausage-shaped pancreas, a capsule-like rim and salivary gland involvement suggest type 1 autoimmune pancreatitis, part of a steroid-responsive multi-organ fibroinflammatory disease. Type 1 autoimmune pancreatitis is an IgG4-related disease with raised serum IgG4 and IgG4-positive plasma cells in the gland. It responds well to steroids.
Autoimmune pancreatitis
- Type 1 AIP is IgG4-related
- Sausage-shaped pancreas on imaging
- Obstructive jaundice mimics cancer
- Responds to steroids
Remember Autoimmune pancreatitis = raised IgG4, steroid responsive.
Why the other options are wrong
- IgM Raised in acute infection and Waldenstrom macroglobulinaemia.
- IgD Very low serum level; of unclear clinical use.
- IgA Raised in coeliac disease and mucosal immune responses.
- IgE Raised in allergy and parasitic infection.
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.