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

Reading File
Finding Sources
Searching PubMed

rabies pathogenesis clinical features diagnosis

Reading File
Reading File
Reading File
Reading File
Reading File
Reading File
Reading File
Loading Image
Reading File
Loading Image
Reading File
Loading Image
I now have comprehensive material across virology, epidemiology, pathogenesis, clinical features, diagnosis, and management from Harrison's, Bradley-Daroff Neurology, Goldman-Cecil, Robbins Pathology, and Sherris Microbiology. Let me compile this into a thorough, well-organized class presentation.

Rabies - Aetiopathogenesis and Clinical Profile

A Comprehensive Class Presentation


1. INTRODUCTION

Rabies is an acute, almost invariably fatal viral encephalitis caused by rabies virus, transmitted to humans via the saliva of infected animals. The word "rabies" derives from the Latin rabere, "to rage," reflecting the appearance of the infected patient. The disease has been recognized for over 3000 years - Aristotle reportedly recognized it could be spread by a rabid dog, and Louis Pasteur developed the first effective vaccine in 1885.
Worldwide, rabies kills an estimated 59,000 people annually, with the vast majority occurring in Asia and Africa, predominantly from dog bites in resource-limited settings. Children and rural populations are disproportionately affected.
  • Harrison's Principles of Internal Medicine 22E, p. 1694

2. ETIOLOGIC AGENT - THE VIRUS

Classification

  • Family: Rhabdoviridae
  • Genus: Lyssavirus
  • Type species: Rabies virus (RABV)

Structure

  • Bullet-shaped, enveloped virion, 70 nm × 180 nm
  • Helical nucleocapsid with a single-stranded, negative-sense RNA genome of 11,932 nucleotides
  • The genome encodes five proteins:
    1. Nucleocapsid (N) protein - encases the RNA
    2. Phosphoprotein (P)
    3. Matrix (M) protein - inner envelope, links nucleocapsid to envelope
    4. Glycoprotein (G) - knob-like surface spikes; elicits neutralizing and hemagglutination-inhibiting antibodies; binds cellular receptors
    5. Large (L) polymerase protein - RNA-dependent RNA polymerase
Colorized electron micrograph of the bullet-shaped rabies virion:
Rabies virus electron micrograph - bullet-shaped enveloped particle
Fig: Colorized electron micrograph (×36,700) showing the characteristic bullet-shaped rabies virus with surface glycoprotein projections - Sherris & Ryan's Medical Microbiology 8th Ed.

Key Molecular Features

  • The G glycoprotein binds to nicotinic acetylcholine receptors (nAChR) and neural cell adhesion molecules (NCAM) on target cells - this is the key tropism determinant
  • Negative-sense RNA cannot be translated directly; the virion-associated RNA-dependent RNA polymerase must first transcribe it into mRNAs
  • Strain heterogeneity exists - different variants are associated with specific animal reservoirs (bats, dogs, foxes, skunks), which explains occasional vaccine failure
  • Six other non-rabies Lyssavirus species can cause a clinically similar picture
  • Sherris & Ryan's Medical Microbiology 8th Ed., p. 675-677

3. EPIDEMIOLOGY

Global Burden

  • ~59,000 human deaths annually worldwide (WHO estimate)
  • 99% of human rabies globally is transmitted from dogs in countries with endemic canine rabies
  • Most cases in Asia and Africa; children and rural populations most affected
  • Latin America has made significant progress in canine rabies elimination

Animal Reservoirs - Two Epizootic Forms

FormReservoir
Urban (canine)Unimmunized dogs and cats
Sylvatic (wildlife)Bats, skunks, foxes, raccoons, wolves, coyotes
Rodents and rabbits are NOT significant reservoirs.
In the United States, bat rabies variants are responsible for the majority of indigenously acquired human cases (present in all states except Hawaii). The silver-haired and tricolored bat variants predominate. These bats are small; their bites may go unrecognized.

