attachment
attachment

Can you answer these questions using Recent Advances books in Pathology ?

Reading File
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Reading File
Reading File
Reading File
Reading File
Searching the Web

WHO 2021 classification brain tumours IHC molecular biology pathology recent advances

Reading File
Reading File
Searching the Web

soft tissue tumors epithelioid morphology diagnostic challenges IHC pathology 2023 2024

Searching the Web

regenerative neoplastic hepatic nodule pathology FNH hepatocellular adenoma HCC diagnosis

Reading Web Page

https://pmc.ncbi.nlm.nih.gov/articles/PMC7864385

Searching the Web

point of care testing coagulation POCT pathology laboratory recent advances 2023

Reading File
Reading File
Reading Web Page

https://www.e-jyms.org/journal/view.php?number=2864

Reading File
Reading File

GMERS Medical College - MD Pathology Preliminary Examination

Modern Trends & Recent Advances - Paper IV

Model Answers


Q1. Diagnostic Challenges of Soft Tissue Tumors with Epithelioid Morphology (20 marks)

Definition

Epithelioid morphology refers to tumor cells that resemble epithelial cells - large, polygonal cells with abundant eosinophilic cytoplasm and well-defined cell borders. This feature is a key or defining characteristic of several soft tissue tumors and may be encountered in a wide variety of other mesenchymal neoplasms.

Why It Is Diagnostically Challenging

The core challenge is that epithelioid soft tissue tumors mimic carcinoma, melanoma, and other non-mesenchymal tumors. Several soft tissue tumors express epithelial markers (cytokeratin, EMA), making them indistinguishable from carcinoma on routine H&E and even on limited IHC panels.

A. Epithelioid Sarcoma (ES)

Pathology: Tumor cells grow in a granuloma-like nodular pattern with central necrosis, often arranged in a "garland-like" pattern along tendons. Cells are polygonal to spindled with pale eosinophilic cytoplasm and hyperchromatic nuclei. Two subtypes: classic (distal) and proximal type.
Diagnostic Challenge:
  • Strongly positive for cytokeratin (AE1/AE3) and EMA - mimics carcinoma
  • CD34 positivity in ~50% of cases
  • Positive for ERG and FLI1 - may overlap with vascular tumors
  • Key marker: Loss of SMARCB1/INI1 expression (due to 22q11.2 deletion) - seen in ~90% of cases. This is the most useful diagnostic marker.
  • Differential: carcinoma, melanoma, epithelioid malignant peripheral nerve sheath tumor (MPNST), rhabdoid tumor
Clinical challenge: In the hand/forearm of a young adult, small superficial mass with ulceration; often initially mistaken for a granuloma or reactive lesion. High rate of nodal metastasis (~20%).

B. Epithelioid Malignant Peripheral Nerve Sheath Tumor (E-MPNST)

Pathology: Large, rounded epithelioid cells with vesicular nuclei and prominent nucleoli, arising from peripheral nerves or neurofibromas. May show heterologous differentiation.
Diagnostic Challenge:
  • S100 strongly positive (like melanoma, clear cell sarcoma)
  • May also lose INI1 (SMARCB1) expression, mimicking ES
  • SOX10 may be positive, overlapping with nerve sheath and melanocytic tumors
  • Key differentiator: diffuse and strong S100 positivity with loss of INI1 in a deep mass, especially in NF-1 patient
  • Up to 50% occur in NF-1 setting

C. Epithelioid Angiosarcoma

Pathology: Malignant vascular neoplasm with predominantly epithelioid morphology. Anastomosing vascular channels are often only focally present.
Diagnostic Challenge:
  • Cytokeratin positivity seen in ~35% of cases - closely mimics carcinoma
  • Key IHC panel: CD31, CD34, ERG, FLI1 (vascular markers)
  • Aggressive tumor with early solid organ and nodal metastasis
  • INI1 status preserved (contrast with ES)
  • On small biopsies, vasoformative areas may not be sampled

D. Sclerosing Epithelioid Fibrosarcoma (SEF)

Pathology: Low-grade fibroblastic sarcoma with cords and nests of small epithelioid cells embedded in dense hyalinized collagenous stroma.
Diagnostic Challenge:
  • IHC: EMA+, MUC4+ (highly specific), S100 usually negative
  • May express cytokeratin focally
  • Can be confused with carcinoma (particularly lobular breast carcinoma metastasis) or low-grade myxoid round cell liposarcoma
  • Molecular: EWSR1-CREB3L1/2 fusions characteristic; MUC4 overexpression is a reliable surrogate marker

E. Clear Cell Sarcoma (Melanoma of Soft Parts)

Diagnostic Challenge:
  • S100+, HMB-45+, MART-1/MelanA+, SOX-10+: essentially identical IHC profile to malignant melanoma
  • Key differentiator: EWSR1-ATF1 or EWSR1-CREM gene fusions by FISH/RT-PCR (absent in true melanoma)
  • Occurs in tendons and aponeuroses of distal extremities in young adults

F. Epithelioid Hemangioendothelioma (EHE)

Pathology: Malignant vascular tumor composed of epithelioid endothelial cells in a myxohyaline stroma. Cells form short cords with intracytoplasmic vacuoles (primitive vascular channels).
Diagnostic Challenge:
  • IHC: CD31+, ERG+, TFE3+ (in YAP1-TFE3 subtype); cytokeratins variably positive
  • Molecular: WWTR1-CAMTA1 fusion (~90%); YAP1-TFE3 fusion (~5%)
  • Main differential: metastatic carcinoma (especially signet ring cell type), epithelioid sarcoma, myoepithelial carcinoma

G. Alveolar Soft Part Sarcoma (ASPS)

Pathology: Large, polygonal cells with granular PAS-positive cytoplasm arranged in an organoid/pseudoalveolar pattern.
Diagnostic Challenge:
  • IHC: TFE3 strongly positive (nuclear); MyoD1 variably positive
  • Cytokeratin and S100 negative - helpful in exclusion
  • Molecular: ASPSCR1-TFE3 (ASPL-TFE3) unbalanced translocation t(X;17)
  • Main differential: renal cell carcinoma (also TFE3+), granular cell tumor, paraganglioma

H. Other Soft Tissue Tumors with Epithelioid Morphology

TumorKey IHCMolecular
Epithelioid GISTCD117, DOG1, CD34; KIT/PDGFRA mutationKIT exon 11/9 mutations
Synovial sarcoma (biphasic/monophasic)EMA, AE1/AE3, TLE1SS18-SSX1/SSX2 fusion
Inflammatory myofibroblastic tumorALK (cytoplasmic or nuclear membrane pattern)ALK-RANBP2 fusion = nuclear membrane ALK
Perivascular epithelioid cell tumor (PEComa)HMB-45, MelanA, SMA, TFE3TSC1/TSC2 mutations
Myoepithelial carcinomaEMA, S100, variable cytokeratin; may lose INI1EWSR1 fusions

Practical Diagnostic Approach (Algorithmic)

  1. H&E morphology: Identify epithelioid pattern; note architecture (nodular, nested, sheets), stroma, necrosis
  2. Clinical context: Age, site, depth, background NF-1 or other syndromic association
  3. First-line IHC panel: Broad keratin (AE1/AE3), EMA, S100, SOX10, CD34, CD31
  4. INI1 (SMARCB1) status: Loss suggests ES, proximal-type ES, E-MPNST, myoepithelial carcinoma, rhabdoid tumor
  5. Second-line IHC: ERG/FLI1 (vascular), HMB-45/MelanA (PEComa, clear cell), TFE3 (ASPS, EHE with YAP1 fusion), MUC4 (SEF), DOG1/CD117 (GIST), TLE1 (synovial sarcoma)
  6. Molecular confirmation: FISH for EWSR1, SS18, TFE3, CAMTA1 rearrangements; RT-PCR for specific fusions; NGS where needed
Source: PMC7864385 - Soft Tissue Tumor IHC Update; WHO Classification of Tumors of Soft Tissue and Bone 5th Ed; Current Surgical Therapy 14e; Virchows Arch 484:353-367 (2024)

Q2. Pathology of Regenerative and Neoplastic Hepatic Nodules (20 marks)

Introduction

Hepatic nodules represent a spectrum from completely benign regenerative processes to frankly malignant lesions. The classification of hepatic nodules is critically important, particularly in cirrhotic livers, because it determines management.

Classification of Hepatic Nodules

Regenerative Nodules
  ├── Cirrhotic regenerative nodule (macronodular / micronodular)
  ├── Nodular regenerative hyperplasia (NRH)
  └── Focal Nodular Hyperplasia (FNH)
Neoplastic Nodules - Benign
  ├── Hepatocellular Adenoma (HCA)
  └── Dysplastic nodule (low grade / high grade) [pre-malignant]
Neoplastic Nodules - Malignant
  └── Hepatocellular Carcinoma (HCC)

A. Regenerative Nodules

1. Cirrhotic Regenerative Nodule

  • Arise as a response to hepatocyte necrosis and altered portal blood flow
  • Micronodular (<3 mm): alcoholic cirrhosis, biliary cirrhosis
  • Macronodular (>3 mm): viral hepatitis
  • Histology: compressed but architecturally intact hepatocytes, surrounded by fibrous septa; preserved reticulin framework; portal tracts may be present
  • IHC: Glutamine synthetase (GS) positive in centrizonal hepatocytes only (normal pattern)
  • No atypia, no mitoses, intact reticulin

2. Nodular Regenerative Hyperplasia (NRH)

  • Non-cirrhotic condition: diffuse hepatic nodularity without fibrosis
  • Associated with: myeloproliferative disorders, drugs (azathioprine, oxaliplatin), Budd-Chiari, connective tissue diseases
  • Histology: periportal hepatocyte hyperplasia nodules surrounded by atrophic parenchyma; NO fibrous septa (key difference from cirrhosis)
  • Reticulin stain shows compression at nodule periphery
  • Causes non-cirrhotic portal hypertension

3. Focal Nodular Hyperplasia (FNH)

  • Most common benign hepatic "tumor"; not a true neoplasm - hyperplastic response to vascular anomaly
  • Predominantly young women; mostly incidental; no malignant potential
  • Gross: Well-circumscribed, unencapsulated; central stellate scar with radiating fibrous septa
  • Histology (classic triad):
    • Bland hepatocytes in nodular arrangement
    • Thick-walled, abnormal arteries (dystrophic arteries) in fibrous septa
    • Bile ductular reaction/proliferation at the interface zone
  • IHC - Key:
    • Glutamine synthetase (GS): MAP-like (diffuse, geographic "map-like") staining pattern - most specific finding (90% sensitivity, 100% specificity for FNH)
    • CD34: sinusoidal (diffuse) pattern
    • Reticulin: preserved
    • No beta-catenin nuclear expression

B. Neoplastic Nodules

4. Hepatocellular Adenoma (HCA)

A true benign neoplasm; WHO classifies by molecular subtype:
SubtypeFrequencyKey FeatureIHCMalignant Risk
HNF1A-inactivated (H-HCA)35-40%Steatosis, OCA, no atypiaLFABP lossVery low
Inflammatory (I-HCA)40-50%Sinusoidal dilatation, inflammatory infiltrateSAA+, CRP+Low; higher with beta-catenin co-activation
Beta-catenin activated (B-HCA)10-15%Atypia, pseudoacinar formationGS diffuse/strong+, nuclear beta-catenin+HIGH (malignant transformation ~10%)
Unclassified~10%--Uncertain
  • Histology: Sheets of hepatocytes without portal tracts or bile ducts; absent ductular reaction; sinusoids may be dilated; reticulin preserved (contrast with HCC)
  • IHC: Glypican-3 negative (contrast with HCC); AFP negative
  • No true fibrous septa; may have peliosis and hemorrhage (risk of rupture)

5. Dysplastic Nodule (DN) - Pre-malignant

