Describe in details about the aetiopathogenesis and clinical profile of rabies from basics to clinical approach for me to present in my class
rabies pathogenesis clinical features diagnosis

| Form | Reservoir |
|---|---|
| Urban (canine) | Unimmunized dogs and cats |
| Sylvatic (wildlife) | Bats, skunks, foxes, raccoons, wolves, coyotes |
Rodents and rabbits are NOT significant reservoirs.


| Feature | Description |
|---|---|
| Hydrophobia | Involuntary, painful contraction of the diaphragm, accessory respiratory muscles, larynx, and pharynx triggered by attempting to swallow liquids. The patient develops intense fear of water. |
| Aerophobia | Same spasm triggered by a draft of air on the face. Highly specific for rabies. |
| Hypersalivation | Pharyngeal dysfunction + excess saliva = classic "foaming at the mouth" |
| Agitation/Hyperexcitability | Episodes of agitated arousal alternating with periods of relative lucidity (which become shorter over time) |
| Autonomic dysfunction | Hypersalivation, gooseflesh, cardiac arrhythmias, priapism, fever (up to 105-107°F) |
| Hallucinations | Auditory and visual |
| Seizures | May occur |
| Combativeness | Extreme agitation |
Virtually no human patient has survived established rabies encephalitis without intensive intervention. The few documented survivors (Milwaukee Protocol) had aggressive experimental immunotherapy/sedation.
Diagnosis is based on the clinical presentation + history of animal exposure. Laboratory confirmation follows.
| Test | Specimen | Comment |
|---|---|---|
| Direct fluorescent antibody (DFA) | Nuchal skin biopsy (hair follicle nerve fibers), brain tissue | Gold standard for antemortem skin biopsy; high sensitivity |
| RT-PCR | Saliva, CSF, skin biopsy, urine | Highly sensitive; identifies viral variants; multiple samples increase sensitivity |
| Serum neutralizing antibodies | Serum | Develop late in illness; absence does NOT exclude rabies early |
| CSF neutralizing antibodies | CSF | Present in >50% during first week; >87% beyond first week; ratio of CSF:serum antibody >1 suggests CNS infection |
| Virus isolation | Saliva, brain tissue | Definitive but slow; BSL-3 required |
| Brain biopsy/autopsy IHC | Brain | Negri bodies on H&E (insensitive); IHC for N antigen (highly sensitive) |
| Animal | Action |
|---|---|
| Dog/cat (healthy, available for observation) | Observe for 10 days; start PEP only if animal shows signs |
| Dog/cat (escaped, unavailable) | Start PEP immediately |
| Wild animal (bat, raccoon, skunk, fox, coyote) | Start PEP immediately; test animal if captured |
| Rodent, rabbit | Usually not indicated (consult public health) |
| Condition | Distinguishing Features |
|---|---|
| Tetanus | Trismus, risus sardonicus; no hydrophobia; organism detectable; normal CSF |
| Guillain-Barré Syndrome | Ascending paralysis (no encephalopathy); albuminocytological dissociation in CSF |
| Viral encephalitis (HSV, JE) | No hydrophobia/aerophobia; different exposure history; CSF PCR |
| Psychiatric illness | No fever, normal CSF, no exposure history |
| Delirium tremens | Alcohol history, no animal bite, no hydrophobia |
RABIES
├── Virus: Rhabdoviridae > Lyssavirus; bullet-shaped; (-)ssRNA; G-protein key for receptor binding
├── Epidemiology: 59,000 deaths/yr; dog bites (global); bats (USA); zoonosis
├── Pathogenesis (centripetal → centrifugal)
│ Bite → local replication → nAChR binding at NMJ → retrograde axonal transport
│ → Spinal cord/DRG → Brain (gray matter, brainstem/limbic) → centrifugal spread (salivary glands)
├── Pathology: Negri bodies (hippocampus/Purkinje cells); minimal neuronal death; dysfunction-based disease
├── Clinical
│ Incubation: 20-90 days (inversely related to distance from CNS)
│ Prodrome: fever, malaise + PARESTHESIAS AT BITE SITE (pathognomonic hint)
│ Encephalitic (80%): hydrophobia, aerophobia, foaming, agitation, hypersalivation, autonomic storm
│ Paralytic (20%): flaccid ascending paralysis; mimics GBS; no hydrophobia
│ Coma → Death (respiratory failure)
├── Diagnosis: DFA + RT-PCR (saliva/skin/CSF); MRI; serology (late)
└── Management
PEP (most important!): wound wash + RIG (HRIG 20 IU/kg) + vaccine (days 0,3,7,14)
Established disease: supportive; near-universally fatal
There is a ~12-hour delay at each synapse. This neurotropic spread explains the relationship between bite location and incubation period.
| Bite Location | Distance to CNS | Number of Synapses | Incubation |
|---|---|---|---|
| Face / head | Very short | Few | Shorter (weeks) |
| Upper limb | Moderate | Moderate | Intermediate |
| Lower limb / foot | Long | Many | Longer (months) |
Generate a presentation slide on the synaptic delay mechanism and its clinical implications
ls /home/daytona/workspace/ 2>/dev/null || mkdir -p /home/daytona/workspace/rabies-slides
mkdir -p /home/daytona/workspace/rabies-slides
~/rabies-slides/build.js
const pptxgen = require("pptxgenjs");
const pres = new pptxgen();
pres.layout = "LAYOUT_16x9";
pres.title = "Rabies - Synaptic Delay Mechanism";
// ─── COLOUR PALETTE ────────────────────────────────────────────────────────
const C = {
darkBg: "0D1B2A", // deep navy (title + section headers)
midBg: "1B2A3B", // mid navy
panelBg: "152435", // panel fill
accent: "E63946", // vivid red (danger / highlight)
gold: "F4A261", // amber/gold (key numbers)
teal: "2EC4B6", // teal (mechanism steps)
lightText: "EDF2F4", // near-white
dimText: "A8B2BD", // muted text
white: "FFFFFF",
green: "52B788", // safe/PEP green
orange: "F4A261",
};
// ═══════════════════════════════════════════════════════════════════════════
// SLIDE 1 – TITLE SLIDE
// ═══════════════════════════════════════════════════════════════════════════
{
const sl = pres.addSlide();
// Full dark background
sl.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: "100%", h: "100%",
fill: { color: C.darkBg }, line: { type: "none" },
});
// Left red accent bar
sl.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: 0.18, h: "100%",
fill: { color: C.accent }, line: { type: "none" },
});
// Top-label tag
sl.addShape(pres.ShapeType.rect, {
x: 0.4, y: 0.42, w: 3.4, h: 0.38,
fill: { color: C.accent }, line: { type: "none" }, rounding: 0.05,
});
sl.addText("RABIES NEUROPHYSIOLOGY", {
x: 0.4, y: 0.42, w: 3.4, h: 0.38,
fontSize: 10, bold: true, color: C.white,
align: "center", valign: "middle", margin: 0,
});
// Main title
sl.addText("Synaptic Delay\nMechanism", {
x: 0.5, y: 1.0, w: 9.2, h: 1.8,
fontSize: 52, bold: true, color: C.lightText,
align: "left", valign: "top",
fontFace: "Calibri",
});
// Subtitle
sl.addText("& Its Clinical Implications", {
x: 0.5, y: 2.7, w: 9.2, h: 0.6,
fontSize: 26, bold: false, color: C.teal,
align: "left", fontFace: "Calibri",
});
// Decorative horizontal rule
sl.addShape(pres.ShapeType.rect, {
x: 0.5, y: 3.4, w: 5.5, h: 0.04,
fill: { color: C.gold }, line: { type: "none" },
});
// Key stat callout box
sl.addShape(pres.ShapeType.rect, {
x: 0.5, y: 3.7, w: 9.0, h: 0.9,
fill: { color: C.panelBg }, line: { color: C.teal, pt: 1 }, rounding: 0.08,
});
sl.addText([
{ text: "~12-hour delay at each synapse • ", options: { color: C.gold, bold: true } },
{ text: "~250 mm/day axonal transport • ", options: { color: C.dimText } },
{ text: "Incubation ∝ distance from CNS", options: { color: C.teal, bold: true } },
], {
x: 0.5, y: 3.7, w: 9.0, h: 0.9,
fontSize: 14, align: "center", valign: "middle", margin: 0,
});
// Bottom note
sl.addText("Harrison's Principles of Internal Medicine 22E, 2025", {
x: 0.5, y: 5.1, w: 9.0, h: 0.3,
fontSize: 9, color: C.dimText, italic: true, align: "right",
});
}
// ═══════════════════════════════════════════════════════════════════════════
// SLIDE 2 – THE MECHANISM: STEP-BY-STEP
// ═══════════════════════════════════════════════════════════════════════════
{
const sl = pres.addSlide();
// Background
sl.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: "100%", h: "100%",
fill: { color: C.darkBg }, line: { type: "none" },
});
// Header strip
sl.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: "100%", h: 0.75,
fill: { color: C.midBg }, line: { type: "none" },
});
sl.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: 0.18, h: 0.75,
fill: { color: C.accent }, line: { type: "none" },
});
sl.addText("THE SYNAPTIC DELAY MECHANISM", {
x: 0.35, y: 0, w: 9.4, h: 0.75,
fontSize: 18, bold: true, color: C.white,
align: "left", valign: "middle", charSpacing: 2,
});
// ── Step boxes ──────────────────────────────────────────────────────────
const steps = [
{ num: "1", title: "BITE & LOCAL REPLICATION",
body: "Virus deposited in muscle/subcutaneous tissue. Replicates locally — may persist weeks to months at bite site.",
color: C.accent },
{ num: "2", title: "nAChR BINDING AT NMJ",
body: "G-glycoprotein binds nicotinic acetylcholine receptors (nAChR) / NCAM at the neuromuscular junction. Virus is endocytosed.",
color: C.gold },
{ num: "3", title: "RETROGRADE AXONAL TRANSPORT",
body: "Virus hijacks dynein motors for fast retrograde transport at up to ~250 mm/day inside the axon — invisible to the immune system.",
color: C.teal },
{ num: "4", title: "~12-HOUR SYNAPTIC DELAY",
body: "At EVERY synapse: virus releases, binds next neuron, is internalized, and restarts transport. Each crossing costs ~12 hours.",
color: C.accent },
{ num: "5", title: "ASCENT TO BRAINSTEM & LIMBIC SYSTEM",
body: "Virus replicates in spinal cord/DRG, ascends rapidly. Once in CNS gray matter: diffuse spread — PEP no longer effective.",
color: C.gold },
];
steps.forEach((s, i) => {
const x = 0.25;
const y = 0.9 + i * 0.88;
const w = 9.5;
const h = 0.78;
// Panel bg
sl.addShape(pres.ShapeType.rect, {
x, y, w, h,
fill: { color: C.panelBg }, line: { color: s.color, pt: 1 }, rounding: 0.07,
});
// Number circle
sl.addShape(pres.ShapeType.ellipse, {
x: x + 0.1, y: y + 0.12, w: 0.52, h: 0.52,
fill: { color: s.color }, line: { type: "none" },
});
sl.addText(s.num, {
x: x + 0.1, y: y + 0.12, w: 0.52, h: 0.52,
fontSize: 16, bold: true, color: C.darkBg,
align: "center", valign: "middle", margin: 0,
});
// Title
sl.addText(s.title, {
x: x + 0.75, y: y + 0.04, w: 8.5, h: 0.32,
fontSize: 11, bold: true, color: s.color,
align: "left", valign: "middle", margin: 0,
});
// Body
sl.addText(s.body, {
x: x + 0.75, y: y + 0.34, w: 8.5, h: 0.38,
fontSize: 10, color: C.dimText,
align: "left", valign: "top", margin: 0,
});
});
// Bottom source
sl.addText("Harrison's Principles of Internal Medicine 22E", {
x: 0.25, y: 5.3, w: 9.5, h: 0.2,
fontSize: 8, color: C.dimText, italic: true, align: "right",
});
}
// ═══════════════════════════════════════════════════════════════════════════
// SLIDE 3 – BITE LOCATION vs INCUBATION PERIOD
// ═══════════════════════════════════════════════════════════════════════════
{
const sl = pres.addSlide();
// Background
sl.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: "100%", h: "100%",
fill: { color: C.darkBg }, line: { type: "none" },
});
// Header
sl.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: "100%", h: 0.75,
fill: { color: C.midBg }, line: { type: "none" },
});
sl.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: 0.18, h: 0.75,
fill: { color: C.accent }, line: { type: "none" },
});
sl.addText("BITE LOCATION vs INCUBATION PERIOD", {
x: 0.35, y: 0, w: 9.4, h: 0.75,
fontSize: 18, bold: true, color: C.white,
align: "left", valign: "middle", charSpacing: 2,
});
// Key principle box
sl.addShape(pres.ShapeType.rect, {
x: 0.25, y: 0.85, w: 9.5, h: 0.62,
fill: { color: C.panelBg }, line: { color: C.gold, pt: 1.5 }, rounding: 0.08,
});
sl.addText([
{ text: "Core Principle: ", options: { bold: true, color: C.gold } },
{ text: "Incubation period is ", options: { color: C.lightText } },
{ text: "proportional to distance", options: { bold: true, color: C.teal } },
{ text: " between the bite site and the CNS — because each extra synapse adds ~12 hours.", options: { color: C.lightText } },
], {
x: 0.25, y: 0.85, w: 9.5, h: 0.62,
fontSize: 12, align: "center", valign: "middle", margin: 8,
});
// ── Table ────────────────────────────────────────────────────────────────
const rows = [
[
{ text: "BITE SITE", options: { bold: true, color: C.white, align: "center" } },
{ text: "DISTANCE TO CNS", options: { bold: true, color: C.white, align: "center" } },
{ text: "SYNAPSES CROSSED", options: { bold: true, color: C.white, align: "center" } },
{ text: "TYPICAL INCUBATION", options: { bold: true, color: C.white, align: "center" } },
{ text: "URGENCY", options: { bold: true, color: C.white, align: "center" } },
],
[
{ text: "Face / Head / Neck", options: { bold: true, color: C.accent } },
{ text: "Very Short", options: { color: C.lightText } },
{ text: "Few", options: { color: C.lightText } },
{ text: "< 30 days", options: { bold: true, color: C.accent } },
{ text: "EXTREME", options: { bold: true, color: C.accent } },
],
[
{ text: "Upper Limb / Trunk", options: { color: C.lightText } },
{ text: "Moderate", options: { color: C.lightText } },
{ text: "Moderate", options: { color: C.lightText } },
{ text: "30 – 60 days", options: { color: C.orange } },
{ text: "HIGH", options: { bold: true, color: C.orange } },
],
[
{ text: "Lower Limb / Foot", options: { color: C.lightText } },
{ text: "Long", options: { color: C.lightText } },
{ text: "Many", options: { color: C.lightText } },
{ text: "60 – 90+ days", options: { color: C.green } },
{ text: "HIGH (PEP window wider)", options: { bold: false, color: C.green } },
],
];
sl.addTable(rows, {
x: 0.25, y: 1.58, w: 9.5, h: 1.85,
fontSize: 11,
rowH: 0.44,
fill: { color: C.panelBg },
color: C.lightText,
border: { type: "solid", color: "2A3F52", pt: 1 },
autoPage: false,
align: "center",
valign: "middle",
// header row styling
});
// Footnote under table
sl.addText("Note: Multiple bites and deep wounds further shorten the incubation period regardless of location.", {
x: 0.25, y: 3.5, w: 9.5, h: 0.3,
fontSize: 9, color: C.dimText, italic: true, align: "left",
});
// ── WHY it matters - two callout boxes ────────────────────────────────
const insights = [
{
icon: "⚠",
heading: "Why Facial Bites Are Most Dangerous",
body: "Shorter nerve path = fewer synapse crossings = rapid CNS entry. Less time for the immune response from PEP to build. Immediate initiation of both RIG and vaccine is non-negotiable.",
color: C.accent,
},
{
icon: "🛡",
heading: "Why Distal Bites Allow More Time",
body: "Each additional synapse traversed = ~12 more hours of incubation. A foot bite may give 60-90+ days — a wider window for PEP, but still urgent. Never delay prophylaxis.",
color: C.green,
},
];
insights.forEach((ins, i) => {
const x = 0.25 + i * 4.88;
const y = 3.9;
const w = 4.65;
const h = 1.42;
sl.addShape(pres.ShapeType.rect, {
x, y, w, h,
fill: { color: C.panelBg }, line: { color: ins.color, pt: 1.5 }, rounding: 0.09,
});
// Top accent bar
sl.addShape(pres.ShapeType.rect, {
x, y, w, h: 0.06,
fill: { color: ins.color }, line: { type: "none" },
});
sl.addText(ins.heading, {
x: x + 0.15, y: y + 0.1, w: w - 0.3, h: 0.32,
fontSize: 11, bold: true, color: ins.color,
align: "left", valign: "middle", margin: 0,
});
sl.addText(ins.body, {
x: x + 0.15, y: y + 0.44, w: w - 0.3, h: 0.88,
fontSize: 10, color: C.dimText,
align: "left", valign: "top", margin: 0,
});
});
}
// ═══════════════════════════════════════════════════════════════════════════
// SLIDE 4 – CLINICAL IMPLICATIONS & THE IMMUNE EVASION PROBLEM
// ═══════════════════════════════════════════════════════════════════════════
{
const sl = pres.addSlide();
// Background
sl.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: "100%", h: "100%",
fill: { color: C.darkBg }, line: { type: "none" },
});
// Header
sl.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: "100%", h: 0.75,
fill: { color: C.midBg }, line: { type: "none" },
});
sl.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: 0.18, h: 0.75,
fill: { color: C.accent }, line: { type: "none" },
});
sl.addText("CLINICAL IMPLICATIONS", {
x: 0.35, y: 0, w: 9.4, h: 0.75,
fontSize: 18, bold: true, color: C.white,
align: "left", valign: "middle", charSpacing: 2,
});
// Left column: Immune evasion
sl.addShape(pres.ShapeType.rect, {
x: 0.25, y: 0.88, w: 4.55, h: 2.0,
fill: { color: C.panelBg }, line: { color: C.accent, pt: 1 }, rounding: 0.08,
});
sl.addShape(pres.ShapeType.rect, {
x: 0.25, y: 0.88, w: 4.55, h: 0.06,
fill: { color: C.accent }, line: { type: "none" },
});
sl.addText("WHY PEP FAILS AFTER SYMPTOMS", {
x: 0.35, y: 0.94, w: 4.35, h: 0.38,
fontSize: 11, bold: true, color: C.accent,
align: "left", valign: "middle", margin: 0,
});
sl.addText([
{ text: "Inside the axon", options: { bold: true, color: C.gold } },
{ text: ", the virus is completely shielded from circulating antibodies — the bloodstream cannot access the axonal interior.\n\n", options: { color: C.lightText } },
{ text: "Once inside the CNS, ", options: { color: C.dimText } },
{ text: "the blood-brain barrier", options: { bold: true, color: C.gold } },
{ text: " provides additional immune exclusion.\n\n", options: { color: C.dimText } },
{ text: "Result: ", options: { bold: true, color: C.accent } },
{ text: "PEP antibodies cannot neutralize virus already in neural tissue. This is the molecular basis for why symptomatic rabies is near-universally fatal.", options: { color: C.lightText } },
], {
x: 0.35, y: 1.34, w: 4.35, h: 1.46,
fontSize: 10, align: "left", valign: "top", margin: 0,
});
// Right column: PEP window
sl.addShape(pres.ShapeType.rect, {
x: 5.05, y: 0.88, w: 4.7, h: 2.0,
fill: { color: C.panelBg }, line: { color: C.green, pt: 1 }, rounding: 0.08,
});
sl.addShape(pres.ShapeType.rect, {
x: 5.05, y: 0.88, w: 4.7, h: 0.06,
fill: { color: C.green }, line: { type: "none" },
});
sl.addText("THE PEP WINDOW OF OPPORTUNITY", {
x: 5.15, y: 0.94, w: 4.5, h: 0.38,
fontSize: 11, bold: true, color: C.green,
align: "left", valign: "middle", margin: 0,
});
sl.addText([
{ text: "The synaptic delay creates the incubation period — and the incubation period IS the PEP window.\n\n", options: { color: C.lightText } },
{ text: "During incubation: ", options: { bold: true, color: C.teal } },
{ text: "virus is still in muscle/peripheral nerves → accessible to neutralizing antibodies from the vaccine.\n\n", options: { color: C.dimText } },
{ text: "Wound site virus is cleared by: ", options: { bold: true, color: C.gold } },
{ text: "(1) local wound cleaning, (2) RIG infiltration, (3) vaccine-induced antibody.", options: { color: C.lightText } },
], {
x: 5.15, y: 1.34, w: 4.5, h: 1.46,
fontSize: 10, align: "left", valign: "top", margin: 0,
});
// ── Three key clinical takeaways ───────────────────────────────────────
const takeaways = [
{
num: "01",
text: "Start PEP IMMEDIATELY after any potential exposure — do not wait for symptoms",
color: C.accent,
},
{
num: "02",
text: "Facial / head bites = extreme urgency — initiate RIG + vaccine within hours, not days",
color: C.gold,
},
{
num: "03",
text: "Once neurological symptoms appear, PEP is futile — the virus is beyond immune reach",
color: C.teal,
},
];
takeaways.forEach((t, i) => {
const x = 0.25 + i * 3.28;
const y = 3.06;
const w = 3.12;
const h = 1.26;
sl.addShape(pres.ShapeType.rect, {
x, y, w, h,
fill: { color: C.panelBg }, line: { color: t.color, pt: 1 }, rounding: 0.08,
});
sl.addShape(pres.ShapeType.rect, {
x, y, w, h: 0.06,
fill: { color: t.color }, line: { type: "none" },
});
sl.addText(t.num, {
x: x + 0.1, y: y + 0.1, w: 0.52, h: 0.45,
fontSize: 22, bold: true, color: t.color,
align: "left", valign: "middle", margin: 0,
});
sl.addText(t.text, {
x: x + 0.1, y: y + 0.55, w: w - 0.2, h: 0.65,
fontSize: 10, color: C.lightText,
align: "left", valign: "top", margin: 0,
});
});
// Bottom timeline bar
sl.addShape(pres.ShapeType.rect, {
x: 0.25, y: 4.42, w: 9.5, h: 0.78,
fill: { color: C.panelBg }, line: { color: C.dimText, pt: 0.5 }, rounding: 0.06,
});
// Timeline labels
sl.addText("EXPOSURE", {
x: 0.35, y: 4.5, w: 1.2, h: 0.3,
fontSize: 9, bold: true, color: C.accent, align: "center",
});
sl.addText("VIRUS IN MUSCLE\n(Replicate locally)", {
x: 1.7, y: 4.5, w: 1.5, h: 0.35,
fontSize: 8, color: C.dimText, align: "center",
});
sl.addText("AXONAL TRANSPORT\n(~250 mm/day)", {
x: 3.3, y: 4.5, w: 1.6, h: 0.35,
fontSize: 8, color: C.teal, align: "center",
});
sl.addText("SYNAPTIC DELAYS\n(~12 hrs each)", {
x: 5.0, y: 4.5, w: 1.5, h: 0.35,
fontSize: 8, color: C.gold, align: "center",
});
sl.addText("CNS ENTRY\n(PEP INEFFECTIVE)", {
x: 6.65, y: 4.5, w: 1.5, h: 0.35,
fontSize: 8, color: C.accent, bold: true, align: "center",
});
sl.addText("SYMPTOMS\n→ FATAL", {
x: 8.3, y: 4.5, w: 1.2, h: 0.35,
fontSize: 8, color: C.accent, bold: true, align: "center",
});
// Arrow line
sl.addShape(pres.ShapeType.rect, {
x: 0.35, y: 4.86, w: 9.2, h: 0.03,
fill: { color: C.dimText }, line: { type: "none" },
});
// PEP effective bracket
sl.addShape(pres.ShapeType.rect, {
x: 0.35, y: 4.91, w: 6.1, h: 0.03,
fill: { color: C.green }, line: { type: "none" },
});
sl.addText("◄── PEP EFFECTIVE WINDOW ──►", {
x: 0.35, y: 4.93, w: 6.1, h: 0.22,
fontSize: 8, bold: true, color: C.green, align: "center",
});
sl.addText("PEP FAILS ►", {
x: 6.55, y: 4.93, w: 3.0, h: 0.22,
fontSize: 8, bold: true, color: C.accent, align: "center",
});
}
// ═══════════════════════════════════════════════════════════════════════════
// SLIDE 5 – SUMMARY & KEY NUMBERS
// ═══════════════════════════════════════════════════════════════════════════
{
const sl = pres.addSlide();
// Dark background
sl.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: "100%", h: "100%",
fill: { color: C.darkBg }, line: { type: "none" },
});
// Left red bar
sl.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: 0.18, h: "100%",
fill: { color: C.accent }, line: { type: "none" },
});
// Header
sl.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: "100%", h: 0.75,
fill: { color: C.midBg }, line: { type: "none" },
});
sl.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: 0.18, h: 0.75,
fill: { color: C.accent }, line: { type: "none" },
});
sl.addText("SUMMARY", {
x: 0.35, y: 0, w: 9.4, h: 0.75,
fontSize: 18, bold: true, color: C.white,
align: "left", valign: "middle", charSpacing: 2,
});
// ── Big number stats ───────────────────────────────────────────────────
const stats = [
{ num: "~250", unit: "mm/day", label: "Retrograde axonal\ntransport rate", color: C.teal },
{ num: "~12", unit: "hours", label: "Delay at each\nsynaptic junction", color: C.gold },
{ num: "20–90", unit: "days", label: "Typical incubation\nperiod range", color: C.accent },
];
stats.forEach((s, i) => {
const x = 0.35 + i * 3.22;
const y = 0.88;
const w = 3.0;
const h = 1.6;
sl.addShape(pres.ShapeType.rect, {
x, y, w, h,
fill: { color: C.panelBg }, line: { color: s.color, pt: 1.5 }, rounding: 0.1,
});
sl.addText(s.num, {
x, y: y + 0.1, w, h: 0.72,
fontSize: 44, bold: true, color: s.color,
align: "center", valign: "middle", margin: 0,
});
sl.addText(s.unit, {
x, y: y + 0.78, w, h: 0.26,
fontSize: 13, bold: false, color: C.dimText,
align: "center", valign: "middle", margin: 0,
});
sl.addText(s.label, {
x, y: y + 1.04, w, h: 0.48,
fontSize: 10, color: C.lightText,
align: "center", valign: "top", margin: 0,
});
});
// ── Key takeaway bullets ───────────────────────────────────────────────
sl.addShape(pres.ShapeType.rect, {
x: 0.35, y: 2.58, w: 9.3, h: 2.68,
fill: { color: C.panelBg }, line: { color: C.dimText, pt: 0.5 }, rounding: 0.08,
});
const bullets = [
{ label: "Immune Evasion:", body: "Virus inside axons is shielded from circulating antibodies — the molecular reason PEP fails after symptom onset.", color: C.accent },
{ label: "Location Dictates Urgency:", body: "Face/head bites → fewest synapses → shortest incubation → extreme urgency for immediate PEP.", color: C.gold },
{ label: "The Delay IS the Opportunity:", body: "Each ~12-hour synaptic pause extends the PEP window. More distal bites = more time, but PEP is ALWAYS urgent regardless.", color: C.teal },
{ label: "Wash + RIG + Vaccine:", body: "The three-step PEP protocol targets the virus at each stage of this pre-neural journey — wound care clears local virus, RIG neutralizes residual, vaccine builds lasting immunity.", color: C.green },
];
bullets.forEach((b, i) => {
const y = 2.68 + i * 0.6;
// Colored bullet dot
sl.addShape(pres.ShapeType.ellipse, {
x: 0.5, y: y + 0.14, w: 0.16, h: 0.16,
fill: { color: b.color }, line: { type: "none" },
});
sl.addText([
{ text: b.label + " ", options: { bold: true, color: b.color } },
{ text: b.body, options: { color: C.dimText } },
], {
x: 0.75, y, w: 8.8, h: 0.52,
fontSize: 10.5, align: "left", valign: "middle", margin: 0,
});
});
// Source
sl.addText("Source: Harrison's Principles of Internal Medicine 22E (2025) | Bradley & Daroff's Neurology in Clinical Practice", {
x: 0.35, y: 5.32, w: 9.3, h: 0.22,
fontSize: 8, color: C.dimText, italic: true, align: "right",
});
}
// ── WRITE FILE ──────────────────────────────────────────────────────────────
pres.writeFile({ fileName: "/home/daytona/workspace/rabies-slides/Rabies_Synaptic_Delay.pptx" })
.then(() => console.log("✅ Saved: Rabies_Synaptic_Delay.pptx"))
.catch(err => { console.error("ERROR:", err); process.exit(1); });
cd /home/daytona/workspace/rabies-slides && node build.js
Rabies Synaptic Delay
Presentation · PPTX
| Slide | Content |
|---|---|
| 1 - Title | Full title slide with the three key numbers as a callout bar (12 hrs, 250 mm/day, incubation ∝ distance) |
| 2 - The Mechanism | 5 numbered step-by-step panels: inoculation → nAChR binding → axonal transport → 12-hr synaptic delay → CNS ascent |
| 3 - Bite Location vs Incubation | Colour-coded table (face = extreme/red, upper limb = orange, lower limb = green) + two insight boxes explaining why each end matters |
| 4 - Clinical Implications | Two panels (immune evasion vs PEP window) + 3 takeaway cards + a full-width timeline bar showing exactly where PEP works and where it fails |
| 5 - Summary | Three big-number stat cards + 4 bullet takeaways covering immune evasion, location urgency, the opportunity window, and the 3-step PEP protocol |