Routes of Transmission

  1. Bite - overwhelmingly the most common; saliva of infected animal introduced into wound
  2. Scratch - with contaminated saliva
  3. Aerosol - extremely rare (bat caves containing millions of bats, laboratory accidents)
  4. Transplantation - corneal and solid-organ transplants from undiagnosed donors (documented in USA, Germany, Kuwait, Syria, China)
  5. Human-to-human - hypothetically possible but extremely rare; barrier precautions warranted for healthcare workers
  • Harrison's Principles of Internal Medicine 22E, p. 1694-1695

4. PATHOGENESIS

The pathogenesis of rabies is best understood as a stepwise centripetal then centrifugal neuronal journey.

Step-by-Step Pathogenesis

Pathogenesis of rabies showing viral journey from bite wound to brain and centrifugal spread
Fig: Schematic of rabies pathogenesis - Harrison's Principles of Internal Medicine 22E. Steps shown: (1) Virus inoculated at bite; (2) Viral replication in muscle; (3) Binding to nAChR at neuromuscular junction; (4) Retrograde axonal transport; (5) Replication in spinal cord/dorsal root ganglia; (6) Brain infection; (7) Centrifugal spread to salivary glands, cornea, skin.
Step 1 - Inoculation: Virus introduced into muscle/subcutaneous tissue at bite site.
Step 2 - Local replication: Virus replicates at or near the site of inoculation in muscle cells. During most of the long incubation period, the virus remains localized here - this is why early wound cleansing and postexposure prophylaxis (PEP) are effective.
Step 3 - Neuromuscular junction entry: The G glycoprotein binds to nicotinic acetylcholine receptors on postsynaptic membranes at neuromuscular junctions. NCAM serves as an alternative receptor. The virus is internalized; the envelope fuses with the endosomal membrane, and the nucleocapsid is released into the cytoplasm.
Step 4 - Retrograde axonal transport: Virus travels centripetally within peripheral nerve axons via retrograde fast axonal transport (up to ~250 mm/day). There is a ~12-hour delay at each synapse. This neurotropic spread explains the relationship between bite location and incubation period.
Step 5 - Spinal cord/ganglion replication: The virus replicates in motor neurons of the spinal cord and dorsal root ganglia, then rapidly ascends to the brain.
Step 6 - CNS dissemination: Once in the CNS, virus replicates exclusively within gray matter (neurons), causing neuronal dysfunction. Replication is maximal in the brainstem and limbic system. Remarkably, the neuropathological changes are often surprisingly mild relative to the severity of clinical disease - suggesting neuronal dysfunction rather than neuronal death drives the clinical picture.
Step 7 - Centrifugal spread: After CNS infection, virus spreads centrifugally back along nerves to salivary glands (explaining viral presence in saliva), cornea, skin, and other organs. This centrifugal spread to salivary glands enables onward animal-to-animal transmission.

Molecular Mechanisms of Neuronal Dysfunction

  • Oxidative stress from mitochondrial dysfunction plays a key role
  • Serotonergic neurons in the brainstem may be implicated in the behavioral changes (aggression in rabid animals)
  • Brainstem dysfunction disinhibits inspiratory neurons near the nucleus ambiguus, producing the exaggerated respiratory defense reflexes - the basis of hydrophobia and aerophobia
  • Harrison's Principles of Internal Medicine 22E, p. 1695-1696

5. NEUROPATHOLOGY

Gross

  • Brain shows intense edema and vascular congestion

Microscopic

  • Widespread neuronal degeneration with mononuclear inflammatory infiltrate
  • Most severe in: brainstem > basal ganglia > spinal cord > dorsal root ganglia
  • Characteristic finding: Negri bodies

Negri Bodies - Pathognomonic Finding

Negri body in hippocampal pyramidal neuron - Robbins Pathology
Fig: Rabies encephalitis. Arrow points to an eosinophilic Negri body in the cytoplasm of a Purkinje cell. Note surrounding inflammatory cells. (Robbins, Cotran & Kumar Pathologic Basis of Disease)
  • Negri bodies are eosinophilic, cytoplasmic, round-to-oval inclusions found within neurons
  • Composed of rabies virus proteins and viral RNA (sites of viral replication)
  • Classically found in:
    • Pyramidal neurons of the hippocampus (most classic)
    • Purkinje cells of the cerebellum (most frequently demonstrated histologically)
    • Less commonly in cortical and brainstem neurons
  • Important: Not present in ALL cases of rabies - absence does not exclude diagnosis
  • Immunohistochemistry (IHC) is more sensitive than H&E for detection
  • Robbins, Cotran & Kumar Pathologic Basis of Disease, p. 1168-1169