A nodule within a cirrhotic liver with dysplastic but not clearly malignant features.
Low-Grade Dysplastic Nodule (LGDN):
  • Mild cellular atypia; increased nuclear:cytoplasmic ratio
  • Intact reticulin; no unpaired arteries
  • No IHC abnormalities
High-Grade Dysplastic Nodule (HGDN):
  • More pronounced atypia; small cell change (increased N:C ratio, irregular nuclear membrane)
  • Increased proliferative index (Ki-67)
  • Unpaired (isolated) arteries - a precursor feature to early HCC
  • Partial loss of reticulin
  • GS may be focally increased
  • Glypican-3 occasionally focally positive
  • HSP70 may be focally positive

6. Hepatocellular Carcinoma (HCC)

  • Well-differentiated HCC may be extremely difficult to distinguish from HGDN and adenoma
  • Morphology: Thick trabecular pattern (>3 cell plates), pseudoacinar formation, clear cell change, bile production, unpaired arteries, stromal invasion
  • Reticulin stain: Loss or marked reduction of reticulin framework - most reliable indicator of malignancy on biopsy
  • IHC panel for HCC confirmation:
    • Glypican-3 (GPC3): +ve in ~80% HCC (negative in FNH, adenoma, DN)
    • HSP70: +ve in ~50% HCC
    • Glutamine synthetase (GS): Diffuse strong positivity in HCC; aberrant "map-like" pattern in FNH
    • Two of three positive = strong evidence for HCC
    • Hep Par-1 (hepatocyte paraffin-1): confirms hepatocellular lineage
    • pCEA: canalicular positivity pattern (bile canaliculi)
    • AFP: positive in ~50%, higher in poorly differentiated
Fibrolamellar HCC (FLHCC):
  • Young adults, non-cirrhotic background; better prognosis than conventional HCC
  • Fibrous lamellar bands surrounding large oncocytic tumor cells with prominent nucleoli and pale bodies
  • IHC: CD68+, CK7+, DNAJB1-PRKACA fusion (diagnostic)

IHC Summary Table for Hepatic Nodules

MarkerCirrhotic NoduleFNHHCALGDNHGDNHCC
ReticulinIntactIntactIntactIntactFocal lossLost
GSCentrizonalMap-likeFocal or normalNormalFocally increasedDiffuse strong
Glypican-3----±++
HSP70----±+
CD34PeriportalDiffuse sinusoidalDiffuse sinusoidal-±Diffuse
Beta-cateninMembranousMembranousNuclear (B-HCA)MembranousFocal nuclearNuclear (some)
Source: e-jyms.org Narrative Review on Well-Differentiated Hepatocellular Lesions; Sleisenger and Fordtran's GI and Liver Disease; AASLD Pathology Pearls: HCC

Q3. WHO Classification of Brain Tumours & Role of IHC and Molecular Biology (20 marks)

Overview of WHO CNS 5th Edition (2021)

The WHO Classification of Tumours of the Central Nervous System, 5th Edition (WHO CNS5, 2021) represents a landmark shift, incorporating molecular diagnostics as the primary determinant of classification and grading for many CNS tumors. It builds on the 2016 4th Edition and the cIMPACT-NOW (Consortium to Inform Molecular and Practical Approaches to CNS Tumor Taxonomy) recommendations.
Key paradigm shift: Integrated diagnosis combining histology + IHC + molecular findings. The concept of "layered reporting" is introduced: histological diagnosis → IHC findings → molecular findings → integrated final diagnosis.

Major Tumor Families in WHO CNS5

1. Gliomas, Glioneuronal Tumors, and Neuronal Tumors

This is the most significantly restructured category, now organized primarily by molecular type:
Adult-type diffuse gliomas:
TumorGradeKey Molecular FeatureIHC
Astrocytoma, IDH-mutant2, 3, 4IDH1/2 mutation + ATRX loss + No 1p/19q codeletionIDH1 R132H antibody+; ATRX loss; p53+
Oligodendroglioma, IDH-mutant, 1p/19q-codeleted2, 3IDH mutation + 1p/19q codeletionIDH1+; FISH for 1p/19q
Glioblastoma, IDH-wildtype4IDH-wildtype + one of: TERT promoter mut, EGFR amplification, +7/-10EGFR amplification; PTEN loss; lacks IDH1/2
Note: The term "Glioblastoma, IDH-mutant" is eliminated in CNS5; such cases are now "Astrocytoma, IDH-mutant, grade 4."
Pediatric-type diffuse low-grade gliomas:
  • Diffuse astrocytoma, MYB or MYBL1 altered
  • Angiocentric glioma (MYB::QKI fusion)
  • Polymorphous low-grade neuroepithelial tumor of the young (PLNTY) - BRAF/FGFR alterations
  • Diffuse low-grade glioma, MAPK pathway altered (BRAF V600E, FGFR1 mutations/fusions)
Pediatric-type diffuse high-grade gliomas:
  • Diffuse midline glioma, H3 K27-altered (changes from "H3K27M-mutant" to "altered" - includes EZHIP overexpression)
    • IHC: H3K27M mutation antibody; loss of H3K27me3 trimethylation
  • Diffuse hemispheric glioma, H3 G34-mutant
    • IHC: H3.3 G34R/V antibody; ATRX loss; OLIG2 lost
  • Diffuse pediatric-type high-grade glioma, H3-wildtype and IDH-wildtype (EGFR+, PDGFRA+, MYCN+)
  • Infant-type hemispheric glioma (RTK fusions - ALK, ROS1, NTRK, MET)
Circumscribed astrocytic gliomas:
  • Pilocytic astrocytoma (BRAF::KIAA1549 fusion, ~70%; IHC: BRAF V600E)
  • Pleomorphic xanthoastrocytoma (PXA): BRAF V600E mutation (~65%)
  • Astroblastoma, MN1-altered (molecular modifier added)
  • Chordoid glioma (no longer "of third ventricle")

2. Ependymal Tumors

Now classified by site AND molecular features:
TumorSiteKey MolecularIHC
Supratentorial ependymoma, ZFTA fusion+SupratentorialZFTA::RELA (previously C11orf95::RELA) or other ZFTA fusionsL1CAM+, RELA protein by IHC
Supratentorial ependymoma, YAP1 fusion+SupratentorialYAP1::MAMLD1 or YAP1::FAM118BYAP1+ by IHC
Posterior fossa ependymoma, PFAPFH3K27me3 loss (EZH inhibitory protein EZHIP)H3K27me3 loss
Posterior fossa ependymoma, PFBPFCDKN2A/B deletionH3K27me3 intact
Spinal ependymoma, MYCN-amplifiedSpinalMYCN amplification-
Myxopapillary ependymomaSpinal/cauda equinaGrade 2 (upgraded from 1)-

3. Choroid Plexus Tumors

  • Now separated from gliomas due to their epithelial characteristics
  • Choroid plexus papilloma (Grade 1), atypical CPP (Grade 2), choroid plexus carcinoma (Grade 3)
  • IHC: KANK1 expression helps identify CPC; TP53 mutations in carcinoma; molecular profiling with FISH

4. Medulloblastoma and Embryonal Tumors

Medulloblastoma - molecular groups replace histological subtypes as primary classification:
  • WNT-activated: CTNNB1 mutations; best prognosis; IHC: nuclear beta-catenin+, monosomy 6
  • SHH-activated, TP53-wildtype: PTCH1/SMO/SUFU mutations; GLI1/GLI2 amplification; IHC: GAB1+, SFRP1+
  • SHH-activated, TP53-mutant: TP53 mutation + MYCN/GLI2 amplification; worst prognosis in SHH group
  • Non-WNT/Non-SHH: Further subclassified by DNA methylation profiling
Atypical teratoid/rhabdoid tumor (ATRT):
  • SMARCB1 (INI1) or SMARCA4 loss - IHC: INI1 loss
  • Subtypes by methylation: ATRT-TYR, ATRT-SHH, ATRT-MYC

5. Meningioma

  • No major classification change; new grading refinements
  • Grade 2: mitoses ≥2.5/mm² (standardized reporting)
  • Grade 3: ≥12.5/mm² OR TERT promoter mutation OR CDKN2A/B homozygous deletion
  • IHC: p16 loss correlates with higher grade
  • Molecular subtypes: NF2-mutant (sporadic, most common), non-NF2 (TRAF7, KLF4, AKT1, SMO mutations)

6. Other Notable Changes in CNS5

  • "Hemangiopericytoma" retired - now Solitary fibrous tumor (SFT) (NAB2::STAT6 fusion; STAT6 nuclear IHC)
  • New intracranial mesenchymal tumors: FET-CREB fusion-positive; CIC-rearranged sarcoma; DICER1-mutant primary intracranial sarcoma
  • H3K27M IHC replaces sequencing as screening for diffuse midline glioma

Role of IHC in Brain Tumor Classification

IHC MarkerTumor / Significance
IDH1 R132H antibodyDetects most common IDH1 mutation; IDH1/2 positive = better prognosis
ATRXNuclear loss = astrocytic lineage in IDH-mutant glioma; ATRX intact = IDH-wildtype or oligodendroglioma
p53 (nuclear accumulation)Correlates with TP53 mutation in astrocytomas
H3K27MDiffuse midline glioma (thalamus, brainstem, spinal cord); poor prognosis
H3.3 G34R/VDiffuse hemispheric glioma; young adults; ATRX loss
H3K27me3 lossPosterior fossa Group A ependymoma; ATRT
Ki-67 / MIB-1Proliferation index for grading
INI1 (SMARCB1) lossATRT, poorly differentiated chordoma, ES
Nuclear beta-cateninWNT-activated medulloblastoma
STAT6 (nuclear)Solitary fibrous tumor (former HPC)
L1CAMZFTA fusion ependymoma
EGFR amplification by IHCIDH-wildtype GBM surrogate
GFAPGlial lineage marker
Synaptophysin, NeuN, MAP2Neuronal differentiation

Role of Molecular Biology

TechniqueApplication
FISH1p/19q codeletion (oligodendroglioma); EGFR amplification; CDKN2A deletion; MYCN, CDK4
Sanger/PCR sequencingIDH1/2 mutations; TERT promoter mutations; BRAF V600E; H3F3A/HIST1H3B mutations
Next-generation sequencing (NGS)Comprehensive mutation profiling; fusion detection; copy number analysis
RNA sequencingFusion gene detection (ZFTA::RELA, ALK, ROS1, NTRK, MET fusions)
DNA methylation profiling (EPIC array)Gold standard for tumor classification; defines methylation class; identifies new entities (PLNTY, CONCH, CEPNET etc.)
Copy number analysis+7/-10 (IDH-wildtype GBM); iAMP21; chromosome 6 loss (WNT MB)
TERT promoter sequencingIDH-wildtype GBM criterion; also in meningioma grading

Q4. Write Notes on (20 marks)

4a. Point of Care Testing (POCT) in Coagulation

Definition: POCT refers to diagnostic testing performed near or at the site of patient care, outside the central laboratory, with results available rapidly to guide immediate clinical decisions.
Rationale in Coagulation:
  • Conventional coagulation testing (PT, aPTT, fibrinogen, anti-Xa) requires plasma, centrifugation, and transport to a central lab - turnaround time 1-2 hours
  • In perioperative, trauma, and critical care settings, rapid decision-making is essential to guide hemostatic therapy

Key POCT Coagulation Tests:

1. PT/INR POC Devices

  • Used for anticoagulation monitoring (warfarin therapy)
  • Devices: CoaguChek XS (Roche), Xprecia Stride (Siemens Healthineers) - use same Dade Innovin thromboplastin as reference labs, reducing interinstrument variability
  • Whole blood capillary sample; results in ~1 minute
  • Validated for self-monitoring in anticoagulated patients (SELF-study, THINRS trial)

