StepWise USMLE
Gastroenterology · Preclinical Systems

The Gastrointestinal System

A complete, exam-focused walkthrough of GI embryology, physiology, pathology, hepatobiliary and pancreatic disease, GI microbiology, and pharmacology — built for rapid revision.

📌
How this page is organized These notes are ordered by USMLE high-yield priority, not by logical/physiological flow — so you can lock in the most testable concepts first. For the topics in their natural logical sequence, watch the YouTube video for this system.

🔥 Esophagus & Stomach — Disease

Pathology
See also

Achalasia's "bird beak" dysphagia and loss of peristalsis trace back to the same inhibitory (NO/VIP) neurons that normally relax the LES, which is covered in Esophagus & Stomach — Normal Function → Esophageal Muscle Transition.

Oral Cavity Disorders

ConditionFeatures
Aphthous ulcer (canker sore)Painful, shallow, round ulcer with a yellowish base; recurrent episodes are linked to celiac disease, IBD, Behçet syndrome, and HIV
Oral squamous cell carcinomaMost common oral cavity malignancy, usually on the tongue; risk factors are tobacco, alcohol, and HPV-16; presents as a nonhealing ulcer with raised, irregular edges; leukoplakia (a white patch that can't be scraped off) and erythroplakia (a red patch) are precursor lesions

Salivary Gland Disorders

ConditionMechanismFeatures
SialolithiasisStone obstructs a salivary duct (commonly the submandibular/Wharton duct), often after chronic sialadenitisAcute pain and swelling, worse with salivation (e.g., citrus stimulation); stone passage can be provoked by sialogogues
SialadenitisGland inflammation from obstruction, infection (S. aureus, mumps), or autoimmune disease (e.g., Sjögren syndrome)Tender, swollen gland; consider Sjögren workup if recurrent/bilateral without an obvious infectious cause
Pleomorphic adenomaBenign mixed-cell tumor, most common salivary neoplasm overallSlow-growing, painless parotid mass in women 20–40 y/o; recurs if incompletely excised or ruptured intraoperatively; risk of facial nerve injury on resection given its course through the parotid
Warthin tumorBenign cystic tumor with lymphoid (germinal center) tissue, almost always in the parotidStrongly linked to smoking; can be bilateral or multifocal
Mucoepidermoid carcinomaMixture of mucus-secreting and squamous cellsMost common malignant salivary tumor; facial nerve involvement or pain suggests malignancy over a benign mass
Concept check

Pleomorphic adenoma, Warthin tumor, and mucoepidermoid carcinoma all present as parotid masses, so it's the accompanying clues — pain, rapid growth, facial nerve involvement — that separate malignant (mucoepidermoid) from benign (pleomorphic adenoma, Warthin), not the mass itself.

Esophageal Motility & Structural Disorders

ConditionMechanismKey Features
AchalasiaLoss of inhibitory (NO/VIP) neurons in the myenteric plexus → failure of LES relaxation + loss of peristalsisProgressive dysphagia to solids AND liquids; "bird beak" tapering on barium study; manometry shows elevated LES pressure; consider Chagas disease as a secondary cause. Management: calcium channel blockers or nitrates to reduce LES pressure medically; endoscopic botulinum toxin injection for refractory cases; surgical (Heller) myotomy, often paired with a partial fundoplication to limit post-myotomy reflux
Diffuse esophageal spasmUncoordinated, non-peristaltic contractionsIntermittent chest pain, dysphagia; "corkscrew esophagus" on barium study
Zenker diverticulumFalse diverticulum above the upper esophageal sphincter (Killian triangle)Halitosis, regurgitation of undigested food, dysphagia in older adults
Mallory-Weiss tearMucosal laceration at the gastroesophageal junction from forceful retchingHematemesis after vomiting; associated with alcohol use, bulimia
Boerhaave syndromeFull-thickness (transmural) esophageal rupture from severe retchingSurgical emergency; subcutaneous emphysema, left pneumothorax, mediastinitis
Esophageal varicesPortal hypertension shunts blood into the coronary–azygos venous pathwayPainless, massive hematemesis; risk in cirrhosis
Plummer-Vinson syndromeTriad of dysphagia, iron deficiency anemia, and esophageal websThin, painless webs cause solid-food dysphagia; increased risk of esophageal squamous cell carcinoma; may coexist with glossitis
Scleroderma esophageal involvementSmooth muscle atrophy and fibrosis of the esophageal wall (part of the CREST syndrome spectrum)↓ LES pressure and impaired distal motility → severe reflux, dysphagia, stricture, and Barrett metaplasia
Concept check

LES tone is the organizing axis for this table: achalasia and diffuse esophageal spasm both come from disordered neural control that raises resistance to bolus passage, while scleroderma does the opposite — smooth muscle fibrosis drops LES tone and causes reflux instead of obstruction.

Esophagitis — Causes by Category

  • Reflux (erosive) esophagitis: the most common type, secondary to GERD
  • Pill/medication-induced esophagitis: from prolonged mucosal contact with bisphosphonates, tetracyclines, NSAIDs, or iron/potassium supplements — usually prevented by taking pills with plenty of water while upright
  • Eosinophilic esophagitis: chronic, immune-mediated eosinophilic infiltration linked to atopic disease (asthma, food allergy); endoscopy shows characteristic rings and linear furrows; presents with dysphagia and food impaction, especially in young patients, and doesn't respond to standard acid suppression alone
  • Infectious esophagitis: Candida (white plaques/pseudomembranes, most common), HSV-1 (discrete "punched-out" ulcers), and CMV (larger linear ulcers) — all more common with immunosuppression
  • Corrosive esophagitis: from caustic ingestion (acid or alkali), with risk of stricture formation during healing
  • All types of esophagitis share the hallmark symptoms of odynophagia (painful swallowing) and/or dysphagia

GERD → Barrett → Adenocarcinoma Progression

Chronic acid reflux→ Barrett esophagus (squamous → intestinal columnar metaplasia)→ Dysplasia→ Esophageal adenocarcinoma (distal 1/3)
Two esophageal cancers, two risk profiles
  • Adenocarcinoma: distal esophagus, arises from Barrett metaplasia, more common in developed countries / white patients
  • Squamous cell carcinoma: upper/middle esophagus, linked to alcohol + tobacco, more common in Black patients and in regions with high hot-beverage or nitrosamine exposure

Gastritis & Peptic Ulcer Disease

  • Acute (erosive) gastritis
    • NSAIDs (↓ prostaglandin-mediated mucosal protection), alcohol, severe physiologic stress
    • Curling ulcer: severe burns (↓ mucosal blood flow)
    • Cushing ulcer: intracranial injury (↑ vagal stimulation → ↑ acid)
  • Chronic gastritis
    • Type A (fundal/body): autoimmune, anti-parietal cell antibodies → achlorhydria, B12 deficiency, ↑ gastric cancer risk
    • Type B (antral): H. pylori-driven, far more common overall; chronic H. pylori infection also drives MALT lymphoma of the stomach, which can regress with H. pylori eradication alone in early cases
  • Ménétrier disease: hyperplasia of the gastric mucosa (fundus/body, sparing the antrum) producing markedly enlarged, wavy rugae; excess mucus secretion leads to protein loss and hypochlorhydria from parietal cell atrophy — presents with weight loss, epigastric pain, and edema from the protein loss; considered a precancerous condition
  • Duodenal vs gastric ulcer
Duodenal ulcerGastric ulcer
Pain timingImproves with foodWorsens with food
Acid productionIncreasedNormal to decreased
Malignant potentialEssentially nonePresent — biopsy edges
H. pylori link~90%~70%
Concept check

Type A and type B chronic gastritis both raise gastric cancer risk, but through different routes — type A's achlorhydria drives chronic hypergastrinemia and ECL hyperplasia, while type B's H. pylori-driven chronic inflammation drives both adenocarcinoma and MALT lymphoma, the latter of which can regress with eradication alone.

Anatomic correlation
  • Posterior duodenal ulcers can erode into the gastroduodenal artery, causing brisk, potentially life-threatening hemorrhage; anterior ulcers are more likely to perforate into the peritoneal cavity.

Localizing GI Bleeding — the Ligament of Treitz

  • The ligament of Treitz (suspensory ligament of the duodenum) is the anatomic dividing line between upper and lower GI bleeding
  • Upper GI bleed (proximal to the ligament): peptic ulcer disease and variceal hemorrhage are the leading causes; presents with hematemesis and/or melena (black, tarry stool — blood has been digested in transit)
  • Lower GI bleed (distal to the ligament): diverticulosis, angiodysplasia, hemorrhoids, and colorectal cancer are common causes; presents with hematochezia (bright red or maroon blood, reflecting a shorter transit time)
  • Caveat: a brisk upper GI bleed can also present as hematochezia if transit is fast enough, so hemodynamic instability should never be dismissed just because the blood looks "lower GI" in origin

Gastric Neoplasms

  • Intestinal-type adenocarcinoma: associated with H. pylori, atrophic gastritis, nitrosamines/smoked foods, blood group A; forms a bulky ulcerating mass
  • Diffuse-type (signet ring) adenocarcinoma: infiltrates the gastric wall diffusely → linitis plastica ("leather bottle" stomach); worse prognosis, not clearly H. pylori-linked
  • Metastatic spread patterns: Virchow node (left supraclavicular), Krukenberg tumor (bilateral ovarian mets with signet ring cells), Sister Mary Joseph nodule (periumbilical)
  • Leiomyoma: most common benign gastric tumor
  • Leukoplakia: white mucosal patch that cannot be scraped off; common precursor lesion for oral squamous cell carcinoma
Concept check

Intestinal-type adenocarcinoma follows a recognizable stepwise pathway from H. pylori-driven inflammation, which is why it's linked to identifiable risk factors and forms a discrete mass; diffuse-type infiltrates independently of that pathway, explaining both its weaker H. pylori association and its worse prognosis.

NSAID / COX pharmacology note
  • Non-selective NSAIDs inhibit both COX-1 (protective gastric mucosal prostaglandins) and COX-2 (inflammation) — this is why they predispose to gastritis and peptic ulcers.
  • Selective COX-2 inhibitors (e.g., celecoxib) spare COX-1, reducing GI ulcer risk and — unlike non-selective NSAIDs — do not impair platelet aggregation, since platelet thromboxane synthesis depends on COX-1.

Dumping Syndrome

  • Follows gastric surgery (e.g., vagotomy, gastrectomy) that bypasses normal pyloric regulation
  • Hyperosmolar chyme dumps rapidly into the small bowel → fluid shifts intraluminally
  • Early symptoms: bloating, cramping, diarrhea, tachycardia from volume shift
  • Late symptoms (1–3 h): reactive hypoglycemia from an exaggerated insulin surge

🩸 Small & Large Bowel Disorders

Pathology
See also

Colorectal adenocarcinoma's underlying molecular pathways (adenoma-carcinoma sequence, microsatellite instability, hereditary syndromes) are worked out in much more depth in Colonic Polyps & Polyposis Syndromes → Two Molecular Roads to Colorectal Cancer.

Abdominal Pain Localization Logic

  • Visceral peritoneum irritation → dull, poorly localized pain (referred to embryologic dermatome — e.g., early appendicitis = periumbilical)
  • Parietal peritoneum irritation → sharp, well-localized pain (e.g., late appendicitis = RLQ / McBurney point)
Concept check

This visceral-to-parietal progression isn't specific to appendicitis — any inflamed intra-abdominal organ starts as dull, poorly localized pain from visceral peritoneum stimulation and sharpens into localized pain only once inflammation reaches the parietal peritoneum overlying it.

Pain Character as a Diagnostic Clue

  • Sharp, boring epigastric pain radiating straight to the back → suggests pancreatitis
  • Burning, gnawing epigastric pain → suggests gastric or duodenal ulcer disease
  • Pain that begins periumbilically and migrates/localizes to the right lower quadrant → suggests appendicitis

Common Structural & Ischemic Disorders

ConditionMechanismKey Features
Hiatal herniaStomach herniates through the diaphragmatic esophageal hiatus (sliding >> paraesophageal)Predisposes to GERD; retrosternal discomfort, worse supine
AppendicitisLuminal obstruction (fecalith, lymphoid hyperplasia) → bacterial overgrowth, distention, ischemiaPeriumbilical pain migrating to McBurney point; anorexia, low-grade fever, leukocytosis; positive psoas sign (pain with hip extension, suggests a retrocecal appendix), obturator sign (pain with internal rotation of a flexed hip, suggests a pelvic appendix), or Rovsing sign (palpating the left lower quadrant elicits pain in the right lower quadrant); risk of perforation and peritonitis
Malrotation ± Ladd bandsIncomplete midgut rotation leaves the cecum in the upper abdomen; abnormal peritoneal (Ladd) bands can form across and compress the duodenumPresents in infancy with bilious vomiting; predisposes to midgut volvulus, a surgical emergency
DiverticulosisOutpouchings (false diverticula: mucosa/submucosa herniate through the muscularis) at points of vasa recta penetration, low-fiber dietUsually asymptomatic; most common cause of painless lower GI bleeding
DiverticulitisObstruction/microperforation of a diverticulum with inflammationLLQ pain (sigmoid colon), fever, leukocytosis — painful, unlike diverticulosis
Acute mesenteric ischemiaThrombotic, embolic, or low-flow occlusion of mesenteric vesselsPain out of proportion to exam; "thumbprinting" on imaging; can rapidly progress to infarction
Chronic mesenteric ischemiaAtherosclerotic narrowing of two or more mesenteric vessels ("intestinal angina")Dull postprandial abdominal pain → food aversion and weight loss, similar in logic to cardiac angina
Ischemic colitisHypoperfusion of watershed zonesSplenic flexure and rectosigmoid junction most vulnerable (double blood supply territory boundary); crampy pain followed by hematochezia
AngiodysplasiaAcquired tortuous, thin-walled submucosal vessels, usually right colonPainless hematochezia in older adults; linked to aortic stenosis and end-stage renal disease
VolvulusTwisting of bowel on its mesenterySigmoid volvulus: elderly, constipated patients, "coffee bean" sign; cecal/midgut volvulus: younger patients
IntussusceptionTelescoping of proximal bowel into distal segmentClassic pediatric cause: "lead point" often idiopathic (lymphoid hyperplasia) or Meckel diverticulum; "currant jelly" stool, sausage-shaped mass
Concept check

Acute mesenteric ischemia and ischemic colitis are both ischemic, but differ in speed and severity for anatomic reasons: acute mesenteric ischemia is a true vessel occlusion that outpaces collateral flow, while ischemic colitis strikes watershed zones that only fail when global perfusion drops, which is why it tends to be less catastrophic.

Mechanical vs Functional Obstruction

  • Small-bowel obstruction: most often caused by postsurgical adhesions; also hernias, intussusception
  • Large-bowel obstruction: most often caused by colorectal neoplasm; also volvulus, severe diverticular stricture
  • Gallstone ileus: a gallstone erodes through a cholecystoenteric fistula and mechanically obstructs the bowel, classically at the ileocecal valve — a mechanical obstruction despite the name
  • Ileus (adynamic/paralytic): temporary failure of coordinated peristalsis without a mechanical blockage; common postoperatively; distinguished from mechanical obstruction by diffusely decreased bowel sounds and absence of a transition point on imaging
Concept check

Small- and large-bowel obstruction differ in leading cause largely for anatomic reasons — the small bowel has a large peritoneal surface prone to postsurgical adhesions, while the colon's lumen narrows distally, so an intraluminal mass is more likely to obstruct there than proximally.

Colorectal Adenocarcinoma

  • Risk factors: chronic IBD, low-fiber/high-fat diet, hereditary polyposis syndromes, age
  • Adenoma-carcinoma sequence: APC mutation → early adenoma → K-RAS mutation → intermediate adenoma → p53 loss → carcinoma
  • Right-sided tumors: exophytic growth, occult bleeding → iron-deficiency anemia, fatigue; often present late
  • Left-sided tumors: annular "napkin-ring" growth → obstruction, change in bowel habits, visible blood in stool; present earlier
  • CEA is useful for monitoring treatment response/recurrence, not for screening or diagnosis
Concept check

Right- and left-sided colorectal cancers present differently mainly because of luminal caliber and stool consistency — the wide right colon with liquid stool tolerates an exophytic mass silently until it bleeds occultly, while the narrow left colon with solid stool obstructs early around an annular tumor.

Carcinoid Tumor

  • Arises from neuroendocrine (enterochromaffin/Kulchitsky) cells; most common site is the appendix
  • Secretes serotonin and other vasoactive substances
  • Carcinoid syndrome (flushing, diarrhea, bronchospasm, right-sided valvular lesions) occurs only once hepatic metabolism is bypassed — i.e., with liver metastases, since the liver normally clears serotonin from portal blood
  • Diagnosis: elevated urinary 5-HIAA (serotonin metabolite)

Functional & Other Inflammatory Bowel Conditions

ConditionFeatures
Irritable bowel syndromeRecurrent abdominal pain tied to defecation, with a change in stool frequency or form, in the absence of any structural abnormality; most common in middle-aged women; can be diarrhea-predominant, constipation-predominant, or mixed; often coexists with anxiety, depression, or fibromyalgia; first-line management is dietary and lifestyle modification
Microscopic colitisChronic watery diarrhea with a grossly normal-appearing colon on endoscopy; diagnosis requires biopsy, which shows a lymphocytic infiltrate or a thickened subepithelial collagen band; most common in older women
Necrotizing enterocolitisIschemic/infectious necrosis of bowel mucosa in premature, formula-fed infants with an immature gut immune system; classic finding is pneumatosis intestinalis (gas within the bowel wall) on imaging
ProctitisInflammation limited to the rectal mucosa from infection (gonorrhea, chlamydia, HSV, Shigella), IBD, or radiation; presents with tenesmus, rectal pain, and bleeding

🔁 Inflammatory Bowel Disease

Pathology
See also

The drugs used to induce and maintain remission in Crohn disease and UC (5-ASAs, steroids, immunomodulators, anti-TNF agents) are detailed in GI Pharmacology → Antidiarrheals & IBD Therapeutics.

FeatureCrohn DiseaseUlcerative Colitis
LocationMouth to anus, skip lesions; terminal ileum commonColon and rectum only, continuous, starts distally
DepthTransmuralMucosal & submucosal only
Gross appearanceCobblestoning, creeping fat, strictures, fistulasContinuous friable mucosa, pseudopolyps
HistologyNoncaseating granulomasCrypt abscesses
SymptomsDiarrhea (often non-bloody), malabsorption, weight lossBloody, mucoid diarrhea
ComplicationsFistulas, strictures, abscesses, B12 deficiency (terminal ileum involvement)Toxic megacolon, higher colorectal cancer risk
ExtraintestinalAphthous ulcers, arthritis, erythema nodosumPrimary sclerosing cholangitis (strong link), pyoderma gangrenosum, arthritis
Memory anchor (non-mnemonic)
  • Crohn goes deep and skips around; UC stays shallow and stays continuous, starting at the rectum and moving proximally.
Concept check

Colectomy is curative for ulcerative colitis but not for Crohn disease, precisely because UC's mucosal inflammation stays confined to the colon and rectum while Crohn's transmural disease can recur anywhere from mouth to anus.

🫘 The Hepatobiliary System

Hepatology
See also

Biliary colic and cholecystitis are driven by CCK-mediated gallbladder contraction against an obstructed cystic duct, a mechanism explained in GI Hormones & Neural Control → Major GI Hormones.

Functional Liver Anatomy

  • Hepatic lobule: hexagonal unit centered on a central vein, with portal triads (hepatic artery, portal vein, bile duct branch) at the corners
  • Zone 1 (periportal): first to receive oxygenated blood — most susceptible to viral hepatitis and toxin-mediated injury requiring bioactivation
  • Zone 3 (pericentral): lowest oxygen tension — most susceptible to ischemia and to injury from metabolites generated by cytochrome P450 (e.g., acetaminophen toxicity, alcoholic injury)
  • Kupffer cells: resident macrophages lining the sinusoids that clear bacteria and worn-out red blood cells
  • Hepatic stellate (Ito) cells: store vitamin A while quiescent; become activated in chronic injury to lay down extracellular matrix — the main driver of hepatic fibrosis
Drugs with notable hepatotoxic/necrosis potential
  • Acetaminophen (via toxic metabolite, see below)
  • Valproic acid
  • Halothane and other volatile anesthetics
  • Isoniazid, amoxicillin-clavulanate, and statins are additional commonly tested hepatotoxic agents
Concept check

Zone 1 and zone 3 vulnerability come from different mechanisms — zone 1 is exposed first to whatever arrives in portal blood (viruses, ingested toxins), while zone 3's low oxygen tension and high cytochrome P450 activity make it the site where toxic metabolites like NAPQI accumulate, which is why both acetaminophen and alcohol injury concentrate there.

Bile Acid Synthesis & Enterohepatic Circulation

Hepatic cholesterol→ 7-alpha-hydroxylase (rate-limiting)→ Primary bile acids→ Conjugated with glycine/taurine → primary bile salts
  • Colonic bacteria deconjugate/dehydroxylate a portion of bile salts into secondary bile acids
  • ~95% of bile salts are actively reabsorbed at the terminal ileum and recycled to the liver (enterohepatic circulation)
  • ~5% are lost in feces daily — this fecal loss is the route by which the body eliminates cholesterol, and it's the target of bile acid-binding resin therapy
  • Terminal ileum disease or resection interrupts this cycle → bile salt malabsorption, diarrhea, and impaired fat-soluble vitamin absorption
Concept check

Bile acid-binding resins and terminal ileum disease both interrupt the same enterohepatic loop but with opposite consequences: resins force the liver to divert more cholesterol into new bile acid synthesis (lowering LDL), while ileal disease simply loses bile salts to the colon, where they act as secretagogues and cause diarrhea.

Acetaminophen (APAP) Hepatotoxicity

APAP (nontoxic)→ CYP450 metabolism→ NAPQI (toxic metabolite)→ Normally bound & inactivated by glutathione
  • In overdose, glutathione stores are depleted → NAPQI accumulates and covalently binds hepatocyte proteins → centrilobular (zone 3) necrosis
  • CYP450 inducers (chronic ethanol use, isoniazid, rifampin, phenytoin, barbiturates, carbamazepine) increase NAPQI generation and worsen toxicity risk
  • Antidote: N-acetylcysteine — replenishes glutathione stores and can also directly detoxify NAPQI
  • Activated charcoal / gastric decontamination may help if given soon after ingestion

Bilirubin Metabolism & Jaundice

RBC breakdown → heme→ Unconjugated bilirubin (lipid-soluble)→ Hepatic uptake + UGT1A1 conjugation→ Conjugated bilirubin (water-soluble) → bile
Predominant HyperbilirubinemiaCauseMechanism
Unconjugated (indirect)HemolysisBilirubin overproduction exceeds conjugating capacity
Gilbert syndromeMildly reduced UGT1A1 activity; benign, stress-triggered mild jaundice
Crigler-Najjar syndromeSevere/absent UGT1A1 activity; type I is life-threatening (kernicterus risk)
Conjugated (direct)Dubin-Johnson / Rotor syndromeDefective hepatocyte excretion of conjugated bilirubin into bile canaliculi
Biliary obstruction (stones, stricture, tumor)Conjugated bilirubin cannot reach the gut → backs up into blood
Exam trap
  • Dubin-Johnson syndrome classically causes a grossly black-appearing liver on gross pathology, despite being a benign, asymptomatic condition.
Concept check

The whole table reduces to one question — did the defect happen before or after conjugation? Anything upstream (overproduction, impaired uptake, low UGT1A1 activity) backs up lipid-soluble unconjugated bilirubin, while anything downstream (defective excretion, obstruction) backs up water-soluble conjugated bilirubin that can actually appear in urine.

Neonatal Hyperbilirubinemia

  • Mild unconjugated hyperbilirubinemia is nearly universal in the first week of life, from a combination of high fetal RBC turnover, an immature (low-activity) UGT1A1 enzyme, and a sterile newborn gut that favors bilirubin reabsorption over excretion — this benign physiologic pattern typically resolves within 1–2 weeks without treatment
  • Breastfeeding failure jaundice: insufficient milk intake in the first days of life slows gut transit and bilirubin elimination in stool, increasing enterohepatic recirculation
  • Breast milk jaundice: a compound in breast milk increases intestinal deconjugation of bilirubin, appearing later (after the first week) and lasting longer than typical physiologic jaundice
  • Severe, poorly controlled unconjugated hyperbilirubinemia risks kernicterus — deposition of lipid-soluble bilirubin in the basal ganglia and brainstem, causing permanent neurologic injury
  • Treatment is phototherapy, which converts unconjugated bilirubin into water-soluble photoisomers that can be excreted without needing hepatic conjugation

Liver Enzyme Pattern Interpretation

  • AST/ALT disproportionately elevated → hepatocellular injury pattern
  • ALP/GGT disproportionately elevated → cholestatic/obstructive pattern
  • AST:ALT ratio > 2:1 classically suggests alcoholic liver injury
  • Synthetic function: prolonged PT/INR and low albumin indicate advanced hepatic dysfunction (not acute injury alone) — the liver synthesizes albumin and most coagulation factors, so significant hepatocyte loss (roughly >90%) is needed before synthetic capacity clearly declines
  • Broad causes of a hepatocellular pattern
    • Autoimmune hepatitis
    • Viral hepatitis (B, C)
    • Drugs/toxins, chronic ethanol use
    • Fatty liver disease
    • Infiltrative tumors
    • Hemodynamic causes (right heart failure, shock liver)
    • Iron overload (hemochromatosis) or copper overload (Wilson disease)
  • Using GGT to localize an isolated ALP elevation
    • ALP is produced by both liver/biliary tissue and bone (and placenta in pregnancy)
    • GGT is essentially liver/biliary-specific
    • Elevated ALP + elevated GGT → hepatobiliary source
    • Elevated ALP + normal GGT → consider bone disease or pregnancy instead
Concept check

GGT plays the same role here that a confirmatory test plays elsewhere: ALP alone is ambiguous because bone, placenta, and liver all produce it, so pairing it with the liver-specific GGT is what actually localizes an isolated ALP rise to the hepatobiliary system.

Viral Hepatitis

Hep AHep BHep CHep DHep E
GenomessRNAdsDNAssRNADefective ssRNA (needs HBV)ssRNA
TransmissionFecal-oralBlood/sexual/verticalBlood-borne (transfusion historically)Blood/sexual (co- or superinfection with HBV)Fecal-oral
ChronicityNoPossible (higher risk if acquired perinatally)Common (majority progress to chronic)Tied to HBV chronicityNo (except pregnant patients — high mortality risk)
HCC riskNoYesYesNo independent increaseNo
Hepatitis B serology logic
  • HBsAg positive = active infection (acute or chronic)
  • Anti-HBs positive = immunity (recovery or vaccination)
  • Anti-HBc IgM = recent/acute infection; IgG = past or chronic infection
  • "Window period": HBsAg has cleared but anti-HBs has not yet appeared — anti-HBc IgM is the only positive marker

Cirrhosis — Common Causes & Signature Findings

EtiologyDistinguishing Lab/Path FindingNotes
Chronic alcohol useAST:ALT > 2:1; micronodular fibrosisMost common cause of cirrhosis overall (developed countries)
Chronic viral hepatitis (B/C)Positive viral serologiesLeading cause of cirrhosis progressing to HCC
Wilson disease↓ ceruloplasmin, ↑ urinary copperCopper deposits in liver, basal ganglia (movement disorders), cornea (Kayser-Fleischer rings); treated with copper chelation (penicillamine or trientine)
Hereditary hemochromatosis↑ ferritin, ↑ transferrin saturation, ↓ TIBCIron deposits in liver, pancreas (diabetes), skin (bronze pigmentation), heart; treated with therapeutic phlebotomy or iron chelation (deferoxamine/deferasirox) if phlebotomy isn't tolerated
Alpha-1 antitrypsin deficiency↓ serum A1ATMisfolded protein accumulates in hepatocytes → liver disease; also causes panacinar emphysema
Primary biliary cholangitisPositive antimitochondrial antibodyAutoimmune destruction of intrahepatic bile ducts; middle-aged women; first-line treatment is ursodiol
Primary sclerosing cholangitis"Beading" of intra/extrahepatic ducts on cholangiographyStrong association with ulcerative colitis; ↑ cholangiocarcinoma risk
Chronic passive venous congestionRight heart failure or constrictive pericarditis → hepatic sinusoidal congestion"Nutmeg liver" gross appearance; can progress to cardiac cirrhosis if longstanding
Concept check

This table sorts into two mechanistic families: metal-overload diseases (Wilson, hemochromatosis) and AAT deficiency all cause cirrhosis through pathologic accumulation of something the liver can't clear, while PBC and PSC both cause it through immune-mediated bile duct destruction that differs mainly by duct location and disease association.

Alcohol-Associated (and Metabolic) Liver Disease Spectrum

Steatosis (reversible with abstinence)→ Steatohepatitis (Mallory bodies, neutrophilic injury)→ Cirrhosis (fibrous bands, regenerative nodules)
  • Driven by excess NADH generation during alcohol metabolism, which favors fat synthesis and impairs fatty acid oxidation
  • Mallory bodies are damaged, eosinophilic intracytoplasmic keratin clumps seen in steatohepatitis, whether from alcohol or metabolic disease
  • Metabolic dysfunction–associated steatotic liver disease (MASLD, formerly "NAFLD") is the metabolic-syndrome counterpart — obesity-driven hepatic fat accumulation without significant alcohol use; its inflammatory stage (MASH, formerly NASH) can progress to cirrhosis and hepatocellular carcinoma through the same steatosis → steatohepatitis → fibrosis sequence

Reye Syndrome

  • Rare, potentially fatal pediatric hepatic encephalopathy triggered by giving aspirin during a viral illness (classically varicella or influenza)
  • Aspirin metabolites reversibly inhibit mitochondrial enzymes → impaired beta-oxidation → microvesicular fatty liver, hyperammonemia, hypoglycemia, and progressive encephalopathy with cerebral edema
  • This is why aspirin is avoided in children except for specific indications like Kawasaki disease

Consequences of Portal Hypertension

  • Splenomegaly, ascites, hepatic encephalopathy (impaired ammonia clearance)
  • Rising portal pressure forces blood through small collateral veins that normally connect the portal and systemic circulations — these collaterals dilate into varices at three classic sites:
SiteAnastomosis (portal ↔ systemic)Clinical sign
EsophagusLeft gastric vein ↔ esophageal veins (drain to azygos)Esophageal varices — risk of massive hematemesis
UmbilicusParaumbilical vein ↔ superficial epigastric veins of the abdominal wallCaput medusae
RectumSuperior rectal vein ↔ middle/inferior rectal veinsAnorectal (internal hemorrhoidal) varices
  • TIPS (transjugular intrahepatic portosystemic shunt) creates a direct channel between the portal vein and a hepatic vein to decompress portal pressure — effective for refractory varices/ascites, but by diverting blood around the liver's filtering capacity it can precipitate or worsen hepatic encephalopathy
Concept check

All three varix sites are just fetal or normally-quiescent portosystemic channels forced open by rising pressure, which is also why TIPS — a shunt that decompresses the portal system directly through the liver — treats the varices but risks worsening encephalopathy by rerouting portal blood around the liver's detoxifying function.

Systemic Manifestations of Cirrhosis

  • Neurologic: hepatic encephalopathy (confusion, asterixis — a "flapping tremor" on wrist extension); fetor hepaticus (sweet, musty breath odor from circulating mercaptans)
  • Endocrine/skin: gynecomastia, testicular atrophy, spider angiomata, palmar erythema — all reflect impaired hepatic estrogen clearance
  • Hematologic: thrombocytopenia and coagulopathy from splenic sequestration (splenomegaly) plus reduced hepatic synthesis of clotting factors
  • Renal: hepatorenal syndrome — progressive kidney failure driven by splanchnic vasodilation and reduced effective renal blood flow, without an intrinsic structural kidney lesion; a diagnosis of exclusion in advanced cirrhosis
  • Metabolic: hyperbilirubinemia (jaundice), hyponatremia
  • Cardiovascular: peripheral edema, hyperdynamic circulation

Spontaneous Bacterial Peritonitis & Vascular Liver Emergencies

  • Spontaneous bacterial peritonitis (SBP): infection of ascitic fluid without an obvious surgical source, seen in cirrhotic patients; often subtle (fever, abdominal pain, worsening encephalopathy) or even silent; diagnosed by paracentesis showing an ascitic fluid neutrophil count above roughly 250 cells/mm³; typically caused by gram-negative enteric organisms; treated empirically with a third-generation cephalosporin
  • Budd-Chiari syndrome: thrombotic or compressive obstruction of hepatic venous outflow → painful hepatomegaly, ascites, and a mottled "nutmeg liver" from centrilobular congestion; linked to hypercoagulable states, polycythemia vera, and pregnancy; classically spares jugular venous pressure (no JVD), which helps distinguish it from right heart failure as a cause of congestive hepatomegaly
  • Portal vein thrombosis: often clinically silent, but can cause portal hypertension, abdominal pain, and fever; risk factors include cirrhosis, malignancy, and pancreatitis

Focal Liver Lesions

  • Hepatocellular adenoma: benign; associated with oral contraceptive/anabolic steroid use; risk of rupture and hemorrhage; regresses with cessation of hormone exposure
  • Hepatocellular carcinoma: risk factors include cirrhosis (any cause), chronic HBV/HCV, aflatoxin exposure; elevated alpha-fetoprotein; spreads hematogenously
  • Cholangiocarcinoma: malignancy of the bile duct epithelium, most often at the confluence of the right and left hepatic ducts; risk factors include primary sclerosing cholangitis and liver fluke infection (Clonorchis); presents late with jaundice and weight loss
  • Metastatic disease is the most common cause of a liver mass overall — much more common than primary liver cancer
Concept check

Cell of origin and tumor marker travel together here: hepatocellular carcinoma arises from hepatocytes and raises AFP, cholangiocarcinoma arises from bile duct epithelium and doesn't, and hepatocellular adenoma is benign and hormone-driven — regressing when the hormonal trigger is removed rather than needing resection outright.

Gallbladder & Biliary Tract Disease

ConditionFindings
Biliary colicTransient cystic duct obstruction by a stone; postprandial RUQ pain, resolves as stone dislodges
Acute cholecystitisPersistent cystic duct obstruction with inflammation; positive Murphy sign, fever, leukocytosis; a HIDA scan that fails to visualize the gallbladder confirms cystic duct obstruction when ultrasound is equivocal
Acalculous cholecystitisGallbladder inflammation from stasis or ischemia without stones, typically in critically ill or postoperative patients — same presentation as calculous disease but higher risk of gangrene/perforation
CholedocholithiasisStone lodged in the common bile duct; obstructive jaundice
Acute cholangitisInfection of an obstructed biliary tree; Charcot triad (fever, jaundice, RUQ pain); Reynolds pentad adds hypotension + altered mental status (suppurative cholangitis)
Porcelain gallbladderCalcified gallbladder wall from chronic cholecystitis, often an incidental imaging finding; prophylactic cholecystectomy is generally recommended given the associated gallbladder cancer risk
Gallbladder adenocarcinomaCourvoisier sign — painlessly palpable, enlarged gallbladder with obstructive jaundice (distinguishes malignant obstruction from stone-related obstruction, which causes a fibrotic, non-distensible gallbladder)
  • Uncomplicated cholelithiasis and acute cholecystitis are managed surgically with cholecystectomy
  • Choledocholithiasis and cholangitis are typically managed with endoscopic retrograde cholangiopancreatography (ERCP) to clear the duct; surgical common bile duct exploration is reserved for ERCP failure

Gallstone Composition

  • Cholesterol stones: the majority of stones; risk factors include obesity, rapid weight loss, estrogen exposure (pregnancy/OCPs), age, female sex — classic "female, fertile, forty, fat" risk profile
  • Pigment stones: form from excess bilirubin, seen with chronic hemolysis (e.g., sickle cell disease, hereditary spherocytosis) or biliary infection; pigment stones in a child or young adult without a hemolytic or infectious cause should raise suspicion for an underlying hemoglobinopathy

🍽️ Esophagus & Stomach — Normal Function

Physiology

Esophageal Muscle Transition

Upper 1/3: skeletal muscle→ Middle 1/3: mixed skeletal + smooth→ Lower 1/3: smooth muscle
  • Upper esophageal sphincter: skeletal muscle, voluntary control of swallow initiation
  • Lower esophageal sphincter (LES): smooth muscle, relaxes via vagal/NO/VIP signaling to admit the bolus, then contracts to prevent reflux

Gastric Motor Function

  • Receptive relaxation: vagally-mediated fundic relaxation that accommodates incoming food without a large pressure rise
  • Trituration: antral peristaltic waves (~3 per minute) grind food into chyme
  • Migrating motor complex (MMC): motilin-driven "housekeeping" contractions that sweep undigested debris through the gut during fasting

Digestion of Proteins in the Stomach

Pepsinogen (chief cells)→ Cleaved to pepsin by low pH→ Begins protein hydrolysis
Vitamin B12 pathway
  • Intrinsic factor (parietal cells) binds dietary B12 in the stomach → complex travels to terminal ileum for active absorption.
  • Loss of parietal cells (e.g., autoimmune gastritis) removes both acid and intrinsic factor → pernicious anemia risk.

Categories of Vomiting Triggers

  • Vestibular/labyrinthine disturbance (motion sickness, vertigo)
  • Vagally-mediated visceral stimulation (obstruction, distention)
  • Opioid and other drug exposure (direct chemoreceptor trigger zone stimulation)
  • Migraine
  • Metabolic derangement (diabetic ketoacidosis, gastroparesis, hypercalcemia, uremia)
  • Infection (gastroenteritis, systemic illness)
  • Toxin exposure
  • Increased intracranial pressure and alcohol intoxication
  • Neurogenic/psychogenic causes
  • Pregnancy
Mechanism note
  • Most of these triggers converge on the chemoreceptor trigger zone (area postrema), a brainstem region outside the blood-brain barrier that senses circulating toxins/drugs and relays to the vomiting center.

⚗️ GI Hormones & Neural Control

Physiology

Major GI Hormones — Source, Trigger, Action

HormoneSourceStimulusKey Action(s)
GastrinG cells, antrumLuminal peptides/amino acids, vagal input, distention↑ parietal cell H⁺ secretion; trophic to gastric mucosa
Cholecystokinin (CCK)I cells, duodenum/jejunumFatty acids, amino acids in lumenGallbladder contraction; pancreatic enzyme + HCO₃⁻ release; ↓ gastric emptying; ↑ sphincter of Oddi relaxation
SecretinS cells, duodenumLuminal acid (H⁺), fatty acids↑ pancreatic HCO₃⁻ secretion; ↓ gastric acid secretion; ↓ gastric emptying
Gastric inhibitory peptide (GIP)K cells, duodenum/jejunumFatty acids, amino acids, oral glucose↑ insulin release (incretin effect); ↓ gastric H⁺ secretion
MotilinSmall intestineFasting state (cyclic release)Drives migrating motor complexes (interdigestive housekeeping contractions)
SomatostatinD cells (stomach, duodenum, pancreatic islets)Acid in lumenGlobal inhibitor — ↓ gastrin, ↓ acid, ↓ pancreatic/biliary secretion, ↓ motility
VIPEnteric neuronsNeural reflexesSmooth muscle + sphincter relaxation (incl. LES); ↑ intestinal secretion
Peptide YYEndocrine cells, ileum & colonPresence of luminal fat/nutrients reaching the distal gut ("ileal brake")↓ gastric acid secretion, slows upper GI motility
Nitric oxideEnteric neuronsNeural reflexesSmooth muscle relaxation, including the LES
GlucagonAlpha cells, pancreatic isletsHypoglycemiaPromotes hepatic glycogenolysis and gluconeogenesis
Concept check

Most of this table splits into two opposing teams: gastrin, CCK, and motilin promote digestion and motility, while secretin, GIP, somatostatin, and peptide YY brake it — digestion is really a running negotiation between stimulatory hormones triggered by nutrients arriving and inhibitory hormones triggered by nutrients already processed downstream.

Autonomic Modulation of the Gut

  • Parasympathetic (vagal, ACh)
    • ↑ secretion (salivary, gastric, pancreatic)
    • ↑ motility, relaxes sphincters appropriately for transit
    • Mediates receptive relaxation of the stomach
  • Sympathetic (NE)
    • ↓ motility and secretion (redirects blood flow away from gut in "fight-or-flight")
    • Contracts sphincters

Three Phases of Gastric Acid Secretion

Cephalic (sight/smell/taste)→ Gastric (luminal distention/peptides)→ Intestinal (chyme feedback)
Cell-to-secretion map (stomach)
  • Parietal cells (fundus/body) → HCl + intrinsic factor
  • Chief cells → pepsinogen (activated to pepsin at low pH)
  • G cells (antrum) → gastrin
  • Enterochromaffin-like (ECL) cells → histamine, released in response to both gastrin and vagal (ACh) input
  • Mucous neck cells → protective bicarbonate-rich mucus
Why H2 blockers work despite acting downstream of gastrin
  • Gastrin's main effect on acid output is indirect — it stimulates ECL cells to release histamine, which then acts on parietal cell H2 receptors as the dominant final trigger for acid secretion. This is why blocking the H2 receptor blunts acid output from essentially all three stimuli (gastrin, histamine, and vagal ACh) acting in concert, not just histamine alone.

🧪 Digestion, Absorption & Nutrient Handling

Physiology

Macronutrient Digestion Pathways

  • Carbohydrates
    • Salivary + pancreatic amylase break starch into disaccharides
    • Brush-border enzymes (lactase, sucrase-isomaltase) finish digestion to monosaccharides
    • Glucose/galactose: SGLT1 (Na⁺-dependent) transport
    • Fructose: GLUT5 facilitated diffusion
  • Protein
    • Pepsin begins breakdown in stomach
    • Pancreatic trypsinogen → trypsin (activated by brush-border enterokinase, then autocatalytic)
    • Trypsin activates the rest of the pancreatic zymogen cascade (chymotrypsinogen, proelastase, procarboxypeptidase)
    • Absorbed as free amino acids and di-/tripeptides via distinct Na⁺-dependent carriers
  • Fat
    • Mechanical emulsification in stomach → smaller droplets
    • Pancreatic lipase hydrolyzes triglycerides to free fatty acids + monoacylglycerol
    • Bile salts (amphipathic) package products into micelles for delivery to the enterocyte brush border
    • Inside enterocytes, re-esterified triglycerides + cholesterol + apolipoproteins assemble into chylomicrons → lymphatics (lacteals) → thoracic duct → systemic circulation (bypasses portal vein)
Concept check

All three macronutrient pathways depend on an activation cascade rather than acting immediately in active form — pepsinogen needs acid, trypsinogen needs enterokinase, and pancreatic lipase needs bile salts for delivery — which is exactly why premature activation of this same trypsinogen cascade inside the pancreas, rather than the duodenum, is what causes pancreatitis.

Exam trap
  • Short- and medium-chain fatty acids are absorbed directly into the portal vein (no chylomicron packaging needed) — unlike long-chain fatty acids.

Site-Specific Absorption Map

SitePrimary Absorbed Substances
DuodenumIron, calcium, magnesium, folate, fat-soluble vitamins (A, D, E, K)
JejunumBulk of carbohydrates, proteins, and fats (majority of nutrient absorption)
IleumVitamin B12–intrinsic factor complex, bile salts (enterohepatic recycling); functional reserve capacity
ColonWater and electrolytes (Na⁺ absorbed, K⁺ secreted); short-chain fatty acids from fiber fermentation
  • The colon can absorb roughly 2–3 L of water per day; once this daily capacity is exceeded, the excess is excreted as diarrhea
  • The stomach itself absorbs very little of anything except a small amount of ethanol and water
  • Defecation is coordinated by both an involuntary rectosphincteric reflex (internal anal sphincter relaxation with rectal distention) and voluntary control of the external anal sphincter
Concept check

This map predicts disease consequences by location: proximal small bowel disease (celiac) tends to cause iron, calcium, and fat-soluble vitamin deficiency, while terminal ileum disease (Crohn, resection) selectively causes B12 deficiency and bile salt malabsorption, since the ileum is the only site handling either.

Lipoprotein Trafficking Overview

Chylomicrons (dietary fat)→ Lipoprotein lipase delivers FFA to tissue→ Chylomicron remnants → liver
VLDL (liver-made triglyceride)→ IDL→ LDL (cholesterol delivery to tissue)
HDL→ Reverse cholesterol transport to liver
  • High LDL is an independent risk factor for atherosclerosis and coronary artery disease
  • Statins (HMG-CoA reductase inhibitors) are first-line for lowering LDL; monitor liver enzymes for hepatotoxicity
  • Bile acid-binding resins (cholestyramine, colestipol) bind intestinal bile acids and prevent their reabsorption, forcing the liver to divert more cholesterol into new bile acid synthesis — net effect is lowered LDL
  • Niacin (nicotinic acid) suppresses hepatic release of VLDL, secondarily lowering LDL and raising HDL; flushing is a common side effect

🦠 Infectious & Mechanistic Diarrhea

Microbiology
See also

Osmotic and secretory diarrhea both come down to overwhelming the colon's normal water-handling capacity, which is quantified in Digestion, Absorption & Nutrient Handling → Site-Specific Absorption Map.

Diarrhea Mechanisms

  • Osmotic: unabsorbed solutes pull water into the lumen (e.g., lactase deficiency); resolves with fasting
  • Secretory: active ion (Cl⁻) secretion drives obligatory water loss (e.g., cholera toxin); persists with fasting
  • Inflammatory/exudative: mucosal damage causes protein/blood/pus leakage into lumen (e.g., invasive bacteria, IBD)
  • Motility-related: altered transit time (e.g., IBS, hyperthyroidism, diabetic autonomic neuropathy)

Bacterial Causes

OrganismStool PatternDistinguishing Notes
Vibrio choleraeWatery, "rice water" stoolToxin activates adenylate cyclase → ↑cAMP → Cl⁻ secretion; classic secretory diarrhea
Enterotoxigenic E. coli (ETEC)WateryMost common cause of traveler's diarrhea; heat-labile/heat-stable toxins
Enterohemorrhagic E. coli (O157:H7)BloodyShiga-like toxin; undercooked beef; risk of hemolytic uremic syndrome — avoid antibiotics (↑ toxin release)
Salmonella (non-typhoidal)Bloody or wateryPoultry, eggs, reptiles; invades but does not usually require antibiotics; a relatively high inoculum (~100,000 organisms) is typically needed to cause infection
ShigellaBloody, mucoidVery low infectious dose (~10–100 organisms); Shiga toxin; may cause reactive arthritis, HUS
Campylobacter jejuniBloodyLeading bacterial cause of food-borne diarrhea in the US; associated with Guillain-Barré syndrome
Clostridioides difficileWatery, foul-smellingAntibiotic-associated; pseudomembranous colitis; treat with oral vancomycin or fidaxomicin
Yersinia enterocoliticaBloodyCan mimic appendicitis (mesenteric adenitis); contaminated pork/dairy
Concept check

Infectious dose is doing real epidemiologic work in this table — Shigella's tiny inoculum (~10–100 organisms) supports person-to-person and fecal-oral spread even with minimal contamination, while Salmonella's much higher required dose (~100,000) means it usually needs food that's actively supported bacterial growth.

Viral & Protozoal Causes

OrganismPopulation/SettingNotes
RotavirusInfants/young childrenMost common cause of severe pediatric diarrhea worldwide; vaccine-preventable
NorovirusAll ages, outbreaks (cruise ships, schools)Highly contagious, short incubation
Giardia lambliaCampers, contaminated waterFoul-smelling, greasy stool (malabsorptive); trophozoite has a characteristic "face" appearance; treat with metronidazole
Entamoeba histolyticaEndemic/travel exposureFlask-shaped ulcers, bloody dysentery, risk of liver abscess ("anchovy paste")
CryptosporidiumImmunocompromised (esp. AIDS)Severe watery diarrhea; self-limited if immunocompetent

🧫 GI Pathogens — Quick Reference

Microbiology
See also

This is a quick-reference list; the clinical presentations, stool patterns, and distinguishing features for these same organisms are covered in Infectious & Mechanistic Diarrhea → Bacterial Causes.

Bacterial

  • Salmonella, Shigella
  • Escherichia coli (ETEC, EHEC, EIEC, EPEC subtypes)
  • Campylobacter jejuni
  • Vibrio cholerae
  • Clostridioides difficile
  • Yersinia enterocolitica
  • Staphylococcus aureus (preformed toxin, rapid-onset food poisoning)
  • Bacillus cereus (fried rice-associated)
  • Helicobacter pylori

Parasitic

  • Entamoeba histolytica
  • Giardia lamblia
  • Cryptosporidium
  • Ascaris lumbricoides
  • Strongyloides stercoralis
  • Trichuris trichiura

Viral

  • Rotavirus
  • Norovirus
  • Adenovirus (enteric serotypes)

🥞 The Pancreas

Pathology
See also

Acute pancreatitis is fundamentally the premature activation of the same trypsinogen → trypsin cascade that normally drives protein digestion, detailed in Digestion, Absorption & Nutrient Handling → Macronutrient Digestion Pathways.

Acute vs Chronic Pancreatitis

Acute PancreatitisChronic Pancreatitis
Top causesGallstones, alcohol ("GET SMASHED": Gallstones, Ethanol, Trauma, Steroids, Mumps, Autoimmune, Scorpion sting, Hyperlipidemia/Hypercalcemia, ERCP, Drugs)Chronic alcohol use (adults); cystic fibrosis (children)
MechanismPremature intrapancreatic activation of trypsinogen → autodigestionRecurrent injury → fibrosis, calcification, loss of exocrine/endocrine tissue
PresentationSevere epigastric pain radiating to the back, nausea/vomiting; Cullen sign (periumbilical) or Grey Turner sign (flank) with hemorrhagic necrosisSteatorrhea, diabetes, chronic epigastric pain, weight loss
Labs/imaging↑ lipase (more specific), ↑ amylase; hypocalcemia (saponification)Pancreatic calcifications on imaging; enzymes may be normal in burnt-out disease
ComplicationsPseudocyst, necrosis, abscess, ARDS, shockMalabsorption, diabetes mellitus, ↑ pancreatic cancer risk
Clinical pearl
  • Amylase/lipase elevations tend to be markedly higher (often in the thousands) in gallstone-induced pancreatitis compared with a more modest rise (often in the hundreds) in alcohol-induced pancreatitis, since chronic alcohol use progressively reduces functioning acinar tissue available to release enzyme.

Pancreatic Exocrine Neoplasm

  • Ductal adenocarcinoma
    • Risk factors: smoking, chronic pancreatitis, age, diabetes
    • Over half arise in the pancreatic head → obstructive jaundice (often painless)
    • Trousseau sign (migratory superficial thrombophlebitis) is a classic paraneoplastic clue
    • Elevated CA 19-9 (tumor marker); poor overall prognosis due to late presentation
Concept check

Painless jaundice is a location clue, not a stage clue — most ductal adenocarcinomas arise in the pancreatic head specifically because that's where the tumor mechanically obstructs the adjacent common bile duct, not because head tumors are inherently more advanced than body or tail tumors.

Pancreatic Endocrine (Islet Cell) Tumors

TumorCell of OriginPresentation
InsulinomaBeta cellsWhipple triad: fasting hypoglycemia, CNS symptoms, relief with glucose; elevated C-peptide distinguishes it from exogenous insulin use
Gastrinoma (Zollinger-Ellison syndrome)Gastrin-secreting cells (pancreas or duodenum)Recurrent/refractory peptic ulcers, often distal or multiple; may be part of MEN 1
MEN 1 anchor
  • Multiple endocrine neoplasia type 1 involves the "3 P's": Pituitary, Parathyroid, and Pancreas tumors.

🔴 Colonic Polyps & Polyposis Syndromes

Pathology
See also

Chronic ulcerative colitis raises colorectal cancer risk through a distinct route — longstanding mucosal inflammation and dysplasia rather than the adenoma-carcinoma sequence — as noted in Inflammatory Bowel Disease.

Nonneoplastic Polyps

  • These lack significant malignant potential on their own — worth recognizing so they aren't confused with the neoplastic types below
TypeNotes
Hyperplastic polypMost common polyp type overall; small, usually in the rectosigmoid; occasionally evolves toward a serrated lesion
Inflammatory pseudopolypIslands of regenerating mucosa surrounded by ulceration in IBD, not a true growth
Mucosal polypTiny (<5 mm), resembles normal mucosa, clinically insignificant
Submucosal polypLipoma, leiomyoma, or similar non-epithelial growth bulging into the lumen

Neoplastic Polyp Types (by malignant potential)

Tubular — lowest risk→ Tubulovillous — intermediate risk→ Villous — highest risk
  • Villous adenomas tend to be sessile (flat-based) with fingerlike projections and carry the greatest malignant potential
  • Tubular adenomas are the most common polyp type overall and are usually pedunculated
  • Larger size and higher villous component both increase cancer risk
  • Serrated polyps are a separate neoplastic pathway (distinct from the tubular/tubulovillous/villous adenoma spectrum) — they carry a "saw-tooth" crypt pattern on biopsy and silence mismatch repair genes through promoter methylation, feeding into the same microsatellite instability route discussed below
Concept check

Villous adenomas carry more cancer risk than tubular ones largely for structural reasons — their broad, sessile base exposes more epithelial surface to luminal carcinogens, while a tubular adenoma's stalk both limits that exposure and makes complete removal easier.

Hereditary Polyposis Syndromes

SyndromeGeneticsKey Features
Familial adenomatous polyposis (FAP)APC mutation, autosomal dominantHundreds to thousands of colonic polyps; near-100% cancer risk without colectomy
Gardner syndromeAPC mutation variantFAP + osteomas, soft tissue tumors, dental abnormalities
Turcot syndromeAPC mutation variantFAP/Lynch-type polyposis + CNS tumors (medulloblastoma, glioblastoma)
Peutz-Jeghers syndromeSTK11 mutation, autosomal dominantBenign hamartomatous polyps; mucocutaneous hyperpigmentation (lips, palms); increased risk of GI and other organ cancers despite polyps being benign
Lynch syndrome (HNPCC)DNA mismatch repair gene mutation, autosomal dominantFewer polyps but early-onset, right-sided colorectal cancer; also endometrial, ovarian, and skin cancer risk
Juvenile polyposis syndromeAutosomal dominant, typically presents before age 5Numerous hamartomatous polyps in the colon, stomach, and small bowel; increased colorectal cancer risk despite the polyps themselves being hamartomas
MUTYH-associated polyposisMUTYH DNA-repair gene, autosomal recessiveAdenomatous (and sometimes serrated) polyps with markedly increased colorectal cancer risk; also linked to duodenal, ovarian, and bladder tumors
Concept check

Polyp count and cancer risk aren't the same axis — FAP-family syndromes generate hundreds to thousands of polyps with near-certain progression given enough time, while Lynch syndrome generates relatively few polyps that progress unusually fast, which is why screening intervals for Lynch are shorter despite the lower polyp burden.

Two Molecular Roads to Colorectal Cancer

  • Chromosomal instability pathway: APC loss → RAS mutation → p53 loss (the classic adenoma-carcinoma sequence); underlies FAP and most sporadic, typically left-sided cancers
  • Microsatellite instability pathway: mismatch repair gene loss or silencing (e.g., MLH1) via the serrated polyp route; underlies Lynch syndrome and a subset of sporadic, typically right-sided cancers

Screening & Diagnostic Pearls

  • Average-risk screening starts at age 45 with colonoscopy (or an alternative such as fecal immunochemical testing, FIT-DNA, or CT colonography)
  • A first-degree relative with colon cancer moves screening up to age 40, or 10 years before that relative's age at diagnosis, whichever is earlier
  • Patients with longstanding IBD begin screening about 8 years after disease onset
  • An "apple core" napkin-ring lesion on barium enema reflects an annular, obstructing left-sided tumor
  • Streptococcus gallolyticus (formerly S. bovis) bacteremia or endocarditis is a classic clue prompting a colonoscopy to look for an underlying colorectal tumor
  • CEA is used to monitor for recurrence after treatment, not as a screening test

📉 Malabsorption Syndromes

Pathology
See also

These syndromes disrupt specific steps of normal nutrient handling — brush-border enzymes, site-specific absorption, or mucosal architecture — laid out in Digestion, Absorption & Nutrient Handling → Site-Specific Absorption Map.

ConditionMechanismKey Features
Celiac diseaseImmune reaction to gluten (gliadin) → villous blunting, crypt hyperplasiaAssociated with HLA-DQ2/DQ8; anti-tTG and anti-endomysial antibodies; improves on gluten-free diet; ↑ risk of enteropathy-associated T-cell lymphoma
Tropical spruePresumed infectious insult damaging small bowel mucosaOccurs in tropical regions; responds to antibiotics, unlike celiac disease
Whipple diseaseSystemic infection with Tropheryma whippelii; PAS-positive foamy macrophages infiltrate lamina propriaOlder male patients; diarrhea, arthralgia, lymphadenopathy, weight loss, CNS involvement possible
Disaccharidase deficiencyLactase (most common) or other brush-border enzyme deficiencyBloating, osmotic diarrhea after dairy; normal-appearing mucosa; hydrogen breath test
AbetalipoproteinemiaDefective apolipoprotein B synthesis → chylomicrons and VLDL cannot formAutosomal recessive; fat malabsorption, acanthocytes, ataxia, retinitis pigmentosa in childhood
Small intestinal bacterial overgrowthExcess colonic-type bacteria in small bowel (stasis, motility disorders)Bloating, diarrhea, B12 deficiency (bacteria consume B12); folate may be normal/increased (bacterial synthesis)
Chronic pancreatitis / exocrine insufficiencyLoss of pancreatic lipaseSteatorrhea, fat-soluble vitamin deficiency
Short bowel syndromeInadequate small bowel surface area after major resection (e.g., for Crohn disease, mesenteric ischemia, trauma)Voluminous postprandial diarrhea, dehydration, weight loss; loss of the terminal ileum specifically causes bile salt malabsorption, steatorrhea, and increased calcium oxalate kidney stone risk
D-xylose test — mucosal vs pancreatic malabsorption
  • D-xylose is a simple sugar absorbed passively in the proximal small bowel without needing pancreatic enzymes
  • Abnormal (low) blood/urine levels → points to a mucosal problem (e.g., celiac disease, tropical sprue)
  • Normal levels despite steatorrhea → points to pancreatic exocrine insufficiency, since the mucosa itself is intact
Clinical pearl
  • Fat malabsorption of any cause can cascade into deficiencies of vitamins A, D, E, and K — think night blindness, osteomalacia, neuropathy, and coagulopathy respectively.

💊 GI Pharmacology

Pharmacology
See also

Octreotide's role in acute variceal bleeding follows from the portal hypertension it's treating — splanchnic vasodilation forcing blood through esophageal collaterals — explained in The Hepatobiliary System → Consequences of Portal Hypertension.

Acid-Suppressing & Mucosal-Protective Agents

Class / DrugMechanismNotable Adverse Effects
Proton pump inhibitors (omeprazole, esomeprazole)Irreversibly inhibit H⁺/K⁺-ATPase in parietal cellsIncreased fracture risk with long-term use, B12/magnesium deficiency, rebound hyperacidity, C. difficile risk
H2 blockers (famotidine, cimetidine)Reversibly block histamine H2 receptors on parietal cellsCimetidine: potent CYP450 inhibitor, antiandrogen effects (gynecomastia), also reduces renal creatinine excretion (can falsely elevate serum creatinine); famotidine has fewer interactions
Antacids (Al(OH)3, Mg(OH)2, CaCO3)Directly neutralize gastric acidAluminum → constipation; magnesium → diarrhea; calcium → constipation/hypercalcemia; all can alter absorption of other drugs
SucralfateBinds to ulcer base, forms protective barrierRequires acidic environment to activate; can impair absorption of other drugs
MisoprostolPGE1 analog — restores protective mucus/bicarbonate, ↓ acidContraindicated in pregnancy (abortifacient/uterotonic)
Bismuth subsalicylateCoats ulcers, antimicrobial propertiesUsed in H. pylori quadruple therapy; harmless black stool/tongue
Muscarinic antagonists (pirenzepine, propantheline)Block M1 receptors on ECL cells and M3 receptors on parietal cells → ↓ histamine and acid secretionRarely used now; anticholinergic effects (tachycardia, dry mouth, blurred vision)
Concept check

PPIs achieve deeper acid suppression than H2 blockers because they block the parietal cell's final common pathway (H+/K+-ATPase) regardless of what triggered it, while H2 blockers only interrupt one of the three convergent inputs — gastrin and vagal ACh still drive some acid output through the other two routes.

H. pylori Eradication Concept

PPI+ Clarithromycin+ Amoxicillin (or Metronidazole)

Antiemetics

DrugMechanismBest Use
Ondansetron5-HT3 receptor antagonistChemotherapy- and postoperative-induced nausea; watch for QT prolongation
MetoclopramideD2 antagonist, prokineticDiabetic gastroparesis; risk of extrapyramidal symptoms/tardive dyskinesia
ProchlorperazineD2 antagonistGeneral nausea; extrapyramidal effects possible
PromethazineAntihistamine (H1 blocker) with D2-antagonist activityMotion sickness, migraine-associated nausea, allergy symptoms; sedation, anticholinergic effects
ScopolamineMuscarinic antagonistMotion sickness (transdermal patch); dry mouth, blurred vision
Aprepitant / fosaprepitantNK1 (neurokinin-1/substance P) receptor antagonistAdd-on for chemotherapy-induced nausea; fatigue, GI upset
Concept check

These drugs sort by which afferent pathway they target rather than by drug class alone — 5-HT3 and D2 antagonists cover chemoreceptor trigger zone-driven nausea (chemo, postop, uremia), while H1/muscarinic antagonists cover vestibular-driven nausea (motion sickness) — so picking the right antiemetic depends on identifying the trigger, not just reaching for the strongest agent.

Octreotide

  • Long-acting somatostatin analog — suppresses release of gastrin, VIP, and other splanchnic vasodilatory hormones, and reduces splanchnic blood flow
  • Used for acute variceal bleeding, acromegaly, carcinoid syndrome, and VIPoma
  • Adverse effects: nausea, cramping, steatorrhea; increases gallstone risk by inhibiting CCK-mediated gallbladder emptying

Antidiarrheals & IBD Therapeutics

  • Loperamide and diphenoxylate: both are peripheral opioid-receptor agonists that slow gut motility; loperamide has essentially no CNS penetration (low abuse potential), while diphenoxylate is combined with atropine specifically to discourage misuse at high doses
  • Sulfasalazine (sulfapyridine + 5-ASA): anti-inflammatory, activated by colonic bacteria; used in UC and Crohn colitis; adverse effects include reversible oligospermia and sulfonamide-related reactions
  • Glucocorticoids (e.g., budesonide): induce remission in an IBD flare but are not used for long-term maintenance given their side-effect burden
  • Azathioprine / 6-mercaptopurine: steroid-sparing immunomodulators for maintenance therapy in both Crohn disease and UC; bone marrow suppression is the main risk, worsened by concurrent allopurinol (both are metabolized by xanthine oxidase)
  • Infliximab / adalimumab (anti-TNF monoclonal antibodies): used for moderate-to-severe Crohn disease and UC; screen for latent TB and hepatitis B before starting, since anti-TNF therapy can reactivate both

Laxative Classes

ClassExampleMechanism
Bulk-formingPsyllium, methylcelluloseAdds fiber bulk, retains water in stool
OsmoticLactulose, magnesium citrate, polyethylene glycolDraws water into the lumen; lactulose also traps ammonia (NH4⁺) — useful in hepatic encephalopathy
Stool softenerDocusateEmulsifies stool, allows water/fat to penetrate
StimulantSenna, bisacodylDirectly increases colonic motility/secretion
Hyperosmolar lubricantMineral oilDraws water into the lumen and lubricates stool passage; can impair absorption of fat-soluble vitamins with prolonged use
ProkineticMetoclopramideIncreases upper GI motility and LES tone via D2 antagonism; useful in gastroparesis, does not primarily act on colonic transit
Chloride channel activatorLubiprostoneActivates intestinal chloride channels to draw fluid into the lumen; used for chronic idiopathic constipation and constipation-predominant IBS
Guanylate cyclase-C agonistLinaclotide, plecanatideRaises intracellular cGMP → increases intestinal fluid/electrolyte secretion and speeds transit; also used for IBS with constipation
Serotonergic (5-HT4) agonistPrucaloprideStimulates enteric neurons to increase peristalsis; used for chronic idiopathic constipation
NHE3 inhibitorTenapanorBlocks intestinal sodium/hydrogen exchange, reducing sodium absorption and drawing water into the lumen; used for IBS with constipation
Clinical pearl
  • Lactulose's benefit in hepatic encephalopathy comes from trapping ammonia as ammonium in the acidified colon — not simply from its laxative effect; rifaximin, a poorly absorbed antibiotic, complements this by directly reducing the population of ammonia-producing gut bacteria, and the two are often combined in refractory cases.

Orlistat

  • Inhibits gastric and pancreatic lipase, blocking breakdown and absorption of dietary fat
  • Used for weight loss, taken with fat-containing meals
  • Adverse effects: abdominal cramping, flatulence, oily/frequent stools, and reduced absorption of fat-soluble vitamins

🧬 GI Embryology & Congenital Defects

Embryology
See also

Hirschsprung disease's aganglionic segment shares its exact mechanism — loss of myenteric (Auerbach) plexus neurons — with achalasia in the esophagus, discussed under Esophagus & Stomach — Disease → Esophageal Motility & Structural Disorders.

Foregut-Midgut-Hindgut Framework

  • Foregut
    • Distal esophagus → proximal duodenum (to major papilla)
    • Liver, gallbladder, and ventral/dorsal pancreatic buds
    • Arterial supply: celiac trunk
    • Vagal (parasympathetic) + greater splanchnic (sympathetic) innervation
  • Pancreatic bud fusion
    • Ventral bud → pancreatic head (lower portion) and uncinate process; rotates dorsally to fuse with the dorsal bud
    • Dorsal bud → body, tail, and most of the head
    • Main pancreatic duct forms from fusion of the distal dorsal duct with the entire ventral duct; drains with the CBD at the major duodenal papilla
    • Failed ventral bud rotation/fusion is the basis of annular pancreas
    • Pancreas divisum: the dorsal and ventral ducts fail to fuse altogether, so drainage stays split between the minor papilla (dominant dorsal duct) and major papilla (ventral duct) — usually asymptomatic, but the most common congenital pancreatic anomaly and an occasional cause of pancreatitis
  • Midgut
    • Distal duodenum → proximal two-thirds of transverse colon
    • Undergoes physiologic umbilical herniation (weeks 6–10), then 270° counterclockwise rotation around the SMA axis
    • Arterial supply: superior mesenteric artery (SMA)
    • Vagal + lesser splanchnic innervation
  • Hindgut
    • Distal one-third transverse colon → upper anal canal (above pectinate line)
    • Arterial supply: inferior mesenteric artery (IMA)
    • Pelvic splanchnic (parasympathetic, S2–S4) + lumbar splanchnic (sympathetic) innervation
  • Anal canal transition at the pectinate line
    • Above: hindgut-derived, columnar epithelium, visceral (dull) pain sensation
    • Below: ectoderm-derived (proctodeum), squamous epithelium, somatic (sharp) pain sensation, internal vs external hemorrhoids split here
  • Other ectoderm-derived GI structures
    • Anterior two-thirds of the tongue, lips, parotid gland, and tooth enamel all derive from ectoderm (stomodeum) rather than foregut endoderm
Concept check

Arterial supply, parasympathetic innervation, and embryologic origin all travel together along a single foregut-midgut-hindgut axis, so once you know which segment a structure derives from, you can predict its blood supply (celiac/SMA/IMA) and vagal-versus-pelvic parasympathetic input without memorizing them separately.

Tongue Development & Pharyngeal Arch Origins

  • Anterior two-thirds of the tongue arises from arches 1–2 (taste via CN VII, general sensation via CN V3)
  • Posterior one-third arises from arches 3–4 (taste and sensation mainly via CN IX, with CN X covering the extreme posterior)
  • Mnemonic for taste/sensation split: CN VII and V3 cover the front, CN IX (and a little CN X) cover the back
  • Nearly all tongue muscles are supplied by CN XII (motor), with the notable exception of palatoglossus (CN X)
  • Genioglossus protrudes the tongue; styloglossus draws it up and back; hyoglossus depresses it
  • Overall taste is carried by CN VII, IX, X; general/pain sensation by CN V3, IX, X; motor by CN X and XII

Digestive Tract Histology by Segment

SegmentEpithelium / Distinguishing Features
EsophagusNonkeratinized stratified squamous; upper third is skeletal muscle, lower two-thirds smooth muscle, with a mixed transition zone in between
StomachGastric pits/glands; eosinophilic (pink) parietal cells vs basophilic chief cells
DuodenumVilli and microvilli maximize surface area; Brunner glands (submucosal, bicarbonate-secreting) are unique to this segment; crypts of Lieberkühn contain stem cells and Paneth cells (defensins, lysozyme)
JejunumTallest, most numerous plicae circulares — creates a "feathery" look on contrast imaging; bulk of nutrient absorption occurs here
IleumPeyer patches (lymphoid follicles in lamina propria/submucosa) and the highest goblet cell density of the small bowel
ColonCrypts of Lieberkühn packed with goblet cells, but no villi
Concept check

Each segment's distinguishing histologic feature exists because of what that segment does — Brunner glands neutralize acidic chyme entering the duodenum, Peyer patches in the ileum provide immune surveillance at the site of highest bacterial load, and the colon's villus-free, goblet-cell-dense crypts favor water/electrolyte absorption and mucus protection over nutrient uptake.

GI Tract Wall — Histologic Layers

Mucosa (epithelium + lamina propria + muscularis mucosae)→ Submucosa (Meissner/submucosal plexus)→ Muscularis propria (inner circular + outer longitudinal + Auerbach/myenteric plexus)→ Serosa / adventitia
  • Submucosal (Meissner) plexus: primarily regulates secretion and local blood flow
  • Myenteric (Auerbach) plexus: sits between the two muscle layers, primarily controls motility
  • Loss of myenteric ganglion cells is the defect underlying both Hirschsprung disease (colon) and achalasia (esophagus)

Epiploic Foramen of Winslow

  • Natural opening connecting the greater and lesser peritoneal sacs
  • Anterior border: hepatoduodenal ligament (contains the common bile duct, proper hepatic artery, and portal vein — the "portal triad in miniature")
  • Superior border: caudate lobe of the liver
  • Inferior border: first part of the duodenum
  • Posterior border: inferior vena cava
Pringle maneuver
  • Manually clamping the hepatoduodenal ligament (or applying a vascular clamp through the epiploic foramen) compresses the hepatic artery and portal vein, helping distinguish inflow bleeding from hepatic vein/IVC outflow bleeding during liver trauma or surgery

Key Peritoneal Ligaments

LigamentConnectsCarries
Falciform ligamentLiver to anterior abdominal wallLigamentum teres (remnant of fetal umbilical vein)
Hepatoduodenal ligamentLiver to duodenumPortal triad; part of the lesser omentum; borders the epiploic foramen
Hepatogastric ligamentLiver to lesser curvature of stomachGastric vessels; part of the lesser omentum; separates the greater and lesser sacs on the right
Gastrocolic ligamentGreater curvature of stomach to transverse colonGastroepiploic vessels; part of the greater omentum
Gastrosplenic ligamentGreater curvature of stomach to spleenShort gastric and left gastroepiploic vessels; separates the sacs on the left
Splenorenal ligamentSpleen to posterior abdominal wallSplenic vessels and tail of pancreas

Pectinate Line, Hemorrhoids & Anal Fissure

  • The pectinate (dentate) line marks where hindgut endoderm meets ectoderm — it's the developmental hinge for how the anal canal is innervated, drained, and supplied
Above the lineBelow the line
Embryologic originHindgut (endoderm)Proctodeum (ectoderm)
EpitheliumColumnarSquamous
Arterial supplySuperior rectal artery (from IMA)Inferior rectal artery (from internal pudendal artery)
Venous drainageSuperior rectal vein → IMV → portal systemInferior rectal vein → internal pudendal vein → systemic (IVC) system
Innervation / painVisceral (inferior hypogastric plexus) — not painfulSomatic (pudendal nerve) — painful
Lymphatic drainageInternal iliac nodesSuperficial inguinal nodes
Hemorrhoid typeInternal — painless, may bleedExternal — painful, especially if thrombosed
Cancer type if malignantAdenocarcinomaSquamous cell carcinoma
  • Anal fissure: a tear in the anoderm below the pectinate line, classically in the posterior midline (the most poorly perfused area) — causes pain with defecation and bright red blood on the toilet paper; linked to constipation and low-fiber diets
Concept check

Every column in this table — arterial supply, venous drainage, innervation, lymphatic drainage, and cancer type — is downstream of a single embryologic fact: what's above the line is hindgut endoderm and what's below is ectoderm, so knowing that one boundary predicts the whole clinical picture rather than requiring five separate memorized facts.

Arterial Watersheds & Vascular Compression Syndromes

  • GI-supplying arteries branch off the aorta anteriorly and are unpaired (celiac, SMA, IMA); non-GI arteries (renal, gonadal, lumbar) branch laterally/posteriorly and are paired
  • Two colonic "watershed" zones receive overlapping supply from the terminal branches of two different arteries, making them most vulnerable to ischemia during hypotension or embolism:
    • Splenic flexure — junction of SMA and IMA territory
    • Rectosigmoid junction — junction of the last sigmoid branch and the superior rectal artery (both IMA branches)
  • Nutcracker syndrome: the left renal vein is compressed between the SMA and aorta → flank pain, hematuria, left-sided varicocele (in males) from backed-up renal venous pressure
  • SMA syndrome: the third (transverse) part of the duodenum is compressed between the SMA and aorta, typically when mesenteric fat is diminished (rapid weight loss, malnutrition, post-bariatric surgery) → postprandial pain and intermittent obstruction

Abdominal Wall, Inguinal Canal & Hernias

  • Hesselbach triangle is bordered by the inferior epigastric vessels (lateral), rectus abdominis (medial), and inguinal ligament (inferior) — it's the weak spot for direct hernias
  • Spermatic cord layers, outside-in from the internal oblique/external oblique/transversalis fascia: external spermatic fascia, cremasteric muscle/fascia, internal spermatic fascia
HerniaPathRelation to inferior epigastric vesselsTypical patient
Indirect inguinalThrough the deep (internal) inguinal ring, along the inguinal canal, out the superficial ring — follows the path of testicular descentLateralCan present at any age; caused by a patent processus vaginalis, so more often congenital
Direct inguinalBulges directly through the abdominal wall within Hesselbach triangle, exiting only through the superficial ringMedialOlder males, from acquired weakness of the transversalis fascia
FemoralBelow the inguinal ligament, through the femoral canal, medial to the femoral vein—More common in females; higher risk of incarceration/strangulation than inguinal hernias because the femoral canal is a rigid, narrow space
Quick trick
  • "MDs don't lie": Medial to the inferior epigastric vessels = Direct; Lateral = Indirect.
  • Diaphragmatic/hiatal hernia: in infants, usually a congenital defect of the pleuroperitoneal membrane causing left-sided herniation into the thorax; in adults, laxity of the phrenoesophageal membrane allows the stomach to herniate through the esophageal hiatus (sliding type is far more common than paraesophageal, and is linked to GERD)

Rotation Errors & Clinical Correlates

Physiologic herniation (wk 6)→ 270° counterclockwise rotation→ Retraction into abdomen (wk 10)→ Cecum fixes in RLQ
  • Incomplete rotation → malrotation, predisposes to midgut volvulus
  • Failure of herniated gut to return → omphalocele (bowel covered by peritoneum/amnion)
  • Failure of body wall closure (not a rotation defect) → gastroschisis (uncovered bowel, lateral to umbilicus)

Peritoneal Attachment Quick Reference

Retroperitoneal (SAD PUCKER)Intraperitoneal
  • Suprarenal glands
  • Aorta/IVC
  • Duodenum (2nd–4th parts)
  • Pancreas (except tail)
  • Ureters
  • Colon (ascending/descending)
  • Kidneys
  • Esophagus (thoracic portion)
  • Rectum (lower 2/3)
  • Stomach
  • Jejunum/ileum
  • Transverse & sigmoid colon
  • Spleen
  • 1st part of duodenum, tail of pancreas
Exam trap
  • Retroperitoneal structures are more prone to blunt trauma injury and typically lack a mesentery.

Congenital GI Malformations

ConditionMechanismClinical Clues
Hypertrophic pyloric stenosisHypertrophy of pyloric circular muscleNon-bilious projectile vomiting at 2–8 weeks; palpable olive-shaped mass; firstborn males more affected
Duodenal atresiaFailure of duodenal lumen to recanalizeBilious vomiting shortly after birth; "double bubble" on imaging; associated with Down syndrome
Jejunal/ileal atresiaVascular accident in utero (disruption, not failure of recanalization)"Apple peel" appearance; bilious vomiting
Annular pancreasVentral pancreatic bud fails to rotate properly, encircles duodenumDuodenal obstruction, bilious vomiting
Meckel diverticulumPersistent vitelline (omphalomesenteric) duct remnant; true diverticulumOften asymptomatic; painless GI bleeding, intussusception, or volvulus in a child; typically located roughly 2 feet from the ileocecal valve and about 2 inches long; affects roughly 2% of the population, with males affected about twice as often; roughly half of symptomatic cases contain ectopic gastric or pancreatic tissue; diagnosed with a technetium-99m pertechnetate scan ("Meckel scan"), which picks up the ectopic gastric mucosa
Malrotation ± volvulusIncomplete 270° rotation of midgutCecum mispositioned in upper abdomen; abnormal fixation predisposes to volvulus and bowel ischemia
Hirschsprung diseaseFailure of neural crest cell migration → aganglionic segment (no Meissner/Auerbach plexuses)Failure to pass meconium, distended abdomen, contracted distal segment with dilated proximal bowel; diagnosed by rectal biopsy
Anorectal malformationsAbnormal urorectal septum developmentImperforate anus; may communicate with urinary or vaginal tract as a fistula
Extrahepatic biliary atresiaProgressive fibro-obliteration of extrahepatic bile ductsPersistent neonatal jaundice beyond 2 weeks, acholic stools, dark urine
Tracheoesophageal fistulaAbnormal septation of foregut into trachea and esophagusMost common form: esophageal atresia with distal TEF; presents with choking/cyanosis with feeds, polyhydramnios in utero
Don't confuse
  • Malrotation is a rotation defect (positional); intestinal atresia is a lumen/recanalization or vascular defect (structural) — both can obstruct, but the mechanism and imaging differ.