6. CLINICAL PROFILE

Incubation Period

  • Usually 20-90 days (range: few days to > 1 year; rarely > 2 years)
  • Factors shortening incubation:
    • Multiple bites
    • Facial/head bites (shorter distance to CNS)
    • Deep wounds with high inoculum
    • Bite near peripheral nerves
  • The prolonged incubation is explained by the virus dwelling at the bite site before neural entry

Clinical Phases

Phase 1 - Prodrome (2-10 days)

Non-specific symptoms that are easily missed:
  • Fever, chills, malaise, fatigue
  • Headache, anorexia, insomnia
  • Nausea, vomiting
  • Anxiety, irritability
Specific early clue: Paresthesias, pain, or pruritus at or near the healed bite site - occurs in 50-80% of patients. This reflects infection of dorsal root or cranial sensory ganglia. This sign, when present, is highly suggestive of rabies.

Phase 2 - Acute Neurological Phase

Two distinct clinical forms:

A. Encephalitic (Furious) Rabies - 80% of cases
The hallmark is early brainstem involvement producing:
FeatureDescription
HydrophobiaInvoluntary, painful contraction of the diaphragm, accessory respiratory muscles, larynx, and pharynx triggered by attempting to swallow liquids. The patient develops intense fear of water.
AerophobiaSame spasm triggered by a draft of air on the face. Highly specific for rabies.
HypersalivationPharyngeal dysfunction + excess saliva = classic "foaming at the mouth"
Agitation/HyperexcitabilityEpisodes of agitated arousal alternating with periods of relative lucidity (which become shorter over time)
Autonomic dysfunctionHypersalivation, gooseflesh, cardiac arrhythmias, priapism, fever (up to 105-107°F)
HallucinationsAuditory and visual
SeizuresMay occur
CombativenessExtreme agitation
Mechanisms of hydrophobia/aerophobia: Infected brainstem neurons that normally inhibit inspiratory neurons near the nucleus ambiguus fail to do so, creating exaggerated protective reflexes of the respiratory tract when the larynx/pharynx are stimulated.
As disease progresses: increasing frequency of spasms, worsening autonomic instability, then coma within days, followed by death from respiratory failure.

B. Paralytic (Dumb) Rabies - 20% of cases
  • Early, prominent flaccid muscle weakness, often beginning in the bitten limb
  • Spreads to produce quadriparesis and facial weakness
  • Sphincter involvement common
  • Sensory involvement usually mild
  • Hydrophobia and aerophobia are typically absent or late
  • Commonly misdiagnosed as Guillain-Barré syndrome or poliomyelitis (multifocal flaccid paralysis resembling polio)
  • Patients survive a few days longer than encephalitic form, but multiple organ failure still ensues

Phase 3 - Coma and Death

Whether encephalitic or paralytic, rabies invariably progresses to coma and death, usually from:
  • Respiratory failure (primary cause)
  • Cardiac arrhythmias (brainstem/autonomic dysfunction, myocarditis)
  • SIADH or diabetes insipidus
  • Non-cardiogenic pulmonary edema
  • Gastrointestinal hemorrhage
  • Multiple organ failure
Death typically occurs within 7-14 days of symptom onset without aggressive supportive care.
Virtually no human patient has survived established rabies encephalitis without intensive intervention. The few documented survivors (Milwaukee Protocol) had aggressive experimental immunotherapy/sedation.
  • Harrison's Principles of Internal Medicine 22E, p. 1696-1697
  • Bradley and Daroff's Neurology in Clinical Practice, p. 1675-1676
  • Goldman-Cecil Medicine, p. 4030

7. LABORATORY INVESTIGATIONS AND DIAGNOSIS

Approach to Diagnosis

Diagnosis is based on the clinical presentation + history of animal exposure. Laboratory confirmation follows.