2. Activated Clotting Time (ACT)

  • POC test for unfractionated heparin (UFH) monitoring during cardiac surgery, percutaneous coronary intervention (PCI)
  • Normal ACT: 70-180 seconds; therapeutic during cardiopulmonary bypass: >480 seconds
  • Devices: Hemochron (International Technidyne), i-STAT (Abbott)
  • Limitation: affected by hypothermia, hemodilution, platelet count, aprotinin

3. Viscoelastic Testing (VET) - Global Hemostasis POCT

The most significant recent advance in POCT coagulation. Measures the viscoelastic properties of whole blood as it clots and lyses.
a) Thromboelastography (TEG):
  • Parameters: R time (reaction time = clot initiation), K time (clot kinetics), alpha angle (clot formation rate), MA (maximum amplitude = clot strength = platelet + fibrin interaction), LY30/LY60 (fibrinolysis)
  • TEG 6s: cartridge-based, fully automated; compatible with ROTEM workflow
  • Platelet Mapping (TEG PM): assesses platelet inhibition by aspirin and P2Y12 inhibitors
b) Rotational Thromboelastometry (ROTEM):
  • Similar parameters: CT (clotting time), CFT (clot formation time), MCF (maximum clot firmness), ML (maximum lysis)
  • INTEM (intrinsic pathway), EXTEM (extrinsic), FIBTEM (fibrin contribution), APTEM (fibrinolysis inhibited)
  • ROTEM sigma: automated version
  • Used in: massive transfusion protocol (MTP), cardiac surgery, liver transplant, obstetric hemorrhage
c) Quantra (HemoSonics): Sonic estimation of ratio of thrombus (SERT) - uses ultrasound to measure clot stiffness; parameters include Clot Time (CT), Clot Stiffness (CS), Fibrinogen Contribution to Stiffness (FCS), Platelet Contribution to Stiffness (PCS)

4. Platelet Function Analyzers

  • PFA-100 / PFA-200: simulates platelet plug formation; assesses primary hemostasis; screening for VWD and aspirin effect
  • Multiplate: impedance aggregometry; assesses platelet function and antiplatelet drug monitoring
  • VerifyNow: optical aggregometry; specifically designed for aspirin and P2Y12 inhibitor monitoring

5. Anti-Xa (Heparin Level) POC

  • Emerging POCT for LMWH and direct factor Xa inhibitors (apixaban, rivaroxaban)
  • i-STAT and similar platforms being validated

Advantages of POCT in Coagulation:
  • Rapid turnaround (minutes vs. hours)
  • Reduced blood product transfusion in cardiac surgery and trauma (guided by VET)
  • Improved clinical outcomes in massive hemorrhage
  • No plasma separation; whole blood used
  • Enables goal-directed hemostatic therapy
Limitations:
  • Operator training and quality assurance required
  • Less analytical precision than central lab
  • Limited reference ranges for some populations
  • Cost per test higher
  • Connectivity/EMR integration challenges

4b. Minimal Residual Disease (MRD) Detection in Acute Leukemia

Definition: MRD refers to the presence of residual leukemic cells below the morphological detection threshold (<5% blasts by microscopy). MRD detection identifies patients at risk for relapse and enables individualized, risk-adapted therapy.

Why MRD Matters:
  • Morphological CR does not equal molecular CR
  • Patients achieving molecular CR have significantly better event-free and overall survival
  • MRD >10⁻⁴ at end of induction is strongly correlated with relapse risk, independent of cytogenetics and clinical risk factors
  • MRD-negative status can de-escalate therapy; MRD-positive can prompt stem cell transplant

Methods of MRD Detection:

1. Multiparameter Flow Cytometry (MFC)

  • Detects leukemia-associated immunophenotype (LAIP) using aberrant antigen combinations absent in normal hematopoiesis (e.g., CD19+/CD10+/CD34+ with aberrant CD45 dim pattern in B-ALL; CD117+/CD13+ in AML)
  • Sensitivity: 10⁻⁴ (1 cell in 10,000)
  • Advantages: rapid (~4-6 hours), applicable to almost all leukemia types, no prior molecular characterization needed
  • Next-generation flow cytometry (EuroFlow consortium): 8-10 color panels, sensitivity 10⁻⁵
  • Limitation: immunophenotypic shift at relapse; technical standardization across labs

2. PCR-Based Molecular Methods

a) Fusion gene transcript monitoring:
  • Applicable when a diagnostic chromosomal translocation is present
  • BCR-ABL1 (Ph+ ALL, CML): quantitative RT-PCR; international scale (IS); MRD threshold 0.1% IS for TKI therapy decisions
  • PML-RARA (APL): RT-PCR; MRD negativity after consolidation = cure; positivity = impending relapse
  • RUNX1-RUNX1T1 (AML with t(8;21))
  • CBFB-MYH11 (AML with inv(16))
  • Sensitivity: 10⁻⁵ to 10⁻⁶
b) Immunoglobulin (Ig) and T-cell receptor (TCR) gene rearrangement monitoring (PCR clonality):
  • Most broadly applicable in lymphoblastic leukemia (ALL)
  • Clone-specific V(D)J rearrangements are amplified with consensus primers; Sanger sequencing identifies the clonal sequence; patient-specific PCR primers are then designed for MRD monitoring (RQ-PCR)
  • Advantages: applicable to >90% of B-ALL and T-ALL cases
  • Sensitivity: 10⁻⁴ to 10⁻⁵
  • Limitation: labor-intensive; oligoclonality at diagnosis; clonal evolution at relapse may cause false negatives

3. Next-Generation Sequencing (NGS) for MRD

Lymphoid malignancies (clonoSEQ platform, Adaptive Biotechnologies):
  • Multiplex PCR amplification of Ig/TCR gene rearrangements + high-throughput sequencing
  • Sensitivity: 10⁻⁶ (1 cell in 1,000,000) - far superior to flow or conventional PCR
  • Individual sample barcoding enables multiplexing
  • FDA-cleared for MRD assessment in ALL, CLL, multiple myeloma
  • Quantifies relative abundance of tumor-specific clonal sequences vs. polyclonal normal sequences
  • Can detect up to 2-3 independent clonal rearrangements per patient
AML-specific NGS MRD:
  • Mutation tracking: FLT3-ITD, NPM1, DNMT3A, IDH1/2, RUNX1 mutations tracked by NGS
  • NPM1 mutation: most established; sensitivity ~10⁻⁵; standard-of-care MRD marker in NPM1-mutated AML (ELN 2022 guidelines)
  • FLT3-ITD: less reliable due to clonal evolution; may disappear at relapse
  • TP53, DNMT3A, ASXL1: caution - may persist as clonal hematopoiesis of indeterminate potential (CHIP) even in complete remission

4. Digital PCR (dPCR)

  • Partitions the reaction into thousands of droplet PCR reactions (ddPCR)
  • Absolute quantification without standard curve
  • Sensitivity approaching 10⁻⁵ to 10⁻⁶
  • Applied for BCR-ABL1, NPM1, fusion transcripts

MRD in Specific Leukemias:
LeukemiaPreferred MRD MethodSensitivityClinical Use
B-ALLMFC + Ig/TCR PCR; NGS10⁻⁵ to 10⁻⁶Post-induction, post-consolidation; alloSCT decisions
T-ALLTCR PCR; MFC10⁻⁵Same timepoints
APLPML-RARA RT-PCR10⁻⁵Post-consolidation; surveillance every 3 months
AML (NPM1+)NPM1 PCR; NGS10⁻⁴ to 10⁻⁵Post induction and consolidation
CMLBCR-ABL1 RT-PCR (IS)10⁻⁵TKI discontinuation trial thresholds
Source: Henry's Clinical Diagnosis and Management by Laboratory Methods (block 37, lines 1794-1865); [Adaptive Biotechnologies - clonoSEQ; NGS MRD review literature]

Q5. Write Notes on (20 marks)

5a. Antiphospholipid Syndrome (APS)

Definition: APS is a systemic autoimmune thrombophilic disorder characterized by recurrent venous, arterial, or small vessel thrombosis and/or pregnancy morbidity, in association with persistently elevated antiphospholipid (aPL) antibodies.

Classification (Sapporo/Sydney Criteria):
Clinical criteria (at least one required):
  1. Vascular thrombosis: one or more episodes of arterial, venous, or small vessel thrombosis in any tissue/organ
  2. Pregnancy morbidity:
    • One or more unexplained fetal deaths at ≥10 weeks gestation
    • One or more premature births at ≤34 weeks due to eclampsia, severe preeclampsia, or placental insufficiency
    • Three or more unexplained recurrent early pregnancy losses (<10 weeks)
Laboratory criteria (at least one, on two occasions ≥12 weeks apart):
  1. Lupus anticoagulant (LA) present in plasma
  2. Anti-cardiolipin (aCL) antibodies: IgG or IgM, medium-high titer (>40 GPL or MPL units, or >99th percentile)
  3. Anti-β₂-glycoprotein I (anti-β₂GPI): IgG or IgM, titer >99th percentile

Classification of APS:
  • Primary APS: No underlying autoimmune disease (~30-55%)
  • Secondary APS: Associated with SLE (most common; aPL antibodies in 25-75% of SLE patients), other connective tissue diseases, drugs, infections
  • Catastrophic APS (CAPS): Multiple organ thromboses over <1 week; rare but life-threatening; high mortality

Pathogenesis: The mechanisms are multifactorial and not fully elucidated. Current understanding:
  1. β₂GPI-dependent mechanism: aPL antibodies bind to β₂-glycoprotein I (a plasma protein with anticoagulant properties). The aPL/β₂GPI complex binds to endothelial cells, platelets, and monocytes via annexin A2 and toll-like receptors (TLR4), activating pro-thrombotic signaling
  2. Complement activation: aPL antibodies activate complement, leading to inflammatory cascade and trophoblast injury (explaining pregnancy loss)
  3. mTOR pathway inhibition: mTORC inhibition promotes intravascular coagulation
  4. Platelet activation: aPL antibodies bind to platelet surface phospholipids and glycoproteins, enhancing platelet activation and aggregation
  5. Tissue factor induction: aPL antibodies induce tissue factor expression on monocytes and endothelium
  6. Inhibition of anticoagulants: Protein C, protein S, annexin V, and tissue plasminogen activator (t-PA) are inhibited
  7. "Two-hit hypothesis": aPL antibodies alone create a pro-thrombotic state; a "second hit" (pregnancy, surgery, infection, OCP, nephrotic syndrome) triggers clinical thrombosis

Clinical Features:
Thrombotic manifestations:
  • DVT and pulmonary embolism (most common venous events)
  • Stroke and TIA (most common arterial events; young adults)
  • Livedo reticularis, digital gangrene, Raynaud phenomenon
  • Renal: APL nephropathy (thrombotic microangiopathy of renal vessels) - seen in 25% of primary APS and 40% of aPL-positive patients
    • Glomerular capillary thrombosis, mesangiolysis, mesangial interposition, intimal mucoid thickening of arteries/arterioles, subendothelial fibrosis
    • Interstitial fibrosis, cortical atrophy from ischemia
  • Cardiac: non-bacterial thrombotic (Libman-Sacks) endocarditis, valve thickening
  • Adrenal insufficiency (adrenal vein thrombosis)
Pregnancy complications:
  • Recurrent pregnancy loss, IUGR, preeclampsia, placental abruption
Other:
  • Thrombocytopenia (30-50%)
  • Hemolytic anemia
  • False-positive VDRL (aCL antibodies cross-react with cardiolipin in VDRL reagent)

Laboratory Findings:
  • Prolonged aPTT (paradoxically, despite pro-thrombotic state - LA interferes with phospholipid-dependent clotting tests in vitro)
  • Thrombocytopenia
  • aPL antibodies: aCL IgG/IgM, anti-β₂GPI IgG/IgM, LA
  • Triple positivity (LA + aCL + anti-β₂GPI): Highest thrombotic risk
  • False-positive VDRL

