python3 -c " from pypdf import PdfReader path = '/home/daytona/workspace/attachments/f768b344-9e6e-47e1-b4c7-5148945e239a/Postgraduate Manual of Pathology 9th ed. 2025.pdf' reader = PdfReader(path) print(f'Total pages: {len(reader.pages)}') meta = reader.metadata print(f'Title: {meta.title}') print(f'Author: {meta.author}') print(f'Subject: {meta.subject}') # Extract first 2 pages to see structure for i in range(min(3, len(reader.pages))): print(f'\n--- PAGE {i+1} ---') print(reader.pages[i].extract_text()[:1000]) "
| Section | Topics |
|---|---|
| Paper I | General Pathology (p. 5) |
| Paper II | Special Pathology (p. 23) |
| Paper III | Hematology, Clinical Pathology, Cytology, Chemical Pathology, Blood Banking (p. 43-78) |
| Paper IV | Recent Advances in Pathology related to Clinical Medicine (p. 63-78) |
| KNRUHS Telangana | Past papers 2018-2025 (p. 82) |
| Recent Advances | Histopathology & Hematology topics (p. 101-108) |
What are the main topics in Paper I (General Pathology)?
python3 -c " from pypdf import PdfReader path = '/home/daytona/workspace/attachments/f768b344-9e6e-47e1-b4c7-5148945e239a/Postgraduate Manual of Pathology 9th ed. 2025.pdf' reader = PdfReader(path) # Paper I is on pages 5-22 (0-indexed: 4-21) for i in range(4, 22): print(f'\n=== PAGE {i+1} ===') print(reader.pages[i].extract_text()) " 2>/dev/null
Create a study guide summarizing the top 20 most frequently asked Paper I topics
python3 -c " from pypdf import PdfReader path = '/home/daytona/workspace/attachments/f768b344-9e6e-47e1-b4c7-5148945e239a/Postgraduate Manual of Pathology 9th ed. 2025.pdf' reader = PdfReader(path) print(f'Total pages: {len(reader.pages)}') # Extract pages 22 onwards - Recent Advances / content sections for i in range(22, 109): text = reader.pages[i].extract_text() if text and text.strip(): print(f'\n=== PAGE {i+1} ===') print(text) " 2>/dev/null | head -3000
mkdir -p /home/daytona/workspace/pathology-studyguide && ls /home/daytona/workspace/pathology-studyguide/
~/pathology-studyguide/create_studyguide.js
const {
Document, Packer, Paragraph, TextRun, Table, TableRow, TableCell,
HeadingLevel, AlignmentType, BorderStyle, WidthType, ShadingType,
VerticalAlign, PageNumber, Header, Footer, TabStopType, TabStopPosition,
PageBreak
} = require('docx');
const fs = require('fs');
// ─── Color palette ───────────────────────────────────────────────────────────
const DARK_BLUE = "1F3864";
const MED_BLUE = "2E75B6";
const LIGHT_BLUE = "D6E4F0";
const ACCENT_RED = "C00000";
const ACCENT_GOLD = "F4B942";
const WHITE = "FFFFFF";
const LIGHT_GRAY = "F2F2F2";
const MID_GRAY = "D9D9D9";
const DARK_GRAY = "404040";
// ─── Helpers ─────────────────────────────────────────────────────────────────
function heading1(text) {
return new Paragraph({
heading: HeadingLevel.HEADING_1,
spacing: { before: 300, after: 120 },
children: [new TextRun({ text, bold: true, color: WHITE, size: 28 })],
shading: { type: ShadingType.SOLID, color: DARK_BLUE },
indent: { left: 200, right: 200 },
});
}
function heading2(text, rank) {
return new Paragraph({
heading: HeadingLevel.HEADING_2,
spacing: { before: 240, after: 80 },
children: [
new TextRun({ text: `${rank} ${text}`, bold: true, color: WHITE, size: 24 }),
],
shading: { type: ShadingType.SOLID, color: MED_BLUE },
indent: { left: 160, right: 160 },
});
}
function heading3(text) {
return new Paragraph({
heading: HeadingLevel.HEADING_3,
spacing: { before: 160, after: 60 },
children: [new TextRun({ text, bold: true, color: DARK_BLUE, size: 22 })],
border: { bottom: { style: BorderStyle.SINGLE, size: 6, color: MED_BLUE } },
});
}
function subSection(label) {
return new Paragraph({
spacing: { before: 120, after: 40 },
children: [new TextRun({ text: label, bold: true, color: ACCENT_RED, size: 20 })],
});
}
function bullet(text, level = 0) {
return new Paragraph({
bullet: { level },
spacing: { before: 40, after: 40 },
indent: { left: 400 + level * 280, hanging: 280 },
children: [new TextRun({ text, color: DARK_GRAY, size: 18 })],
});
}
function boldBullet(label, rest) {
return new Paragraph({
bullet: { level: 0 },
spacing: { before: 40, after: 40 },
indent: { left: 400, hanging: 280 },
children: [
new TextRun({ text: label, bold: true, color: DARK_BLUE, size: 18 }),
new TextRun({ text: ': ' + rest, color: DARK_GRAY, size: 18 }),
],
});
}
function note(text) {
return new Paragraph({
spacing: { before: 80, after: 80 },
indent: { left: 400, right: 400 },
shading: { type: ShadingType.SOLID, color: LIGHT_BLUE },
children: [
new TextRun({ text: '📌 Exam tip: ', bold: true, color: ACCENT_RED, size: 18 }),
new TextRun({ text, italics: true, color: DARK_GRAY, size: 18 }),
],
});
}
function freqBadge(count) {
return `[Asked ~${count}x]`;
}
function space(before = 80, after = 80) {
return new Paragraph({ spacing: { before, after }, children: [new TextRun('')] });
}
function pageBreak() {
return new Paragraph({ children: [new PageBreak()] });
}
function twoColTable(col1Header, col1Items, col2Header, col2Items) {
const maxRows = Math.max(col1Items.length, col2Items.length);
const rows = [];
// header row
rows.push(new TableRow({
tableHeader: true,
children: [
new TableCell({
width: { size: 50, type: WidthType.PERCENTAGE },
shading: { type: ShadingType.SOLID, color: MED_BLUE },
children: [new Paragraph({ alignment: AlignmentType.CENTER, children: [new TextRun({ text: col1Header, bold: true, color: WHITE, size: 18 })] })],
}),
new TableCell({
width: { size: 50, type: WidthType.PERCENTAGE },
shading: { type: ShadingType.SOLID, color: MED_BLUE },
children: [new Paragraph({ alignment: AlignmentType.CENTER, children: [new TextRun({ text: col2Header, bold: true, color: WHITE, size: 18 })] })],
}),
],
}));
for (let i = 0; i < maxRows; i++) {
const even = i % 2 === 0;
rows.push(new TableRow({
children: [
new TableCell({
shading: even ? { type: ShadingType.SOLID, color: LIGHT_GRAY } : undefined,
children: [new Paragraph({ children: [new TextRun({ text: col1Items[i] || '', color: DARK_GRAY, size: 16 })] })],
}),
new TableCell({
shading: even ? { type: ShadingType.SOLID, color: LIGHT_GRAY } : undefined,
children: [new Paragraph({ children: [new TextRun({ text: col2Items[i] || '', color: DARK_GRAY, size: 16 })] })],
}),
],
}));
}
return new Table({ width: { size: 100, type: WidthType.PERCENTAGE }, rows });
}
function rankTable(topics) {
const rows = [
new TableRow({
tableHeader: true,
children: ['Rank', 'Topic', 'Chapter', 'Times Asked'].map(h =>
new TableCell({
shading: { type: ShadingType.SOLID, color: DARK_BLUE },
children: [new Paragraph({ alignment: AlignmentType.CENTER, children: [new TextRun({ text: h, bold: true, color: WHITE, size: 18 })] })],
})
),
}),
];
topics.forEach(({ rank, topic, chapter, times }, i) => {
const shade = i % 2 === 0 ? LIGHT_BLUE : WHITE;
rows.push(new TableRow({
children: [
new TableCell({ shading: { type: ShadingType.SOLID, color: shade }, children: [new Paragraph({ alignment: AlignmentType.CENTER, children: [new TextRun({ text: String(rank), bold: true, color: MED_BLUE, size: 18 })] })] }),
new TableCell({ shading: { type: ShadingType.SOLID, color: shade }, children: [new Paragraph({ children: [new TextRun({ text: topic, bold: true, color: DARK_BLUE, size: 18 })] })] }),
new TableCell({ shading: { type: ShadingType.SOLID, color: shade }, children: [new Paragraph({ children: [new TextRun({ text: chapter, color: DARK_GRAY, size: 16 })] })] }),
new TableCell({ shading: { type: ShadingType.SOLID, color: shade }, children: [new Paragraph({ alignment: AlignmentType.CENTER, children: [new TextRun({ text: times, bold: true, color: ACCENT_RED, size: 18 })] })] }),
],
}));
});
return new Table({ width: { size: 100, type: WidthType.PERCENTAGE }, rows });
}
// ─── Document content ─────────────────────────────────────────────────────────
const children = [];
// ── Cover / Title ──────────────────────────────────────────────────────────
children.push(space(400));
children.push(new Paragraph({
alignment: AlignmentType.CENTER,
spacing: { before: 0, after: 80 },
shading: { type: ShadingType.SOLID, color: DARK_BLUE },
children: [new TextRun({ text: 'PAPER I – GENERAL PATHOLOGY', bold: true, color: ACCENT_GOLD, size: 40 })],
}));
children.push(new Paragraph({
alignment: AlignmentType.CENTER,
spacing: { before: 0, after: 80 },
shading: { type: ShadingType.SOLID, color: DARK_BLUE },
children: [new TextRun({ text: 'STUDY GUIDE: TOP 20 MOST FREQUENTLY ASKED TOPICS', bold: true, color: WHITE, size: 28 })],
}));
children.push(new Paragraph({
alignment: AlignmentType.CENTER,
spacing: { before: 0, after: 40 },
shading: { type: ShadingType.SOLID, color: MED_BLUE },
children: [new TextRun({ text: 'Postgraduate Manual of Pathology, 9th Edition (2025) — Dr. Shiva M.D.', italics: true, color: WHITE, size: 20 })],
}));
children.push(new Paragraph({
alignment: AlignmentType.CENTER,
spacing: { before: 0, after: 200 },
shading: { type: ShadingType.SOLID, color: MED_BLUE },
children: [new TextRun({ text: 'NTR UHS (Andhra Pradesh) & KNRUHS (Telangana) — PG Entrance Exam Preparation', italics: true, color: LIGHT_BLUE, size: 18 })],
}));
children.push(space(200));
// ── Ranking Table ──────────────────────────────────────────────────────────
children.push(heading1('FREQUENCY RANKING — TOP 20 EXAM TOPICS'));
children.push(space(60));
children.push(new Paragraph({
spacing: { before: 60, after: 100 },
children: [new TextRun({ text: 'Topics ranked by number of times asked across all exam years (2000–2025). Frequency counted from both NTR UHS and KNRUHS papers.', italics: true, color: DARK_GRAY, size: 18 })],
}));
children.push(space(60));
children.push(rankTable([
{ rank: 1, topic: 'Apoptosis', chapter: 'Ch 2: Cell Injury', times: '~30+' },
{ rank: 2, topic: 'Septic Shock', chapter: 'Ch 4: Hemodynamics', times: '~25+' },
{ rank: 3, topic: 'Mechanisms of Metastasis', chapter: 'Ch 7: Neoplasia', times: '~22+' },
{ rank: 4, topic: 'SLE (Systemic Lupus Erythematosus)', chapter: 'Ch 6: Immune System', times: '~20+' },
{ rank: 5, topic: 'Amyloidosis', chapter: 'Ch 6: Immune System', times: '~18+' },
{ rank: 6, topic: 'Transplant Rejection', chapter: 'Ch 6: Immune System', times: '~18+' },
{ rank: 7, topic: 'HIV/AIDS Immunopathogenesis', chapter: 'Ch 6: Immune System', times: '~17+' },
{ rank: 8, topic: 'Free Radicals in Cell Injury', chapter: 'Ch 2: Cell Injury', times: '~16+' },
{ rank: 9, topic: 'Granulomatous Inflammation', chapter: 'Ch 3: Inflammation', times: '~15+' },
{ rank: 10, topic: 'Wound Healing', chapter: 'Ch 3: Repair', times: '~15+' },
{ rank: 11, topic: 'Virchow\'s Triad & Thrombosis', chapter: 'Ch 4: Hemodynamics', times: '~14+' },
{ rank: 12, topic: 'Viral Carcinogenesis (HPV/EBV)', chapter: 'Ch 7: Neoplasia', times: '~14+' },
{ rank: 13, topic: 'Genomic Imprinting', chapter: 'Ch 5: Genetic Disorders', times: '~14+' },
{ rank: 14, topic: 'Pathologic Calcification', chapter: 'Ch 2: Cell Injury', times: '~13+' },
{ rank: 15, topic: 'Chemokines & Inflammation', chapter: 'Ch 3: Inflammation', times: '~13+' },
{ rank: 16, topic: 'Signal Transduction & Cell Cycle', chapter: 'Ch 1: Cell Biology', times: '~13+' },
{ rank: 17, topic: 'Cellular Aging', chapter: 'Ch 2: Cell Injury', times: '~12+' },
{ rank: 18, topic: 'Obesity (Etiopathogenesis)', chapter: 'Ch 9: Environmental', times: '~12+' },
{ rank: 19, topic: 'Gaucher Disease & Storage Disorders', chapter: 'Ch 5: Genetic Disorders', times: '~11+' },
{ rank: 20, topic: 'Tumor Suppressor Genes', chapter: 'Ch 7: Neoplasia', times: '~11+' },
]));
children.push(pageBreak());
// ═══════════════════════════════════════════════════════════════════════════
// TOPIC 1: APOPTOSIS
// ═══════════════════════════════════════════════════════════════════════════
children.push(heading2('APOPTOSIS', '#1'));
children.push(note('Most consistently asked topic in Paper I. Expect a 10-mark essay. Always compare with necrosis.'));
children.push(heading3('Definition & Features'));
children.push(bullet('Programmed cell death — controlled, energy-dependent process'));
children.push(bullet('Cell shrinkage, chromatin condensation, membrane blebbing, apoptotic bodies'));
children.push(bullet('No inflammation (unlike necrosis) — apoptotic bodies phagocytosed by macrophages'));
children.push(heading3('Pathways'));
children.push(subSection('1. Intrinsic (Mitochondrial) Pathway'));
children.push(bullet('Triggered by: DNA damage, oxidative stress, growth factor withdrawal'));
children.push(bullet('Bcl-2 family: Anti-apoptotic (Bcl-2, Bcl-xL) vs Pro-apoptotic (Bax, Bak, Bad)'));
children.push(bullet('Cytochrome c released → Apoptosome (with Apaf-1) → Caspase-9 → Caspase-3'));
children.push(bullet('p53 upregulates Bax and PUMA → promotes apoptosis'));
children.push(subSection('2. Extrinsic (Death Receptor) Pathway'));
children.push(bullet('FasL binds Fas (CD95) → DISC formation → Caspase-8 → Caspase-3'));
children.push(bullet('TNF-α binds TNFR1 → similar cascade'));
children.push(bullet('Perforin-granzyme B: CTLs deliver granzyme B via perforin pores → Caspase-3'));
children.push(heading3('Dysregulated Apoptosis in Disease'));
children.push(twoColTable(
'Decreased Apoptosis (survival favored)',
['Cancer — Bcl-2 overexpression (follicular lymphoma t(14;18))', 'Autoimmune disease — failure to delete autoreactive lymphocytes', 'Viral infections — viral Bcl-2 homologs (FLICE inhibitory proteins)', 'p53 mutations — impaired DNA-damage-induced apoptosis'],
'Increased Apoptosis (excess death)',
['Neurodegenerative: Alzheimer\'s, Parkinson\'s', 'HIV — CD4+ T cell depletion', 'Ischemic injury — hepatocytes in viral hepatitis', 'Aplastic anemia — stem cell apoptosis']
));
children.push(heading3('Necrosis vs Apoptosis'));
children.push(twoColTable(
'Necrosis',
['Pathological process', 'Cell swelling (oncosis)', 'Plasma membrane rupture', 'Inflammation present', 'Affects groups of cells', 'No energy required'],
'Apoptosis',
['Physiological & pathological', 'Cell shrinkage', 'Membrane blebbing (intact)', 'No inflammation', 'Individual cells', 'Energy (ATP) required']
));
children.push(space());
// ═══════════════════════════════════════════════════════════════════════════
// TOPIC 2: SEPTIC SHOCK
// ═══════════════════════════════════════════════════════════════════════════
children.push(heading2('SEPTIC SHOCK', '#2'));
children.push(note('Asked in nearly every exam from 2004 to 2025. Always include SIRS criteria and stages.'));
children.push(heading3('Definition'));
children.push(bullet('Septic shock = sepsis + refractory hypotension despite adequate fluid resuscitation'));
children.push(bullet('SIRS criteria: Temp >38°C or <36°C, HR >90, RR >20, WBC >12,000 or <4,000'));
children.push(heading3('Pathogenesis'));
children.push(boldBullet('Step 1', 'Gram-negative bacteria release LPS (endotoxin) → binds TLR-4 via CD14/MD2'));
children.push(boldBullet('Step 2', 'Macrophage activation → TNF-α, IL-1, IL-6, IL-12 release'));
children.push(boldBullet('Step 3', 'Endothelial activation → ↑ nitric oxide (iNOS) → vasodilation'));
children.push(boldBullet('Step 4', 'Capillary leak + coagulation activation → DIC risk'));
children.push(boldBullet('Step 5', 'Organ hypoperfusion → MODS (Multi-Organ Dysfunction Syndrome)'));
children.push(heading3('Key Mediators'));
children.push(bullet('Primary: TNF-α, IL-1β (fever, hypotension, endothelial damage)'));
children.push(bullet('Secondary: IL-6, IL-8, PAF, prostaglandins, complement'));
children.push(bullet('Nitric Oxide: from iNOS in macrophages → vascular smooth muscle relaxation → hypotension'));
children.push(bullet('Coagulation: TF expression on endothelium → fibrin thrombi → DIC'));
children.push(heading3('Stages of Shock'));
children.push(bullet('Stage 1 (Compensated): BP maintained by baroreflexes; ↑HR, ↑SVR', 0));
children.push(bullet('Stage 2 (Progressive): Impaired perfusion; lactic acidosis; cellular injury', 0));
children.push(bullet('Stage 3 (Irreversible): Multi-organ failure; irreversible cell injury', 0));
children.push(heading3('Organ Pathology in Septic Shock'));
children.push(bullet('Lung: Diffuse alveolar damage → ARDS ("shock lung")'));
children.push(bullet('Kidney: Acute tubular necrosis; proximal tubule most affected'));
children.push(bullet('Liver: Centrilobular necrosis; ↑ALT/AST'));
children.push(bullet('Brain: Hypoxic encephalopathy'));
children.push(bullet('Adrenal: Waterhouse-Friderichsen syndrome in meningococcal sepsis'));
children.push(space());
// ═══════════════════════════════════════════════════════════════════════════
// TOPIC 3: MECHANISMS OF METASTASIS
// ═══════════════════════════════════════════════════════════════════════════
children.push(heading2('MECHANISMS OF METASTASIS', '#3'));
children.push(note('Always include EMT (Epithelial-Mesenchymal Transition) in recent answers — it appears in every paper from 2017 onward.'));
children.push(heading3('The Invasion-Metastasis Cascade'));
children.push(bullet('Step 1: Local invasion — loss of E-cadherin, degradation of basement membrane by MMPs'));
children.push(bullet('Step 2: Intravasation — tumor cells enter blood/lymphatics'));
children.push(bullet('Step 3: Survival in circulation — immune evasion, platelet clumping protects cells'));
children.push(bullet('Step 4: Arrest at distant site — specific organ tropism (seed and soil theory)'));
children.push(bullet('Step 5: Extravasation — re-expression of adhesion molecules'));
children.push(bullet('Step 6: Micrometastasis formation — angiogenesis required for growth'));
children.push(heading3('Epithelial-Mesenchymal Transition (EMT)'));
children.push(bullet('Loss of E-cadherin → loss of cell-cell adhesion (key early event)'));
children.push(bullet('Gain of N-cadherin, vimentin, fibronectin → mesenchymal phenotype'));
children.push(bullet('Transcription factors: Snail, Slug, Twist, ZEB1 repress E-cadherin'));
children.push(bullet('Reversible: MET (Mesenchymal-Epithelial Transition) occurs at metastatic site'));
children.push(heading3('Matrix Metalloproteinases (MMPs)'));
children.push(bullet('MMP-2 and MMP-9 degrade type IV collagen (basement membrane)'));
children.push(bullet('MT1-MMP (MMP-14): activates MMP-2 on cell surface'));
children.push(bullet('TIMPs (Tissue Inhibitors of MMPs) are natural inhibitors'));
children.push(heading3('Seed and Soil Theory (Paget)'));
children.push(bullet('Breast → Bone, Liver, Lung ("seed" needs specific "soil")'));
children.push(bullet('Colorectal → Liver (portal venous drainage)'));
children.push(bullet('Prostate → Bone (osteoblastic metastases)'));
children.push(bullet('Lung → Adrenal, Brain'));
children.push(space());
// ═══════════════════════════════════════════════════════════════════════════
// TOPIC 4: SLE
// ═══════════════════════════════════════════════════════════════════════════
children.push(heading2('SYSTEMIC LUPUS ERYTHEMATOSUS (SLE)', '#4'));
children.push(note('Always include etiopathogenesis + morphological changes + lab diagnosis (ANA, anti-dsDNA, anti-Sm). Wire classification criteria if asked.'));
children.push(heading3('Pathogenesis'));
children.push(bullet('Fundamental defect: Failure of self-tolerance to nuclear antigens'));
children.push(bullet('Defective clearance of apoptotic cells → nuclear antigens (dsDNA, histones, snRNPs) exposed'));
children.push(bullet('Type I interferons (IFN-α from plasmacytoid DCs) — central role in pathogenesis'));
children.push(bullet('B cells activated → auto-antibodies (Type II & III hypersensitivity)'));
children.push(bullet('Immune complex deposition (anti-dsDNA + complement) → Type III hypersensitivity'));
children.push(heading3('Key Auto-antibodies'));
children.push(boldBullet('ANA', 'Best screening test; >95% sensitive but not specific'));
children.push(boldBullet('Anti-dsDNA', 'Highly specific; correlates with disease activity & nephritis'));
children.push(boldBullet('Anti-Sm (anti-Smith)', 'Highly specific; against snRNP proteins'));
children.push(boldBullet('Anti-histone', 'Drug-induced lupus'));
children.push(boldBullet('Antiphospholipid (aCL, anti-β2GP1)', 'Thrombosis, recurrent miscarriage'));
children.push(heading3('Morphological Changes by Organ'));
children.push(bullet('Skin: "Butterfly" rash; vacuolar degeneration of basal cells; IF — "lupus band" (IgG + C3 at DEJ)'));
children.push(bullet('Kidney (lupus nephritis): WHO/ISN Class I-VI; wire-loop lesion in Class IV (diffuse proliferative — worst prognosis)'));
children.push(bullet('Heart: Libman-Sacks endocarditis — sterile verrucous vegetations on BOTH surfaces of valve'));
children.push(bullet('Spleen: "Onion skin" periarteriolar fibrosis (concentric fibrosis around central arteries)'));
children.push(bullet('Blood: Hemolytic anemia, leukopenia, thrombocytopenia'));
children.push(space());
// ═══════════════════════════════════════════════════════════════════════════
// TOPIC 5: AMYLOIDOSIS
// ═══════════════════════════════════════════════════════════════════════════
children.push(heading2('AMYLOIDOSIS', '#5'));
children.push(note('Classification + amyloidogenesis + staining characteristics are asked together. Congo red birefringence is the key diagnostic feature.'));
children.push(heading3('Classification'));
children.push(twoColTable(
'Type',
['AL (Primary)', 'AA (Secondary / Reactive)', 'Aβ2M (Dialysis-associated)', 'ATTR (Transthyretin)', 'Endocrine amyloid', 'Aβ (Alzheimer\'s)'],
'Precursor Protein / Setting',
['Ig light chains — multiple myeloma, MGUS', 'Serum amyloid A — chronic inflammation (TB, RA, IBD)', 'β2-microglobulin — long-term hemodialysis', 'Transthyretin — familial amyloid polyneuropathy, senile cardiac', 'Calcitonin (medullary thyroid CA), IAPP (T2DM — islets)', 'Amyloid precursor protein (APP) — Alzheimer\'s']
));
children.push(heading3('Amyloidogenesis'));
children.push(bullet('Amyloid proteins adopt β-pleated sheet configuration → fibril formation'));
children.push(bullet('Seeding mechanism: misfolded protein acts as template → aggregation'));
children.push(bullet('SAP (Serum Amyloid P) + Apolipoprotein E stabilize fibrils'));
children.push(heading3('Staining & Identification'));
children.push(boldBullet('Congo red', 'Pink-red on LM; apple-green birefringence under polarized light — PATHOGNOMONIC'));
children.push(boldBullet('Thioflavin T/S', 'Fluorescent stain — yellow-green fluorescence'));
children.push(boldBullet('PAS', 'Positive but non-specific'));
children.push(boldBullet('EM', 'Non-branching fibrils, 7.5–10 nm diameter'));
children.push(boldBullet('IHC', 'Anti-κ/λ for AL; anti-AA antibody for AA type'));
children.push(heading3('Organ Distribution'));
children.push(bullet('Kidney: Nephrotic syndrome; glomerular deposits (EM: sub-endothelial)'));
children.push(bullet('Liver: Perisinusoidal; hepatomegaly'));
children.push(bullet('Spleen: "Sago spleen" (AL) vs "Lardaceous spleen" (AA)'));
children.push(bullet('Heart: Restrictive cardiomyopathy; "glassy/waxy" myocytes'));
children.push(space());
// ═══════════════════════════════════════════════════════════════════════════
// TOPIC 6: TRANSPLANT REJECTION
// ═══════════════════════════════════════════════════════════════════════════
children.push(heading2('TRANSPLANT REJECTION', '#6'));
children.push(note('Know all three types (hyperacute, acute, chronic) plus graft-versus-host disease. Antibody-mediated rejection is the most recent high-yield focus.'));
children.push(heading3('Types of Rejection'));
children.push(subSection('1. Hyperacute Rejection'));
children.push(bullet('Within minutes to hours after transplant'));
children.push(bullet('Pre-formed anti-donor antibodies (ABO mismatch or HLA)'));
children.push(bullet('Type II hypersensitivity — complement activation'));
children.push(bullet('Morphology: Thrombi in vessels; ischemic necrosis'));
children.push(subSection('2. Acute Rejection'));
children.push(bullet('Days to months after transplant'));
children.push(bullet('Cellular (T-cell mediated): CD8+ CTLs attack graft; tubulitis in kidney'));
children.push(bullet('Antibody-mediated (AMR): C4d deposition in peritubular capillaries; donor-specific antibodies (DSA)'));
children.push(bullet('Morphology: Interstitial lymphocytic infiltrate, tubulitis (Banff criteria)'));
children.push(subSection('3. Chronic Rejection'));
children.push(bullet('Months to years; major cause of graft loss'));
children.push(bullet('Graft arteriosclerosis ("transplant vasculopathy") — fibrous intimal thickening'));
children.push(bullet('Interstitial fibrosis + tubular atrophy (IF/TA)'));
children.push(heading3('Graft-versus-Host Disease (GvHD)'));
children.push(bullet('Donor T cells attack host tissues (in bone marrow transplant)'));
children.push(bullet('Acute GvHD (<100 days): Skin rash, hepatitis, diarrhea'));
children.push(bullet('Chronic GvHD (>100 days): Sicca syndrome, fibrosis, resembles autoimmune disease'));
children.push(space());
// ═══════════════════════════════════════════════════════════════════════════
// TOPIC 7: HIV/AIDS IMMUNOPATHOGENESIS
// ═══════════════════════════════════════════════════════════════════════════
children.push(heading2('HIV/AIDS IMMUNOPATHOGENESIS', '#7'));
children.push(note('Include stages of infection, mechanism of CD4+ depletion, opportunistic infections, and HIV-associated neoplasms.'));
children.push(heading3('Viral Entry & Tropism'));
children.push(bullet('HIV-1 gp120 binds CD4 on T-helper cells, macrophages, DCs'));
children.push(bullet('Co-receptors: CCR5 (M-tropic; early infection) and CXCR4 (T-tropic; late infection)'));
children.push(bullet('Maraviroc (CCR5 antagonist) — entry inhibitor'));
children.push(heading3('Stages of HIV Infection'));
children.push(bullet('Stage 1 (Acute): Flu-like illness; high viremia, transient CD4 fall; seroconversion'));
children.push(bullet('Stage 2 (Chronic/Latent): Clinically silent; CD4 gradually declines; viral replication in lymph nodes'));
children.push(bullet('Stage 3 (AIDS): CD4 <200/μL; AIDS-defining illnesses; ↑viral load'));
children.push(heading3('Mechanism of CD4+ T Cell Depletion'));
children.push(bullet('Direct cytopathic effect: viral replication → cell lysis'));
children.push(bullet('Antibody-dependent cytotoxicity (ADCC)'));
children.push(bullet('Pyroptosis: abortive infection of resting CD4+ cells → inflammatory cell death'));
children.push(bullet('Syncytia formation with uninfected CD4+ cells'));
children.push(bullet('Impaired production: virus in thymus, bone marrow stromal cells'));
children.push(heading3('Opportunistic Infections & Neoplasms'));
children.push(twoColTable(
'Opportunistic Infections (CD4 threshold)',
['Pneumocystis jirovecii pneumonia (<200)', 'Toxoplasma encephalitis (<100)', 'CMV retinitis/colitis (<50)', 'MAC (Mycobacterium avium) (<50)', 'Cryptococcal meningitis (<100)', 'Candidal esophagitis (<100)'],
'HIV-Associated Neoplasms',
['Kaposi sarcoma (HHV-8)', 'Non-Hodgkin lymphoma (EBV-assoc.)', 'Primary CNS lymphoma (EBV)', 'Cervical carcinoma (HPV)', 'Anal carcinoma (HPV)', 'Burkitt lymphoma (EBV)']
));
children.push(space());
// ═══════════════════════════════════════════════════════════════════════════
// TOPIC 8: FREE RADICALS IN CELL INJURY
// ═══════════════════════════════════════════════════════════════════════════
children.push(heading2('FREE RADICALS IN CELL INJURY', '#8'));
children.push(note('Know the sources (ROS generation), cellular targets, and defense mechanisms. Also relates to ischemia-reperfusion injury.'));
children.push(heading3('Key Reactive Oxygen Species (ROS)'));
children.push(boldBullet('Superoxide (O₂•⁻)', 'Generated by NADPH oxidase in leukocytes; mitochondrial electron transport'));
children.push(boldBullet('Hydrogen peroxide (H₂O₂)', 'From SOD; not a radical itself but source of •OH'));
children.push(boldBullet('Hydroxyl radical (•OH)', 'Most reactive; from Fenton reaction (H₂O₂ + Fe²⁺ → •OH + OH⁻)'));
children.push(boldBullet('Peroxynitrite (ONOO⁻)', 'From O₂•⁻ + NO; damages DNA and proteins'));
children.push(heading3('Sources of ROS'));
children.push(bullet('Normal metabolism: Mitochondrial electron transport (Complex I & III)'));
children.push(bullet('Inflammation: NADPH oxidase (respiratory burst) in neutrophils & macrophages'));
children.push(bullet('Reperfusion injury: Xanthine oxidase converts hypoxanthine → xanthine + O₂•⁻'));
children.push(bullet('Radiation: Water radiolysis → •OH'));
children.push(bullet('Xenobiotics: CYP450 metabolism'));
children.push(heading3('Cellular Targets of ROS'));
children.push(bullet('Lipids: Lipid peroxidation → membrane damage (polyunsaturated fatty acids)'));
children.push(bullet('Proteins: Oxidation of sulfhydryl groups, carbonylation, cross-linking'));
children.push(bullet('DNA: Single/double strand breaks, 8-OH-guanine formation → mutations'));
children.push(heading3('Antioxidant Defenses'));
children.push(bullet('Enzymatic: SOD (O₂•⁻ → H₂O₂), Catalase (H₂O₂ → H₂O), GPx (glutathione peroxidase)'));
children.push(bullet('Non-enzymatic: Vitamin E (α-tocopherol), Vitamin C, Glutathione (GSH), β-carotene'));
children.push(bullet('Metal chelation: Transferrin, Lactoferrin, Ceruloplasmin (sequester Fe/Cu)'));
children.push(space());
// ═══════════════════════════════════════════════════════════════════════════
// TOPIC 9: GRANULOMATOUS INFLAMMATION
// ═══════════════════════════════════════════════════════════════════════════
children.push(heading2('GRANULOMATOUS INFLAMMATION', '#9'));
children.push(note('Classification, components, and fate of granuloma are standard. Caseous vs non-caseous distinction is critical. Always give examples.'));
children.push(heading3('Definition & Components'));
children.push(bullet('Granuloma: Focal collection of activated macrophages (epithelioid cells) + surrounding lymphocytes'));
children.push(bullet('Epithelioid cells: Transformed macrophages with abundant pale cytoplasm — key cell'));
children.push(bullet('Langhan\'s giant cells: Fusion of epithelioid cells; nuclei arranged in horseshoe pattern'));
children.push(bullet('Foreign body giant cells: Nuclei randomly scattered; no specific arrangement'));
children.push(heading3('Prerequisites for Granuloma Formation'));
children.push(bullet('Antigen must be poorly degradable'));
children.push(bullet('T-cell–mediated immunity (Th1 response) required'));
children.push(bullet('IFN-γ from Th1 activates macrophages → epithelioid transformation'));
children.push(heading3('Classification'));
children.push(twoColTable(
'Caseating Granuloma',
['Central caseous necrosis (cheese-like)', 'Tuberculosis (CLASSIC)', 'Histoplasmosis', 'Coccidioidomycosis'],
'Non-caseating Granuloma',
['No central necrosis', 'Sarcoidosis (asteroid bodies, Schaumann bodies)', 'Crohn\'s disease', 'Berylliosis, Leprosy (TT type)', 'Foreign body reaction (sutures, talc)', 'Cat-scratch disease']
));
children.push(heading3('Fate of Granuloma'));
children.push(bullet('Resolution: Complete elimination of antigen'));
children.push(bullet('Fibrosis: Scar tissue (most common outcome)'));
children.push(bullet('Calcification: Dystrophic calcification in caseous necrosis'));
children.push(bullet('Liquefaction: In TB — cavity formation if drainage occurs'));
children.push(space());
// ═══════════════════════════════════════════════════════════════════════════
// TOPIC 10: WOUND HEALING
// ═══════════════════════════════════════════════════════════════════════════
children.push(heading2('WOUND HEALING', '#10'));
children.push(note('ECM components, growth factors, angiogenesis, and complications are all separately asked. Know the role of each growth factor specifically.'));
children.push(heading3('Phases of Healing'));
children.push(bullet('Phase 1 — Hemostasis: Platelet plug + fibrin clot (immediate)'));
children.push(bullet('Phase 2 — Inflammation (0–3 days): Neutrophils then macrophages; debridement'));
children.push(bullet('Phase 3 — Proliferation (3–21 days): Granulation tissue, angiogenesis, fibroblast proliferation, re-epithelialization'));
children.push(bullet('Phase 4 — Remodeling (21 days–2 years): Collagen remodeling (Type III → Type I); scar maturation; MMPs'));
children.push(heading3('Key Growth Factors'));
children.push(boldBullet('EGF (Epidermal Growth Factor)', 'Epithelial cell proliferation and migration'));
children.push(boldBullet('FGF (Fibroblast Growth Factor)', 'Angiogenesis; fibroblast chemotaxis'));
children.push(boldBullet('PDGF (Platelet-Derived GF)', 'Fibroblast & smooth muscle cell recruitment'));
children.push(boldBullet('TGF-β', 'Fibrosis (anti-inflammatory); fibroblast stimulation'));
children.push(boldBullet('VEGF', 'Vasculogenesis and angiogenesis (master regulator)'));
children.push(boldBullet('HGF (Hepatocyte GF)', 'Hepatocyte and epithelial proliferation'));
children.push(heading3('Complications of Wound Healing'));
children.push(bullet('Keloid: Scar extending beyond original wound margins (type I >>> III collagen); common in dark-skinned individuals'));
children.push(bullet('Hypertrophic scar: Elevated scar within wound boundaries; regresses'));
children.push(bullet('Excessive contraction: Contracture → joint deformity'));
children.push(bullet('Dehiscence: Wound re-opening; poor nutrition, infection'));
children.push(bullet('Ulceration: Inadequate vascularization, neuropathy, or continued trauma'));
children.push(space());
// ═══════════════════════════════════════════════════════════════════════════
// TOPIC 11: VIRCHOW'S TRIAD & THROMBOSIS
// ═══════════════════════════════════════════════════════════════════════════
children.push(heading2("VIRCHOW'S TRIAD & THROMBOSIS", '#11'));
children.push(note('Must know Virchow\'s triad in detail. Also know hypercoagulable states (thrombophilia) and fates of thrombus.'));
children.push(heading3("Virchow's Triad"));
children.push(boldBullet('1. Endothelial Injury', 'Atherosclerosis, trauma, inflammation, hypertension — exposes collagen → platelet activation'));
children.push(boldBullet('2. Stasis / Altered Blood Flow', 'Turbulence (atherosclerosis), immobility, AF, polycythemia — prevents dilution of activated coagulation factors'));
children.push(boldBullet('3. Hypercoagulability', 'Primary (genetic) or secondary (acquired) thrombophilia'));
children.push(heading3('Hypercoagulable States'));
children.push(subSection('Primary (Genetic)'));
children.push(bullet('Factor V Leiden (resistance to APC) — most common inherited thrombophilia'));
children.push(bullet('Prothrombin G20210A mutation'));
children.push(bullet('Protein C & S deficiency'));
children.push(bullet('Antithrombin III deficiency'));
children.push(bullet('Hyperhomocysteinemia'));
children.push(subSection('Secondary (Acquired)'));
children.push(bullet('Antiphospholipid antibody syndrome'));
children.push(bullet('Malignancy (Trousseau syndrome — migratory thrombophlebitis)'));
children.push(bullet('Pregnancy and OCP use'));
children.push(bullet('Prolonged immobilization'));
children.push(bullet('HIT (Heparin-induced thrombocytopenia)'));
children.push(heading3('Fate of Thrombus'));
children.push(bullet('Resolution: Fibrinolysis by plasminogen/plasmin'));
children.push(bullet('Organization: Ingrowth of fibroblasts → fibrous scar'));
children.push(bullet('Recanalization: New channels form through organized thrombus'));
children.push(bullet('Propagation: Thrombus enlarges'));
children.push(bullet('Embolization: Detachment → pulmonary embolism (most dangerous)'));
children.push(space());
// ═══════════════════════════════════════════════════════════════════════════
// TOPIC 12: VIRAL CARCINOGENESIS (HPV/EBV)
// ═══════════════════════════════════════════════════════════════════════════
children.push(heading2('VIRAL CARCINOGENESIS (HPV & EBV)', '#12'));
children.push(note('HPV molecular mechanisms and EBV-associated tumors are both high yield. Know E6/E7 proteins and their oncogenic mechanisms.'));
children.push(heading3('HPV (Human Papillomavirus)'));
children.push(bullet('High-risk types: 16, 18, 31, 33, 45 (cervical carcinoma, anal, vulvar, oropharyngeal)'));
children.push(boldBullet('E6 protein', 'Binds and degrades p53 (via ubiquitin ligase E6-AP) → impaired apoptosis'));
children.push(boldBullet('E7 protein', 'Binds pRb → releases E2F → uncontrolled S-phase entry'));
children.push(bullet('Integration into host genome: disrupts E2 (normally represses E6/E7) → overexpression'));
children.push(bullet('Low-risk types (6, 11): Condyloma acuminatum'));
children.push(heading3('EBV (Epstein-Barr Virus)'));
children.push(twoColTable(
'EBV-Associated Tumors',
['Burkitt lymphoma (African type)', 'Hodgkin lymphoma (mixed cellularity)', 'Diffuse large B-cell lymphoma (immunocompromised)', 'Primary CNS lymphoma (AIDS)', 'NK/T-cell lymphoma (nasal type)', 'Nasopharyngeal carcinoma (WHO Type II/III)'],
'Mechanism',
['t(8;14) c-Myc translocation; EBV in 100%', 'Reed-Sternberg cells EBER+', 'EBV LMP-1 mimics CD40 signaling', 'EBV drives B-cell transformation', 'EBV in tumor cells', 'LMP-1, LMP-2 oncoproteins']
));
children.push(heading3('Other Oncogenic Viruses'));
children.push(boldBullet('HBV/HCV', 'Hepatocellular carcinoma — via chronic inflammation + DNA integration'));
children.push(boldBullet('HTLV-1', 'Adult T-cell leukemia/lymphoma — Tax protein activates NF-κB'));
children.push(boldBullet('HHV-8 (KSHV)', 'Kaposi sarcoma — LANA protein stabilizes β-catenin'));
children.push(boldBullet('MCV (Merkel Cell Polyomavirus)', 'Merkel cell carcinoma'));
children.push(space());
// ═══════════════════════════════════════════════════════════════════════════
// TOPIC 13: GENOMIC IMPRINTING
// ═══════════════════════════════════════════════════════════════════════════
children.push(heading2('GENOMIC IMPRINTING', '#13'));
children.push(note('Prader-Willi and Angelman syndromes are the classic exam examples. Know the mechanism — methylation marks and parent-of-origin-specific expression.'));
children.push(heading3('Definition'));
children.push(bullet('Epigenetic phenomenon: differential expression of a gene depending on whether it was inherited from the mother or father'));
children.push(bullet('Imprinted genes = only one allele expressed (monoallelic expression); the other is silenced by methylation'));
children.push(heading3('Mechanism'));
children.push(bullet('DNA methylation + histone modifications mark the imprinted (silenced) allele'));
children.push(bullet('Methylation occurs in imprinting control regions (ICRs) during gametogenesis'));
children.push(bullet('DNMT3A and DNMT3B establish, DNMT1 maintains methylation marks'));
children.push(bullet('ICRs act as insulators when unmethylated (bound by CTCF protein)'));
children.push(heading3('Classic Examples'));
children.push(twoColTable(
'Prader-Willi Syndrome',
['Chromosome 15q11-q13', 'PATERNAL genes deleted/silenced', 'PWS: del 15 from FATHER', 'Obesity, hypotonia, hypogonadism, mental retardation'],
'Angelman Syndrome',
['Chromosome 15q11-q13', 'MATERNAL gene (UBE3A) deleted/silenced', 'AS: del 15 from MOTHER', '"Happy puppet" syndrome — ataxia, seizures, severe intellectual disability']
));
children.push(bullet('UPD (Uniparental Disomy): Both chromosomes from same parent → imprinting errors without deletion'));
children.push(heading3('Role in Cancer'));
children.push(bullet('Loss of imprinting (LOI): IGF-2 normally imprinted (only paternal allele expressed)'));
children.push(bullet('LOI of IGF-2 → biallelic expression → cell proliferation (Wilms tumor, colorectal CA)'));
children.push(bullet('H19 (maternally expressed) acts as tumor suppressor'));
children.push(space());
// ═══════════════════════════════════════════════════════════════════════════
// TOPIC 14: PATHOLOGIC CALCIFICATION
// ═══════════════════════════════════════════════════════════════════════════
children.push(heading2('PATHOLOGIC CALCIFICATION', '#14'));
children.push(note('Distinguish dystrophic vs metastatic clearly — serum calcium level is the key differentiator.'));
children.push(heading3('Types'));
children.push(twoColTable(
'Dystrophic Calcification',
['Occurs in DEAD / DYING tissue', 'Serum calcium = NORMAL', 'No systemic metabolic disorder', 'Examples: Atherosclerotic plaques, old TB foci (Ghon complex), dead parasites, psammoma bodies, atheromas, necrotic fat'],
'Metastatic Calcification',
['Occurs in NORMAL tissue', 'Serum calcium = ELEVATED (hypercalcemia)', 'Associated with metabolic disorder', 'Examples: Hyperparathyroidism, vitamin D toxicity, milk-alkali syndrome, multiple myeloma, Paget\'s disease']
));
children.push(heading3('Psammoma Bodies'));
children.push(bullet('Laminated spherical calcifications in dystrophic calcification'));
children.push(bullet('Mnemonic: MOPS — Meningioma, Ovarian serous cystadenocarcinoma, Papillary thyroid carcinoma, Serous mesothelioma'));
children.push(heading3('Mechanisms of Dystrophic Calcification'));
children.push(bullet('↑ local Ca²⁺ (from cell injury → ER release) + phosphate (from membrane phospholipids)'));
children.push(bullet('Matrix vesicles (from apoptotic/damaged cells) act as nucleation sites'));
children.push(bullet('Calcium phosphate → hydroxyapatite crystal formation'));
children.push(space());
// ═══════════════════════════════════════════════════════════════════════════
// TOPIC 15: CHEMOKINES IN INFLAMMATION
// ═══════════════════════════════════════════════════════════════════════════
children.push(heading2('CHEMOKINES & MEDIATORS OF INFLAMMATION', '#15'));
children.push(note('Chemokines are the most consistently tested mediator topic. Know the 4 families (C, CC, CXC, CX3C) and specific roles.'));
children.push(heading3('Classification of Chemokines'));
children.push(twoColTable(
'Family',
['CXC (α-chemokines)', 'CC (β-chemokines)', 'C (γ-chemokines)', 'CX3C (δ-chemokines)'],
'Examples & Function',
['IL-8 (CXCL8): Neutrophil chemotaxis; IP-10, SDF-1 (CXCL12)', 'MCP-1 (CCL2): Monocyte/macrophage; RANTES, MIP-1α/β', 'Lymphotactin (XCL1): Lymphocyte chemotaxis', 'Fractalkine (CX3CL1): Monocyte, NK cells, T cells']
));
children.push(heading3('Key Inflammatory Mediators Summary'));
children.push(boldBullet('Histamine', 'Mast cells/platelets; immediate vasodilation + vascular permeability; H1 receptor'));
children.push(boldBullet('Serotonin (5-HT)', 'Platelets; similar to histamine; released by PAF'));
children.push(boldBullet('PGE2, PGI2', 'COX pathway; vasodilation, pain, fever'));
children.push(boldBullet('LTB4', 'Lipoxygenase; potent neutrophil chemotaxis'));
children.push(boldBullet('LTC4, LTD4, LTE4', 'Cysteinyl leukotrienes; bronchospasm, vascular permeability'));
children.push(boldBullet('PAF', 'Platelet activating factor; bronchoconstriction, leukocyte adhesion'));
children.push(boldBullet('TNF-α, IL-1', 'Fever, acute phase response, endothelial activation'));
children.push(boldBullet('IL-6', 'Acute phase protein synthesis (CRP, fibrinogen)'));
children.push(boldBullet('Complement C3a, C5a', 'Anaphylatoxins — mast cell degranulation; C5a also chemotactic'));
children.push(space());
// ═══════════════════════════════════════════════════════════════════════════
// TOPIC 16: SIGNAL TRANSDUCTION & CELL CYCLE
// ═══════════════════════════════════════════════════════════════════════════
children.push(heading2('SIGNAL TRANSDUCTION & CELL CYCLE REGULATION', '#16'));
children.push(note('Cyclins and CDKs with checkpoint mechanisms are frequently asked together. Know which cyclin drives which phase.'));
children.push(heading3('Signal Transduction Pathways'));
children.push(boldBullet('Receptor Tyrosine Kinases (RTKs)', 'Growth factor binding → dimerization → autophosphorylation → RAS-MAPK, PI3K-Akt, JAK-STAT'));
children.push(boldBullet('RAS-RAF-MEK-ERK (MAPK)', 'Proliferation, survival; mutated in 30% of all cancers (KRAS, BRAF)'));
children.push(boldBullet('PI3K-Akt-mTOR', 'Cell survival, glucose uptake; PTEN is the inhibitor — frequently lost in cancer'));
children.push(boldBullet('JAK-STAT', 'Cytokine signaling; STAT3 promotes cell survival'));
children.push(boldBullet('WNT-β-catenin', 'Proliferation; APC gene mutation → β-catenin stabilization → colorectal cancer'));
children.push(boldBullet('Notch', 'Cell fate determination; T-ALL has activating NOTCH1 mutations'));
children.push(boldBullet('Hedgehog (Hh)', 'Basal cell carcinoma — PTCH1 loss → SMO activation'));
children.push(heading3('Cell Cycle & Cyclins'));
children.push(twoColTable(
'Phase',
['G1 phase', 'G1/S checkpoint', 'S phase', 'G2 phase', 'M phase'],
'Cyclin-CDK Complex',
['Cyclin D1/D2/D3 + CDK4/6 → phosphorylates pRb', 'Cyclin E + CDK2 (G1/S transition)', 'Cyclin A + CDK2', 'Cyclin A + CDK1; Cyclin B + CDK1', 'Cyclin B + CDK1 (MPF — maturation promoting factor)']
));
children.push(boldBullet('pRb checkpoint', 'Hypophosphorylated pRb binds E2F → blocks S phase; CDK4/6 phosphorylates pRb → E2F release → S phase'));
children.push(boldBullet('CDK inhibitors (CKIs)', 'p21 (Cip1) — p53-induced; p27 (Kip1); p16 (INK4a) — blocks CDK4/6; p57'));
children.push(space());
// ═══════════════════════════════════════════════════════════════════════════
// TOPIC 17: CELLULAR AGING
// ═══════════════════════════════════════════════════════════════════════════
children.push(heading2('CELLULAR AGING', '#17'));
children.push(note('Telomere shortening is the #1 mechanism asked. Also know the relationship between aging and cancer, Werner syndrome.'));
children.push(heading3('Mechanisms of Cellular Aging'));
children.push(subSection('1. Telomere Shortening'));
children.push(bullet('Telomeres: TTAGGG repeats at chromosome ends; shorten with each division'));
children.push(bullet('~50–70 base pairs lost per division; Hayflick limit = ~50–60 divisions'));
children.push(bullet('Short telomeres → p53 activation → senescence or apoptosis'));
children.push(bullet('Telomerase (hTERT): Reverse transcriptase; active in germ cells, stem cells, and CANCER cells'));
children.push(subSection('2. Oxidative Stress Accumulation'));
children.push(bullet('ROS from mitochondria accumulate with age → mitochondrial DNA damage'));
children.push(bullet('Mitochondrial theory: Progressive mitochondrial dysfunction → energy failure'));
children.push(subSection('3. Defective Protein Homeostasis (Proteostasis)'));
children.push(bullet('Unfolded Protein Response (UPR) impairment with age'));
children.push(bullet('Autophagy declines → accumulation of damaged organelles'));
children.push(bullet('Protein aggregates: Lipofuscin ("wear and tear pigment" — brown granules in neurons, cardiac cells)'));
children.push(subSection('4. Epigenetic Alterations'));
children.push(bullet('Global hypomethylation + specific promoter hypermethylation'));
children.push(bullet('Histone deacetylation → gene silencing'));
children.push(heading3('Progeroid (Premature Aging) Syndromes'));
children.push(boldBullet('Werner syndrome', 'WRN helicase mutation; accelerated aging, ↑cancer risk'));
children.push(boldBullet('Hutchinson-Gilford progeria', 'Lamin A (LMNA) mutation; nuclear instability'));
children.push(boldBullet('Cockayne syndrome', 'Defective nucleotide excision repair'));
children.push(space());
// ═══════════════════════════════════════════════════════════════════════════
// TOPIC 18: OBESITY ETIOPATHOGENESIS
// ═══════════════════════════════════════════════════════════════════════════
children.push(heading2('OBESITY: ETIOPATHOGENESIS & COMPLICATIONS', '#18'));
children.push(note('Leptin/ghrelin axis and metabolic syndrome (MetS) definition are consistently asked. Know the complications by organ system.'));
children.push(heading3('Definition'));
children.push(bullet('BMI ≥30 kg/m² (WHO); BMI ≥25 = overweight; BMI ≥40 = morbid obesity'));
children.push(bullet('Central (visceral) obesity more dangerous than peripheral obesity'));
children.push(heading3('Pathogenesis'));
children.push(subSection('Hormonal Regulation'));
children.push(boldBullet('Leptin', 'Secreted by adipocytes; acts on hypothalamic arcuate nucleus → ↓food intake, ↑energy expenditure; MOST obese patients have leptin resistance (not deficiency)'));
children.push(boldBullet('Ghrelin', 'Secreted by stomach; hunger hormone → ↑food intake (opposes leptin)'));
children.push(boldBullet('Adiponectin', 'Anti-inflammatory, ↑insulin sensitivity; DECREASED in obesity'));
children.push(boldBullet('Insulin', 'Promotes fat storage; ↑in early obesity → insulin resistance over time'));
children.push(subSection('Genetic Factors'));
children.push(bullet('FTO gene (Fat Mass and Obesity-associated) — most replicated GWAS finding'));
children.push(bullet('MC4R mutations (melanocortin-4 receptor) — most common monogenic obesity'));
children.push(bullet('Prader-Willi syndrome — syndromic obesity with hyperphagia'));
children.push(heading3('Complications'));
children.push(twoColTable(
'System',
['Cardiovascular', 'Metabolic', 'Respiratory', 'GI / Liver', 'Musculoskeletal', 'Cancer risk ↑'],
'Complications',
['Hypertension, CAD, stroke, heart failure', 'Type 2 DM, dyslipidemia, metabolic syndrome', 'Obstructive sleep apnea, obesity-hypoventilation', 'NAFLD/NASH → cirrhosis, gallstones', 'Osteoarthritis, gout', 'Endometrial, breast, colon, kidney, esophageal CA']
));
children.push(space());
// ═══════════════════════════════════════════════════════════════════════════
// TOPIC 19: LYSOSOMAL STORAGE DISEASES (GAUCHER & OTHERS)
// ═══════════════════════════════════════════════════════════════════════════
children.push(heading2('LYSOSOMAL STORAGE DISEASES', '#19'));
children.push(note('Gaucher disease is asked most frequently. Know the enzyme defect, substrate accumulated, cells involved, and bone marrow/spleen findings.'));
children.push(heading3('General Concept'));
children.push(bullet('Deficiency of specific lysosomal hydrolase → substrate accumulates within lysosomes of macrophages'));
children.push(bullet('Most are autosomal recessive; affect reticuloendothelial system'));
children.push(twoColTable(
'Disease',
['Gaucher (Type I/II/III)', 'Niemann-Pick (Type A/B)', 'Tay-Sachs', 'Krabbe', 'Mucopolysaccharidoses (various)', 'Fabry'],
'Enzyme Defect & Substrate',
['Glucocerebrosidase ↓ → glucocerebroside in Gaucher cells', 'Sphingomyelinase ↓ → sphingomyelin in "foam cells"', 'Hex A (α-subunit) ↓ → GM2 ganglioside; cherry-red macula', 'Galactocerebrosidase ↓ → galactocerebroside; globoid cells', 'Multiple enzymes → dermatan/heparan sulfate; gargoyle facies', 'α-Galactosidase A ↓ → globotriaosylceramide; angiokeratomas']
));
children.push(heading3('Gaucher Disease in Detail'));
children.push(bullet('Most common LSD; Ashkenazi Jewish population'));
children.push(bullet('Gaucher cells: Enlarged macrophages with "crinkled tissue paper" or "wrinkled silk" cytoplasm (PAS+)'));
children.push(bullet('Bone marrow: Infiltration → pancytopenia; "Erlenmeyer flask" deformity of femur on X-ray'));
children.push(bullet('Spleen: Massive splenomegaly (most prominent finding)'));
children.push(bullet('Liver: Hepatomegaly with Gaucher cells in sinusoids'));
children.push(bullet('Type I: Non-neuronopathic; Type II: Acute neuronopathic (fatal by 2 years); Type III: Chronic neuronopathic'));
children.push(bullet('Treatment: ERT — Imiglucerase (recombinant glucocerebrosidase)'));
children.push(space());
// ═══════════════════════════════════════════════════════════════════════════
// TOPIC 20: TUMOR SUPPRESSOR GENES
// ═══════════════════════════════════════════════════════════════════════════
children.push(heading2('TUMOR SUPPRESSOR GENES', '#20'));
children.push(note('Knudson two-hit hypothesis, Rb gene, and p53 are all standard. Know the associated tumors for each TSG.'));
children.push(heading3('Knudson Two-Hit Hypothesis'));
children.push(bullet('TSGs require loss of BOTH alleles for tumor development (recessive at cell level)'));
children.push(bullet('Hereditary cancer: 1st hit = germline mutation; 2nd hit = somatic'));
children.push(bullet('Sporadic cancer: Both hits = somatic mutations'));
children.push(bullet('Classic example: Retinoblastoma — bilateral (hereditary) vs unilateral (sporadic)'));
children.push(heading3('Key Tumor Suppressor Genes'));
children.push(twoColTable(
'Gene',
['RB1', 'TP53 (p53)', 'APC', 'BRCA1/BRCA2', 'VHL', 'NF1/NF2', 'PTEN', 'CDKN2A (p16)'],
'Function & Associated Tumors',
['Cell cycle checkpoint (G1/S); Retinoblastoma, osteosarcoma', '"Guardian of the genome"; Li-Fraumeni syndrome; 50% of all cancers', 'WNT pathway regulation; Familial adenomatous polyposis → colorectal CA', 'DNA repair; Hereditary breast and ovarian CA', 'HIF regulation; Clear cell renal cell carcinoma', 'RAS-GAP (inactivates RAS); Neurofibromatosis type 1 & 2', 'PI3K pathway antagonist; Cowden syndrome; Endometrial CA', 'CDK4/6 inhibitor; Melanoma, pancreatic CA']
));
children.push(heading3('p53 — "Guardian of the Genome"'));
children.push(bullet('Activated by: DNA damage (ATM/ATR kinases), oncogene activation, hypoxia, telomere erosion'));
children.push(bullet('Effects: Cell cycle arrest (via p21 → pRb); DNA repair (GADD45); Apoptosis (via Bax, PUMA, Noxa)'));
children.push(bullet('Inactivation: MDM2 overexpression binds p53 → ubiquitin degradation (MDM2 is a p53 target — negative feedback)'));
children.push(bullet('Mutant p53: Gain-of-function mutations — acts as oncogene; dominant negative inhibition of wild-type'));
children.push(bullet('Li-Fraumeni syndrome: Germline TP53 mutation → multiple cancers (sarcoma, breast, brain, adrenal)'));
children.push(space(100, 200));
// ── Final Summary Box ──────────────────────────────────────────────────────
children.push(heading1('QUICK REVISION: MNEMONICS & HIGH-YIELD FACTS'));
children.push(space(40));
children.push(subSection('Apoptosis Pathways Mnemonic: "BCL CATS"'));
children.push(bullet('B — Bcl-2 (anti-apoptotic, protects mitochondria)'));
children.push(bullet('C — Cytochrome c (released from mitochondria → apoptosome)'));
children.push(bullet('L — Ligand (Fas/TRAIL for extrinsic pathway)'));
children.push(bullet('C — Caspases (executioners — 3, 6, 7 are effectors)'));
children.push(bullet('A — Apoptotic bodies (phagocytosed — no inflammation)'));
children.push(bullet('T — TNF receptor (DISC → caspase-8 → caspase-3)'));
children.push(bullet('S — Smac/DIABLO (releases caspases from IAP inhibition)'));
children.push(space(80));
children.push(subSection('Psammoma Body Tumors: "MOPS"'));
children.push(bullet('M — Meningioma'));
children.push(bullet('O — Ovarian serous cystadenocarcinoma'));
children.push(bullet('P — Papillary thyroid carcinoma'));
children.push(bullet('S — Serous mesothelioma (+ peritoneal mesothelioma)'));
children.push(space(80));
children.push(subSection('SLE Auto-antibodies: "The 3 S\'s for Specificity"'));
children.push(bullet('anti-Sm (Smith) — most specific'));
children.push(bullet('anti-dsDNA — correlates with disease ACTIVITY'));
children.push(bullet('anti-histone — Drug-induced lupus (procainamide, hydralazine)'));
children.push(space(80));
children.push(subSection('Viral Carcinogenesis: "HPV robs the Bank (pRb)"'));
children.push(bullet('HPV E7 binds pRb → releases E2F → uncontrolled cell cycling'));
children.push(bullet('HPV E6 destroys p53 → no apoptosis despite DNA damage'));
children.push(bullet('Together: "No brakes (pRb) + No alarm (p53)" = carcinogenesis'));
children.push(space(120));
children.push(new Paragraph({
alignment: AlignmentType.CENTER,
spacing: { before: 120, after: 60 },
shading: { type: ShadingType.SOLID, color: DARK_BLUE },
children: [
new TextRun({ text: 'Study Guide compiled from: Postgraduate Manual of Pathology, 9th Ed. (2025), Dr. Shiva M.D.', italics: true, color: LIGHT_BLUE, size: 16 }),
],
}));
children.push(new Paragraph({
alignment: AlignmentType.CENTER,
shading: { type: ShadingType.SOLID, color: DARK_BLUE },
children: [
new TextRun({ text: 'For NTR UHS (Andhra Pradesh) & KNRUHS (Telangana) PG Pathology Examinations', color: ACCENT_GOLD, size: 16 }),
],
}));
// ─── Build and save document ──────────────────────────────────────────────
const doc = new Document({
creator: 'Orris AI — Study Guide Generator',
title: 'Paper I General Pathology Study Guide — Top 20 Topics',
description: 'Postgraduate Manual of Pathology 9th ed. 2025',
sections: [{
headers: {
default: new Header({
children: [new Paragraph({
alignment: AlignmentType.RIGHT,
children: [
new TextRun({ text: 'Paper I: General Pathology — Top 20 Topics Study Guide', italics: true, color: MED_BLUE, size: 16 }),
],
})],
}),
},
footers: {
default: new Footer({
children: [new Paragraph({
alignment: AlignmentType.CENTER,
children: [
new TextRun({ text: 'Postgraduate Manual of Pathology, 9th Ed. (2025) — Dr. Shiva M.D. | Page ', color: DARK_GRAY, size: 14 }),
new TextRun({ children: [PageNumber.CURRENT], color: DARK_GRAY, size: 14 }),
],
})],
}),
},
children,
}],
});
Packer.toBuffer(doc).then(buffer => {
fs.writeFileSync('/home/daytona/workspace/pathology-studyguide/PaperI_GeneralPathology_Top20_StudyGuide.docx', buffer);
console.log('Study guide created successfully!');
});
cd /home/daytona/workspace/pathology-studyguide && node create_studyguide.js 2>&1
python3 /home/daytona/skills/docx/scripts/office/validate.py /home/daytona/workspace/pathology-studyguide/PaperI_GeneralPathology_Top20_StudyGuide.docx 2>&1 && ls -lh /home/daytona/workspace/pathology-studyguide/
ls -lh /home/daytona/workspace/pathology-studyguide/ && python3 -c " import zipfile path = '/home/daytona/workspace/pathology-studyguide/PaperI_GeneralPathology_Top20_StudyGuide.docx' with zipfile.ZipFile(path, 'r') as z: names = z.namelist() print('Valid ZIP. Files inside:', names[:8]) print('File exists and is a valid docx.') "
PaperI GeneralPathology Top20 StudyGuide
Word Document · DOCX
| # | Topic | Key Content Covered |
|---|---|---|
| 1 | Apoptosis | Intrinsic + extrinsic pathways, Bcl-2 family, necrosis vs apoptosis table, dysregulation in disease |
| 2 | Septic Shock | Pathogenesis steps, key mediators (TNF-α, IL-1, NO), stages, organ pathology |
| 3 | Mechanisms of Metastasis | Invasion-metastasis cascade, EMT, MMPs, seed & soil theory |
| 4 | SLE | Auto-antibodies, pathogenesis, organ morphology (wire-loop, Libman-Sacks, onion skin) |
| 5 | Amyloidosis | Classification table (AL/AA/ATTR), amyloidogenesis, Congo red staining |
| 6 | Transplant Rejection | Hyperacute/acute/chronic, AMR (C4d), GvHD |
| 7 | HIV/AIDS | Viral entry, CD4 depletion mechanisms, OIs & neoplasms table |
| 8 | Free Radicals | ROS types, Fenton reaction, cellular targets, antioxidant defenses |
| 9 | Granulomatous Inflammation | Caseating vs non-caseating table, prerequisites, fate |
| 10 | Wound Healing | 4 phases, growth factors, complications (keloid vs hypertrophic) |
| 11 | Virchow's Triad | Triad details, thrombophilias, fate of thrombus |
| 12 | Viral Carcinogenesis | HPV E6/E7 mechanisms, EBV tumor table, HBV/HCV/HTLV-1/HHV-8 |
| 13 | Genomic Imprinting | Mechanism (methylation, ICRs), Prader-Willi vs Angelman table, cancer role |
| 14 | Pathologic Calcification | Dystrophic vs metastatic table, psammoma bodies (MOPS mnemonic) |
| 15 | Chemokines & Mediators | 4 families (CXC/CC/C/CX3C), key mediator summary |
| 16 | Signal Transduction & Cell Cycle | RTK pathways, cyclins/CDKs table, pRb checkpoint, CKIs |
| 17 | Cellular Aging | Telomere shortening, oxidative stress, proteostasis, progeroid syndromes |
| 18 | Obesity | Leptin/ghrelin axis, FTO/MC4R genetics, complications by organ |
| 19 | Lysosomal Storage Diseases | LSD table, Gaucher cell morphology, Erlenmeyer flask deformity |
| 20 | Tumor Suppressor Genes | Knudson two-hit, 8-gene table (RB1, p53, APC, BRCA, VHL…), p53 detail |