Routine Labs (Usually Normal or Non-specific)

  • CBC: usually normal
  • Metabolic panel: usually normal
  • CSF: Lymphocytic pleocytosis in >50% (usually <100 WBCs/µL), mild protein elevation, normal glucose

Specific Diagnostic Tests

TestSpecimenComment
Direct fluorescent antibody (DFA)Nuchal skin biopsy (hair follicle nerve fibers), brain tissueGold standard for antemortem skin biopsy; high sensitivity
RT-PCRSaliva, CSF, skin biopsy, urineHighly sensitive; identifies viral variants; multiple samples increase sensitivity
Serum neutralizing antibodiesSerumDevelop late in illness; absence does NOT exclude rabies early
CSF neutralizing antibodiesCSFPresent in >50% during first week; >87% beyond first week; ratio of CSF:serum antibody >1 suggests CNS infection
Virus isolationSaliva, brain tissueDefinitive but slow; BSL-3 required
Brain biopsy/autopsy IHCBrainNegri bodies on H&E (insensitive); IHC for N antigen (highly sensitive)

Neuroimaging (MRI Brain)

  • Abnormal signal on FLAIR/T2 sequences in:
    • Basal ganglia
    • Thalamus
    • Midbrain
    • Pontine nuclei
    • Cortex (gray matter)
  • MRI may be normal early in disease

Key Diagnostic Principle

  • Repeat testing on multiple occasions and specimens increases sensitivity - a single negative result does not exclude rabies
  • The WHO recommends testing saliva, nuchal skin biopsy, and CSF simultaneously
  • Harrison's Principles of Internal Medicine 22E, p. 1696
  • Goldman-Cecil Medicine, p. 4030-4031

8. CLINICAL APPROACH AND MANAGEMENT

A. Postexposure Prophylaxis (PEP) - The Most Critical Intervention

PEP must begin immediately after any potential exposure, before symptom onset. Once symptoms appear, PEP is ineffective.
Steps of PEP:
1. Wound Care (Immediate)
  • Wash wound thoroughly with soap and water for at least 15 minutes
  • Apply povidone-iodine or 70% ethanol
  • Do NOT suture wound primarily if possible (delays local virus spread)
2. Risk Assessment - Does the patient need PEP?
AnimalAction
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, rabbitUsually not indicated (consult public health)
3. Rabies Immunoglobulin (RIG)
  • Human Rabies Immunoglobulin (HRIG): 20 IU/kg
  • Equine RIG (ERIG): 40 IU/kg (lower cost, available in many countries)
  • Maximum dose infiltrated around and into the wound - remainder given IM at site distant from vaccine
  • Provides passive immunity during the window before active vaccine response
  • Must be given on Day 0 with first vaccine dose
  • HRIG and vaccine must be given at two different anatomical sites
  • If previously vaccinated: no RIG needed
4. Active Immunization - Rabies Vaccine
For previously unvaccinated:
  • Days 0, 3, 7, and 14 - 4 doses IM (WHO/CDC schedule)
  • Previously: 5-dose schedule (Days 0, 3, 7, 14, 28) - now updated
For previously vaccinated (previously received complete pre/postexposure series):
  • Days 0 and 3 only (2 doses), no RIG needed

B. Treatment of Established Rabies

Once clinical symptoms develop, there is no proven effective therapy. Management is largely supportive and palliative:
  1. Intensive care unit admission
  2. Mechanical ventilation for respiratory failure
  3. Sedation and anticonvulsants for agitation/seizures
  4. Autonomic management (arrhythmia control)
  5. Nutritional support
Milwaukee Protocol: An experimental approach involving therapeutic coma (ketamine + midazolam), antiviral drugs (ribavirin, amantadine), and vaccine. A handful of patients have survived without prior vaccination, but the protocol has had mixed results and remains controversial.

C. Pre-Exposure Prophylaxis (PrEP)

Recommended for:
  • Veterinarians and animal handlers
  • Travelers to endemic regions
  • Laboratory workers handling virus
  • Spelunkers (cave explorers)
Schedule: Days 0, 7, 21 or 28 (3 doses IM or intradermal)
  • Harrison's Principles of Internal Medicine 22E, p. 1697-1699
  • Sherris & Ryan's Medical Microbiology 8th Ed., p. 679