Pathology:
  • Renal biopsy: Thrombotic microangiopathy (TMA) pattern - glomerular capillary thrombosis, mesangiolysis, fibrin thrombi in arterioles; organizing/recanalized thrombi in interlobular arteries; intimal mucoid thickening, "onion-skin" lesion, subendothelial fibrosis
  • Vascular changes: Non-inflammatory occlusive vasculopathy; no vasculitis
  • Note: May mimic FSGS, membranous nephropathy, MPGN, or RPGN on light microscopy

Management:
  • Acute thrombosis: heparin followed by warfarin (target INR 2.0-3.0; high-risk: INR 3.0-4.0)
  • DOACs: rivaroxaban inferior to warfarin for arterial APS (RAPS trial, TRAPS trial)
  • Pregnancy: low-dose aspirin + LMWH
  • CAPS: anticoagulation + glucocorticoids + plasma exchange ± IVIG ± rituximab
  • Hydroxychloroquine for SLE-associated APS
Source: Brenner and Rector's The Kidney, block 19, lines 2022-2057

5b. Eosinophilic Diseases of the GI Tract (Eosinophilic GI Disorders - EGIDs)

Definition: EGIDs are defined by selective eosinophil-rich inflammation in the GI tract in the absence of known secondary causes of eosinophilia (drugs, parasites, malignancy, IBD, vasculitis), associated with GI symptoms. They comprise a spectrum named by anatomic location of eosinophil infiltration.

Spectrum of EGIDs:
  1. Eosinophilic Esophagitis (EoE)
  2. Eosinophilic Gastritis (EG)
  3. Eosinophilic Enteritis (EEn)
  4. Eosinophilic Gastroenteritis (EGE) - when >1 GI segment involved
  5. Eosinophilic Colitis (EC)

Pathophysiology: EGIDs arise from interplay of genetic, environmental, and immune factors:
  • Genetic: Family prevalence higher; EoE genetic risk loci include common SNPs and rare damaging variants; sibling recurrence ratio >50-fold
  • Immune mechanism: Falls between IgE-mediated (atopic) and Th2-delayed hypersensitivity
  • Key cytokines: IL-5 (main eosinophil growth factor), IL-13, IL-4, eotaxin-3 (CCL26), TSLP
  • Eosinophil biology: Eosinophils contain major basic protein (MBP-1, MBP-2), eosinophil cationic protein (ECP), eosinophil-derived neurotoxin (EDN), eosinophil peroxidase (EPO); these are cytotoxic to GI epithelium
  • Eotaxins (CCL11, CCL24, CCL26) are critical chemoattractants; eotaxin-3 significantly elevated in EoE
  • Barrier dysfunction: Loss of desmoglein and filaggrin expression in esophageal epithelium in EoE
  • FIP1L1-PDGFRA fusion: A subset (especially EG with severe eosinophilia overlapping HES) harbors this tyrosine kinase fusion, sensitive to imatinib

A. Eosinophilic Esophagitis (EoE) - Most studied EGID

Epidemiology: Prevalence ~22.7-56.7/100,000 in US; male predominance (3:1); associated with atopy (asthma, allergic rhinitis, food allergy)
Pathogenesis: Primarily antigen-driven (food antigens, aeroallergens); Th2-skewed immune response; eotaxin-3 overexpression; IL-13 induces desmoglein loss and barrier dysfunction
Clinical features:
  • Children: vomiting, abdominal pain, failure to thrive, feeding difficulties
  • Adults: dysphagia (most common), food impaction, heartburn refractory to PPI (in classical EoE)
Endoscopy:
  • Esophageal rings/furrowing (trachealization), linear furrows, white exudates/plaques, mucosal pallor/edema, strictures
  • Histologically involved biopsies may appear normal; multiple biopsies (≥6) from proximal AND distal esophagus required
Histopathology (Diagnostic criteria):
  • ≥15 eosinophils per high-power field (HPF) in esophageal mucosa (note: esophagus normally has NO eosinophils)
  • Eosinophilic microabscesses (intraepithelial clusters)
  • Surface layering of eosinophils
  • Epithelial hyperplasia: increased basal cell layer (>20% of epithelial thickness), elongated papillae
  • Dilated intercellular spaces (spongiosis)
  • Sub-epithelial fibrosis/lamina propria fibrosis (deeper biopsies)
  • EoE Histology Scoring System (EoE-HSS, 2017): 8 features quantified to track treatment response; outperforms eosinophil count alone
EoE vs. GERD differential (key):
FeatureEoEGERD
Eosinophils/HPF>150-7
Proximal esophagus involvementYesNo
Eotaxin-3 elevationYesNo
Response to PPISubsetYes
pH impedanceNormalAbnormal
Food elimination dietHelpfulNot helpful
Dupilumab (anti-IL-4Ra)ApprovedNot helpful
Treatment:
  • Dietary elimination (6-food elimination diet, elemental formula)
  • Topical steroids (swallowed fluticasone, budesonide oral suspension)
  • PPI (helpful in PPI-responsive EoE, which may be a variant of EoE rather than GERD)
  • Dupilumab (anti-IL-4Ra biologic): FDA-approved for EoE (2022) - first biologic approved for EoE
  • Esophageal dilation for strictures
  • Mepolizumab (anti-IL-5): studied; reduces eosinophils but limited symptom improvement

B. Eosinophilic Gastritis (EG) and Eosinophilic Gastroenteritis (EGE)

Normal eosinophil counts: Stomach: <30 eosinophils/5 HPF; small intestine: up to 20/HPF; colon: up to 50/HPF
Clinical forms of EGE (by layer involvement):
  1. Mucosal (most common): Vomiting, diarrhea, malabsorption, protein-losing enteropathy, iron-deficiency anemia, bleeding, failure to thrive
  2. Muscularis: Eosinophilic infiltration of muscularis propria → bowel wall thickening → gastric outlet obstruction (mimics pyloric stenosis) or intestinal obstruction
  3. Serosal (least common): Eosinophilic ascites; higher peripheral blood eosinophilia
Histopathology:
  • Excess eosinophils in GI wall (mucosal, muscularis, or subserosa)
  • Eosinophil granule constituents (MBP, ECP) detected immunohistochemically in extracellular space
  • Endoscopy in EG may show micronodules/polyposis with lymphocyte and eosinophil aggregates
  • Crypt infiltration by eosinophils

C. Eosinophilic Colitis (EC)

  • Rarest EGID; may present with bloody diarrhea
  • Colonic eosinophilia >50/HPF (normal cecum may have up to 50/HPF - context-dependent)
  • Must exclude IBD, parasites, drug reactions
  • Often associated with peripheral eosinophilia

Diagnostic Workup for EGIDs:
  1. CBC with differential (peripheral eosinophilia)
  2. Total serum IgE
  3. Allergy testing: skin prick test, specific IgE panel (RAST)
  4. Stool examination for parasites
  5. Upper and lower GI endoscopy with biopsies from multiple sites
  6. pH-impedance probe (to exclude GERD in EoE)
  7. If hypereosinophilia present: bone marrow biopsy, serum tryptase, B12, PDGFRA testing, cytogenetics
Management of EGIDs:
  • Dietary: empiric 6-food elimination or elemental formula
  • Glucocorticoids: systemic (prednisone) or topical
  • Mast cell stabilizers: sodium cromoglycate (some benefit in EGE)
  • Biologics: dupilumab (EoE), benralizumab (anti-IL-5Ra), mepolizumab (anti-IL-5)
  • Imatinib: for FIP1L1-PDGFRA-positive hypereosinophilic syndrome with GI involvement
Source: Sleisenger and Fordtran's Gastrointestinal and Liver Disease (block 6, lines 55-440); Yamada's Textbook of Gastroenterology

All answers are compiled from Henry's Clinical Diagnosis and Management by Laboratory Methods, Sleisenger and Fordtran's GI and Liver Disease, Brenner and Rector's The Kidney, Campbell's Operative Orthopaedics (15th Ed), WHO CNS5 (2021) summary literature, and recent peer-reviewed updates in soft tissue tumor pathology.

Create a summary PDF of these 5 topics for quick reference

Reading File
Running Command

ls -la /home/daytona/workspace/ 2>/dev/null || mkdir -p /home/daytona/workspace …

Running Command

mkdir -p /home/daytona/workspace/pathology-summary && python3 -c "from reportlab…

Writing File

~/pathology-summary/generate_pdf.py

from reportlab.lib.pagesizes import A4
from reportlab.lib import colors
from reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle
from reportlab.lib.units import cm, mm
from reportlab.platypus import (
    SimpleDocTemplate, Paragraph, Spacer, Table, TableStyle,
    HRFlowable, KeepTogether, PageBreak
)
from reportlab.lib.enums import TA_LEFT, TA_CENTER, TA_JUSTIFY
from reportlab.platypus import ListFlowable, ListItem

OUTPUT = "/home/daytona/workspace/pathology-summary/Pathology_Quick_Reference.pdf"

doc = SimpleDocTemplate(
    OUTPUT,
    pagesize=A4,
    leftMargin=1.8*cm, rightMargin=1.8*cm,
    topMargin=2*cm, bottomMargin=2*cm,
    title="MD Pathology Quick Reference - Modern Trends & Recent Advances",
    author="GMERS Medical College, Gandhinagar"
)

styles = getSampleStyleSheet()

# ── Custom Styles ─────────────────────────────────────────────
TEAL    = colors.HexColor("#006D6D")
GOLD    = colors.HexColor("#C8860A")
LBLUE   = colors.HexColor("#D6EAF8")
LGRAY   = colors.HexColor("#F2F3F4")
DGRAY   = colors.HexColor("#2C3E50")
RED     = colors.HexColor("#C0392B")
GREEN   = colors.HexColor("#1E8449")

cover_title = ParagraphStyle("CoverTitle", fontSize=20, textColor=TEAL,
    fontName="Helvetica-Bold", alignment=TA_CENTER, spaceAfter=6)
cover_sub = ParagraphStyle("CoverSub", fontSize=13, textColor=DGRAY,
    fontName="Helvetica", alignment=TA_CENTER, spaceAfter=4)
cover_info = ParagraphStyle("CoverInfo", fontSize=10, textColor=colors.grey,
    fontName="Helvetica", alignment=TA_CENTER, spaceAfter=3)

h1 = ParagraphStyle("H1", fontSize=14, textColor=colors.white,
    fontName="Helvetica-Bold", spaceBefore=10, spaceAfter=4,
    leftIndent=6, borderPad=4, backColor=TEAL)
h2 = ParagraphStyle("H2", fontSize=11, textColor=TEAL,
    fontName="Helvetica-Bold", spaceBefore=8, spaceAfter=3,
    borderPad=2)
h3 = ParagraphStyle("H3", fontSize=10, textColor=GOLD,
    fontName="Helvetica-Bold", spaceBefore=5, spaceAfter=2)
body = ParagraphStyle("Body", fontSize=9, fontName="Helvetica",
    leading=13, spaceAfter=4, alignment=TA_JUSTIFY)
bullet_style = ParagraphStyle("Bullet", fontSize=9, fontName="Helvetica",
    leading=12, leftIndent=12, spaceAfter=2)
key_box = ParagraphStyle("KeyBox", fontSize=9, fontName="Helvetica-Bold",
    backColor=LBLUE, borderColor=TEAL, borderPad=4,
    leading=13, spaceAfter=6)
note_style = ParagraphStyle("Note", fontSize=8.5, fontName="Helvetica-Oblique",
    textColor=colors.HexColor("#555555"), leading=12, spaceAfter=3)
bold_body = ParagraphStyle("BoldBody", fontSize=9, fontName="Helvetica-Bold",
    leading=13, spaceAfter=2)

def tbl_style(header_color=TEAL):
    return TableStyle([
        ("BACKGROUND",  (0,0),(-1,0), header_color),
        ("TEXTCOLOR",   (0,0),(-1,0), colors.white),
        ("FONTNAME",    (0,0),(-1,0), "Helvetica-Bold"),
        ("FONTSIZE",    (0,0),(-1,0), 8),
        ("FONTNAME",    (0,1),(-1,-1), "Helvetica"),
        ("FONTSIZE",    (0,1),(-1,-1), 8),
        ("ROWBACKGROUNDS",(0,1),(-1,-1), [colors.white, LGRAY]),
        ("GRID",        (0,0),(-1,-1), 0.4, colors.HexColor("#AAAAAA")),
        ("VALIGN",      (0,0),(-1,-1), "TOP"),
        ("TOPPADDING",  (0,0),(-1,-1), 3),
        ("BOTTOMPADDING",(0,0),(-1,-1), 3),
        ("LEFTPADDING", (0,0),(-1,-1), 5),
        ("RIGHTPADDING",(0,0),(-1,-1), 5),
        ("WORDWRAP",    (0,0),(-1,-1), True),
    ])

def section_header(title, q_num):
    return [
        Spacer(1, 6),
        HRFlowable(width="100%", thickness=2, color=TEAL),
        Paragraph(f"Q{q_num}  {title}", h1),
        HRFlowable(width="100%", thickness=1, color=GOLD),
        Spacer(1, 4),
    ]

def sub(text): return Paragraph(text, h2)
def sub2(text): return Paragraph(text, h3)
def p(text): return Paragraph(text, body)
def b(text): return Paragraph(f"• {text}", bullet_style)
def key(text): return Paragraph(f"🔑 {text}", key_box)
def note(text): return Paragraph(f"<i>{text}</i>", note_style)
def sp(n=4): return Spacer(1, n)

W = A4[0] - 3.6*cm   # usable width

# ══════════════════════════════════════════════════════════════
story = []

# ─── COVER ────────────────────────────────────────────────────
story += [
    Spacer(1, 2.5*cm),
    Paragraph("MD PATHOLOGY", cover_title),
    Paragraph("Preliminary Examination – Paper IV", cover_sub),
    Paragraph("Modern Trends &amp; Recent Advances", cover_sub),
    Spacer(1, 0.6*cm),
    HRFlowable(width="60%", thickness=2, color=GOLD, hAlign="CENTER"),
    Spacer(1, 0.6*cm),
    Paragraph("QUICK REFERENCE SUMMARY", ParagraphStyle("QR", fontSize=16,
        fontName="Helvetica-Bold", textColor=GOLD, alignment=TA_CENTER)),
    Spacer(1, 0.4*cm),
    Paragraph("5 Key Topics at a Glance", cover_sub),
    Spacer(1, 1.5*cm),
]

toc_data = [
    ["#", "Topic", "Marks"],
    ["Q1", "Soft Tissue Tumors with Epithelioid Morphology – Diagnostic Challenges", "20"],
    ["Q2", "Pathology of Regenerative & Neoplastic Hepatic Nodules", "20"],
    ["Q3", "WHO Classification of Brain Tumours + IHC & Molecular Biology", "20"],
    ["Q4a", "Point of Care Testing in Coagulation", "10"],
    ["Q4b", "Minimal Residual Disease Detection in Acute Leukemia", "10"],
    ["Q5a", "Antiphospholipid Syndrome", "10"],
    ["Q5b", "Eosinophilic Diseases of the GI Tract", "10"],
]
toc_t = Table(toc_data, colWidths=[1.4*cm, 12.5*cm, 1.8*cm])
toc_t.setStyle(tbl_style(TEAL))
story += [
    Paragraph("Contents", ParagraphStyle("TOC_H", fontSize=11,
        fontName="Helvetica-Bold", textColor=DGRAY, alignment=TA_CENTER, spaceAfter=6)),
    toc_t,
    Spacer(1, 1.5*cm),
    Paragraph("GMERS Medical College, Gandhinagar | Pathology Department | Date: 10/07/26",
        cover_info),
    PageBreak(),
]

# ══════════════════════════════════════════════════════════════
# Q1 – EPITHELIOID SOFT TISSUE TUMORS
# ══════════════════════════════════════════════════════════════
story += section_header("Soft Tissue Tumors with Epithelioid Morphology – Diagnostic Challenges", 1)

story += [
    p("Epithelioid morphology (large polygonal cells resembling epithelial cells) is a key or defining "
      "feature of several soft tissue tumors. The central diagnostic challenge is distinguishing these "
      "from carcinoma, melanoma, and each other, especially since many express cytokeratin and EMA."),
    sp(),
    sub("Major Epithelioid Soft Tissue Tumors & Diagnostic Keys"),
]

q1_data = [
    ["Tumor", "Key Histology", "Diagnostic IHC / Molecular", "Pitfall / DDx"],
    ["Epithelioid Sarcoma (ES)",
     "Nodular granuloma-like pattern; central necrosis; distal vs. proximal type",
     "CK+, EMA+, CD34+ (50%); ERG+; INI1 (SMARCB1) LOST (~90%) — most useful marker",
     "Carcinoma, granuloma, rhabdoid tumor; proximal type mimics carcinoma closely"],
    ["Epithelioid MPNST",
     "Rounded cells, vesicular nuclei, prominent nucleoli; may show rhabdoid change",
     "S100 diffuse+, SOX10+; INI1 may be lost; GFAP focal+",
     "Melanoma (also S100+); use SOX10+INI1 loss to separate from melanoma"],
    ["Epithelioid Angiosarcoma",
     "Sheets of epithelioid cells; focal vasoformative areas; may be purely epithelioid on bx",
     "CD31+, CD34+, ERG+, FLI1+; CK+ (35%); INI1 intact",
     "Metastatic carcinoma (CK+); find vasoformative foci; vascular markers essential"],
    ["Sclerosing Epithelioid Fibrosarcoma (SEF)",
     "Cords of small epithelioid cells in dense hyaline stroma",
     "MUC4+ (highly specific), EMA+, BCOR+; EWSR1-CREB3L1/2 fusion",
     "Lobular breast Ca, LGMSRCT; MUC4 is hallmark"],
    ["Clear Cell Sarcoma",
     "Nests of clear/pale cells in tendons/aponeuroses; melanin+ (Fontana)",
     "S100+, HMB-45+, MART-1+, SOX10+; EWSR1-ATF1 or EWSR1-CREM fusion",
     "Malignant melanoma (identical IHC) – FISH for EWSR1 rearrangement differentiates"],
    ["Epithelioid Hemangioendothelioma (EHE)",
     "Cords of epithelioid endothelial cells in myxohyaline stroma; intracyto vacuoles",
     "CD31+, ERG+, CAMTA1+ (nuclear); TFE3+ in YAP1-TFE3 subtype; WWTR1-CAMTA1 fusion (90%)",
     "Metastatic carcinoma (signet ring), epithelioid sarcoma; CAMTA1 IHC is specific"],
    ["Alveolar Soft Part Sarcoma (ASPS)",
     "Pseudoalveolar/organoid nests; large cells with granular PAS+ diastase-resistant cytoplasm",
     "TFE3 strong nuclear+; MyoD1+; ASPSCR1-TFE3 fusion by FISH",
     "Renal cell Ca (also TFE3+), paraganglioma; deep extremity location; fusion FISH required"],
    ["PEComa",
     "Perivascular epithelioid cells; clear to pale eosinophilic cytoplasm",
     "HMB-45+, MelanA+, SMA+; TFE3+ in TFE3-rearranged; TSC1/TSC2 mutations",
     "Lipomatous tumors, carcinoma; dual muscle+melanocytic IHC is hallmark"],
    ["Synovial Sarcoma (biphasic/glandular)",
     "Glandular epithelial component + spindle cells; variable epithelioid predominance",
     "EMA+, AE1/AE3+, TLE1 (strong nuclear)+; SS18-SSX1/SSX2 fusion by FISH",
     "Carcinoma (TLE1 key); t(X;18) FISH is gold standard"],
]
q1_t = Table(q1_data, colWidths=[3.2*cm, 3.8*cm, 4.2*cm, 3.8*cm])
q1_t.setStyle(tbl_style(TEAL))
story += [q1_t, sp(6)]

story += [
    sub("Practical Diagnostic Algorithm"),
    p("<b>Step 1 – H&amp;E:</b> Architecture (nodular, nested, sheets), stroma type, necrosis pattern, "
      "mitoses, background (NF-1? cirrhosis?)."),
    p("<b>Step 2 – Site &amp; Age:</b> Distal extremity young adult = ES/CCS; tendon = CCS/ASPS; "
      "deep visceral = EHE; NF-1 = E-MPNST; perivascular = PEComa."),
    p("<b>Step 3 – First-line IHC panel:</b> AE1/AE3, EMA, S100, SOX10, CD34, CD31, INI1."),
    p("<b>Step 4 – INI1 status:</b> Loss → ES, proximal-type ES, E-MPNST, myoepithelial Ca, rhabdoid tumor."),
    p("<b>Step 5 – Second-line:</b> ERG/FLI1 (vascular), HMB-45/MelanA/TFE3 (PEComa/ASPS/CCS/EHE), "
      "MUC4 (SEF), DOG1+CD117 (GIST), TLE1 (synovial sarcoma), CAMTA1 (EHE)."),
    p("<b>Step 6 – Molecular:</b> FISH (EWSR1, SS18, TFE3, CAMTA1); RT-PCR (fusion transcripts); "
      "NGS panel if ambiguous."),
    key("INI1 loss is the single most critical IHC in any malignant epithelioid soft tissue tumor. "
        "Always include vascular markers (CD31/ERG) to exclude epithelioid angiosarcoma."),
]

# ══════════════════════════════════════════════════════════════
# Q2 – HEPATIC NODULES
# ══════════════════════════════════════════════════════════════
story += [PageBreak()]
story += section_header("Pathology of Regenerative & Neoplastic Hepatic Nodules", 2)

story += [
    p("Hepatic nodules span a continuous spectrum from benign regenerative processes to malignancy. "
      "Correct classification is critical for management. The key anchor tools are: reticulin stain, "
      "glutamine synthetase (GS) pattern, and a 3-marker IHC panel (GPC3 + HSP70 + GS) for HCC confirmation."),
    sp(),
    sub("Classification at a Glance"),
]

q2_class = [
    ["Category", "Entities"],
    ["Regenerative (non-neoplastic)", "Cirrhotic regenerative nodule · Nodular regenerative hyperplasia (NRH) · Focal Nodular Hyperplasia (FNH)"],
    ["Neoplastic – Benign", "Hepatocellular Adenoma (HCA) – 4 molecular subtypes"],
    ["Pre-malignant", "Low-grade Dysplastic Nodule (LGDN) · High-grade Dysplastic Nodule (HGDN)"],
    ["Malignant", "Hepatocellular Carcinoma (HCC) – conventional & fibrolamellar types"],
]
t2c = Table(q2_class, colWidths=[4.5*cm, 11*cm])
t2c.setStyle(tbl_style(TEAL))
story += [t2c, sp(6)]

story += [sub("Histopathology & IHC Comparison Table")]
q2_main = [
    ["Feature", "FNH", "HCA", "LGDN", "HGDN", "HCC"],
    ["Reticulin", "Intact", "Intact", "Intact", "Focal loss", "LOST ✓"],
    ["Portal tracts", "Absent (fibrous septa)", "Absent", "Present", "Reduced", "Absent"],
    ["Bile ductular reaction", "YES (at interface)", "No", "No", "No", "No"],
    ["Glutamine Synthetase (GS)", "Map-like (geographic) ✓", "Focal/normal", "Normal", "Focally ↑", "Diffuse strong"],
    ["Glypican-3 (GPC3)", "–", "–", "–", "±", "++ (~80%)"],
    ["HSP70", "–", "–", "–", "±", "+ (~50%)"],
    ["CD34 (sinusoids)", "Diffuse", "Diffuse", "Periportal", "±", "Diffuse"],
    ["Unpaired arteries", "No", "No", "No", "YES (key)", "YES"],
    ["Nuclear β-catenin", "No", "B-HCA only", "No", "Focal", "Some"],
    ["AFP", "–", "–", "–", "–", "+ (~50%)"],
]
t2m = Table(q2_main, colWidths=[3.2*cm, 2.5*cm, 2.5*cm, 2.2*cm, 2.2*cm, 2.9*cm])
t2m.setStyle(tbl_style(TEAL))
story += [t2m, sp(6)]