9. DIFFERENTIAL DIAGNOSIS

Rabies should be distinguished from:
ConditionDistinguishing Features
TetanusTrismus, risus sardonicus; no hydrophobia; organism detectable; normal CSF
Guillain-Barré SyndromeAscending paralysis (no encephalopathy); albuminocytological dissociation in CSF
Viral encephalitis (HSV, JE)No hydrophobia/aerophobia; different exposure history; CSF PCR
Psychiatric illnessNo fever, normal CSF, no exposure history
Delirium tremensAlcohol history, no animal bite, no hydrophobia

10. SUMMARY FRAMEWORK FOR CLASS

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

SOURCES

  • Harrison's Principles of Internal Medicine 22E (2025), Chapter 214, pp. 1693-1700
  • Bradley and Daroff's Neurology in Clinical Practice, Chapter 78, pp. 1675-1677
  • Goldman-Cecil Medicine International Edition, Chapter 413, pp. 4030-4031
  • Robbins, Cotran & Kumar Pathologic Basis of Disease, Chapter 28, pp. 1168-1169
  • Sherris & Ryan's Medical Microbiology 8th Edition, Chapter 17, pp. 675-680

There is a ~12-hour delay at each synapse. This neurotropic spread explains the relationship between bite location and incubation period.

Yes, exactly — that point connects two key concepts. Let me break it down clearly:

The Synaptic Delay and Incubation Period

How the Virus Travels

Rabies virus does not travel as a free particle in the bloodstream. It travels inside axons via retrograde fast axonal transport at up to ~250 mm/day. At every synapse it crosses, there is a ~12-hour delay — this is the time needed for the virus to:
  1. Be released from the presynaptic terminal
  2. Bind to receptors on the next neuron
  3. Be internalized and begin retrograde transport again

Why Bite Location Determines Incubation

The more synapses and the greater the axonal distance between the bite site and the CNS, the longer the incubation period.
Bite LocationDistance to CNSNumber of SynapsesIncubation
Face / headVery shortFewShorter (weeks)
Upper limbModerateModerateIntermediate
Lower limb / footLongManyLonger (months)
This is why a bite to the face or neck is considered particularly dangerous — the virus reaches the brainstem faster, leaving less time for PEP to work.

Clinical Implication

The long incubation for distal bites is actually protective in a practical sense — it gives a larger window for postexposure prophylaxis (PEP) to generate neutralizing antibodies before the virus enters the CNS. Once the virus is inside the axon traveling toward the CNS, it is largely hidden from the immune system — antibodies cannot reach it there. This is why PEP becomes ineffective once neurological symptoms begin.
In short: the synaptic delay is not just a trivia point — it is the mechanistic reason that incubation period, clinical urgency, and the window for prophylaxis all vary with bite location.

Generate a presentation slide on the synaptic delay mechanism and its clinical implications

Reading File
Reading File
Running Command

ls /home/daytona/workspace/ 2>/dev/null || mkdir -p /home/daytona/workspace/rabies-slides

Running Command

mkdir -p /home/daytona/workspace/rabies-slides

Writing File

~/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); });
Running Command

cd /home/daytona/workspace/rabies-slides && node build.js

Your presentation is ready. Here's the download link:

Rabies Synaptic Delay

Presentation · PPTX


The deck has 5 slides built in a dark navy + red/teal/gold medical theme:
SlideContent
1 - TitleFull title slide with the three key numbers as a callout bar (12 hrs, 250 mm/day, incubation ∝ distance)
2 - The Mechanism5 numbered step-by-step panels: inoculation → nAChR binding → axonal transport → 12-hr synaptic delay → CNS ascent
3 - Bite Location vs IncubationColour-coded table (face = extreme/red, upper limb = orange, lower limb = green) + two insight boxes explaining why each end matters
4 - Clinical ImplicationsTwo panels (immune evasion vs PEP window) + 3 takeaway cards + a full-width timeline bar showing exactly where PEP works and where it fails
5 - SummaryThree big-number stat cards + 4 bullet takeaways covering immune evasion, location urgency, the opportunity window, and the 3-step PEP protocol
This is a shared conversation. Sign in to Orris to start your own chat.