story += [sub("Hepatocellular Adenoma (HCA) – WHO Molecular Subtypes")]
hca_data = [
    ["Subtype", "Freq", "Key Feature", "IHC", "Malignant Risk"],
    ["HNF1A-inactivated (H-HCA)", "35-40%", "Marked steatosis, OCA", "LFABP loss", "Very low"],
    ["Inflammatory (I-HCA)", "40-50%", "Sinusoidal dilatation, inflammation", "SAA+, CRP+ (serum amyloid A)", "Low; ↑ if β-cat co-activated"],
    ["β-catenin activated (B-HCA)", "10-15%", "Atypia, pseudoacinar formation", "Nuclear β-cat+, GS diffuse+", "HIGH (~10% → HCC)"],
    ["Unclassified", "~10%", "No defining feature", "Non-specific", "Uncertain"],
]
t_hca = Table(hca_data, colWidths=[4*cm, 1.5*cm, 3.8*cm, 3.5*cm, 2.7*cm])
t_hca.setStyle(tbl_style(GOLD))
story += [t_hca, sp(6)]

story += [
    sub("Key Points for FNH vs HCA vs HCC"),
    b("<b>FNH:</b> Central stellate scar, thick-walled dystrophic arteries, bile ductules at interface, "
      "MAP-LIKE GS pattern – most specific IHC for FNH"),
    b("<b>HCA:</b> No portal tracts, no bile ducts, no fibrous septa; risk of rupture/hemorrhage; "
      "B-HCA has highest malignant risk"),
    b("<b>HCC:</b> Reticulin loss (most reliable on biopsy), trabecular thickening >3 cells, "
      "pseudoacini; 2 of 3 positive (GPC3 + HSP70 + GS diffuse) = HCC"),
    b("<b>HGDN vs Early HCC:</b> Unpaired arteries + stromal invasion = HCC; "
      "HGDN lacks stromal invasion despite cytologic atypia"),
    key("Reticulin stain is mandatory on all liver biopsies with suspected hepatocellular lesion. "
        "GS map-like pattern = FNH; GS diffuse = HCC."),
]

# ══════════════════════════════════════════════════════════════
# Q3 – WHO CNS5 BRAIN TUMOURS
# ══════════════════════════════════════════════════════════════
story += [PageBreak()]
story += section_header("WHO CNS5 (2021) Brain Tumour Classification + IHC & Molecular Biology", 3)

story += [
    p("The WHO CNS 5th Edition (2021) represents a paradigm shift: molecular diagnostics are now the "
      "primary determinants of classification and grading for most CNS tumors. Key innovations: "
      "<b>integrated layered diagnosis</b>, elimination of IDH-mutant GBM, molecular grading criteria, "
      "and DNA methylation profiling as a gold-standard classifier."),
    sp(),
    sub("Adult-Type Diffuse Gliomas"),
]

glioma_data = [
    ["Tumor", "Grade", "Key Molecular Feature", "IHC Surrogates"],
    ["Astrocytoma, IDH-mutant",
     "2, 3, 4",
     "IDH1/2 mutation + ATRX loss + TP53 mutation\n(no 1p/19q codeletion)",
     "IDH1 R132H Ab+; ATRX loss (nuclear); p53 nuclear acc."],
    ["Oligodendroglioma, IDH-mutant, 1p/19q-codeleted",
     "2, 3",
     "IDH1/2 mutation + 1p/19q codeletion (FISH)\n(TERT promoter mutation also expected)",
     "IDH1 R132H Ab+; FISH for 1p/19q; ATRX intact"],
    ["Glioblastoma, IDH-wildtype",
     "4",
     "IDH-wildtype + ≥1 of:\nTERT promoter mut, EGFR amplification, +7/–10",
     "EGFR amplification (FISH/IHC); PTEN loss; IDH1/2 negative"],
    ["Diffuse midline glioma, H3 K27-altered",
     "4",
     "H3K27M or H3K27me3 loss (EZHIP overexpression)",
     "H3K27M mutation Ab+; loss of H3K27me3 trimethylation IHC"],
    ["Diffuse hemispheric glioma, H3 G34-mutant",
     "4",
     "H3.3 G34R/V mutation (H3F3A) + ATRX loss",
     "H3.3 G34R/V Ab+; ATRX loss; OLIG2 lost"],
    ["Infant-type hemispheric glioma",
     "Variable",
     "RTK fusions: ALK, ROS1, NTRK, MET",
     "Pan-TRK IHC (NTRK); ALK IHC; RNA fusion panel"],
]
t_gl = Table(glioma_data, colWidths=[4*cm, 1.5*cm, 4.8*cm, 5.2*cm])
t_gl.setStyle(tbl_style(TEAL))
story += [t_gl, sp(6)]

story += [sub("Ependymal Tumors (Now Classified by Site + Molecular)")]
epen_data = [
    ["Tumor", "Site", "Key Molecular", "IHC"],
    ["Supratentorial ependymoma, ZFTA fusion+", "Supratentorial", "ZFTA::RELA fusion (formerly C11orf95::RELA)", "L1CAM+, nuclear RelA"],
    ["Supratentorial ependymoma, YAP1 fusion+", "Supratentorial", "YAP1::MAMLD1 or YAP1::FAM118B", "YAP1 IHC+"],
    ["Posterior fossa ependymoma, Group A (PFA)", "Posterior fossa", "EZHIP overexpression, H3K27me3 loss", "H3K27me3 lost (IHC)"],
    ["Posterior fossa ependymoma, Group B (PFB)", "Posterior fossa", "Balanced genome; CDKN2A/B deletion in some", "H3K27me3 intact"],
    ["Spinal ependymoma, MYCN-amplified", "Spinal", "MYCN amplification", "MYCN FISH"],
    ["Myxopapillary ependymoma (Grade 2)", "Spinal/cauda equina", "Upgraded from Grade 1", "GFAP+, EMA+"],
]
t_ep = Table(epen_data, colWidths=[4.5*cm, 2.5*cm, 4.5*cm, 4*cm])
t_ep.setStyle(tbl_style(TEAL))
story += [t_ep, sp(6)]

story += [sub("Medulloblastoma – Molecular Groups (Now Primary Classification)")]
mb_data = [
    ["Group", "Molecular Features", "IHC / Prognosis", "Clinical Notes"],
    ["WNT-activated", "CTNNB1 mutation; monosomy 6", "Nuclear β-catenin+; BEST prognosis", "Classic histology; young children"],
    ["SHH-activated, TP53-wildtype", "PTCH1/SMO/SUFU/GLI amp", "GAB1+, SFRP1+; intermediate", "Desmoplastic/nodular common; infants + adults"],
    ["SHH-activated, TP53-mutant", "TP53 mutation + MYCN/GLI2 amp", "p53+; WORST in SHH", "Children 5-17yr; high risk"],
    ["Non-WNT/Non-SHH (Grp 3 & 4)", "MYC amp (Grp3); i(17q), MYCN", "WNT/SHH negative; risk by methylation", "Most common group; classic/LCA histology"],
]
t_mb = Table(mb_data, colWidths=[3.2*cm, 4.3*cm, 3.7*cm, 4.3*cm])
t_mb.setStyle(tbl_style(TEAL))
story += [t_mb, sp(6)]

story += [sub("Key IHC Markers in Brain Tumors – Quick Reference")]
ihc_brain = [
    ["IHC Marker", "Tumor / Significance"],
    ["IDH1 R132H Ab", "Detects most common IDH mutation; glioma favorable prognosis"],
    ["ATRX loss", "Astrocytic lineage in IDH-mutant glioma (ATRX intact = oligodendroglioma or GBM)"],
    ["H3K27M", "Diffuse midline glioma (pons/thalamus/spine) – poor prognosis"],
    ["H3K27me3 loss", "Posterior fossa Group A ependymoma; ATRT; H3K27M glioma"],
    ["Nuclear β-catenin", "WNT-activated medulloblastoma (best prognosis)"],
    ["INI1 (SMARCB1) loss", "ATRT – key diagnostic marker; also poorly differentiated chordoma"],
    ["STAT6 nuclear", "Solitary fibrous tumor (retired hemangiopericytoma) – NAB2::STAT6 fusion"],
    ["L1CAM", "ZFTA fusion+ ependymoma (supratentorial)"],
    ["TFE3 nuclear", "YAP1-TFE3 ependymoma subtype; also ASPS"],
    ["p53 nuclear accumulation", "TP53 mutation; high-grade glioma; SHH MB (TP53-mutant)"],
    ["Ki-67 / MIB-1", "Proliferation index – aids grading"],
    ["GFAP, OLIG2, SOX2", "Glial lineage markers; OLIG2 lost in G34-mutant glioma"],
    ["Synaptophysin, NeuN", "Neuronal differentiation"],
]
t_ihcb = Table(ihc_brain, colWidths=[4*cm, 11.5*cm])
t_ihcb.setStyle(tbl_style(GOLD))
story += [t_ihcb, sp(6)]

story += [sub("Molecular Techniques in CNS Tumor Diagnosis")]
mol_data = [
    ["Technique", "Application in CNS Tumors"],
    ["FISH", "1p/19q codeletion (oligodendroglioma); EGFR amplification; MYCN; CDKN2A deletion; FGFR1 duplication"],
    ["Sanger PCR sequencing", "IDH1/2, TERT promoter, BRAF V600E, H3F3A/HIST1H3B mutations"],
    ["Next-Generation Sequencing (NGS)", "Comprehensive mutation + copy number + fusion profiling; identifies rare mutations"],
    ["RNA sequencing / fusion panel", "ZFTA::RELA, ALK/ROS1/NTRK/MET fusions (infant glioma), SS18 fusions"],
    ["DNA Methylation Profiling (EPIC 850K array)", "Gold standard classifier; defines methylation class; identifies new entities (PLNTY, CONCH, CEPNET)"],
    ["Copy number variation (CNV)", "+7/–10 (IDH-wildtype GBM); i(17q) (MB); iAMP21 (ALL); chromosome 6 loss (WNT MB)"],
    ["TERT promoter sequencing", "IDH-wildtype GBM criterion (with +7/–10 or EGFR amp); meningioma grade 3 criterion"],
]
t_mol = Table(mol_data, colWidths=[4.5*cm, 11*cm])
t_mol.setStyle(tbl_style(TEAL))
story += [t_mol, sp(4)]
story += [key("WHO CNS5 key rule: IDH-mutant GBM no longer exists – such cases = Astrocytoma IDH-mutant Grade 4. "
              "GBM is exclusively IDH-wildtype. Meningioma grade 3 now includes TERT promoter mutation or "
              "CDKN2A/B deletion as independent criteria.")]

# ══════════════════════════════════════════════════════════════
# Q4a – POCT IN COAGULATION
# ══════════════════════════════════════════════════════════════
story += [PageBreak()]
story += section_header("Point of Care Testing (POCT) in Coagulation", "4a")

story += [
    p("POCT in coagulation brings hemostasis testing to the bedside or perioperative setting, "
      "enabling real-time, goal-directed hemostatic therapy. The most transformative advance is "
      "<b>viscoelastic testing (VET)</b> – whole-blood global hemostasis assessment."),
    sp(),
    sub("Key POCT Coagulation Tests"),
]

poct_data = [
    ["Test", "Device / Method", "Parameters", "Clinical Use"],
    ["PT/INR (POC)",
     "CoaguChek XS (Roche)\nXprecia Stride (Siemens)",
     "PT, INR",
     "Warfarin monitoring; home INR self-testing; anticoagulation clinics"],
    ["Activated Clotting Time (ACT)",
     "Hemochron, i-STAT (Abbott)\nWhole blood, no centrifugation",
     "ACT (seconds)\nNormal: 70-180s\nCPB target: >480s",
     "UFH monitoring in cardiac surgery, PCI, ECMO"],
    ["Thromboelastography (TEG)",
     "TEG 5000 / TEG 6s (Haemonetics)",
     "R time (initiation), K time (kinetics), α-angle (rate), MA (clot strength), LY30 (fibrinolysis)",
     "Cardiac surgery, trauma, liver transplant, obstetric hemorrhage; MTP guidance"],
    ["Rotational Thromboelastometry (ROTEM)",
     "ROTEM sigma (Instrumentation Laboratory)",
     "CT, CFT, MCF, ML\nChannels: INTEM, EXTEM, FIBTEM, APTEM",
     "Same indications as TEG; FIBTEM channel isolates fibrin from platelet contribution"],
    ["Quantra (HemoSonics)",
     "Sonic estimation of ratio of thrombus",
     "CT, CS (clot stiffness), FCS (fibrinogen), PCS (platelet contribution)",
     "Cardiac surgery; separates fibrinogen vs platelet contribution to stiffness"],
    ["PFA-100/200",
     "Siemens; collagen/ADP & collagen/EPI cartridges",
     "Closure time (CT) in seconds",
     "Screening for VWD and platelet function disorders; aspirin monitoring"],
    ["Multiplate / VerifyNow",
     "Impedance aggregometry / optical",
     "Area under curve (AUC); platelet aggregation %",
     "Antiplatelet drug monitoring (aspirin, P2Y12); platelet function assessment"],
]
t_poct = Table(poct_data, colWidths=[2.8*cm, 3.5*cm, 4*cm, 5.2*cm])
t_poct.setStyle(tbl_style(TEAL))
story += [t_poct, sp(6)]

story += [
    sub("VET Parameters at a Glance"),
]
vet_data = [
    ["TEG Parameter", "ROTEM Equiv.", "Meaning", "Abnormal → Treat with"],
    ["R time (reaction)", "CT (clotting time)", "Clot initiation – factor activity", "Prolonged → FFP"],
    ["K time", "CFT (clot formation)", "Clot kinetics – fibrinogen + platelets", "Prolonged → Cryo/fibrinogen"],
    ["α-angle (alpha)", "CFT-derived", "Rate of clot formation", "Decreased → Cryoprecipitate"],
    ["MA (max amplitude)", "MCF (max clot firmness)", "Clot strength = platelet + fibrin", "Decreased → Platelets ± cryo"],
    ["LY30 / LY60", "ML (max lysis)", "Fibrinolysis at 30/60 min", "Increased → TXA / antifibrinolytics"],
]
t_vet = Table(vet_data, colWidths=[3*cm, 3*cm, 4*cm, 5.5*cm])
t_vet.setStyle(tbl_style(GOLD))
story += [t_vet, sp(4)]
story += [
    key("Goal-directed hemostatic therapy guided by VET reduces blood product transfusion by up to 30% in "
        "cardiac surgery and massive transfusion. FIBTEM (ROTEM) separates fibrinogen from platelet "
        "contribution to clot firmness – a unique advantage of VET."),
    sp(),
    sub("Advantages & Limitations"),
    p("<b>Advantages:</b> Rapid turnaround (mins vs. hours), whole blood (no centrifugation), "
      "global hemostasis assessment, guides specific component therapy, reduces unnecessary transfusion."),
    p("<b>Limitations:</b> Requires training and QA program; higher per-test cost vs. central lab; "
      "less analytical precision; limited reference ranges for extremes of age; "
      "connectivity and POCT governance requirements."),
]

# ══════════════════════════════════════════════════════════════
# Q4b – MRD IN ACUTE LEUKEMIA
# ══════════════════════════════════════════════════════════════
story += section_header("Minimal Residual Disease (MRD) Detection in Acute Leukemia", "4b")

story += [
    p("MRD refers to leukemic cells below the morphological threshold (&lt;5% blasts). "
      "MRD &gt;10⁻⁴ post-induction strongly predicts relapse independent of cytogenetics. "
      "MRD-negativity enables de-escalation; MRD-positivity triggers intensification or alloSCT."),
    sp(),
    sub("Methods of MRD Detection – Comparison"),
]

mrd_data = [
    ["Method", "Sensitivity", "Target", "Advantages", "Limitations"],
    ["Multiparameter Flow Cytometry (MFC)",
     "10⁻⁴ to 10⁻⁵\n(next-gen EuroFlow: 10⁻⁵)",
     "Leukemia-associated immunophenotype (LAIP)",
     "Rapid (4-6h); applicable to all leukemia types; no prior molecular characterization",
     "Immunophenotypic shift at relapse; technical standardization challenging"],
    ["Fusion Gene PCR (RT-PCR)",
     "10⁻⁵ to 10⁻⁶",
     "BCR-ABL1, PML-RARA, RUNX1-RUNX1T1, CBFB-MYH11",
     "Highly sensitive; quantitative (BCR-ABL1 IS); guides TKI decisions in APL",
     "Applicable only if fusion present at diagnosis (~30% of ALL)"],
    ["Ig/TCR PCR (RQ-PCR)",
     "10⁻⁴ to 10⁻⁵",
     "V(D)J clonal rearrangements\n(IgH, IgK, TCRβ, TCRγ, TCRδ)",
     ">90% of B-ALL and T-ALL have suitable targets; high specificity",
     "Labor-intensive; oligoclonality; clonal evolution may cause false negatives"],
    ["NGS – clonoSEQ / ImmunoSEQ",
     "10⁻⁶",
     "Ig/TCR gene rearrangements by deep sequencing",
     "Highest sensitivity; FDA-cleared for ALL/CLL/MM; multiplexed; absolute quantification",
     "Cost; turnaround 1-2 weeks; requires diagnostic sample for reference sequencing"],
    ["Digital PCR (ddPCR)",
     "10⁻⁵ to 10⁻⁶",
     "Fusion transcripts (BCR-ABL1, NPM1), specific mutations",
     "Absolute quantification; no standard curve needed; high reproducibility",
     "Limited targets; technical complexity; not widely available"],
    ["Mutation-tracking NGS (AML)",
     "10⁻³ to 10⁻⁵",
     "NPM1, FLT3-ITD, IDH1/2, TP53",
     "NPM1 MRD is standard of care (ELN 2022); broad AML applicability",
     "CHIP variants (DNMT3A, TET2, ASXL1) persist in remission – not true MRD"],
]
t_mrd = Table(mrd_data, colWidths=[2.8*cm, 2*cm, 3*cm, 3.8*cm, 4*cm])
t_mrd.setStyle(tbl_style(TEAL))
story += [t_mrd, sp(6)]

story += [sub("MRD Targets by Leukemia Type")]
mrd_type = [
    ["Leukemia", "Preferred MRD Method", "Sensitivity", "Key Clinical Timepoints"],
    ["B-ALL", "MFC + Ig/TCR PCR or NGS (clonoSEQ)", "10⁻⁵ to 10⁻⁶", "End-induction, end-consolidation; alloSCT decisions"],
    ["T-ALL", "TCR gene PCR + MFC", "10⁻⁵", "Same as B-ALL; TCRβ/γ/δ targets"],
    ["APL", "PML-RARA RT-PCR (quantitative)", "10⁻⁵", "Post-consolidation; 3-monthly surveillance; positivity = impending relapse"],
    ["AML (NPM1+)", "NPM1 PCR (quantitative RT-PCR)", "10⁻⁴ to 10⁻⁵", "Post induction, post each consolidation; guide transplant"],
    ["CML", "BCR-ABL1 RT-PCR (International Scale)", "10⁻⁵", "Deep MR4.5 needed for TKI discontinuation (EURO-SKI trial)"],
]
t_mrd_t = Table(mrd_type, colWidths=[2.5*cm, 4*cm, 2.5*cm, 6.5*cm])
t_mrd_t.setStyle(tbl_style(GOLD))
story += [t_mrd_t, sp(4)]
story += [key("NGS-based MRD (clonoSEQ) achieves 10⁻⁶ sensitivity – 10,000-fold more sensitive than "
              "morphology. MRD >10⁻⁴ at end of induction = high relapse risk regardless of cytogenetics. "
              "NPM1 mutation PCR is the ELN 2022 standard MRD marker for NPM1-mutated AML.")]

# ══════════════════════════════════════════════════════════════
# Q5a – ANTIPHOSPHOLIPID SYNDROME
# ══════════════════════════════════════════════════════════════
story += [PageBreak()]
story += section_header("Antiphospholipid Syndrome (APS)", "5a")

story += [
    p("APS is a systemic autoimmune thrombophilic disorder characterised by recurrent thrombosis "
      "and/or pregnancy morbidity in association with persistently positive antiphospholipid (aPL) antibodies. "
      "It is the most common acquired thrombophilia."),
    sp(),
    sub("Sapporo/Sydney Classification Criteria (Diagnosis requires ≥1 clinical + ≥1 laboratory criterion)"),
]

aps_crit = [
    ["Clinical Criteria", "Laboratory Criteria (must be +ve on 2 occasions, ≥12 weeks apart)"],
    ["1. Vascular thrombosis (venous / arterial / small vessel)\n"
     "2. Pregnancy morbidity:\n"
     "   a) ≥1 unexplained fetal death ≥10 wks gestation\n"
     "   b) ≥1 premature birth ≤34 wks (eclampsia/placental insufficiency)\n"
     "   c) ≥3 recurrent early losses <10 wks",
     "1. Lupus anticoagulant (LA) – in plasma\n"
     "2. Anti-cardiolipin (aCL): IgG or IgM >40 GPL/MPL or >99th percentile\n"
     "3. Anti-β₂-glycoprotein I (anti-β₂GPI): IgG or IgM >99th percentile\n"
     "Note: Triple positivity (LA + aCL + anti-β₂GPI) = HIGHEST thrombotic risk"],
]
t_aps_c = Table(aps_crit, colWidths=[7.5*cm, 8*cm])
t_aps_c.setStyle(TableStyle([
    ("BACKGROUND", (0,0),(-1,0), TEAL), ("TEXTCOLOR",(0,0),(-1,0), colors.white),
    ("FONTNAME",(0,0),(-1,0),"Helvetica-Bold"), ("FONTSIZE",(0,0),(-1,-1),8.5),
    ("FONTNAME",(0,1),(-1,-1),"Helvetica"), ("GRID",(0,0),(-1,-1),0.4,colors.grey),
    ("VALIGN",(0,0),(-1,-1),"TOP"), ("TOPPADDING",(0,0),(-1,-1),4),
    ("BOTTOMPADDING",(0,0),(-1,-1),4), ("LEFTPADDING",(0,0),(-1,-1),5),
]))
story += [t_aps_c, sp(6)]

story += [
    sub("Pathogenesis – Two-Hit Hypothesis"),
    p("<b>Hit 1 (Predisposing):</b> aPL antibodies (especially anti-β₂GPI) bind to β₂GPI on endothelial cells, "
      "platelets, and monocytes via Annexin A2 and TLR4 → activation of pro-coagulant pathways."),
    p("<b>Hit 2 (Triggering):</b> Pregnancy, OCP, surgery, infection, nephrotic syndrome, SLE flare → "
      "clinical thrombosis."),
    p("<b>Mechanisms of thrombosis:</b> Inhibition of protein C/S and annexin V → loss of anticoagulant "
      "protection; tissue factor induction on monocytes; platelet activation and aggregation; "
      "complement activation (placental injury); inhibition of fibrinolysis (t-PA inhibition); "
      "mTOR pathway inhibition → endothelial damage and intravascular coagulation."),
    sp(),
    sub("Pathology – Renal Biopsy (APL Nephropathy)"),
    p("APL nephropathy occurs in ~25% of primary APS and ~40% of aPL-positive patients:"),
    b("Glomerular capillary thrombosis with mesangiolysis and mesangial interposition"),
    b("Duplication of GBMs; subendothelial electron-lucent flocculent material (TMA pattern)"),
    b("Arterioles: fibrin thrombi; intimal mucoid thickening; subendothelial fibrosis"),
    b("Interlobular arteries: organizing/recanalized thrombi narrowing lumens; 'onion-skin' lesion"),
    b("Interstitial fibrosis and cortical atrophy from chronic ischemia"),
    note("Note: Non-inflammatory vasculopathy (NO vasculitis). May mimic FSGS, membranous nephropathy, "
         "MPGN, or RPGN on light microscopy."),
    sp(),
    sub("Laboratory Findings"),
]
lab_aps = [
    ["Test", "Finding in APS", "Explanation"],
    ["aPTT", "PROLONGED (paradox)", "LA interferes with phospholipid-dependent clotting in vitro, despite pro-thrombotic state in vivo"],
    ["Platelet count", "Thrombocytopenia (30-50%)", "aPL antibodies activate platelets and cause platelet consumption"],
    ["VDRL", "False positive", "aCL antibodies cross-react with cardiolipin in VDRL reagent"],
    ["aCL IgG/IgM", "Elevated", "Confirmed on 2 occasions ≥12 weeks apart"],
    ["Anti-β₂GPI IgG/IgM", "Elevated", "Most thrombosis-specific antibody; β₂GPI-dependent mechanism"],
    ["Lupus anticoagulant (LA)", "Detected by mixing studies (no correction) + confirmatory tests", "Most thrombosis-predictive single test"],
]
t_lab = Table(lab_aps, colWidths=[3.5*cm, 4*cm, 8*cm])
t_lab.setStyle(tbl_style(GOLD))
story += [t_lab, sp(4)]
story += [
    key("LA > aCL > anti-β₂GPI for thrombotic risk prediction. DOAK/NOAC (rivaroxaban) is inferior to "
        "warfarin for arterial APS (TRAPS trial) – warfarin INR 2-3 remains standard."),
]

# ══════════════════════════════════════════════════════════════
# Q5b – EOSINOPHILIC GI DISORDERS
# ══════════════════════════════════════════════════════════════
story += section_header("Eosinophilic Diseases of the GI Tract (EGIDs)", "5b")

story += [
    p("EGIDs are defined by selective eosinophil-rich inflammation in the GI tract, in absence of known causes "
      "(parasites, drugs, IBD, malignancy), associated with GI symptoms. The most prevalent and best-studied "
      "is Eosinophilic Esophagitis (EoE)."),
    sp(),
    sub("Spectrum of EGIDs"),
]
egid_spec = [
    ["EGID", "Location", "Key Pathologic Feature", "Prevalence"],
    ["Eosinophilic Esophagitis (EoE)", "Esophagus", "≥15 eos/HPF (normally ZERO); basal cell hyperplasia; microabscesses", "~40-57/100,000 (US)"],
    ["Eosinophilic Gastritis (EG)", "Stomach", ">30 eos/5HPF; antral and fundal biopsies required", "~6.4/100,000"],
    ["Eosinophilic Enteritis (EEn)", "Small bowel", ">20 eos/HPF; villous atrophy in severe cases", "Rare"],
    ["Eosinophilic Gastroenteritis (EGE)", ">1 segment", "Mucosal / muscularis / serosal forms (see below)", "Rare"],
    ["Eosinophilic Colitis (EC)", "Colon", ">50 eos/HPF (cecum normal limit!); bloody diarrhea", "~3.5/100,000"],
]
t_spec = Table(egid_spec, colWidths=[3.8*cm, 2.5*cm, 5.5*cm, 3.7*cm])
t_spec.setStyle(tbl_style(TEAL))
story += [t_spec, sp(6)]

story += [sub("Pathophysiology")]
story += [
    p("<b>Immune mechanism:</b> Th2-skewed response between IgE-mediated and delayed hypersensitivity. "
      "Key drivers: IL-5 (eosinophil production), IL-13 and IL-4 (barrier dysfunction), "
      "eotaxin-3 / CCL26 (eosinophil recruitment – hallmark of EoE), TSLP."),
    p("<b>Eosinophil granule proteins:</b> MBP-1/2, ECP, EDN, EPO – released into tissue causing "
      "epithelial damage, nerve stimulation, and subepithelial fibrosis."),
    p("<b>Genetic factors:</b> Sibling recurrence risk >50-fold in EoE; associated SNPs and rare damaging variants. "
      "ERBIN deficiency, Netherton syndrome, and hypermobility EDS associated with familial EoE."),
    p("<b>FIP1L1-PDGFRA fusion:</b> Subset of EGE with hypereosinophilic syndrome (HES) overlap; "
      "sensitive to imatinib mesylate."),
    sp(),
    sub("Eosinophilic Esophagitis (EoE) – Detailed Pathology"),
]

eoe_dx = [
    ["Feature", "EoE", "GERD (for comparison)"],
    ["Eos/HPF", "≥15/HPF (proximal AND distal bx)", "0-7/HPF (distal only)"],
    ["Eosinophilic microabscesses", "Present", "Absent"],
    ["Basal cell hyperplasia", "Severely increased (>20% thickness)", "Increased (mild)"],
    ["Dilated intercellular spaces", "Present (spongiosis)", "Present"],
    ["Papillary elongation", "Yes", "Yes"],
    ["Sub-epithelial fibrosis", "Yes (deeper biopsies)", "No"],
    ["Eotaxin-3 level", "Elevated", "Normal"],
    ["pH impedance", "Normal", "Abnormal"],
    ["PPI response", "Subset (PPI-responsive EoE)", "Yes"],
]
t_eoe = Table(eoe_dx, colWidths=[5.5*cm, 5.5*cm, 4.5*cm])
t_eoe.setStyle(tbl_style(TEAL))
story += [t_eoe, sp(6)]

story += [
    sub("EoE Histology Scoring System (HSS, 2017 – 8 features)"),
    p("The validated EoE-HSS outperforms eosinophil count alone for diagnosis and treatment monitoring. "
      "Features: (1) eosinophil density, (2) basal cell hyperplasia, (3) eosinophilic abscesses, "
      "(4) surface layering of eosinophils, (5) dilated intercellular spaces, "
      "(6) epithelial disarray, (7) superficial epithelial alteration, (8) lamina propria fibrosis."),
    sp(),
    sub("EGE – Three Histological Layers (Clinical Forms)"),
]
ege_data = [
    ["Form", "Layer Involved", "Clinical Presentation"],
    ["Mucosal (most common)", "Mucosa", "Vomiting, diarrhea, malabsorption, protein-losing enteropathy, iron deficiency anemia, failure to thrive"],
    ["Muscularis", "Muscularis propria", "Bowel wall thickening → gastric outlet obstruction (mimics pyloric stenosis) or intestinal obstruction"],
    ["Serosal (rare)", "Subserosa", "Eosinophilic ascites; highest peripheral eosinophilia"],
]
t_ege = Table(ege_data, colWidths=[3.5*cm, 3.5*cm, 8.5*cm])
t_ege.setStyle(tbl_style(GOLD))
story += [t_ege, sp(6)]

story += [
    sub("Diagnostic Workup"),
    b("CBC with differential; total IgE; ESR/CRP (normal in EGIDs)"),
    b("Allergy testing: skin prick test + specific IgE panel (aeroallergens, food)"),
    b("Stool examination for parasites; Strongyloides serology before immunosuppression"),
    b("Upper + lower GI endoscopy with biopsies from ≥6 sites (proximal AND distal esophagus in EoE)"),
    b("pH-impedance study (to exclude GERD in EoE)"),
    b("If hypereosinophilia present: BM biopsy, serum tryptase, B12, PDGFRA gene testing"),
    sp(),
    sub("Treatment"),
]
rx_egid = [
    ["Approach", "EoE", "EG/EGE/EC"],
    ["Dietary", "6-food elimination (milk, wheat, egg, soy, nuts, seafood) or elemental formula", "Empiric elimination; elemental formula in children"],
    ["Topical steroids", "Swallowed fluticasone or budesonide oral suspension", "Topical budesonide (limited data)"],
    ["Systemic steroids", "Effective but side effects with long-term use", "Effective; often needed"],
    ["PPI", "Helpful in PPI-responsive EoE subset", "Not helpful"],
    ["Biologics", "Dupilumab (anti-IL-4Rα) – FDA-approved 2022; mepolizumab (anti-IL-5)", "Mepolizumab, benralizumab (investigational)"],
    ["Mast cell stabilizers", "Limited benefit", "Sodium cromoglycate (some evidence in EGE)"],
    ["Targeted therapy", "N/A", "Imatinib for FIP1L1-PDGFRA+ HES with GI involvement"],
    ["Endoscopic dilation", "For fibrotic strictures in EoE", "N/A"],
]
t_rx = Table(rx_egid, colWidths=[3.5*cm, 6.5*cm, 5.5*cm])
t_rx.setStyle(tbl_style(TEAL))
story += [t_rx, sp(4)]
story += [key("The esophagus is normally completely devoid of eosinophils. Any esophageal eosinophilia = pathology. "
              "Dupilumab (anti-IL-4Rα) was FDA-approved for EoE in 2022 – first biologic for EoE. "
              "≥15 eos/HPF in BOTH proximal and distal esophagus = required for EoE diagnosis.")]

# ── Final footer ──────────────────────────────────────────────
story += [
    Spacer(1, 1*cm),
    HRFlowable(width="100%", thickness=1, color=TEAL),
    Paragraph(
        "GMERS Medical College, Gandhinagar – MD Pathology Quick Reference | "
        "Sources: Henry's Clinical Diagnosis (Laboratory Methods), "
        "Sleisenger &amp; Fordtran's GI &amp; Liver Disease, Brenner &amp; Rector's Kidney, "
        "WHO CNS5 (2021), WHO Soft Tissue &amp; Bone 5th Ed | Date: 10/07/26",
        ParagraphStyle("Footer", fontSize=7, textColor=colors.grey,
            fontName="Helvetica-Oblique", alignment=TA_CENTER)
    ),
]

doc.build(story)
print(f"PDF created: {OUTPUT}")
Running Command

cd /home/daytona/workspace/pathology-summary && python3 generate_pdf.py 2>&1

Running Command

ls -lh /home/daytona/workspace/pathology-summary/Pathology_Quick_Reference.pdf

Your summary PDF is ready for download:

Pathology Quick Reference

PDF Document · PDF


What's inside the PDF (34 KB, A4, fully formatted):
SectionContent
Cover pageTitle, contents table with all 7 topics and marks
Q1 – Epithelioid STT9-entity comparison table (IHC + molecular), diagnostic algorithm, INI1 key box
Q2 – Hepatic NodulesClassification spectrum, 6-marker IHC comparison table, HCA molecular subtypes table, FNH vs HCA vs HCC key points
Q3 – WHO CNS5Adult diffuse gliomas table, ependymoma molecular table, medulloblastoma molecular groups, IHC marker reference table, molecular techniques table
Q4a – POCT CoagulationAll POC devices table, VET parameters (TEG/ROTEM) with treatment guidance, advantages/limitations
Q4b – MRD in LeukemiaMethods comparison table (sensitivity + advantages), MRD by leukemia type table
Q5a – APSSapporo criteria table, pathogenesis two-hit summary, renal biopsy pathology, laboratory findings table
Q5b – EGIDsEGID spectrum table, EoE vs GERD pathology table, EGE 3-layer table, treatment table
All sections use color-coded headers (teal/gold), alternating row tables, and highlighted key-point boxes for rapid revision.
This is a shared conversation. Sign in to Orris to start your own chat.