i want to make a ppt on exchange transfusion in pathology with integration of medine tell me the pointers

Reading File
Finding Sources
Finding Sources
Searching PubMed

"exchange transfusion" neonatal

Reading File
Reading File
Reading File
Searching PubMed

"exchange transfusion" sickle cell hemolytic disease newborn pathology

Reading File
Finding Sources
Finding Sources
Searching PubMed

"exchange transfusion" hyperbilirubinemia hemolytic disease newborn

Reading File
Reading File
I now have rich content from multiple authoritative textbooks. Let me compile the comprehensive slide-by-slide pointer outline.

Exchange Transfusion in Pathology - PPT Pointer Guide (with Medicine Integration)

Here is a complete, slide-by-slide pointer breakdown for your presentation. The content is drawn from Quick Compendium of Clinical Pathology, Henry's Clinical Diagnosis and Management by Laboratory Methods, The Harriet Lane Handbook (23rd ed.), Goldman-Cecil Medicine, Harrison's Principles, and recent PubMed literature.

Slide 1 - Title Slide

  • Exchange Transfusion: Pathological Basis and Clinical Integration
  • Subtitle: Blood Banking / Transfusion Medicine + Clinical Pathology
  • Include: definition box - "The removal of a patient's blood and simultaneous replacement with donor blood, removing pathological substances while restoring normal hematological function"

Slide 2 - Definition and Principles

  • Exchange transfusion = removal of patient's blood + simultaneous replacement with donor blood
  • Two types:
    • Simple (manual) exchange - push-pull technique through umbilical catheters
    • Automated Red Cell Exchange (RCE/apheresis) - machine-mediated, more precise
  • Goal: Remove offending substance (e.g., HbS, bilirubin, antibody-coated RBCs) without raising hematocrit/viscosity
  • Two-blood-volume exchange replaces ~85% of patient's circulation
    • Henry's Clinical Diagnosis and Management by Laboratory Methods

Slide 3 - Pathological Basis: Why Exchange Transfusion?

  • Three core pathological mechanisms driving the need:
    1. Hyperbilirubinemia - unconjugated bilirubin neurotoxicity (kernicterus)
    2. Sickling pathology - HbS polymerization causing vaso-occlusion
    3. Immune hemolysis - maternal alloantibody-mediated RBC destruction in the newborn
  • Exchange addresses all three: removes bilirubin, replaces HbS-bearing cells, clears antibody-coated cells
  • Canalicular mechanisms for bilirubin excretion are immature in neonates - exchange bypasses this immaturity
    • Harrison's Principles of Internal Medicine 22E

Slide 4 - Indication 1: Neonatal Hyperbilirubinemia (HDN)

Pathology:
  • Unconjugated (indirect) bilirubin exceeds albumin-binding capacity
  • Free bilirubin crosses blood-brain barrier - binds basal ganglia, hippocampus, brainstem nuclei
  • Results in bilirubin encephalopathy (BIND) / kernicterus
Threshold for Exchange (>35 wks gestation):
  • TSB >25 mg/dL (generally accepted threshold) - Henry's
  • Serum bilirubin >20 mg/dL (classic teaching) - Lee's Essential Otolaryngology
  • Immediate exchange if signs of acute bilirubin encephalopathy:
    • Hypertonia, arching, retrocollis, opisthotonos, fever, high-pitched cry
    • OR if TSB ≥5 mg/dL ABOVE the phototherapy line on nomogram
  • Risk factors warranting lower threshold: Isoimmune hemolytic disease, G6PD deficiency, asphyxia, significant lethargy, temperature instability, sepsis, acidosis
    • The Harriet Lane Handbook, 23rd ed.
Lab evaluation (pre-exchange sample - mandatory):
  • CBC, reticulocyte count, peripheral smear, bilirubin, Ca²+, glucose, total protein
  • Blood type, direct Coombs test, newborn screen
  • Post-exchange blood has NO diagnostic value - save pre-exchange sample
    • The Harriet Lane Handbook

Slide 5 - Indication 2: Hemolytic Disease of the Fetus and Newborn (HDFN)

Pathology (Medicine Integration):
  • Maternal alloantibodies (IgG) cross the placenta and coat fetal RBCs
  • Extravascular hemolysis by fetal/neonatal macrophages
  • Common antibodies: Anti-D (most significant), Anti-K, Anti-c, Anti-E, Anti-Fy^a, Anti-Jk^b
  • Duffy antibodies capable of severe HDN
    • Quick Compendium of Clinical Pathology
Laboratory Diagnosis:
  • Positive DAT (direct Coombs): IgG+, IgG+/C3+
  • DAT pattern in HDN: IgG+ (or IgG+/C3-)
    • Quick Compendium of Clinical Pathology
  • Peripheral smear: spherocytes, polychromasia, nucleated RBCs
Exchange indication:
  • Large-volume or exchange transfusion for infants who did NOT receive intrauterine transfusion (IUT)
  • Treatment: intrauterine and intravascular fetal transfusion, IVIG, plasma exchange
    • Henry's, Tintinalli's Emergency Medicine
IVIG adjunct:
  • In isoimmune hemolytic disease: IVIG 0.5-1 g/kg may reduce need for exchange
    • The Harriet Lane Handbook

Slide 6 - Blood Product Selection for Neonatal Exchange

Red Cells Should Be:
  • Fresh (<5 days old); if unavailable, consider washed
  • Irradiated (prevents transfusion-associated GVHD - TA-GVHD)
  • Group O (universal donor for neonates)
  • Negative for any active maternal antibody (e.g., anti-D)
  • CMV-safe: seronegative OR leukoreduced (risk-reduced) for preemies <1200 g or for intrauterine transfusion
    • Quick Compendium of Clinical Pathology, 5th ed.
Whole blood or reconstituted RBCs:
  • RBCs reconstituted with compatible plasma to Hct 45%
  • For large-volume transfusion, fresh RBCs (<10 days old) preferred
    • Henry's Clinical Diagnosis and Management
Why irradiation?
  • Large-volume exchange transfusion is an indication for irradiated blood
  • TA-GVHD risk in neonates (especially premature/low birth weight)
  • TA-GVHD: presents 2-50 days post-transfusion with rash, diarrhea, fever, liver dysfunction, pancytopenia; >90% mortality
    • Henry's

Slide 7 - Procedure: Technique and Volume

  • Route: Blood removed via Umbilical Arterial Catheter (UAC); infused via Umbilical Venous Catheter (UVC)
    • If UAC unavailable: peripheral arterial line or single venous catheter
  • Volume: Two-blood-volume exchange (2 x 80 mL/kg = ~160 mL/kg in neonates)
  • Expected outcomes:
    • Reduces total bilirubin by ~25%
    • Reduces fetal red cell mass by ~70%
  • Exchange aliquots:
    • Full-term infants: 15 mL aliquots
    • Premature/less stable infants: 2-3 mL/kg/min (slower, to avoid hemolysis)
      • The Harriet Lane Handbook, 23rd ed.

Slide 8 - Indication 3: Sickle Cell Disease (SCD)

Pathology (Medicine Integration):
  • HbS polymerizes under deoxygenated conditions - RBC sickling
  • Sickled cells cause vaso-occlusion, hemolysis, organ damage
  • Exchange goal: reduce HbS% without raising hematocrit (avoids hyperviscosity)
Emergency indications for exchange transfusion in SCD:
  1. Stroke (most common)
  2. Retinal artery occlusion
  3. Splenic sequestration crisis
  4. Acute chest syndrome (ACS) - multifactorial, infection, hypoxia, pulmonary vaso-occlusion; 20-50% of SCD patients; mortality 2-14%
  5. Aplastic crisis
  6. Fulminant priapism (>6 hours, unresponsive to medical management)
  7. Preoperative (high-risk surgery: cardiac surgery - exchange preferred over simple transfusion)
  • Quick Compendium, Goldman-Cecil Medicine, Henry's
Elective/Chronic indications:
  • Children with abnormal transcranial Doppler velocity (stroke prevention)
  • Progressive renal, cardiopulmonary disease
  • Complicated pregnancy
  • Target HbS <30% in children; <50% in adults
    • Quick Compendium

Slide 9 - Red Cell Exchange by Apheresis vs Simple Transfusion (SCD)

FeatureRCE by ApheresisSimple Transfusion
HbS reductionGreater, fasterModerate
Hematocrit effectNo rise (avoids hyperviscosity)Rises
Units usedFewer to achieve same HbS%More
Iron overloadLower contributionHigher
STOP trial evidencePreferred for stroke preventionAcceptable for low-risk surgery
  • Simple transfusion (Hb >9 g/dL) equally effective as exchange for low- and moderate-risk surgery
  • High-risk (cardiac) surgery: exchange preferred
    • Goldman-Cecil Medicine, Henry's

Slide 10 - Indication 4: Other Indications

  • Babesiosis (severe): Exchange transfusion is treatment for severe parasitemia - removes infected RBCs
    • Treatment: clindamycin + quinine + exchange transfusion - Medical Microbiology 9e
  • Malaria (hyperparasitemia - though now less commonly used)
  • Polycythemia in newborns: Venous Hct >65% - partial exchange transfusion to reduce viscosity
    • The Harriet Lane Handbook
  • Hyperleukocytosis (acute leukemia): Leukapheresis or exchange transfusion only if symptomatic leukostasis
    • The Harriet Lane Handbook
  • Lead/heavy metal poisoning (severe): Hemodialysis, peritoneal dialysis, or exchange transfusion may be indicated
    • Roberts and Hedges' Clinical Procedures in Emergency Medicine
  • Renal failure (historical - ESRD context)
    • Brenner and Rector's The Kidney

Slide 11 - ASPEN Syndrome (Pathology Complication - High Yield)

  • Full form: Association of Sickle cell disease, Priapism, Exchange transfusion, and Neurologic events
  • Timing: Within 11 days of exchange transfusion in SCD
  • Presentation: Headache, seizures, altered mental status, hemiparesis
  • Pathophysiology: Abrupt elevation in hematocrit → decreased cerebral blood flow; release of vasoactive substances from penile detumescence
  • Management: Aggressive treatment → complete neurologic recovery in most cases
  • Prevention: Monitor closely during/after RCE for priapism
    • Quick Compendium of Clinical Pathology, Henry's

Slide 12 - Complications of Exchange Transfusion

Procedure-related:
  • Emboli, thromboses
  • Hemodynamic instability
  • Electrolyte disturbances - especially hypocalcemia (citrate accumulates → chelates Ca²+)
  • Coagulopathy (dilutional)
  • Infection (catheter-related)
  • Death (rare)
    • The Harriet Lane Handbook
Transfusion-related:
  • TA-GVHD (prevented by irradiation)
  • Alloimmunization (especially in multiply transfused SCD patients)
    • Most common alloantibodies: anti-K, C, E, Fy^a, Jk^b
    • Overall alloimmunization rate 19-47% without phenotype matching
    • Reduced to 0.5%/unit with Cc, D, Ee, Kell matching
      • Quick Compendium
  • Hypothermia (from cold blood products - prevent with warming devices)
  • Hypocalcemia from citrate (supplement calcium when transfusion rate >100 mL/min)

Slide 13 - Monitoring and Pre/Post Exchange Parameters

Pre-exchange (mandatory, diagnostic value only on PRE-exchange):
  • CBC + differential, reticulocyte count
  • Peripheral smear
  • Total/direct bilirubin
  • Ionized calcium, glucose
  • Total protein / albumin (calculate B/A ratio)
  • Blood type and Coombs (DAT/IAT)
  • Newborn metabolic screen
  • Save for serologic / genetic studies if indicated
    • The Harriet Lane Handbook
During procedure:
  • Monitor QTc (hypocalcemia)
  • Hemodynamic monitoring
  • Aliquot-based exchange (15 mL/full-term; 2-3 mL/kg/min for premature)

Slide 14 - Alloimmunization in Transfused Patients (Pathology Deep Dive)

  • SCD patients chronically transfused develop alloantibodies against foreign RBC antigens
  • Alloimmunization rate: 19-47% without phenotypic matching
  • Most common alloantibodies formed: anti-K, anti-C, anti-E, anti-Fy^a, anti-Jk^b
  • With extended phenotype matching (Cc, D, Ee, Kell): rate reduced from 3% to 0.5% per unit transfused
  • Clinical importance: future crossmatch difficulties, delayed hemolytic transfusion reactions, HDFN in pregnancies
    • Quick Compendium of Clinical Pathology, 5th ed.

Slide 15 - Recent Evidence (Medicine Integration via PubMed)

  • De Winter et al. 2023 (PMID 36469119) - History and current standards of postnatal management in HDFN; reviewed indications and outcomes of exchange transfusion vs IVIG
  • Chastain et al. 2024 (PMID 39259272) - Updated guideline on managing neonatal hyperbilirubinemia; emphasizes phototherapy thresholds and when to escalate to exchange
  • Wickremasinghe & Kuzniewicz 2025 (PMID 40619190) - Neonatal hyperbilirubinemia review (Pediatric Clinics, 2025) - latest evidence on exchange thresholds
  • STOP and STOP II Trials (referenced in Henry's): Exchange transfusion / chronic RBC transfusion reduces first stroke incidence in SCD children with high-risk transcranial Doppler; stopping transfusion leads to return of stroke risk within 4.6 months

Slide 16 - Summary Table: Exchange Transfusion Quick Reference

IndicationPathological BasisKey Threshold/Goal
Neonatal hyperbilirubinemiaUnconjugated bilirubin neurotoxicityTSB >25 mg/dL; immediate if encephalopathy signs
HDFNMaternal IgG-mediated RBC hemolysisPositive DAT, rising bilirubin, anemia
SCD - StrokeHbS vaso-occlusionTarget HbS <30%
SCD - ACSPulmonary sickling/infectionHypoxia + infiltrate
BabesiosisHigh parasitemiaSevere disease
Polycythemia neonatorumHyperviscosityVenous Hct >65%

Recommended References for PPT Citations

  1. Quick Compendium of Clinical Pathology, 5th ed. (Sections 2.3.1.2-2.3.1.3, 2.5.1.1)
  2. Henry's Clinical Diagnosis and Management by Laboratory Methods (Neonatal & Pediatric Transfusion, RCE in SCD)
  3. The Harriet Lane Handbook, 23rd ed. (Chapter 18)
  4. Goldman-Cecil Medicine International Edition (SCD Management)
  5. Harrison's Principles of Internal Medicine 22E (Bilirubin metabolism)
  6. De Winter et al., Eur J Pediatr 2023 - PMID 36469119
  7. Wickremasinghe & Kuzniewicz, Pediatr Clin North Am 2025 - PMID 40619190
  8. STOP / STOP II trials (Adams et al., 1998; Adams & Brambilla, 2005)

Tips for the PPT design:
  • Use a Bhutani nomogram image on Slide 4 (bilirubin vs age in hours with risk zones and exchange line)
  • Add the ASPEN syndrome flowchart on Slide 11 - examiners love this high-yield complication
  • Include a blood product selection checklist visual on Slide 6
  • The STOP trial data makes a strong clinical evidence slide (bar graph: 11 strokes standard care vs 1 in transfusion group)
  • Keep Slide 8 (SCD indications) as a mnemonic: "SRSA-AP" - Stroke, Retinal artery occlusion, Splenic sequestration, ACS, Aplastic crisis, Priapism

Create a professional PPTX presentation from these pointers

Reading File
Reading File
Running Command

mkdir -p /home/daytona/workspace/exchange-transfusion-ppt && ls /home/daytona/workspace/exchange-transfusion-ppt/

Writing File

~/exchange-transfusion-ppt/build.js

const pptxgen = require("pptxgenjs");

const pres = new pptxgen();
pres.layout = "LAYOUT_16x9";
pres.author = "Orris Medical";
pres.title = "Exchange Transfusion: Pathological Basis and Clinical Integration";

// ─── PALETTE ──────────────────────────────────────────────────────────────────
const DARK_BG    = "0D1B2A";   // deep navy – title / section dividers
const MID_BG     = "1B3A5C";   // medium navy – accent panels
const CARD_BG    = "F0F4F8";   // light slate – content cards
const WHITE      = "FFFFFF";
const ACCENT1    = "E63946";   // vivid red – key callouts
const ACCENT2    = "2EC4B6";   // teal – sub-highlights
const ACCENT3    = "F4A261";   // amber – warnings / complications
const TEXT_DARK  = "0D1B2A";
const TEXT_MID   = "2C3E50";
const TEXT_LIGHT = "ECF0F1";

// ─── HELPERS ──────────────────────────────────────────────────────────────────
function darkSlide(slide) {
  slide.background = { color: DARK_BG };
}
function lightSlide(slide) {
  slide.background = { color: WHITE };
}
function sectionBanner(slide, label) {
  slide.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 0.55, fill: { color: ACCENT1 } });
  slide.addText(label.toUpperCase(), {
    x: 0.3, y: 0.03, w: 9.4, h: 0.5, fontSize: 10, bold: true,
    color: WHITE, charSpacing: 3, valign: "middle", margin: 0
  });
}
function slideTitle(slide, title, dark = false) {
  slide.addText(title, {
    x: 0.4, y: 0.6, w: 9.2, h: 0.75, fontSize: 22, bold: true,
    color: dark ? WHITE : TEXT_DARK, fontFace: "Calibri", valign: "middle"
  });
  // underline accent bar
  slide.addShape(pres.ShapeType.rect, {
    x: 0.4, y: 1.35, w: 1.2, h: 0.055, fill: { color: ACCENT1 }
  });
}
function bulletList(slide, items, opts = {}) {
  const { x = 0.4, y = 1.55, w = 9.2, h = 3.7, fontSize = 14, color = TEXT_DARK, indent = 0 } = opts;
  const textArr = items.map((item, i) => {
    const isLast = i === items.length - 1;
    if (typeof item === "string") {
      return { text: item, options: { bullet: { indent: 15 + indent }, breakLine: !isLast, fontSize, color } };
    }
    // object: {text, sub, bold, accent}
    return {
      text: item.text,
      options: {
        bullet: { indent: 15 + indent },
        breakLine: !isLast,
        fontSize: item.fontSize || fontSize,
        bold: !!item.bold,
        color: item.accent ? ACCENT1 : (item.teal ? ACCENT2 : color)
      }
    };
  });
  slide.addText(textArr, { x, y, w, h, valign: "top", fontFace: "Calibri", lineSpacingMultiple: 1.25 });
}
function infoCard(slide, x, y, w, h, title, body, titleColor = ACCENT2, bgColor = CARD_BG) {
  slide.addShape(pres.ShapeType.rect, { x, y, w, h, fill: { color: bgColor }, line: { color: "D0D8E0", width: 0.75 } });
  slide.addShape(pres.ShapeType.rect, { x, y, w, h: 0.38, fill: { color: titleColor } });
  slide.addText(title, { x: x + 0.1, y: y + 0.03, w: w - 0.2, h: 0.33, fontSize: 11, bold: true, color: WHITE, valign: "middle", margin: 0 });
  slide.addText(body, { x: x + 0.12, y: y + 0.44, w: w - 0.22, h: h - 0.52, fontSize: 11, color: TEXT_DARK, valign: "top", fontFace: "Calibri", lineSpacingMultiple: 1.2 });
}


// ══════════════════════════════════════════════════════════════════════════════
// SLIDE 1 – TITLE
// ══════════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  darkSlide(s);

  // background gradient stripe
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 3.2, h: 5.625, fill: { color: MID_BG } });
  s.addShape(pres.ShapeType.rect, { x: 0, y: 4.8, w: 10, h: 0.825, fill: { color: ACCENT1 } });

  // icon circle
  s.addShape(pres.ShapeType.ellipse, { x: 0.6, y: 1.0, w: 2.0, h: 2.0, fill: { color: ACCENT1 }, line: { color: WHITE, width: 2 } });
  s.addText("ET", { x: 0.6, y: 1.0, w: 2.0, h: 2.0, fontSize: 38, bold: true, color: WHITE, align: "center", valign: "middle" });

  s.addText("EXCHANGE TRANSFUSION", {
    x: 3.4, y: 1.1, w: 6.2, h: 1.0, fontSize: 28, bold: true,
    color: WHITE, fontFace: "Calibri", charSpacing: 2
  });
  s.addText("Pathological Basis &\nClinical Integration", {
    x: 3.4, y: 2.15, w: 6.2, h: 1.2, fontSize: 20,
    color: ACCENT2, fontFace: "Calibri"
  });
  s.addText("Blood Banking · Transfusion Medicine · Clinical Pathology", {
    x: 3.4, y: 3.4, w: 6.2, h: 0.5, fontSize: 12,
    color: "A0B4C8", fontFace: "Calibri"
  });
  s.addText("Sources: Quick Compendium · Henry's · Harriet Lane · Harrison's · Goldman-Cecil", {
    x: 0.2, y: 4.85, w: 9.6, h: 0.55, fontSize: 9.5,
    color: WHITE, align: "center", valign: "middle"
  });
}

// ══════════════════════════════════════════════════════════════════════════════
// SLIDE 2 – DEFINITION & PRINCIPLES
// ══════════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  lightSlide(s);
  sectionBanner(s, "Definition & Principles");
  slideTitle(s, "What is Exchange Transfusion?");

  // Definition box
  s.addShape(pres.ShapeType.rect, { x: 0.4, y: 1.5, w: 9.2, h: 0.9, fill: { color: MID_BG }, line: { color: MID_BG } });
  s.addText("Simultaneous removal of patient's blood and replacement with donor blood — removing pathological substances while restoring normal haematological function", {
    x: 0.55, y: 1.52, w: 8.9, h: 0.86, fontSize: 13, color: WHITE, italic: true, valign: "middle", fontFace: "Calibri"
  });

  // Two cards
  infoCard(s, 0.4, 2.55, 4.4, 2.7, "Simple (Manual) Exchange",
    "Push-pull technique\nUmbilical catheters (UAC/UVC)\nAliquot-based: 15 mL/full-term\n2–3 mL/kg/min for premature infants\nManual operator control", ACCENT1);

  infoCard(s, 5.0, 2.55, 4.6, 2.7, "Automated RCE (Apheresis)",
    "Machine-mediated exchange\nMore precise HbS% control\nFewer donor RBC units needed\nLower iron overload contribution\nUsed predominantly in SCD", ACCENT2);

  s.addText("Henry's Clinical Diagnosis & Management by Laboratory Methods", {
    x: 0.4, y: 5.35, w: 9.2, h: 0.22, fontSize: 8.5, color: "888888", italic: true
  });
}

// ══════════════════════════════════════════════════════════════════════════════
// SLIDE 3 – PATHOLOGICAL BASIS
// ══════════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  lightSlide(s);
  sectionBanner(s, "Pathological Basis");
  slideTitle(s, "Why Exchange Transfusion? — Core Pathological Mechanisms");

  const mechanisms = [
    { x: 0.3, y: 1.55, color: ACCENT1, num: "01", title: "Hyperbilirubinemia", body: "Unconjugated bilirubin exceeds\nalbumin-binding capacity\n→ Crosses BBB\n→ Binds basal ganglia, hippocampus,\n    brainstem nuclei → Kernicterus\nCanalicular excretion immature\nin neonates (Harrison's 22E)" },
    { x: 3.6, y: 1.55, color: ACCENT2, num: "02", title: "Sickling Pathology", body: "HbS polymerises under hypoxia\n→ RBC sickling\n→ Vaso-occlusion & hemolysis\n→ Multi-organ damage\nExchange removes HbS-bearing cells\nwithout raising hematocrit/viscosity" },
    { x: 6.9, y: 1.55, color: ACCENT3, num: "03", title: "Immune Haemolysis", body: "Maternal IgG crosses placenta\n→ Coats fetal RBCs\n→ Extravascular hemolysis\n→ Hyperbilirubinaemia + anaemia\nExchange clears antibody-coated\ncells and free bilirubin" },
  ];

  mechanisms.forEach(m => {
    s.addShape(pres.ShapeType.rect, { x: m.x, y: m.y, w: 3.1, h: 3.7, fill: { color: CARD_BG }, line: { color: "D0D8E0", width: 0.75 } });
    s.addShape(pres.ShapeType.ellipse, { x: m.x + 0.9, y: m.y + 0.15, w: 1.3, h: 1.3, fill: { color: m.color } });
    s.addText(m.num, { x: m.x + 0.9, y: m.y + 0.15, w: 1.3, h: 1.3, fontSize: 22, bold: true, color: WHITE, align: "center", valign: "middle" });
    s.addText(m.title, { x: m.x + 0.15, y: m.y + 1.6, w: 2.8, h: 0.42, fontSize: 13, bold: true, color: m.color, align: "center" });
    s.addText(m.body, { x: m.x + 0.15, y: m.y + 2.05, w: 2.8, h: 1.55, fontSize: 10.5, color: TEXT_DARK, valign: "top", fontFace: "Calibri", lineSpacingMultiple: 1.25 });
  });

  s.addText("Exchange addresses ALL three: removes bilirubin, replaces HbS cells, clears antibody-coated RBCs", {
    x: 0.3, y: 5.28, w: 9.4, h: 0.3, fontSize: 10.5, bold: true, color: ACCENT1, italic: true, align: "center"
  });
}

// ══════════════════════════════════════════════════════════════════════════════
// SLIDE 4 – NEONATAL HYPERBILIRUBINAEMIA
// ══════════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  lightSlide(s);
  sectionBanner(s, "Indication 1 — Neonatal Hyperbilirubinemia");
  slideTitle(s, "HDN: Bilirubin Encephalopathy & Exchange Thresholds");

  // Left column – thresholds
  s.addShape(pres.ShapeType.rect, { x: 0.3, y: 1.55, w: 4.5, h: 3.8, fill: { color: CARD_BG }, line: { color: "D0D8E0" } });
  s.addShape(pres.ShapeType.rect, { x: 0.3, y: 1.55, w: 4.5, h: 0.38, fill: { color: ACCENT1 } });
  s.addText("Exchange Thresholds (≥35 wks)", { x: 0.4, y: 1.57, w: 4.3, h: 0.34, fontSize: 11, bold: true, color: WHITE, valign: "middle", margin: 0 });

  s.addText([
    { text: "TSB > 25 mg/dL", options: { bullet: true, bold: true, color: ACCENT1, fontSize: 12, breakLine: true } },
    { text: "(Henry's – generally accepted threshold)", options: { fontSize: 10, color: TEXT_MID, breakLine: true } },
    { text: "Serum bilirubin > 20 mg/dL", options: { bullet: true, bold: true, color: TEXT_DARK, fontSize: 12, breakLine: true } },
    { text: "(Lee's Otolaryngology – classic)", options: { fontSize: 10, color: TEXT_MID, breakLine: true } },
    { text: "IMMEDIATE exchange if:", options: { bullet: true, bold: true, color: ACCENT3, fontSize: 12, breakLine: true } },
    { text: "  • Hypertonia / arching / opisthotonos", options: { fontSize: 11, color: TEXT_DARK, breakLine: true } },
    { text: "  • Retrocollis, high-pitched cry, fever", options: { fontSize: 11, color: TEXT_DARK, breakLine: true } },
    { text: "  • TSB ≥5 mg/dL above nomogram line", options: { fontSize: 11, color: TEXT_DARK, breakLine: true } },
    { text: "Risk factors ↓ threshold:", options: { bullet: true, bold: true, fontSize: 11, color: MID_BG, breakLine: true } },
    { text: "  Isoimmune HDN · G6PD deficiency · Asphyxia\n  Lethargy · Temp instability · Sepsis · Acidosis", options: { fontSize: 10.5, color: TEXT_DARK } },
  ], { x: 0.42, y: 2.0, w: 4.2, h: 3.25, valign: "top", fontFace: "Calibri", lineSpacingMultiple: 1.15 });

  // Right column – pre-exchange labs
  s.addShape(pres.ShapeType.rect, { x: 5.1, y: 1.55, w: 4.6, h: 3.8, fill: { color: CARD_BG }, line: { color: "D0D8E0" } });
  s.addShape(pres.ShapeType.rect, { x: 5.1, y: 1.55, w: 4.6, h: 0.38, fill: { color: MID_BG } });
  s.addText("Mandatory Pre-Exchange Labs", { x: 5.2, y: 1.57, w: 4.4, h: 0.34, fontSize: 11, bold: true, color: WHITE, valign: "middle", margin: 0 });

  s.addText([
    { text: "⚠ Diagnostic value ONLY on pre-exchange sample!", options: { bold: true, color: ACCENT1, fontSize: 11, breakLine: true } },
    { text: "Post-exchange blood has NO diagnostic value", options: { italic: true, color: ACCENT3, fontSize: 10.5, breakLine: true } },
    { text: " ", options: { fontSize: 8, breakLine: true } },
    { text: "CBC + differential", options: { bullet: true, fontSize: 11, color: TEXT_DARK, breakLine: true } },
    { text: "Reticulocyte count + peripheral smear", options: { bullet: true, fontSize: 11, color: TEXT_DARK, breakLine: true } },
    { text: "Total & direct bilirubin", options: { bullet: true, fontSize: 11, color: TEXT_DARK, breakLine: true } },
    { text: "Ionised Ca²⁺, glucose, total protein/albumin", options: { bullet: true, fontSize: 11, color: TEXT_DARK, breakLine: true } },
    { text: "B/A (bilirubin/albumin) ratio", options: { bullet: true, fontSize: 11, color: TEXT_DARK, breakLine: true } },
    { text: "Blood type + Direct Coombs (DAT)", options: { bullet: true, fontSize: 11, color: TEXT_DARK, breakLine: true } },
    { text: "Newborn metabolic screen", options: { bullet: true, fontSize: 11, color: TEXT_DARK, breakLine: true } },
    { text: "Save pre-exchange blood for serologic/genetic studies", options: { bullet: true, bold: true, fontSize: 10.5, color: MID_BG } },
  ], { x: 5.22, y: 1.99, w: 4.35, h: 3.28, valign: "top", fontFace: "Calibri", lineSpacingMultiple: 1.15 });

  s.addText("The Harriet Lane Handbook, 23rd ed. | Henry's Clinical Diagnosis & Management", {
    x: 0.3, y: 5.35, w: 9.4, h: 0.22, fontSize: 8.5, color: "888888", italic: true
  });
}

// ══════════════════════════════════════════════════════════════════════════════
// SLIDE 5 – HDFN
// ══════════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  lightSlide(s);
  sectionBanner(s, "Indication 2 — Haemolytic Disease of the Fetus & Newborn (HDFN)");
  slideTitle(s, "HDFN: Pathology, Lab Diagnosis & Exchange Role");

  // Pathophysiology flow
  const flowItems = ["Maternal IgG formed", "IgG crosses placenta", "Coats fetal RBCs", "Extravascular haemolysis", "↑ Bilirubin + Anaemia"];
  flowItems.forEach((txt, i) => {
    const xPos = 0.3 + i * 1.88;
    s.addShape(pres.ShapeType.rect, { x: xPos, y: 1.55, w: 1.65, h: 0.68, fill: { color: i % 2 === 0 ? ACCENT1 : MID_BG }, line: { color: "CCCCCC" } });
    s.addText(txt, { x: xPos + 0.04, y: 1.55, w: 1.57, h: 0.68, fontSize: 9.5, bold: true, color: WHITE, align: "center", valign: "middle" });
    if (i < 4) {
      s.addText("→", { x: xPos + 1.65, y: 1.62, w: 0.23, h: 0.52, fontSize: 16, bold: true, color: ACCENT1, align: "center" });
    }
  });

  // Antibodies card
  infoCard(s, 0.3, 2.42, 4.6, 1.8, "Common Causative Antibodies",
    "Anti-D (most significant)\nAnti-K · Anti-c · Anti-E\nAnti-Fyᵃ · Anti-Jkᵇ\nDuffy abs → capable of SEVERE HDN",
    ACCENT1, CARD_BG);

  // DAT card
  infoCard(s, 5.1, 2.42, 4.6, 1.8, "Lab Diagnosis (DAT Pattern in HDFN)",
    "Positive DAT:\n  IgG+ (most common)\n  IgG+/C3+ pattern\nPeripheral smear: spherocytes,\npolychromasia, nucleated RBCs",
    MID_BG, CARD_BG);

  // Management
  s.addShape(pres.ShapeType.rect, { x: 0.3, y: 4.35, w: 9.4, h: 1.1, fill: { color: "FFF3E0" }, line: { color: ACCENT3 } });
  s.addText("Management", { x: 0.45, y: 4.38, w: 2.0, h: 0.3, fontSize: 11, bold: true, color: ACCENT3 });
  s.addText([
    { text: "Exchange transfusion: ", options: { bold: true, fontSize: 10.5, color: TEXT_DARK } },
    { text: "indicated when infant did NOT receive intrauterine transfusion (IUT)   ", options: { fontSize: 10.5, color: TEXT_DARK } },
    { text: "  |  IVIG: ", options: { bold: true, fontSize: 10.5, color: TEXT_DARK } },
    { text: "0.5–1 g/kg in isoimmune haemolytic disease (may reduce/delay exchange need)", options: { fontSize: 10.5, color: TEXT_DARK } },
  ], { x: 0.45, y: 4.72, w: 9.1, h: 0.68, valign: "top", fontFace: "Calibri" });

  s.addText("Quick Compendium of Clinical Pathology 5th ed. | Henry's | Harriet Lane | Tintinalli's Emergency Medicine", {
    x: 0.3, y: 5.38, w: 9.4, h: 0.2, fontSize: 8, color: "888888", italic: true
  });
}

// ══════════════════════════════════════════════════════════════════════════════
// SLIDE 6 – BLOOD PRODUCT SELECTION
// ══════════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  lightSlide(s);
  sectionBanner(s, "Blood Product Selection — Neonatal Exchange");
  slideTitle(s, "What Blood to Use for Neonatal Exchange Transfusion?");

  const checks = [
    { label: "FRESH", detail: "< 5 days old (if unavailable → washed RBCs)", color: ACCENT2 },
    { label: "IRRADIATED", detail: "Prevents TA-GVHD (transfusion-associated graft-vs-host disease)", color: ACCENT1 },
    { label: "GROUP O", detail: "Universal donor for neonates", color: MID_BG },
    { label: "ANTIBODY –ve", detail: "Negative for any active maternal antibody (e.g. anti-D)", color: ACCENT3 },
    { label: "CMV-SAFE", detail: "Seronegative OR leukoreduced — for preemies <1200 g or IUT", color: "7B68EE" },
    { label: "Hct ~45%", detail: "Reconstituted RBCs + compatible plasma (whole blood OR reconstituted)", color: "2E86AB" },
  ];

  checks.forEach((c, i) => {
    const row = Math.floor(i / 2);
    const col = i % 2;
    const xPos = 0.3 + col * 4.9;
    const yPos = 1.55 + row * 1.2;
    s.addShape(pres.ShapeType.rect, { x: xPos, y: yPos, w: 4.55, h: 1.05, fill: { color: CARD_BG }, line: { color: "D0D8E0" } });
    s.addShape(pres.ShapeType.rect, { x: xPos, y: yPos, w: 1.3, h: 1.05, fill: { color: c.color } });
    s.addText("✓ " + c.label, { x: xPos + 0.05, y: yPos, w: 1.2, h: 1.05, fontSize: 11, bold: true, color: WHITE, align: "center", valign: "middle" });
    s.addText(c.detail, { x: xPos + 1.38, y: yPos, w: 3.1, h: 1.05, fontSize: 11, color: TEXT_DARK, valign: "middle", fontFace: "Calibri", lineSpacingMultiple: 1.2 });
  });

  // TA-GVHD warning
  s.addShape(pres.ShapeType.rect, { x: 0.3, y: 5.1, w: 9.4, h: 0.38, fill: { color: "FFE8E8" }, line: { color: ACCENT1 } });
  s.addText("⚠ TA-GVHD: Onset 2–50 days post-transfusion. Rash, diarrhoea, fever, liver dysfunction, pancytopenia. Mortality >90%. Irradiation is MANDATORY for large-volume neonatal exchange.", {
    x: 0.42, y: 5.11, w: 9.1, h: 0.36, fontSize: 9.5, color: ACCENT1, valign: "middle", fontFace: "Calibri"
  });
}

// ══════════════════════════════════════════════════════════════════════════════
// SLIDE 7 – PROCEDURE TECHNIQUE
// ══════════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  lightSlide(s);
  sectionBanner(s, "Procedure — Technique & Volume");
  slideTitle(s, "How to Perform Exchange Transfusion: Step-by-Step");

  const steps = [
    { num: "1", title: "Catheter Placement", body: "Blood OUT via UAC\nBlood IN via UVC\nIf UAC unavailable: peripheral arterial\nline or single venous catheter" },
    { num: "2", title: "Volume Calculation", body: "2 × blood volume exchange\n2 × 80 mL/kg = ~160 mL/kg\nReplaces ~85% of circulation\nRed cell mass ↓ by ~70%" },
    { num: "3", title: "Exchange Rate", body: "Full-term: 15 mL aliquots\nPremature/unstable:\n  2–3 mL/kg/min (slower)\n  to avoid haemolysis" },
    { num: "4", title: "Expected Outcome", body: "Total bilirubin ↓ by ~25%\nFetal RBC mass ↓ by ~70%\nHbS reduced without\nraising haematocrit" },
  ];

  steps.forEach((st, i) => {
    const xPos = 0.3 + i * 2.4;
    s.addShape(pres.ShapeType.rect, { x: xPos, y: 1.52, w: 2.2, h: 3.7, fill: { color: CARD_BG }, line: { color: "D0D8E0" } });
    s.addShape(pres.ShapeType.ellipse, { x: xPos + 0.45, y: 1.62, w: 1.3, h: 1.0, fill: { color: i % 2 === 0 ? ACCENT1 : ACCENT2 } });
    s.addText(st.num, { x: xPos + 0.45, y: 1.62, w: 1.3, h: 1.0, fontSize: 28, bold: true, color: WHITE, align: "center", valign: "middle" });
    s.addText(st.title, { x: xPos + 0.1, y: 2.72, w: 2.0, h: 0.42, fontSize: 11.5, bold: true, color: TEXT_DARK, align: "center" });
    s.addText(st.body, { x: xPos + 0.1, y: 3.2, w: 2.0, h: 1.95, fontSize: 10.5, color: TEXT_DARK, valign: "top", fontFace: "Calibri", lineSpacingMultiple: 1.25 });
  });

  // monitoring strip
  s.addShape(pres.ShapeType.rect, { x: 0.3, y: 5.1, w: 9.4, h: 0.42, fill: { color: MID_BG } });
  s.addText("Monitor: QTc (hypocalcaemia from citrate) · Hemodynamics · Electrolytes · Blood glucose · Temperature", {
    x: 0.45, y: 5.12, w: 9.1, h: 0.38, fontSize: 10.5, color: WHITE, valign: "middle", bold: false
  });

  s.addText("The Harriet Lane Handbook, 23rd ed.", {
    x: 0.3, y: 5.42, w: 9.4, h: 0.18, fontSize: 8, color: "888888", italic: true
  });
}

// ══════════════════════════════════════════════════════════════════════════════
// SLIDE 8 – SICKLE CELL DISEASE
// ══════════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  lightSlide(s);
  sectionBanner(s, "Indication 3 — Sickle Cell Disease (SCD)");
  slideTitle(s, "Exchange Transfusion in Sickle Cell Disease");

  // Mnemonic box
  s.addShape(pres.ShapeType.rect, { x: 0.3, y: 1.52, w: 4.35, h: 0.75, fill: { color: ACCENT1 } });
  s.addText("Mnemonic — Emergency Indications: \"SRSA-AP\"", { x: 0.4, y: 1.54, w: 4.15, h: 0.71, fontSize: 11.5, bold: true, color: WHITE, valign: "middle" });

  s.addText([
    { text: "S", options: { bold: true, color: ACCENT1, fontSize: 14, breakLine: false } },
    { text: "troke (most common — 11% of SCD patients by age 20)  ", options: { fontSize: 12, color: TEXT_DARK, breakLine: true } },
    { text: "R", options: { bold: true, color: ACCENT1, fontSize: 14 } },
    { text: "etinal artery occlusion  ", options: { fontSize: 12, color: TEXT_DARK, breakLine: true } },
    { text: "S", options: { bold: true, color: ACCENT1, fontSize: 14 } },
    { text: "plenic sequestration crisis  ", options: { fontSize: 12, color: TEXT_DARK, breakLine: true } },
    { text: "A", options: { bold: true, color: ACCENT1, fontSize: 14 } },
    { text: "cute chest syndrome (ACS) — 20–50% of SCD; mortality 2–14%  ", options: { fontSize: 12, color: TEXT_DARK, breakLine: true } },
    { text: "A", options: { bold: true, color: ACCENT2, fontSize: 14 } },
    { text: "plastic crisis  ", options: { fontSize: 12, color: TEXT_DARK, breakLine: true } },
    { text: "P", options: { bold: true, color: ACCENT2, fontSize: 14 } },
    { text: "riapism (fulminant, >6 hrs, failed medical Rx)", options: { fontSize: 12, color: TEXT_DARK } },
  ], { x: 0.4, y: 2.36, w: 4.2, h: 3.0, valign: "top", fontFace: "Calibri", lineSpacingMultiple: 1.25 });

  // Elective / chronic
  s.addShape(pres.ShapeType.rect, { x: 4.85, y: 1.52, w: 4.85, h: 3.85, fill: { color: CARD_BG }, line: { color: "D0D8E0" } });
  s.addShape(pres.ShapeType.rect, { x: 4.85, y: 1.52, w: 4.85, h: 0.38, fill: { color: ACCENT2 } });
  s.addText("Elective / Chronic Indications", { x: 4.95, y: 1.54, w: 4.65, h: 0.34, fontSize: 11, bold: true, color: WHITE, valign: "middle", margin: 0 });
  s.addText([
    { text: "Abnormal transcranial Doppler (stroke prevention in children)", options: { bullet: true, fontSize: 11.5, color: TEXT_DARK, breakLine: true } },
    { text: "Progressive renal / cardiopulmonary disease", options: { bullet: true, fontSize: 11.5, color: TEXT_DARK, breakLine: true } },
    { text: "Complicated pregnancy", options: { bullet: true, fontSize: 11.5, color: TEXT_DARK, breakLine: true } },
    { text: " ", options: { fontSize: 8, breakLine: true } },
    { text: "HbS Targets:", options: { bold: true, fontSize: 12, color: MID_BG, breakLine: true } },
    { text: "Children: HbS < 30%", options: { bullet: true, bold: true, fontSize: 12, color: ACCENT1, breakLine: true } },
    { text: "Adults: HbS < 50%", options: { bullet: true, bold: true, fontSize: 12, color: ACCENT2, breakLine: true } },
    { text: " ", options: { fontSize: 8, breakLine: true } },
    { text: "Preoperative: High-risk (cardiac) surgery — exchange preferred over simple transfusion (simple Hb >9 g/dL adequate for low/moderate risk)", options: { bullet: true, fontSize: 10.5, color: TEXT_DARK } },
  ], { x: 4.97, y: 1.98, w: 4.6, h: 3.3, valign: "top", fontFace: "Calibri", lineSpacingMultiple: 1.2 });

  s.addText("Quick Compendium 5th ed. | Goldman-Cecil Medicine | Henry's | STOP & STOP II Trials (Adams et al.)", {
    x: 0.3, y: 5.38, w: 9.4, h: 0.2, fontSize: 8, color: "888888", italic: true
  });
}

// ══════════════════════════════════════════════════════════════════════════════
// SLIDE 9 – RCE vs SIMPLE TRANSFUSION
// ══════════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  lightSlide(s);
  sectionBanner(s, "Apheresis RCE vs Simple Transfusion — SCD Comparison");
  slideTitle(s, "Red Cell Exchange by Apheresis vs Simple Transfusion");

  // Table
  const headers = ["Feature", "RCE by Apheresis", "Simple Transfusion"];
  const rows = [
    ["HbS Reduction", "Greater, faster, precise", "Moderate"],
    ["Haematocrit Effect", "No rise — avoids hyperviscosity", "Rises — risk of hyperviscosity"],
    ["RBC Units Required", "Fewer units for same HbS%", "More units needed"],
    ["Iron Overload", "Lower contribution", "Higher accumulation"],
    ["STOP Trial", "Preferred for stroke prevention", "Equally effective low/mod surgery"],
    ["High-Risk Surgery", "Preferred (cardiac)", "Insufficient for high-risk"],
  ];

  const tW = [3.2, 3.2, 3.2];
  const tX = [0.25, 3.45, 6.65];
  const tY = 1.6;
  const rowH = 0.54;

  // Header
  headers.forEach((h, ci) => {
    s.addShape(pres.ShapeType.rect, { x: tX[ci], y: tY, w: tW[ci], h: 0.45, fill: { color: ci === 0 ? DARK_BG : (ci === 1 ? ACCENT2 : ACCENT3) } });
    s.addText(h, { x: tX[ci] + 0.08, y: tY, w: tW[ci] - 0.12, h: 0.45, fontSize: 11.5, bold: true, color: WHITE, valign: "middle", align: "center" });
  });

  rows.forEach((row, ri) => {
    const yRow = tY + 0.45 + ri * rowH;
    const bg = ri % 2 === 0 ? WHITE : CARD_BG;
    row.forEach((cell, ci) => {
      s.addShape(pres.ShapeType.rect, { x: tX[ci], y: yRow, w: tW[ci], h: rowH, fill: { color: ci === 0 ? "E8EDF2" : bg }, line: { color: "D0D8E0", width: 0.5 } });
      s.addText(cell, { x: tX[ci] + 0.1, y: yRow, w: tW[ci] - 0.15, h: rowH, fontSize: 10.5, color: TEXT_DARK, valign: "middle", fontFace: "Calibri", bold: ci === 0 });
    });
  });

  s.addText("Goldman-Cecil Medicine | Henry's Clinical Diagnosis & Management by Laboratory Methods", {
    x: 0.3, y: 5.38, w: 9.4, h: 0.2, fontSize: 8, color: "888888", italic: true
  });
}

// ══════════════════════════════════════════════════════════════════════════════
// SLIDE 10 – OTHER INDICATIONS
// ══════════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  lightSlide(s);
  sectionBanner(s, "Indication 4 — Other Clinical Indications");
  slideTitle(s, "Beyond Bilirubin & SCD: Additional Indications");

  const cards = [
    { title: "Babesiosis (Severe)", body: "High parasitemia\nRemoves infected RBCs\nTreatment: Clindamycin\n+ Quinine + Exchange", color: ACCENT1 },
    { title: "Polycythaemia Neonatorum", body: "Venous Hct > 65%\nPartial exchange to\nreduce blood viscosity\nPrevents cerebral ischaemia", color: ACCENT2 },
    { title: "Hyperleukocytosis", body: "Acute leukaemia\nOnly if symptomatic\nleukostasis present\n(leukapheresis preferred)", color: ACCENT3 },
    { title: "Heavy Metal Poisoning", body: "Severe lead / toxic\nmetal exposure\nIf haemodialysis &\nchelation insufficient", color: MID_BG },
    { title: "Malaria (Severe)", body: "Hyperparasitaemia\nHistorically used\nNow less common\n(WHO guidance varies)", color: "7B68EE" },
    { title: "Renal Failure (Historical)", body: "Selected ESRD context\n(Brenner & Rector)\nLargely replaced by\nhaemodialysis", color: "2E86AB" },
  ];

  cards.forEach((c, i) => {
    const col = i % 3;
    const row = Math.floor(i / 3);
    const xPos = 0.25 + col * 3.22;
    const yPos = 1.55 + row * 1.85;
    s.addShape(pres.ShapeType.rect, { x: xPos, y: yPos, w: 3.05, h: 1.7, fill: { color: CARD_BG }, line: { color: "D0D8E0" } });
    s.addShape(pres.ShapeType.rect, { x: xPos, y: yPos, w: 3.05, h: 0.38, fill: { color: c.color } });
    s.addText(c.title, { x: xPos + 0.08, y: yPos + 0.03, w: 2.9, h: 0.33, fontSize: 10.5, bold: true, color: WHITE, valign: "middle", margin: 0 });
    s.addText(c.body, { x: xPos + 0.1, y: yPos + 0.43, w: 2.85, h: 1.2, fontSize: 10.5, color: TEXT_DARK, valign: "top", fontFace: "Calibri", lineSpacingMultiple: 1.25 });
  });

  s.addText("Medical Microbiology 9e | Harriet Lane | Roberts & Hedges' Emergency Procedures | Brenner & Rector's The Kidney", {
    x: 0.3, y: 5.38, w: 9.4, h: 0.2, fontSize: 8, color: "888888", italic: true
  });
}

// ══════════════════════════════════════════════════════════════════════════════
// SLIDE 11 – ASPEN SYNDROME
// ══════════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  s.background = { color: "0A1628" };

  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 0.55, fill: { color: ACCENT1 } });
  s.addText("HIGH-YIELD COMPLICATION — ASPEN SYNDROME", {
    x: 0.3, y: 0.03, w: 9.4, h: 0.5, fontSize: 11, bold: true, color: WHITE, charSpacing: 2, valign: "middle", margin: 0
  });

  // Acronym
  const letters = [
    { l: "A", txt: "Association of" },
    { l: "S", txt: "Sickle cell disease" },
    { l: "P", txt: "Priapism" },
    { l: "E", txt: "Exchange transfusion" },
    { l: "N", txt: "Neurologic events" },
  ];
  letters.forEach((lt, i) => {
    const xPos = 0.3 + i * 1.9;
    s.addShape(pres.ShapeType.ellipse, { x: xPos, y: 0.65, w: 1.5, h: 1.5, fill: { color: ACCENT1 } });
    s.addText(lt.l, { x: xPos, y: 0.65, w: 1.5, h: 1.0, fontSize: 32, bold: true, color: WHITE, align: "center", valign: "middle" });
    s.addText(lt.txt, { x: xPos - 0.1, y: 1.55, w: 1.7, h: 0.55, fontSize: 9.5, color: ACCENT2, align: "center", valign: "middle" });
  });

  // Details
  infoCard(s, 0.3, 2.38, 4.4, 2.05, "Timing & Presentation",
    "Onset: within 11 days of exchange Tx\nHeadache  •  Seizures\nAltered mental status  •  Hemiparesis\nObtundation requiring ventilatory support",
    ACCENT1, "0F2035");
  infoCard(s, 4.9, 2.38, 4.8, 2.05, "Pathophysiology & Management",
    "Abrupt ↑ haematocrit → ↓ cerebral blood flow\nVasoactive substances from penile detumescence\nAggressive treatment → complete recovery\nMonitor closely during/after RCE for priapism",
    ACCENT2, "0F2035");

  s.addText("Quick Compendium of Clinical Pathology, 5th ed. | Henry's Clinical Diagnosis & Management", {
    x: 0.3, y: 5.37, w: 9.4, h: 0.22, fontSize: 8.5, color: "5A7090", italic: true
  });
}

// ══════════════════════════════════════════════════════════════════════════════
// SLIDE 12 – COMPLICATIONS
// ══════════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  lightSlide(s);
  sectionBanner(s, "Complications of Exchange Transfusion");
  slideTitle(s, "Procedural & Transfusion-Related Complications");

  infoCard(s, 0.3, 1.55, 4.5, 3.75, "Procedure-Related Complications",
    "• Emboli & thromboses (catheter-related)\n• Haemodynamic instability\n• Hypocalcaemia (citrate chelates Ca²⁺)\n• Coagulopathy (dilutional)\n• Infection (catheter sepsis)\n• Hypothermia (cold blood products)\n  → Use high-flow warming devices\n• Death (rare)\n\n⚠ Calcium supplementation needed when\ntransfusion rate > 100 mL/min",
    ACCENT1, CARD_BG);

  infoCard(s, 5.05, 1.55, 4.65, 3.75, "Transfusion-Related Complications",
    "• TA-GVHD — prevented by IRRADIATION\n  (>90% mortality if it occurs)\n\n• Alloimmunisation in SCD:\n  Overall rate: 19–47% (no matching)\n  Most common: anti-K, C, E, Fyᵃ, Jkᵇ\n  With Cc/D/Ee/Kell matching:\n  → Rate ↓ from 3% to 0.5%/unit\n\n• Delayed haemolytic Tx reaction\n• CMV transmission (use CMV-safe products)\n• Metabolic alkalosis post-transfusion\n  (citrate metabolism)",
    MID_BG, CARD_BG);

  s.addText("The Harriet Lane Handbook, 23rd ed. | Quick Compendium, 5th ed. | Henry's", {
    x: 0.3, y: 5.38, w: 9.4, h: 0.2, fontSize: 8, color: "888888", italic: true
  });
}

// ══════════════════════════════════════════════════════════════════════════════
// SLIDE 13 – ALLOIMMUNISATION
// ══════════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  lightSlide(s);
  sectionBanner(s, "Pathology Deep Dive — Alloimmunisation");
  slideTitle(s, "Alloimmunisation in Multiply Transfused SCD Patients");

  // Big stat boxes
  const stats = [
    { val: "19–47%", label: "Overall alloimmunisation\nrate WITHOUT\nphenotype matching", color: ACCENT1 },
    { val: "3%", label: "Per unit transfused\nrate before extended\nmatching", color: ACCENT3 },
    { val: "0.5%", label: "Per unit transfused\nrate WITH Cc/D/Ee/\nKell matching", color: ACCENT2 },
  ];
  stats.forEach((st, i) => {
    const xPos = 0.3 + i * 3.2;
    s.addShape(pres.ShapeType.rect, { x: xPos, y: 1.52, w: 3.0, h: 1.4, fill: { color: st.color } });
    s.addText(st.val, { x: xPos, y: 1.52, w: 3.0, h: 0.78, fontSize: 30, bold: true, color: WHITE, align: "center", valign: "middle" });
    s.addText(st.label, { x: xPos, y: 2.3, w: 3.0, h: 0.62, fontSize: 10.5, color: WHITE, align: "center", valign: "top", fontFace: "Calibri" });
  });

  // Common antibodies
  s.addShape(pres.ShapeType.rect, { x: 0.3, y: 3.1, w: 9.4, h: 2.15, fill: { color: CARD_BG }, line: { color: "D0D8E0" } });
  s.addShape(pres.ShapeType.rect, { x: 0.3, y: 3.1, w: 9.4, h: 0.38, fill: { color: MID_BG } });
  s.addText("Most Common Alloantibodies Formed in SCD", { x: 0.42, y: 3.12, w: 9.1, h: 0.34, fontSize: 11, bold: true, color: WHITE, valign: "middle", margin: 0 });

  const abs = ["Anti-K (Kell)", "Anti-C", "Anti-E", "Anti-Fyᵃ (Duffy a)", "Anti-Jkᵇ (Kidd b)"];
  abs.forEach((ab, i) => {
    const xPos = 0.5 + i * 1.84;
    s.addShape(pres.ShapeType.rect, { x: xPos, y: 3.6, w: 1.65, h: 0.7, fill: { color: i % 2 === 0 ? ACCENT1 : ACCENT2 } });
    s.addText(ab, { x: xPos, y: 3.6, w: 1.65, h: 0.7, fontSize: 10.5, bold: true, color: WHITE, align: "center", valign: "middle" });
  });

  s.addText("Clinical implications: Future crossmatch difficulties · Delayed haemolytic Tx reactions · HDFN in subsequent pregnancies", {
    x: 0.42, y: 4.42, w: 9.1, h: 0.75, fontSize: 11, color: TEXT_DARK, valign: "middle", fontFace: "Calibri", italic: true
  });

  s.addText("Quick Compendium of Clinical Pathology, 5th ed.", {
    x: 0.3, y: 5.38, w: 9.4, h: 0.2, fontSize: 8, color: "888888", italic: true
  });
}

// ══════════════════════════════════════════════════════════════════════════════
// SLIDE 14 – EVIDENCE BASE (STOP TRIALS + PUBMED)
// ══════════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  lightSlide(s);
  sectionBanner(s, "Evidence Base — Clinical Trials & Recent Literature");
  slideTitle(s, "Key Evidence: STOP Trials & Current Guidelines");

  // STOP Trial
  s.addShape(pres.ShapeType.rect, { x: 0.3, y: 1.52, w: 9.4, h: 2.05, fill: { color: CARD_BG }, line: { color: "D0D8E0" } });
  s.addShape(pres.ShapeType.rect, { x: 0.3, y: 1.52, w: 9.4, h: 0.4, fill: { color: ACCENT1 } });
  s.addText("STOP & STOP II Trials (Adams et al., 1998 / 2005) — Chronic Transfusion for Stroke Prevention in SCD", {
    x: 0.42, y: 1.54, w: 9.1, h: 0.36, fontSize: 11, bold: true, color: WHITE, valign: "middle", margin: 0
  });
  s.addText([
    { text: "STOP: ", options: { bold: true, fontSize: 11.5, color: ACCENT1 } },
    { text: "130 high-risk children (abnormal TCD) → standard care vs chronic RBC transfusion. ", options: { fontSize: 11, color: TEXT_DARK } },
    { text: "11 strokes in control vs 1 in transfusion group", options: { bold: true, fontSize: 11, color: ACCENT1 } },
    { text: ". Trial halted early.  ", options: { fontSize: 11, color: TEXT_DARK } },
    { text: "STOP II: ", options: { bold: true, fontSize: 11.5, color: MID_BG } },
    { text: "Stopping transfusion → 14 reverted to high-risk TCD + 2 strokes. Mean time to event: 4.6 months. Trial halted early.", options: { fontSize: 11, color: TEXT_DARK } },
  ], { x: 0.42, y: 1.96, w: 9.1, h: 1.52, valign: "top", fontFace: "Calibri", lineSpacingMultiple: 1.25 });

  // Recent PubMed
  const refs = [
    { pmid: "36469119", title: "De Winter et al. 2023 (Eur J Pediatr)", body: "History & current standard of postnatal management in HDFN. Reviews ET vs IVIG outcomes — exchange still gold standard for severe cases." },
    { pmid: "39259272", title: "Chastain et al. 2024 (JAAPA)", body: "Updated guideline on neonatal hyperbilirubinemia management — phototherapy thresholds and escalation criteria to exchange transfusion." },
    { pmid: "40619190", title: "Wickremasinghe & Kuzniewicz 2025 (Pediatr Clin N Am)", body: "Latest 2025 evidence on neonatal hyperbilirubinemia — exchange threshold updates, risk stratification, clinical decision tools." },
  ];
  refs.forEach((r, i) => {
    const yPos = 3.72 + i * 0.57;
    s.addShape(pres.ShapeType.rect, { x: 0.3, y: yPos, w: 9.4, h: 0.52, fill: { color: i % 2 === 0 ? WHITE : CARD_BG }, line: { color: "D0D8E0", width: 0.5 } });
    s.addShape(pres.ShapeType.rect, { x: 0.3, y: yPos, w: 1.1, h: 0.52, fill: { color: ACCENT2 } });
    s.addText("PMID\n" + r.pmid, { x: 0.3, y: yPos, w: 1.1, h: 0.52, fontSize: 8, bold: true, color: WHITE, align: "center", valign: "middle" });
    s.addText(r.title + ": " + r.body, { x: 1.48, y: yPos + 0.05, w: 8.1, h: 0.42, fontSize: 10, color: TEXT_DARK, valign: "middle", fontFace: "Calibri" });
  });
}

// ══════════════════════════════════════════════════════════════════════════════
// SLIDE 15 – SUMMARY TABLE
// ══════════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  lightSlide(s);
  sectionBanner(s, "Summary");
  slideTitle(s, "Exchange Transfusion: Quick Reference Summary");

  const headers = ["Indication", "Pathological Basis", "Key Threshold / Goal"];
  const rows = [
    ["Neonatal Hyperbilirubinaemia", "Unconjugated bilirubin neurotoxicity → kernicterus", "TSB >25 mg/dL; immediate if encephalopathy signs"],
    ["HDFN", "Maternal IgG-mediated RBC haemolysis", "Positive DAT + rising bilirubin + anaemia"],
    ["SCD — Stroke", "HbS vaso-occlusion → cerebral infarction", "Urgent exchange; target HbS <30%"],
    ["SCD — Acute Chest Syndrome", "Pulmonary sickling + infection → hypoxia", "Worsening hypoxia on Rx; RCE preferred"],
    ["SCD — Priapism (fulminant)", "Penile vaso-occlusion (>6 hrs)", "Failed medical Rx; monitor for ASPEN"],
    ["Babesiosis (severe)", "High parasitaemia — infected RBCs", "Clindamycin + quinine + exchange"],
    ["Polycythaemia neonatorum", "Hyperviscosity → end-organ ischaemia", "Venous Hct >65%"],
  ];

  const colW = [3.0, 3.5, 3.1];
  const colX = [0.25, 3.25, 6.75];
  const rH = 0.52;
  const tY = 1.65;

  headers.forEach((h, ci) => {
    s.addShape(pres.ShapeType.rect, { x: colX[ci], y: tY, w: colW[ci], h: 0.44, fill: { color: DARK_BG } });
    s.addText(h, { x: colX[ci] + 0.08, y: tY, w: colW[ci] - 0.1, h: 0.44, fontSize: 11, bold: true, color: WHITE, valign: "middle", align: "center" });
  });
  rows.forEach((row, ri) => {
    const yRow = tY + 0.44 + ri * rH;
    const bg = ri % 2 === 0 ? WHITE : CARD_BG;
    const leftAccent = [ACCENT1, ACCENT2, MID_BG, ACCENT3, ACCENT1, "7B68EE", ACCENT2][ri];
    row.forEach((cell, ci) => {
      s.addShape(pres.ShapeType.rect, { x: colX[ci], y: yRow, w: colW[ci], h: rH, fill: { color: bg }, line: { color: "D0D8E0", width: 0.5 } });
      if (ci === 0) {
        s.addShape(pres.ShapeType.rect, { x: colX[ci], y: yRow, w: 0.18, h: rH, fill: { color: leftAccent } });
      }
      s.addText(cell, { x: colX[ci] + (ci === 0 ? 0.25 : 0.1), y: yRow, w: colW[ci] - (ci === 0 ? 0.3 : 0.15), h: rH, fontSize: 10, color: TEXT_DARK, valign: "middle", fontFace: "Calibri", bold: ci === 0 });
    });
  });

  s.addText("Sources: Quick Compendium 5th ed. · Henry's Clinical Diagnosis · Harriet Lane 23rd ed. · Goldman-Cecil · Harrison's 22E · Harriet Lane", {
    x: 0.3, y: 5.36, w: 9.4, h: 0.24, fontSize: 8.5, color: "888888", italic: true
  });
}

// ══════════════════════════════════════════════════════════════════════════════
// SLIDE 16 – REFERENCES & CLOSE
// ══════════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  darkSlide(s);
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 0.55, fill: { color: ACCENT1 } });
  s.addText("REFERENCES", { x: 0.3, y: 0.03, w: 9.4, h: 0.5, fontSize: 11, bold: true, color: WHITE, charSpacing: 3, valign: "middle", margin: 0 });

  s.addText("Textbooks", { x: 0.4, y: 0.65, w: 9.0, h: 0.4, fontSize: 14, bold: true, color: ACCENT2, valign: "middle" });

  const refs = [
    "Quick Compendium of Clinical Pathology, 5th ed. — Sections 2.3.1.2–2.3.1.3, 2.5.1.1",
    "Henry's Clinical Diagnosis and Management by Laboratory Methods — Neonatal Transfusion & RCE in SCD",
    "The Harriet Lane Handbook, 23rd ed. (Johns Hopkins Hospital) — Chapter 18",
    "Goldman-Cecil Medicine International Edition — SCD Management of Surgery & Stroke",
    "Harrison's Principles of Internal Medicine, 22nd ed. (2025) — Bilirubin Metabolism",
    "Medical Microbiology, 9th ed. — Babesiosis treatment",
    "Roberts & Hedges' Clinical Procedures in Emergency Medicine — Heavy Metal Poisoning",
    "Bradley & Daroff's Neurology in Clinical Practice — Kernicterus & BIND",
  ];
  refs.forEach((r, i) => {
    s.addText("• " + r, {
      x: 0.45, y: 1.1 + i * 0.36, w: 9.1, h: 0.36,
      fontSize: 10.5, color: TEXT_LIGHT, valign: "middle", fontFace: "Calibri"
    });
  });

  s.addText("Journal Articles", { x: 0.4, y: 4.03, w: 9.0, h: 0.35, fontSize: 13, bold: true, color: ACCENT2 });
  const jRefs = [
    "De Winter DP et al. Eur J Pediatr. 2023 Feb. PMID: 36469119",
    "Chastain AP et al. JAAPA. 2024 Oct. PMID: 39259272",
    "Wickremasinghe AC & Kuzniewicz MW. Pediatr Clin N Am. 2025 Aug. PMID: 40619190",
    "Adams RJ et al. STOP Trial. N Engl J Med. 1998 | Adams & Brambilla. STOP II. 2005",
  ];
  jRefs.forEach((r, i) => {
    s.addText("• " + r, {
      x: 0.45, y: 4.42 + i * 0.3, w: 9.1, h: 0.28,
      fontSize: 10, color: ACCENT2, valign: "middle", fontFace: "Calibri"
    });
  });
}

// ─── WRITE FILE ───────────────────────────────────────────────────────────────
pres.writeFile({ fileName: "/home/daytona/workspace/exchange-transfusion-ppt/Exchange_Transfusion_Pathology.pptx" })
  .then(() => console.log("SUCCESS: PPTX written"))
  .catch(err => { console.error("ERROR:", err); process.exit(1); });
Running Command

cd /home/daytona/workspace/exchange-transfusion-ppt && node build.js 2>&1

Running Command

ls -lh /home/daytona/workspace/exchange-transfusion-ppt/

Your presentation is ready - 396 KB, 16 slides.

Exchange Transfusion Pathology

Presentation · PPTX


Here's what's inside all 16 slides:
SlideContent
1Title slide - navy/red design with "ET" icon
2Definition & Principles - Manual vs RCE apheresis cards
3Core Pathological Mechanisms - 3 numbered pillars (bilirubin, sickling, immune haemolysis)
4Neonatal Hyperbilirubinaemia - thresholds + mandatory pre-exchange labs table
5HDFN - pathophysiology flow, antibodies card, DAT patterns, IVIG adjunct
6Blood Product Selection - 6-item checklist cards with TA-GVHD warning
7Procedure Technique - 4-step visual (UAC/UVC, volumes, rates, outcomes)
8SCD Emergency Indications - SRSA-AP mnemonic + elective/chronic targets
9RCE vs Simple Transfusion - formatted comparison table with STOP trial data
10Other Indications - Babesiosis, polycythaemia, hyperleukocytosis, heavy metals
11ASPEN Syndrome - dark feature slide with acronym breakdown + pathophysiology
12Complications - procedural vs transfusion-related (two-column layout)
13Alloimmunisation - 3 big stat boxes (19-47% → 0.5%) + antibody panel
14Evidence Base - STOP/STOP II + 3 recent PubMed refs (2023-2025)
15Summary Table - all 7 indications with pathological basis + thresholds
16References - textbooks + journal articles (dark closing slide)
Design palette: Deep navy (#0D1B2A) dominant, vivid red (#E63946) accents, teal (#2EC4B6) highlights, amber (#F4A261) warnings - chosen specifically to feel clinical and authoritative without looking generic.

Tell me all the indications for exchange transfusion

Reading File
Finding Sources
Finding Sources
Searching PubMed

"exchange transfusion" indications

Reading File
Finding Sources
Finding Sources
Reading File
Reading File
Finding Sources
I now have comprehensive data from multiple authoritative sources. Here is the complete, well-organized answer:

Indications for Exchange Transfusion

Exchange transfusion is indicated when a pathological substance in the blood (bilirubin, sickled cells, parasites, toxins, antibodies) needs to be rapidly removed while simultaneously restoring normal blood composition. The indications span neonatal, haematological, infectious, and toxicological domains.

A. Neonatal Indications

1. Neonatal Hyperbilirubinaemia (most common overall indication)

  • Exchange is indicated when total serum bilirubin (TSB) >25 mg/dL in term/near-term neonates (≥35 weeks gestation)
  • Classic threshold: serum bilirubin >20 mg/dL (Lee's Essential Otolaryngology)
  • Immediate exchange is indicated regardless of absolute bilirubin level if signs of acute bilirubin encephalopathy (BIND) are present:
    • Hypertonia, arching, retrocollis, opisthotonos
    • Fever, high-pitched cry, seizures
    • Altered mental status
  • Also indicated if TSB is ≥5 mg/dL above the exchange line on the Bhutani nomogram
  • Risk factors that lower the threshold: isoimmune haemolytic disease, G6PD deficiency, asphyxia, significant lethargy, temperature instability, sepsis, acidosis
  • Henry's Clinical Diagnosis & Management | Harriet Lane Handbook 23rd ed.

2. Haemolytic Disease of the Fetus and Newborn (HDFN)

  • Maternal alloantibodies (anti-D, anti-K, anti-c, anti-E, anti-Fy^a, anti-Jk^b) cross placenta, coat fetal RBCs, cause haemolysis
  • Exchange indicated in infants who did NOT receive intrauterine transfusion (IUT) with rising bilirubin + anaemia + positive DAT
  • Two-blood-volume exchange reduces fetal red cell mass by ~70%
  • IVIG (0.5-1 g/kg) may be tried first in isoimmune haemolytic disease but exchange is the definitive treatment for severe cases
  • Quick Compendium of Clinical Pathology 5th ed. | Henry's | Tintinalli's

3. Crigler-Najjar Syndrome Type 1 (Neonatal Period)

  • Congenital absence of UGT1A1 → severe unconjugated hyperbilirubinaemia from birth
  • Exchange transfusion used as a bridge in the neonatal period alongside phototherapy (~12 hours/day)
  • Definitive treatment is liver transplantation
  • Goldman-Cecil Medicine

4. Polycythaemia-Hyperviscosity Syndrome of the Newborn

  • Venous haematocrit >65% in a neonate
  • Partial exchange transfusion with normal saline or albumin to dilute and reduce viscosity
  • Untreated: risk of end-organ ischaemia (NEC, renal, cerebral)
  • Harriet Lane Handbook 23rd ed.

5. Neonatal Sepsis (Controversial / Evidence-Emerging)

  • Used in resource-limited settings for refractory neonatal sepsis
  • Meta-analysis (Mathias et al., Eur J Pediatr 2022 - PMID 34351474): mortality benefit uncertain; evidence base remains weak
  • Not a standard indication in high-resource settings

B. Sickle Cell Disease (SCD)

Emergency Indications ("SRSA-AP" mnemonic)

IndicationNotes
Stroke (ischaemic)Most common; urgent exchange to achieve HbS <30%; STOP trial showed 11 strokes in controls vs 1 in transfusion arm
Retinal artery occlusionSickling of retinal vessels
Splenic sequestration crisisAcute pooling of blood in spleen; life-threatening anaemia
Acute chest syndrome (ACS)Multifactorial (infection + sickling); occurs in 20-50% of SCD; mortality 2-14%; exchange removes HbS cells, improves oxygenation
Aplastic crisisParvovirus B19-mediated; profound anaemia
Priapism (fulminant, >6 hours)After failed medical therapy; monitor post-exchange for ASPEN syndrome

Elective/Pre-operative Indications

  • Abnormal transcranial Doppler (high-risk children) - chronic transfusion for primary stroke prevention
  • High-risk surgery (e.g. cardiac) - exchange preferred over simple transfusion (simple transfusion adequate for low/moderate-risk surgery)
  • Progressive renal or cardiopulmonary disease
  • Complicated pregnancy (target HbS <50% in adults, <30% in children)
  • Quick Compendium 5th ed. | Goldman-Cecil Medicine | Henry's

C. Infectious/Parasitic Indications

6. Severe Babesiosis

  • Babesia species cause malaria-like haemolytic illness transmitted by deer tick
  • Exchange indicated in severe disease: high parasitaemia, haemolysis, organ dysfunction
  • Drugs: atovaquone + azithromycin, or clindamycin + quinine; exchange transfusion added in severe cases
  • ASFA guidelines support exchange for severe babesiosis
  • Recent review: Vannier et al. 2025 (PMID 40596759)
  • Medical Microbiology 9e | Fishman's Pulmonary Diseases | Sleisenger & Fordtran's GI

7. Severe Malaria (Hyperparasitaemia)

  • Historical indication: removal of parasitised RBCs when parasitaemia >10%
  • Important update: The CDC no longer recommends exchange transfusion for severe malaria because clinical benefit has not been established in controlled studies
  • Still listed in ASFA guidelines as a consideration; practice varies by centre
  • Murray & Nadel's Respiratory Medicine | Tietz Textbook of Laboratory Medicine

D. Toxicological / Poisoning Indications

8. Severe Methaemoglobinaemia (Methhaemoglobinaemia)

  • When methylene blue fails (e.g. G6PD deficiency - methylene blue is ineffective) OR when metHb level is very high with severe symptoms
  • Exchange removes metHb-containing RBCs and replaces with normal haemoglobin
  • Rosen's Emergency Medicine

9. Sulphaemoglobinaemia

  • Sulphaemoglobinaemia is irreversible for the life of the erythrocyte; no antidote exists
  • Exchange transfusion of RBCs is the only intervention to remove sulphaemoglobin-containing cells
  • Supportive care + removal of causative agent are primary; exchange if severe
  • Rosen's Emergency Medicine

10. Heavy Metal / Drug Poisoning (selected cases)

  • When haemodialysis, chelation therapy, or peritoneal dialysis are insufficient
  • Examples: severe lead poisoning, paraquat, selected drug overdoses with high volume of distribution
  • Roberts & Hedges' Clinical Procedures in Emergency Medicine | Comprehensive Clinical Nephrology

E. Other Haematological / Miscellaneous Indications

11. Thrombotic Thrombocytopaenic Purpura (TTP) - Plasma Exchange

  • Technically plasma exchange (plasmapheresis), not whole-blood exchange, but exchange transfusion with plasma has been described in TTP occurring in association with sickle cell disease complications
  • Tintinalli's Emergency Medicine

12. Hyperleukocytosis (Leukaemia)

  • Leukapheresis or exchange transfusion only if symptomatic leukostasis (altered consciousness, respiratory failure)
  • Any benefit is short-term; not a definitive treatment
  • Harriet Lane Handbook 23rd ed.

Summary Table

CategoryIndicationPrimary Goal
NeonatalHyperbilirubinaemiaRemove bilirubin, prevent kernicterus
NeonatalHDFNRemove antibody-coated RBCs + bilirubin
NeonatalCrigler-Najjar Type 1Temporary bilirubin control
NeonatalPolycythaemia >65% HctReduce viscosity
NeonatalSepsis (resource-limited)Debated; remove inflammatory mediators
SCDStroke, ACS, Sequestration, Retinal artery occlusion, Aplastic crisis, PriapismReduce HbS%, restore oxygenation
SCDPre-op (high-risk), Chronic Doppler abnormalityStroke prevention
InfectionSevere babesiosisRemove parasitised RBCs
InfectionSevere malaria (now NOT recommended by CDC)Historically: remove parasitised RBCs
ToxicologyMethhaemoglobinaemia (methylene blue failure)Replace dysfunctional RBCs
ToxicologySulphaemoglobinaemiaRemove irreversibly altered RBCs
ToxicologyHeavy metal/drug poisoningRemove toxin-loaded blood
HaematologyHyperleukocytosis (symptomatic)Reduce WBC burden short-term

Key point: In current practice the most common and well-established indications are neonatal hyperbilirubinaemia, HDFN, and sickle cell disease complications. Malaria is now a withdrawn CDC recommendation. Methhaemoglobinaemia, babesiosis, sulphaemoglobinaemia, and polycythaemia round out the less frequent but textbook-cited indications.

i want to make a ppt on platelet aphresis in pathology with integration of medine tell me the pointers and make a powerpoint presentation

Finding Sources
Finding Sources
Searching PubMed

"platelet apheresis" OR "plateletpheresis" transfusion

Reading File
Finding Sources
Finding Sources
Searching PubMed

apheresis platelet donation single donor thrombocytapheresis

Reading File
Reading File
Finding Sources
Finding Sources
Searching PubMed

platelet transfusion refractoriness HLA alloimmunization apheresis

Reading File
Reading File
Running Command

mkdir -p /home/daytona/workspace/platelet-apheresis-ppt && echo "ready"

Make it

Running Command

mkdir -p /home/daytona/workspace/platelet-apheresis-ppt && echo "ready"

Writing File

~/platelet-apheresis-ppt/build.js

const pptxgen = require("pptxgenjs");

const pres = new pptxgen();
pres.layout = "LAYOUT_16x9";
pres.author = "Orris Medical";
pres.title = "Platelet Apheresis: Pathological Basis and Clinical Integration";

// ─── PALETTE ──────────────────────────────────────────────────────────────────
const DARK_BG   = "0B1D35";   // deep navy
const MID_BG    = "1A3A5C";   // medium navy
const CARD_BG   = "F2F5F9";   // light card
const WHITE     = "FFFFFF";
const ACCENT1   = "C0392B";   // deep crimson – header bars
const ACCENT2   = "1ABC9C";   // teal – highlights
const ACCENT3   = "E67E22";   // amber – warnings
const ACCENT4   = "8E44AD";   // purple – special slides
const TEXT_DARK = "0B1D35";
const TEXT_MID  = "2C3E50";
const TEXT_LITE = "ECF0F1";

// ─── HELPERS ──────────────────────────────────────────────────────────────────
function darkSlide(s) { s.background = { color: DARK_BG }; }
function lightSlide(s) { s.background = { color: WHITE }; }

function topBanner(s, label) {
  s.addShape(pres.ShapeType.rect, { x:0, y:0, w:10, h:0.52, fill:{color:ACCENT1} });
  s.addText(label.toUpperCase(), {
    x:0.3, y:0.03, w:9.4, h:0.47, fontSize:9.5, bold:true,
    color:WHITE, charSpacing:3, valign:"middle", margin:0
  });
}

function sTitle(s, txt, dark=false) {
  s.addText(txt, {
    x:0.4, y:0.58, w:9.2, h:0.75, fontSize:22, bold:true,
    color: dark ? WHITE : TEXT_DARK, fontFace:"Calibri", valign:"middle"
  });
  s.addShape(pres.ShapeType.rect, { x:0.4, y:1.33, w:1.1, h:0.05, fill:{color:ACCENT1} });
}

function card(s, x, y, w, h, title, body, titleColor=ACCENT2, bodyFontSize=11) {
  s.addShape(pres.ShapeType.rect, { x, y, w, h, fill:{color:CARD_BG}, line:{color:"D0D8E0",width:0.75} });
  s.addShape(pres.ShapeType.rect, { x, y, w, h:0.37, fill:{color:titleColor} });
  s.addText(title, { x:x+0.1, y:y+0.03, w:w-0.18, h:0.32, fontSize:10.5, bold:true, color:WHITE, valign:"middle", margin:0 });
  s.addText(body, { x:x+0.12, y:y+0.42, w:w-0.22, h:h-0.5, fontSize:bodyFontSize, color:TEXT_DARK, valign:"top", fontFace:"Calibri", lineSpacingMultiple:1.22 });
}

function blist(s, items, opts={}) {
  const {x=0.4, y=1.5, w=9.2, h=3.8, fs=13, color=TEXT_DARK} = opts;
  const arr = items.map((it,i) => {
    const last = i===items.length-1;
    if (typeof it === "string") return { text:it, options:{bullet:{indent:14}, breakLine:!last, fontSize:fs, color} };
    return { text:it.t, options:{bullet:{indent:14+(it.sub?12:0)}, breakLine:!last, fontSize:it.fs||fs, bold:!!it.bold, color:it.c||color} };
  });
  s.addText(arr, { x, y, w, h, valign:"top", fontFace:"Calibri", lineSpacingMultiple:1.3 });
}

function refBar(s, txt) {
  s.addText(txt, { x:0.3, y:5.35, w:9.4, h:0.22, fontSize:8, color:"999999", italic:true });
}


// ══════════════════════════════════════════════════════════════════════════════
// SLIDE 1 — TITLE
// ══════════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  darkSlide(s);

  // left accent stripe
  s.addShape(pres.ShapeType.rect, { x:0, y:0, w:2.8, h:5.625, fill:{color:MID_BG} });
  s.addShape(pres.ShapeType.rect, { x:0, y:4.75, w:10, h:0.875, fill:{color:ACCENT1} });

  // icon circle
  s.addShape(pres.ShapeType.ellipse, { x:0.4, y:1.05, w:2.0, h:2.0, fill:{color:ACCENT1}, line:{color:WHITE,width:2} });
  s.addText("PA", { x:0.4, y:1.05, w:2.0, h:2.0, fontSize:36, bold:true, color:WHITE, align:"center", valign:"middle" });

  s.addText("PLATELET APHERESIS", {
    x:3.05, y:0.95, w:6.6, h:0.9, fontSize:28, bold:true,
    color:WHITE, fontFace:"Calibri", charSpacing:2
  });
  s.addText("Pathological Basis &\nClinical Integration", {
    x:3.05, y:1.9, w:6.6, h:1.1, fontSize:20,
    color:ACCENT2, fontFace:"Calibri"
  });
  s.addText("Blood Banking  ·  Transfusion Medicine  ·  Therapeutic Apheresis", {
    x:3.05, y:3.1, w:6.6, h:0.45, fontSize:11.5,
    color:"A0B8D0", fontFace:"Calibri"
  });
  s.addText("Two Roles: (1) Collection of platelets as a blood product  |  (2) Therapeutic removal of excess platelets", {
    x:3.05, y:3.65, w:6.6, h:0.55, fontSize:10.5,
    color:"7090AA", fontFace:"Calibri", italic:true
  });
  s.addText("Sources: Quick Compendium 5th ed. · Henry's · Goldman-Cecil · Tietz · Harriet Lane · Harrison's 22E", {
    x:0.2, y:4.8, w:9.6, h:0.52, fontSize:9, color:WHITE, align:"center", valign:"middle"
  });
}

// ══════════════════════════════════════════════════════════════════════════════
// SLIDE 2 — DEFINITION & OVERVIEW
// ══════════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  lightSlide(s);
  topBanner(s, "Definition & Overview");
  sTitle(s, "What is Platelet Apheresis?");

  // definition box
  s.addShape(pres.ShapeType.rect, { x:0.4, y:1.48, w:9.2, h:0.88, fill:{color:MID_BG} });
  s.addText("The use of automated apheresis technology to selectively separate and collect (or remove) platelets from a donor or patient, while returning remaining blood components.", {
    x:0.55, y:1.5, w:8.9, h:0.84, fontSize:12.5, color:WHITE, italic:true, valign:"middle", fontFace:"Calibri"
  });

  // two-role cards
  card(s, 0.4, 2.52, 4.45, 2.85, "Role 1 — Collection (Donation)",
    "Donor platelets collected by apheresis machine\nSingle-donor apheresis platelets (SDP)\nAlso called: plateletpheresis\nOne collection = equivalent of ~6 whole-blood-\nderived platelet units (≥3.0 × 10¹¹ platelets)\nUsed as a therapeutic blood product for\npatients with thrombocytopenia", ACCENT2, 11);

  card(s, 5.05, 2.52, 4.55, 2.85, "Role 2 — Therapeutic Removal",
    "Therapeutic thrombocytapheresis\nPatient's excess platelets removed\nIndicates: symptomatic thrombocytosis\n  (essential thrombocythaemia, CML,\n   polycythaemia vera, etc.)\nTemporary measure while cytoreductive\ntherapy takes effect (hours to days)", ACCENT1, 11);

  refBar(s, "Quick Compendium of Clinical Pathology 5th ed. | Henry's Clinical Diagnosis & Management | Goldman-Cecil Medicine");
}

// ══════════════════════════════════════════════════════════════════════════════
// SLIDE 3 — APHERESIS PLATELET PRODUCT: PREPARATION & SPECIFICATIONS
// ══════════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  lightSlide(s);
  topBanner(s, "Blood Product — Apheresis Platelets: Preparation & Specifications");
  sTitle(s, "Apheresis Platelet Product: What's Inside?");

  // vs table – apheresis vs whole blood derived
  const hdr = ["Parameter", "Apheresis Platelet (SDP)", "Whole-Blood Platelet Concentrate"];
  const rows = [
    ["Platelet content", "≥3.0 × 10¹¹ (min 90% of units)", "~0.55 × 10¹¹ per unit"],
    ["Equivalent dose", "= 1 therapeutic dose (alone)", "~5–6 units pooled needed"],
    ["Volume", "~100 mL (incl. plasma)", "~50 mL per unit"],
    ["Fibrinogen", "~150 mg", "~80 mg"],
    ["Leukocytes (LR)", "<5.0 × 10⁶ WBC", "<8.3 × 10⁵ WBC (LR)"],
    ["Donor exposures", "1 donor per dose", "5–6 donors per dose"],
    ["Shelf life", "5 days (closed system)", "5 days; 4 hrs after pooling"],
    ["pH requirement", "≥6.2 (≥90% units)", "≥6.2 (≥90% units)"],
  ];

  const cW = [3.2, 3.1, 3.3];
  const cX = [0.3, 3.5, 6.6];
  const tY = 1.5;

  hdr.forEach((h, ci) => {
    s.addShape(pres.ShapeType.rect, { x:cX[ci], y:tY, w:cW[ci], h:0.42, fill:{color: ci===0 ? DARK_BG : (ci===1 ? ACCENT2 : ACCENT3)} });
    s.addText(h, { x:cX[ci]+0.08, y:tY, w:cW[ci]-0.1, h:0.42, fontSize:10.5, bold:true, color:WHITE, valign:"middle", align:"center" });
  });
  rows.forEach((row, ri) => {
    const yR = tY + 0.42 + ri*0.49;
    const bg = ri%2===0 ? WHITE : CARD_BG;
    row.forEach((cell, ci) => {
      s.addShape(pres.ShapeType.rect, { x:cX[ci], y:yR, w:cW[ci], h:0.49, fill:{color: ci===0 ? "E8EEF4" : bg}, line:{color:"D0D8E0",width:0.5} });
      s.addText(cell, { x:cX[ci]+0.1, y:yR, w:cW[ci]-0.15, h:0.49, fontSize:10.5, color:TEXT_DARK, valign:"middle", fontFace:"Calibri", bold:ci===0 });
    });
  });

  refBar(s, "Quick Compendium of Clinical Pathology 5th ed. | Henry's Clinical Diagnosis & Management | Goldman-Cecil Medicine");
}

// ══════════════════════════════════════════════════════════════════════════════
// SLIDE 4 — DONOR SELECTION & COLLECTION PROCESS
// ══════════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  lightSlide(s);
  topBanner(s, "Donor Selection & Collection Process");
  sTitle(s, "Plateletapheresis Donor Criteria & Collection");

  card(s, 0.3, 1.5, 4.65, 2.55, "Donor Eligibility Criteria",
    "Same base requirements as whole-blood donation\nMinimum pre-donation platelet count: ≥150,000/μL\nDefer if aspirin/piroxicam within 2 days of donation\nClopidogrel / ticlopidine: defer 14 days after last dose\nThienopyridines assessed individually\n\"Medications causing irreversible platelet inhibition\"\nmust be evaluated before donation (AABB Standards)", ACCENT1, 11);

  card(s, 5.15, 1.5, 4.55, 2.55, "Donation Frequency Limits",
    "Maximum: twice per week\nMinimum interval: 2 days between procedures\nMaximum: 24 times per year\nMaximum: 2 apheresis procedures in 7 days\nTotal platelet loss cannot exceed:\n  24 × 10¹¹ platelets per 7-day period\nFDA + AABB Standards govern all limits", ACCENT2, 11);

  // process flow strip
  const steps = ["Donor venipuncture", "Blood enters apheresis machine", "Centrifugal separation", "Platelets collected in bag", "Remaining components returned to donor", "Product QC & labelling"];
  s.addShape(pres.ShapeType.rect, { x:0.3, y:4.22, w:9.4, h:1.25, fill:{color:CARD_BG}, line:{color:"D0D8E0"} });
  s.addText("Collection Process", { x:0.45, y:4.25, w:2.5, h:0.3, fontSize:10.5, bold:true, color:ACCENT1 });
  steps.forEach((st, i) => {
    const xP = 0.38 + i * 1.58;
    s.addShape(pres.ShapeType.rect, { x:xP, y:4.6, w:1.45, h:0.7, fill:{color: i%2===0 ? MID_BG : ACCENT2} });
    s.addText((i+1)+". "+st, { x:xP+0.05, y:4.6, w:1.35, h:0.7, fontSize:8.5, color:WHITE, align:"center", valign:"middle" });
    if (i<5) s.addText("→", { x:xP+1.45, y:4.72, w:0.13, h:0.46, fontSize:13, bold:true, color:ACCENT1, align:"center" });
  });

  refBar(s, "Henry's Clinical Diagnosis & Management | AABB Standards | FDA Guidance (2007)");
}

// ══════════════════════════════════════════════════════════════════════════════
// SLIDE 5 — PRODUCT VARIANTS & MODIFICATIONS
// ══════════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  lightSlide(s);
  topBanner(s, "Product Variants & Modifications");
  sTitle(s, "Types of Apheresis Platelet Products");

  const variants = [
    { title:"Standard Apheresis Platelet", body:"≥3.0 × 10¹¹ platelets\nVolume ~100 mL + plasma\nIncludes WBCs (<5×10⁶)\nStored 20–24°C with agitation\nShelf life: 5 days", color:ACCENT2 },
    { title:"Leukoreduced Apheresis Platelet", body:"Residual WBC <5 × 10⁶\nPrestorage leukoreduction preferred\n(better quality control)\nReduces HLA alloimmunisation\nReduces febrile reactions & CMV", color:ACCENT1 },
    { title:"Platelet Additive Solution (PAS) Added", body:"Replaces portion of donor plasma\nwith approved additive solution\nReduces plasma volume\nDecreases isohemagglutinin titres\nLower risk of allergic reactions\n& ABO-incompatible plasma reactions", color:ACCENT3 },
    { title:"Pathogen-Reduced Platelets", body:"Nucleic acid inactivation technology\nInactivates viruses, bacteria, parasites\nPrevents donor lymphocyte replication\n→ NO irradiation required (replaces it)\nDecreased TA-GVHD risk\nUsed preferentially in Europe", color:ACCENT4 },
    { title:"Irradiated Apheresis Platelets", body:"Gamma or X-ray irradiation\n25 Gy midplane dose (min 15 Gy)\nPrevents TA-GVHD in\nimmunocompromised recipients\nRequired for: BMT, haematologic\nmalignancy, neonates receiving IUT", color:MID_BG },
    { title:"Cold-Stored Platelets (Emerging)", body:"Stored at 1–6°C\nApproved in US (2020s)\nShelf life: up to 14 days\nShorter in-vivo lifespan (<24h)\nbut better haemostatic function\nUsed in trauma/massive bleeding", color:"2E86AB" },
  ];

  variants.forEach((v, i) => {
    const col = i%3; const row = Math.floor(i/3);
    const xP = 0.28 + col*3.22;
    const yP = 1.52 + row*1.9;
    s.addShape(pres.ShapeType.rect, { x:xP, y:yP, w:3.06, h:1.75, fill:{color:CARD_BG}, line:{color:"D0D8E0"} });
    s.addShape(pres.ShapeType.rect, { x:xP, y:yP, w:3.06, h:0.37, fill:{color:v.color} });
    s.addText(v.title, { x:xP+0.08, y:yP+0.03, w:2.9, h:0.32, fontSize:10, bold:true, color:WHITE, valign:"middle", margin:0 });
    s.addText(v.body, { x:xP+0.1, y:yP+0.42, w:2.86, h:1.25, fontSize:10, color:TEXT_DARK, valign:"top", fontFace:"Calibri", lineSpacingMultiple:1.2 });
  });

  refBar(s, "Quick Compendium 5th ed. | Henry's | Goldman-Cecil Medicine | Tietz Textbook of Laboratory Medicine 7th ed.");
}

// ══════════════════════════════════════════════════════════════════════════════
// SLIDE 6 — STORAGE, HANDLING & QUALITY CONTROL
// ══════════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  lightSlide(s);
  topBanner(s, "Storage, Handling & Quality Control");
  sTitle(s, "Storage Conditions, Expiry & QC Standards");

  card(s, 0.3, 1.5, 4.55, 3.9, "Storage & Handling",
    "Temperature: 20–24°C with CONTINUOUS gentle agitation\nWhy agitation? Prevents platelet aggregation, maintains pH\nTransport: agitation not required if <24 hours\nExpiry: 5 days from collection\n  (FDA allows up to 7 days with bacterial testing)\nIf system opened (pooled): expires in 4 hours\nBacterial contamination screening MANDATORY\n  (prevents septic transfusion reactions)\nDo NOT refrigerate (causes irreversible\n  platelet activation/shape change)", ACCENT1, 10.5);

  card(s, 5.05, 1.5, 4.55, 3.9, "Quality Control (QC) Standards",
    "Platelet count: ≥3.0 × 10¹¹ in ≥90% units (AABB)\n  FDA: ≥3.0 × 10¹¹ in ≥75% units\npH: ≥6.2 in ≥90% of units tested\n  (low pH = platelet swirling loss = dysfunction)\nLeukocyte count (if LR): <5 × 10⁶ WBC\nVolume: ~100 mL per unit\nSwirling test: visual quality indicator\n  (disc-shaped platelets reflect light → swirling)\nBacterial contamination: tested by culture\n  or rapid detection methods\nFibrinogen content: ~150 mg per unit", ACCENT2, 10.5);

  refBar(s, "Quick Compendium of Clinical Pathology 5th ed. | AABB Standards | Henry's | Goldman-Cecil Medicine");
}

// ══════════════════════════════════════════════════════════════════════════════
// SLIDE 7 — INDICATIONS FOR PLATELET TRANSFUSION (USING APHERESIS PLATELETS)
// ══════════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  lightSlide(s);
  topBanner(s, "Indications — Platelet Transfusion using Apheresis Platelets");
  sTitle(s, "When to Transfuse Apheresis Platelets? (Medicine Integration)");

  const cols = [
    {
      title:"Prophylactic (Non-Bleeding)", color:MID_BG,
      items:[
        "Threshold: <10,000/μL (general)",
        "  (no fever, sepsis, coagulopathy,",
        "  hypersplenism, bleeding risk lesions)",
        "Preoperative (non-neurosurgical):",
        "  target ≥50,000/μL",
        "Preoperative (neurosurgical):",
        "  target ≥100,000/μL",
        "Chemotherapy-induced thrombocytopenia",
        "Bone marrow failure states",
        "Aplastic anaemia",
      ]
    },
    {
      title:"Therapeutic (Active Bleeding)", color:ACCENT1,
      items:[
        "Platelet count <50,000/μL for",
        "  extracranial bleeds",
        "Platelet count <100,000/μL for",
        "  intracranial haemorrhage",
        "Massive transfusion protocols",
        "DIC with active haemorrhage",
        "Trauma (goal-directed therapy)",
        "Pre-procedure (e.g. lumbar puncture,",
        "  liver biopsy, central line insertion)",
      ]
    },
    {
      title:"Functional Platelet Defects", color:ACCENT2,
      items:[
        "Glanzmann thrombasthenia",
        "  (GPIIb/IIIa deficiency)",
        "Bernard-Soulier syndrome",
        "  (GPIb deficiency)",
        "Aspirin / NSAID ingestion",
        "  (irreversible COX inhibition)",
        "Uraemic platelet dysfunction",
        "  (try DDAVP / cryoprecipitate first)",
        "Storage pool disorders",
      ]
    },
  ];

  cols.forEach((col, ci) => {
    const xP = 0.28 + ci*3.22;
    s.addShape(pres.ShapeType.rect, { x:xP, y:1.5, w:3.06, h:3.9, fill:{color:CARD_BG}, line:{color:"D0D8E0"} });
    s.addShape(pres.ShapeType.rect, { x:xP, y:1.5, w:3.06, h:0.4, fill:{color:col.color} });
    s.addText(col.title, { x:xP+0.08, y:1.52, w:2.9, h:0.36, fontSize:10.5, bold:true, color:WHITE, valign:"middle", margin:0 });
    const arr = col.items.map((it,i) => ({
      text:it, options:{bullet:!it.startsWith("  "), breakLine:i<col.items.length-1, fontSize:10.5, color:TEXT_DARK, indent:it.startsWith("  ")?25:14}
    }));
    s.addText(arr, { x:xP+0.1, y:1.96, w:2.86, h:3.35, valign:"top", fontFace:"Calibri", lineSpacingMultiple:1.2 });
  });

  refBar(s, "Quick Compendium 5th ed. | Henry's | Tintinalli's Emergency Medicine | Washington Manual of Medical Therapeutics");
}

// ══════════════════════════════════════════════════════════════════════════════
// SLIDE 8 — CONTRAINDICATIONS & PLATELET REFRACTORINESS
// ══════════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  lightSlide(s);
  topBanner(s, "Contraindications & Platelet Refractoriness");
  sTitle(s, "When NOT to Transfuse & Platelet Refractoriness");

  card(s, 0.3, 1.5, 4.55, 1.75, "Contraindications to Platelet Transfusion",
    "ABSOLUTE:\n  • TTP (thrombotic thrombocytopaenic purpura)\n  • HIT (heparin-induced thrombocytopaenia)\n    → Platelet transfusion may be DELETERIOUS\n    → Worsens thrombotic complications\nRELATIVE: ITP (immune thrombocytopaenia)\n  → platelets destroyed rapidly", ACCENT1, 10.5);

  // Refractoriness - large section
  s.addShape(pres.ShapeType.rect, { x:0.3, y:3.38, w:4.55, h:2.05, fill:{color:CARD_BG}, line:{color:"D0D8E0"} });
  s.addShape(pres.ShapeType.rect, { x:0.3, y:3.38, w:4.55, h:0.37, fill:{color:MID_BG} });
  s.addText("Corrected Count Increment (CCI) — Refractoriness Assessment", { x:0.4, y:3.4, w:4.35, h:0.33, fontSize:9.5, bold:true, color:WHITE, valign:"middle", margin:0 });
  s.addText("CCI = (Post-Pre platelet count) × BSA (m²) ÷ No. platelets transfused (×10¹¹)\n\nNormal response: CCI >7500 at 1-hour\nRefractory: CCI <5000 on TWO occasions\n\nCauses of refractoriness:\n  Non-immune: fever, sepsis, splenomegaly, DIC, drugs\n  Immune: HLA alloimmunisation, HPA antibodies",
    { x:0.42, y:3.8, w:4.3, h:1.55, fontSize:10, color:TEXT_DARK, valign:"top", fontFace:"Calibri", lineSpacingMultiple:1.2 });

  card(s, 5.05, 1.5, 4.55, 3.93, "Managing Refractory Patients with Apheresis Platelets",
    "HLA-MATCHED apheresis platelets:\n  → Key intervention for immune refractoriness\n  → Match donor HLA class I (A, B) with recipient\n  → Most effective strategy\n\nCROSSMATCHED platelets:\n  → Platelet crossmatch to find compatible unit\n  → Useful when HLA-matched unavailable\n\nABO-COMPATIBLE platelets:\n  → ABO-compatible plasma in apheresis unit\n    reduces haemolytic reactions\n\nPlatelet antibody screen / HLA antibody testing:\n  → Identifies immune cause\n  → Guides matched product selection\n\nIVIG: may temporarily suppress antibody-\n  mediated destruction", ACCENT2, 10.5);

  refBar(s, "Quick Compendium 5th ed. | Henry's | Goldman-Cecil Medicine | Barash Clinical Anesthesia 9e | PMID 36535829");
}

// ══════════════════════════════════════════════════════════════════════════════
// SLIDE 9 — ADVANTAGES OF APHERESIS OVER POOLED PLATELETS
// ══════════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  lightSlide(s);
  topBanner(s, "Advantages of Apheresis Platelets over Pooled (Random Donor) Platelets");
  sTitle(s, "Why Apheresis Platelets? — Key Advantages");

  const advantages = [
    { num:"01", title:"Reduced Donor Exposure", body:"1 donor vs 5–6 donors per dose\n→ Decreases risk of transfusion-\ntransmitted infections (HIV, HCV, etc.)\n→ Delays HLA alloimmunisation", color:ACCENT1 },
    { num:"02", title:"Lower Alloimmunisation Risk", body:"Fewer HLA antigens encountered\nTRAP Study (1997): prestorage LR\napheresis platelets significantly\ndelayed HLA alloimmunisation\nvs. pooled non-LR products", color:ACCENT2 },
    { num:"03", title:"Reduced Febrile Reactions", body:"Prestorage leukoreduction\nremoves WBCs before cytokine\naccumulation during storage\n→ Fewer febrile non-haemolytic\ntransfusion reactions (FNHTRs)", color:ACCENT3 },
    { num:"04", title:"Decreased CMV Transmission", body:"Prestorage LR apheresis platelets\nare CMV risk-reduced\n(Bowden et al., 1995)\nEquivalent to seronegative products\nfor CMV-at-risk patients", color:ACCENT4 },
    { num:"05", title:"Less Septic Reactions", body:"Single donor collection =\nfewer bacterial contamination\nexposure opportunities\n(Ness et al., 2001)\nBacterial screening still required", color:MID_BG },
    { num:"06", title:"Inventory Advantage", body:"No pooling needed → maintains\nclosed system → full 5-day shelf life\nPrevents 4-hour expiry clock\nReduces product wastage\nSimplifies blood bank inventory\nmanagement", color:"2E86AB" },
  ];

  advantages.forEach((a, i) => {
    const col = i%3; const row = Math.floor(i/3);
    const xP = 0.28 + col*3.22;
    const yP = 1.52 + row*1.92;
    s.addShape(pres.ShapeType.rect, { x:xP, y:yP, w:3.06, h:1.77, fill:{color:CARD_BG}, line:{color:"D0D8E0"} });
    s.addShape(pres.ShapeType.ellipse, { x:xP+0.08, y:yP+0.08, w:0.72, h:0.72, fill:{color:a.color} });
    s.addText(a.num, { x:xP+0.08, y:yP+0.08, w:0.72, h:0.72, fontSize:16, bold:true, color:WHITE, align:"center", valign:"middle" });
    s.addText(a.title, { x:xP+0.9, y:yP+0.12, w:2.1, h:0.62, fontSize:11, bold:true, color:a.color, valign:"middle" });
    s.addText(a.body, { x:xP+0.1, y:yP+0.88, w:2.88, h:0.82, fontSize:9.5, color:TEXT_DARK, valign:"top", fontFace:"Calibri", lineSpacingMultiple:1.15 });
  });

  refBar(s, "Henry's Clinical Diagnosis & Management | TRAP Study (1997) | Sintnicolaas 1981 | Ness 2001 | Bowden 1995");
}

// ══════════════════════════════════════════════════════════════════════════════
// SLIDE 10 — THERAPEUTIC THROMBOCYTAPHERESIS (REMOVAL)
// ══════════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  lightSlide(s);
  topBanner(s, "Therapeutic Thrombocytapheresis — Platelet Removal");
  sTitle(s, "Therapeutic Thrombocytapheresis: Indications & Pathology");

  // Pathology box
  s.addShape(pres.ShapeType.rect, { x:0.3, y:1.5, w:9.4, h:0.82, fill:{color:MID_BG} });
  s.addText("Pathological Basis: Thrombocytosis", { x:0.45, y:1.52, w:3.5, h:0.3, fontSize:11, bold:true, color:ACCENT2 });
  s.addText([
    { text:"Primary thrombocytosis (ET, CML, PCV, agnogenic myeloid metaplasia): ", options:{bold:true, fontSize:11, color:ACCENT3} },
    { text:"Thromboembolic events in 56% vs 4% in reactive disease (Buss et al., 1994)  |  ", options:{fontSize:11, color:WHITE} },
    { text:"Platelet count >2,000,000 → paradoxical bleeding (acquired vWD)  |  JAK2 mutation → thrombosis risk", options:{bold:true, fontSize:11, color:ACCENT2} },
  ], { x:0.45, y:1.82, w:9.1, h:0.44, valign:"top", fontFace:"Calibri" });

  // Indications two cols
  card(s, 0.3, 2.48, 4.55, 2.28, "ASFA Indications for Thrombocytapheresis",
    "SYMPTOMATIC thrombocytosis:\n  ASFA Category II, Grade 2C recommendation\n  → Stroke, TIA, erythromelalgia, microvascular\n    occlusion, acute MI, priapism\n  → Active haemorrhage (platelet count >2M)\n\nPROPHYLACTIC (asymptomatic thrombocytosis):\n  ASFA Category III, Grade 2C\n  → Not routine; individualised decision", ACCENT1, 10.5);

  card(s, 5.05, 2.48, 4.55, 2.28, "Underlying Diseases Requiring Thrombocytapheresis",
    "Essential Thrombocythaemia (ET)\n  → JAK2 V617F mutation in ~50%\nPolycythaemia Vera (PV)\nChronic Myeloid Leukaemia (CML)\nAgnogenic Myeloid Metaplasia / MF\nReactive thrombocytosis:\n  → Rare indication (thromboembolic risk low)\n  → Only if symptoms present", ACCENT2, 10.5);

  // Important caveat bar
  s.addShape(pres.ShapeType.rect, { x:0.3, y:4.9, w:9.4, h:0.42, fill:{color:"FFF3E0"}, line:{color:ACCENT3} });
  s.addText("⚠ KEY LIMITATION: Effects of thrombocytapheresis are TEMPORARY (lasting only hours to days). Medical / cytoreductive therapy (hydroxyurea, anagrelide, interferon) MUST be instituted concurrently.", {
    x:0.42, y:4.91, w:9.1, h:0.4, fontSize:10, color:TEXT_DARK, valign:"middle", fontFace:"Calibri"
  });

  refBar(s, "Henry's Clinical Diagnosis & Management | ASFA Guidelines (Padmanabhan et al., 2019) | Quick Compendium 5th ed. | Buss et al. 1994");
}

// ══════════════════════════════════════════════════════════════════════════════
// SLIDE 11 — THROMBOCYTOSIS: PRIMARY vs SECONDARY (PATHOLOGY DEEP DIVE)
// ══════════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  lightSlide(s);
  topBanner(s, "Pathology Deep Dive — Thrombocytosis Classification");
  sTitle(s, "Primary vs Secondary Thrombocytosis: Clinical Relevance");

  // Stats highlight
  s.addShape(pres.ShapeType.rect, { x:0.3, y:1.5, w:9.4, h:0.68, fill:{color:CARD_BG}, line:{color:"D0D8E0"} });
  s.addText([
    { text:"Secondary (Reactive) thrombocytosis accounts for ", options:{fontSize:12, color:TEXT_DARK} },
    { text:">85%", options:{bold:true, fontSize:15, color:ACCENT1} },
    { text:" of all thrombocytosis cases. Thromboembolic risk in reactive = ", options:{fontSize:12, color:TEXT_DARK} },
    { text:"4%", options:{bold:true, fontSize:15, color:ACCENT2} },
    { text:" vs Essential (primary) = ", options:{fontSize:12, color:TEXT_DARK} },
    { text:"56%", options:{bold:true, fontSize:15, color:ACCENT1} },
    { text:"  (Buss et al., 1994)", options:{fontSize:11, color:"888888", italic:true} },
  ], { x:0.45, y:1.52, w:9.1, h:0.64, valign:"middle", fontFace:"Calibri" });

  // Two columns
  card(s, 0.3, 2.35, 4.55, 2.88, "Primary Thrombocytosis",
    "Essential Thrombocythaemia (ET)\n  → JAK2 V617F ~50%, CALR ~25%\nPolycythaemia Vera (PV)\nChronic Myeloid Leukaemia (CML)\nAgnogenic Myeloid Metaplasia / MF\n\nComplications:\n  • Arterial > venous thrombosis\n  • Erythromelalgia (microvascular)\n  • Cerebral sinus thrombosis\n  • Platelet count >2M → acquired vWD\n    → BLEEDING (not thrombosis!)\n\nTreatment: cytoreduction + aspirin\n  ± thrombocytapheresis (bridge)", ACCENT1, 10);

  card(s, 5.05, 2.35, 4.55, 2.88, "Secondary (Reactive) Thrombocytosis",
    "Causes:\n  • Splenectomy (most dramatic rise)\n  • Acute haemorrhage / iron deficiency\n  • Chronic inflammatory diseases\n  • Solid malignancies\n  • Rebound after myelosuppression\n  • Infections / post-operative\n\nRisk: Low thromboembolic risk unless\n  underlying malignancy or atherosclerosis\n\nManagement:\n  Treat underlying cause\n  Thrombocytapheresis: ONLY if symptomatic\n  (ASFA Category III for asymptomatic RT)", ACCENT2, 10);

  refBar(s, "Henry's Clinical Diagnosis & Management | Quick Compendium 5th ed. | ASFA Guidelines 2019 | Sulai & Tefferi 2012");
}

// ══════════════════════════════════════════════════════════════════════════════
// SLIDE 12 — LEUKOREDUCTION & HLA ALLOIMMUNISATION
// ══════════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  s.background = { color:"080F1C" };

  s.addShape(pres.ShapeType.rect, { x:0, y:0, w:10, h:0.52, fill:{color:ACCENT1} });
  s.addText("PATHOLOGY FOCUS — LEUKOREDUCTION & HLA ALLOIMMUNISATION", {
    x:0.3, y:0.03, w:9.4, h:0.47, fontSize:9.5, bold:true, color:WHITE, charSpacing:2, valign:"middle", margin:0
  });
  s.addText("Leukoreduction of Apheresis Platelets: Preventing HLA Alloimmunisation", {
    x:0.4, y:0.58, w:9.2, h:0.65, fontSize:21, bold:true, color:WHITE, fontFace:"Calibri", valign:"middle"
  });
  s.addShape(pres.ShapeType.rect, { x:0.4, y:1.22, w:1.0, h:0.05, fill:{color:ACCENT2} });

  // Mechanism card
  const mech = [
    {label:"Step 1", txt:"WBCs in non-LR platelets present HLA class I antigens to recipient T-cells", color:ACCENT1},
    {label:"Step 2", txt:"CD4+ T-cells activated → B-cell stimulation → anti-HLA class I antibody production", color:ACCENT3},
    {label:"Step 3", txt:"Anti-HLA antibodies bind transfused platelets → complement activation / phagocytosis → platelet destruction", color:ACCENT4},
    {label:"Result", txt:"PLATELET REFRACTORINESS — further transfusions fail to increment platelet count (CCI <5000)", color:ACCENT2},
  ];
  mech.forEach((m, i) => {
    const yP = 1.38 + i*0.86;
    s.addShape(pres.ShapeType.rect, { x:0.3, y:yP, w:1.4, h:0.72, fill:{color:m.color} });
    s.addText(m.label, { x:0.3, y:yP, w:1.4, h:0.72, fontSize:13, bold:true, color:WHITE, align:"center", valign:"middle" });
    s.addShape(pres.ShapeType.rect, { x:1.7, y:yP, w:5.5, h:0.72, fill:{color:"0F1E35"}, line:{color:"2A4070"} });
    s.addText(m.txt, { x:1.82, y:yP, w:5.3, h:0.72, fontSize:11, color:TEXT_LITE, valign:"middle", fontFace:"Calibri" });
  });

  // Prevention card
  s.addShape(pres.ShapeType.rect, { x:7.45, y:1.38, w:2.3, h:3.44, fill:{color:"0F2035"}, line:{color:"2A4070"} });
  s.addShape(pres.ShapeType.rect, { x:7.45, y:1.38, w:2.3, h:0.38, fill:{color:ACCENT2} });
  s.addText("Prevention", { x:7.52, y:1.4, w:2.15, h:0.34, fontSize:11, bold:true, color:WHITE, valign:"middle", margin:0 });
  s.addText("• Prestorage leukoreduction\n  (preferred)\n• Bedside LR less effective\n• TRAP Study (1997):\n  LR apheresis platelets\n  delayed alloimmunisation\n  vs. non-LR pooled\n• HLA-matched apheresis\n  platelets for refractory\n  patients", { x:7.55, y:1.82, w:2.1, h:2.88, fontSize:10, color:TEXT_LITE, valign:"top", fontFace:"Calibri", lineSpacingMultiple:1.22 });

  refBar(s, "Quick Compendium 5th ed. | Tietz 7th ed. | Henry's | TRAP Study Group 1997 | Tong et al. Transfus Apher Sci 2026 (PMID 41435793)");
}

// ══════════════════════════════════════════════════════════════════════════════
// SLIDE 13 — COMPLICATIONS OF PLATELET APHERESIS
// ══════════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  lightSlide(s);
  topBanner(s, "Complications");
  sTitle(s, "Complications of Platelet Apheresis (Donation & Transfusion)");

  card(s, 0.3, 1.5, 4.55, 3.85, "Donor/Collection Complications",
    "Citrate toxicity (most common):\n  → Citrate anticoagulant chelates Ca²⁺\n  → Symptoms: perioral tingling, tetany,\n    nausea, cardiac arrhythmia\n  → Managed with oral/IV calcium\nVasovagal reactions:\n  → Lightheadedness, syncope\nHaematoma at venipuncture site\nThrombocytopenia in donor:\n  → Transient post-donation platelet drop\n  → Minimum pre-donation count: 150K/μL\nHypotension / fluid shift\nAir embolism (rare, machine-related)\nRepeat donation fatigue:\n  → Max 24 donations/year to protect donor\nLinear platelet count decrease\n  with frequent donation (RBC loss also)", ACCENT1, 10.5);

  card(s, 5.05, 1.5, 4.55, 3.85, "Recipient/Transfusion Complications",
    "Septic transfusion reaction:\n  → Platelet bacterial contamination\n  → Most common fatal TTI\n  → Staphylococcus, Gram-negatives\nFebrile non-haemolytic reactions (FNHTR):\n  → Cytokines from stored WBCs\n  → Reduced by prestorage LR\nAllergic reactions:\n  → Plasma proteins in product\n  → Reduced by PAS (additive solution)\nTA-GVHD:\n  → Donor lymphocytes engraft\n  → >90% mortality; prevented by\n    irradiation or pathogen reduction\nABO incompatibility:\n  → From plasma in unit with high-titer\n    isohemagglutinins\nTRALI (uncommon with male-only donors)\nPlatelet refractoriness (alloimmune)\nRBC contamination reactions\n  (if unit visibly bloody → crossmatch first)", ACCENT2, 10);

  refBar(s, "Quick Compendium 5th ed. | Henry's | Goldman-Cecil Medicine | Tietz 7th ed.");
}

// ══════════════════════════════════════════════════════════════════════════════
// SLIDE 14 — ABO COMPATIBILITY & SPECIAL CONSIDERATIONS
// ══════════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  lightSlide(s);
  topBanner(s, "ABO Compatibility, Crossmatching & Special Populations");
  sTitle(s, "ABO, Crossmatching & Special Circumstances");

  card(s, 0.3, 1.5, 4.55, 2.15, "ABO Compatibility",
    "Platelets NOT routinely crossmatched\nException: unit contains >2 mL RBCs\n  (visibly bloody units)\nDesirable: plasma in unit compatible\n  with recipient's RBCs\nHigh-risk situations for ABO mismatch:\n  • Infants / small blood volumes\n  • Multiply transfused recipients\n  • Units with HIGH-TITER isohemagglutinins\n    (anti-A/B from Group O donors)", ACCENT1, 10.5);

  card(s, 5.05, 1.5, 4.55, 2.15, "Crossmatching Platelets",
    "NOT required unless >2 mL RBCs present\nPlatelet crossmatch used in:\n  → Refractory patients (immune cause)\n  → Finding HPA/HLA compatible unit\n  → When HLA-matched unavailable\nMethods: solid-phase, flow cytometry\nRecent study: combination of platelet\n  antibody screen + HLA testing most\n  effective (Chapman et al. 2023\n  PMID 36535829)", ACCENT2, 10.5);

  card(s, 0.3, 3.82, 4.55, 1.58, "Special Populations",
    "Neonates: 10–15 mL/kg or 1 unit/10 kg\n  → Irradiated + CMV-safe units required\n  → LR units preferred\nPregnancy-related thrombocytopenia:\n  → Avoid if platelet consumption (preeclampsia)\n  → Platelet transfusion <20–30K to facilitate delivery\nImmunocompromised (BMT, haematological\nmalignancy): ALWAYS irradiate", ACCENT3, 10.5);

  card(s, 5.05, 3.82, 4.55, 1.58, "Dosing Summary",
    "Adults: 4–6 pooled RDP OR 1 apheresis unit (SDP)\nExpected increment (1 apheresis unit): +30,000–60,000/μL\nExpected increment (1 random unit ~5.5×10¹⁰): ~5,000/μL\nAverage platelet lifespan: 9.5 days\nFilter: ≥170 μm (same as RBCs)\nNeonates: 10–15 mL/kg or 1 unit/10 kg", MID_BG, 10.5);

  refBar(s, "Quick Compendium 5th ed. | Henry's | Harriet Lane 23rd ed. | Chapman et al. PMID 36535829 | Comprehensive Clinical Nephrology 7th ed.");
}

// ══════════════════════════════════════════════════════════════════════════════
// SLIDE 15 — RECENT EVIDENCE & EMERGING CONCEPTS
// ══════════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  lightSlide(s);
  topBanner(s, "Recent Evidence & Emerging Concepts");
  sTitle(s, "Current Evidence Base & Future Directions");

  const refs = [
    { pmid:"41650546", year:"2026", journal:"Transfus Apher Sci", title:"Frontier et al. — Lowering US minimum plateletpheresis yield?", body:"Reviews whether lowering the minimum yield threshold from 3.0×10¹¹ could reduce donor burden, increase collection frequency, and address supply shortages while maintaining clinical efficacy.", color:ACCENT1 },
    { pmid:"38962593", year:"2024", journal:"Cureus", title:"Ashok et al. — Impact of plateletpheresis on Hb, Hct, RBC count (Meta-analysis)", body:"Updated meta-analysis: plateletpheresis causes measurable decreases in haemoglobin, haematocrit, and total RBC count in donors — important for donor safety monitoring.", color:ACCENT2 },
    { pmid:"41435793", year:"2026", journal:"Transfus Apher Sci", title:"Tong et al. — Case for universal leukoreduction of blood transfusions", body:"Reviews evidence supporting universal LR policy including apheresis platelets — reduced alloimmunisation, CMV, FNHTR rates across all populations.", color:ACCENT3 },
    { pmid:"37550092", year:"2023", journal:"Transfus Apher Sci", title:"Raza et al. — Therapeutic plasma exchange in alloimmune platelet refractoriness", body:"Case series demonstrating plasma exchange as a rescue strategy for severe alloimmune refractoriness when HLA-matched apheresis platelets unavailable.", color:ACCENT4 },
  ];

  refs.forEach((r, i) => {
    const yP = 1.5 + i*0.95;
    s.addShape(pres.ShapeType.rect, { x:0.3, y:yP, w:9.4, h:0.87, fill:{color: i%2===0 ? WHITE : CARD_BG}, line:{color:"D0D8E0",width:0.5} });
    s.addShape(pres.ShapeType.rect, { x:0.3, y:yP, w:1.45, h:0.87, fill:{color:r.color} });
    s.addText("PMID\n"+r.pmid+"\n"+r.year, { x:0.3, y:yP, w:1.45, h:0.87, fontSize:8.5, bold:true, color:WHITE, align:"center", valign:"middle" });
    s.addText(r.title+" — "+r.journal, { x:1.85, y:yP+0.05, w:7.7, h:0.32, fontSize:10.5, bold:true, color:r.color, valign:"middle" });
    s.addText(r.body, { x:1.85, y:yP+0.38, w:7.7, h:0.44, fontSize:10, color:TEXT_DARK, valign:"top", fontFace:"Calibri" });
  });
}

// ══════════════════════════════════════════════════════════════════════════════
// SLIDE 16 — SUMMARY TABLE
// ══════════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  lightSlide(s);
  topBanner(s, "Summary");
  sTitle(s, "Platelet Apheresis: Quick Reference Summary");

  const hdr = ["Category", "Key Points", "Clinical Pearl"];
  const rows = [
    ["Product Specs", "≥3.0×10¹¹ platelets; ~100 mL; 5-day shelf life; 20–24°C + agitation", "~6× the platelets of one whole-blood unit"],
    ["Donor Criteria", "Plt ≥150K; no aspirin ×2d; no clopidogrel ×14d; max 24×/year", "FDA + AABB standards govern collection"],
    ["Transfusion Indications", "Prophylactic: <10K; surgical: 50–100K; active bleed: <50K (extracranial)", "CCI <5000 twice = refractory"],
    ["Refractoriness", "HLA alloimmunisation (immune) vs fever/sepsis/splenomegaly (non-immune)", "Use HLA-matched or crossmatched apheresis units"],
    ["Advantages over Pooled", "1 donor exposure; lower alloimmunisation; fewer infections; inventory mgmt", "TRAP Study: prestorage LR delays HLA immunisation"],
    ["Therapeutic Thrombocytapheresis", "Symptomatic ET/PV/CML (ASFA Cat II); temporary bridge for cytoreduction", "Effects last hours to days only"],
    ["Complications (Donor)", "Citrate toxicity (Ca²⁺ chelation); vasovagal; thrombocytopenia", "Replace calcium; monitor serial platelet counts"],
    ["Complications (Recipient)", "Sepsis; FNHTR; TA-GVHD; allergic; refractoriness; TRALI", "Irradiate for immunocompromised; PAS reduces allergy"],
  ];

  const cW = [2.6, 4.0, 3.0];
  const cX = [0.25, 2.85, 6.85];
  const tY = 1.52;

  hdr.forEach((h, ci) => {
    s.addShape(pres.ShapeType.rect, { x:cX[ci], y:tY, w:cW[ci], h:0.42, fill:{color: ci===0 ? DARK_BG : (ci===1 ? ACCENT1 : ACCENT2)} });
    s.addText(h, { x:cX[ci]+0.08, y:tY, w:cW[ci]-0.1, h:0.42, fontSize:10.5, bold:true, color:WHITE, valign:"middle", align:"center" });
  });
  rows.forEach((row, ri) => {
    const yR = tY + 0.42 + ri*0.49;
    const bg = ri%2===0 ? WHITE : CARD_BG;
    const lc = [ACCENT1,ACCENT2,ACCENT3,ACCENT4,MID_BG,ACCENT1,ACCENT2,ACCENT3][ri];
    row.forEach((cell, ci) => {
      s.addShape(pres.ShapeType.rect, { x:cX[ci], y:yR, w:cW[ci], h:0.49, fill:{color: ci===0 ? "E8EEF4" : bg}, line:{color:"D0D8E0",width:0.5} });
      if (ci===0) s.addShape(pres.ShapeType.rect, { x:cX[ci], y:yR, w:0.16, h:0.49, fill:{color:lc} });
      s.addText(cell, { x:cX[ci]+(ci===0?0.22:0.1), y:yR, w:cW[ci]-(ci===0?0.27:0.15), h:0.49, fontSize:9.5, color:TEXT_DARK, valign:"middle", fontFace:"Calibri", bold:ci===0 });
    });
  });

  refBar(s, "Quick Compendium 5th ed. · Henry's · Goldman-Cecil · Tietz 7th ed. · Harriet Lane 23rd ed. · ASFA Guidelines 2019");
}

// ══════════════════════════════════════════════════════════════════════════════
// SLIDE 17 — REFERENCES
// ══════════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  darkSlide(s);
  s.addShape(pres.ShapeType.rect, { x:0, y:0, w:10, h:0.52, fill:{color:ACCENT1} });
  s.addText("REFERENCES", { x:0.3, y:0.03, w:9.4, h:0.47, fontSize:10, bold:true, color:WHITE, charSpacing:3, valign:"middle", margin:0 });

  s.addText("Textbooks", { x:0.4, y:0.62, w:9.0, h:0.36, fontSize:13, bold:true, color:ACCENT2 });
  const tbooks = [
    "Quick Compendium of Clinical Pathology, 5th ed. — Sections 2.6.2 (Platelets), 2.6.7.2 (Leukoreduction)",
    "Henry's Clinical Diagnosis and Management by Laboratory Methods — Platelet Apheresis, Thrombocytapheresis, Benefits of Apheresis Platelets",
    "Goldman-Cecil Medicine International Edition — Platelet Components, Pathogen Reduction",
    "Tietz Textbook of Laboratory Medicine, 7th ed. — Platelets (Transfusion), Leukoreduction",
    "Harriet Lane Handbook, 23rd ed. (Johns Hopkins) — Neonatal Platelet Transfusion",
    "Tintinalli's Emergency Medicine — Platelet Transfusion Indications",
    "Washington Manual of Medical Therapeutics — Platelet Dosing",
    "Barash Clinical Anesthesia, 9th ed. — Alloimmunisation and Apheresis Platelets",
  ];
  tbooks.forEach((t, i) => {
    s.addText("• "+t, { x:0.45, y:1.04+i*0.36, w:9.1, h:0.34, fontSize:10, color:TEXT_LITE, valign:"middle", fontFace:"Calibri" });
  });

  s.addText("Journal Articles", { x:0.4, y:3.98, w:9.0, h:0.34, fontSize:13, bold:true, color:ACCENT2 });
  const jarticles = [
    "Frontier L et al. Lower US plateletpheresis yield. Transfus Apher Sci. 2026. PMID: 41650546",
    "Tong N et al. Universal leukoreduction. Transfus Apher Sci. 2026. PMID: 41435793",
    "Ashok C et al. Plateletpheresis on Hb/Hct meta-analysis. Cureus. 2024. PMID: 38962593",
    "Raza S et al. Plasma exchange in platelet refractoriness. Transfus Apher Sci. 2023. PMID: 37550092",
    "Chapman JM et al. Platelet antibody testing in refractoriness. Transfus Apher Sci. 2023. PMID: 36535829",
    "Padmanabhan A et al. ASFA Guidelines. J Clin Apheresis. 2019.",
    "TRAP Study Group. Leukoreduction and HLA alloimmunisation. NEJM. 1997.",
  ];
  jarticles.forEach((j, i) => {
    s.addText("• "+j, { x:0.45, y:4.38+i*0.3, w:9.1, h:0.28, fontSize:9.5, color:ACCENT2, valign:"middle", fontFace:"Calibri" });
  });
}

// ─── WRITE ────────────────────────────────────────────────────────────────────
pres.writeFile({ fileName:"/home/daytona/workspace/platelet-apheresis-ppt/Platelet_Apheresis_Pathology.pptx" })
  .then(() => console.log("SUCCESS"))
  .catch(e => { console.error(e); process.exit(1); });
Running Command

cd /home/daytona/workspace/platelet-apheresis-ppt && node build.js 2>&1

Running Command

ls -lh /home/daytona/workspace/platelet-apheresis-ppt/

Your presentation is ready - 485 KB, 17 slides.

Platelet Apheresis Pathology

Presentation · PPTX


Here's the complete slide breakdown:
SlideContent
1Title - navy/crimson design with dual-role framing (collection + therapeutic removal)
2Definition & Overview - two-role split cards (donation vs therapeutic removal)
3Product Specifications - full comparison table: apheresis vs whole-blood platelets
4Donor Selection Criteria - eligibility, drug deferrals, frequency limits + 6-step collection flow
5Product Variants - 6 cards: standard, LR, PAS-added, pathogen-reduced, irradiated, cold-stored
6Storage, Handling & QC - temperature, agitation, expiry, swirling test, bacterial screening
7Transfusion Indications - 3 columns: prophylactic / therapeutic / functional defects (with thresholds)
8Contraindications & Refractoriness - TTP/HIT contraindications + CCI formula + HLA-matching strategy
9Advantages over Pooled Platelets - 6 numbered advantage cards (TRAP trial, CMV, sepsis, inventory)
10Therapeutic Thrombocytapheresis - ASFA categories + underlying diseases + temporary-only caveat
11Primary vs Secondary Thrombocytosis - stats highlight (56% vs 4% thromboembolism) + JAK2/CALR
12Leukoreduction & HLA Alloimmunisation - dark feature slide with step-by-step mechanism flow
13Complications - donor side (citrate toxicity, vasovagal) vs recipient side (TA-GVHD, TRALI, refractoriness)
14ABO Compatibility, Crossmatching & Special Populations - neonates, pregnancy, dosing summary
15Recent Evidence - 4 PubMed-cited papers (2023-2026) with PMID, journal, and key finding
16Summary Table - 8-row quick reference with clinical pearls
17References - full textbooks + journal citations (dark closing slide)
Design: Deep navy dominant (#0B1D35), crimson headers (#C0392B), teal accents (#1ABC9C), amber warnings (#E67E22), purple for special slides - distinctly different palette from the exchange transfusion deck so both feel unique.

Tell me the most effective way to study for neet pg and inicet

Searching the Web

NEET PG INICET 2025 2026 topper strategy high yield subjects effective study plan

Here is a comprehensive, practical guide to cracking NEET PG and INICET.

Most Effective Way to Study for NEET PG & INICET

Both exams test the same broad MBBS curriculum, but INICET (AIIMS/JIPMER/PGI) is marginally harder, more clinical, and has a stronger image/reasoning component. The strategy is largely the same with a few differences noted below.

1. The Mindset First

  • These are MCQ exams, not theory exams. You are training pattern recognition, not proving you read a textbook.
  • You do not need to read everything - you need to read the right things correctly and revise them enough times.
  • A question answered correctly in an exam needs ~5-7 spaced repetitions to stick. One read is not enough.
  • Consistency beats intensity. 6 solid hours daily for 12 months > 14 hour burnout cycles.

2. The Big Picture: What the Exam Actually Tests

ComponentNEET PGINICET
Total questions200200
Time3.5 hours3 hours
Negative marking-1 for wrong-1/3 for wrong
DifficultyStandard MCQMore clinical/applied
Image questions~10-15%~20-25%
PatternAll 19 subjectsMore Medicine/Surgery heavy
INICET key difference: It rewards deep clinical integration more than rote recall. More "what is the most likely diagnosis" than "which nerve supplies X".

3. Subject Priority: Where to Invest Your Time

Tier 1 - Maximum Time (Combined ~40% of paper)

SubjectWhy Tier 1
MedicineHighest weightage (~25-30 Qs in NEET PG); INICET is heavily medicine-oriented
SurgeryHigh weightage; overlaps with anatomy and pathology
PathologyCrosses into every clinical subject; image heavy
PharmacologyHigh yield; heavily formula/table-based; directly linked to Medicine

Tier 2 - Important, Don't Skip

  • Microbiology - Virology, immunology, bacteriology
  • Obstetrics & Gynaecology - Formula-heavy, very predictable
  • PSM (Preventive Medicine) - High yield, many direct recall facts; rank-separating subject
  • Biochemistry - Metabolic pathways, enzymes

Tier 3 - Short Subjects (High ROI for time invested)

  • Radiology, Dermatology, Orthopaedics, Psychiatry, ENT, Ophthalmology, FMT, Anaesthesia, Paediatrics
  • These 9 subjects together contribute 50+ questions
  • One good revision cycle = 35+ correct answers = massive rank jump
  • Do NOT ignore short subjects. This is where most students lose ranks.

4. The Most Effective Study Method: Active Recall + Spaced Repetition

Step 1 - Choose ONE source per subject and stick to it

Do not mix Amit Ashish + Sparsh Gupta + Marrow + Prepladder for the same subject. Pick one and own it.
Recommended sources:
  • Pathology: Gobind Rai Garg / Sparsh Gupta notes or Marrow
  • Medicine: Mudit Khanna / DAMS notes / Prepladder Medicine
  • Surgery: Pritesh Singh / DAMS
  • Pharmacology: Gobind Rai Garg / KD Tripathi selected chapters
  • Microbiology: Ananthanarayan for concepts; Apurba Sastry for MCQs
  • PSM: Park's selected chapters + AK Jain for MCQs
  • Short subjects: One dedicated coaching module (Marrow/Prepladder) is sufficient

Step 2 - The Read-Recall-Revise cycle

  1. Read a topic from your source
  2. Close the book and write/say what you remember (active recall)
  3. Immediately solve 20-30 MCQs from that exact topic
  4. Analyse every wrong answer - understand WHY you were wrong, not just the right answer
  5. Add mnemonics / tables to your revision notes (not full paragraphs - bullet points and tables only)

Step 3 - Spaced repetition schedule

  • Day 1: Read topic
  • Day 3: Revise from your short notes
  • Day 7: Solve MCQs again
  • Day 21: Quick revision
  • Day 60: Grand test covers it again

5. The Role of PYQs (Previous Year Questions)

This is non-negotiable and the single highest-yield activity you can do.
  • Solve last 7-10 years of NEET PG PYQs
  • Solve last 5 years of INICET/AIIMS PG PYQs separately (different pattern)
  • Do them subject-wise first, then full paper mock tests
  • A large proportion of questions repeat in similar or identical form
  • Analyse every question - don't just mark right/wrong and move on

6. Mock Tests & Grand Tests

  • Start grand tests from Month 4 onwards
  • Phase 2 (practice): 2 grand tests/week
  • Phase 3 (final month): 3-4 grand tests/week
  • After each test:
    • Calculate your subject-wise percentage
    • Identify your bottom 3 subjects and give them 2x time next week
    • Note repeated error patterns (calculation errors, misreading, guessing patterns)
  • Time yourself from Day 1 on MCQ practice. In NEET PG you have ~63 seconds/question.

7. Image-Based Questions (Critical for INICET)

  • Maintain a dedicated image folder (digital or physical)
  • Categories to master: histology slides, radiology findings (X-ray, CT, MRI), dermatology lesions, fundoscopy, ECG patterns, blood smear morphology
  • Apps: Amboss image gallery, Marrow image bank
  • For INICET specifically: every revision session should include 10-15 image questions

8. Notes Strategy

  • Do NOT make elaborate notes - this is a time trap
  • Your notes = tables + mnemonics + key numbers + exceptions
  • One A4 page per topic maximum
  • Use existing coaching notes (Marrow/Prepladder/DAMS) as your base and annotate them
  • Revise notes, not textbooks, after the first read

9. The Actual Day-by-Day Structure

Daily Template

Time BlockActivity
Morning (3-4 hrs)Concept study - new topic
Afternoon (2-3 hrs)MCQ practice + analysis
Evening (1-2 hrs)Revision of yesterday's topics
Night (30 min)Image flashcards + short-subject notes
Daily MCQ target: 100-150 MCQs minimum

Monthly Milestones

MonthGoal
1-3Complete all subjects once (concept building)
4-5First revision + subject-wise PYQs + 2 grand tests/week
6Second revision + full PYQ paper practice + 3-4 grand tests/week
Final 2 weeksShort notes only + PYQs + images. No new topics.

10. INICET-Specific Additional Tips

  • INICET emphasises "next step in management" and "most appropriate treatment" - clinical reasoning, not just facts
  • Previous AIIMS PG papers (pre-2020) are different in style but give you the clinical mindset
  • Radiology has grown to 6-10 Qs - learn X-ray signs, CT patterns, MRI sequences
  • FMT (Forensic) is very factual and highly predictable - a few hours of targeted revision pays off
  • INICET has no sectional time limit - use this to attempt easy/known subjects first

11. The Rank-Deciding Factors (What Separates Top 100 from Top 1000)

  1. Number of revision cycles - toppers revise 4-5 times; average students revise 1-2 times
  2. Short subject mastery - 50+ questions most students leave to luck
  3. PSM accuracy - formulaic, fully learnable, yet heavily neglected
  4. Negative marking management - in INICET (-1/3), skip when genuinely unsure
  5. Image question practice - 20-25 questions in INICET; most students prepare poorly for these

12. What NOT to Do

  • Do not read multiple sources for the same subject
  • Do not skip MCQ practice thinking "I'll do it after finishing the syllabus"
  • Do not ignore Pharmacology (strongly linked to Medicine marks)
  • Do not spend the last month learning new topics
  • Do not take grand tests without thorough post-test analysis
  • Do not compare your progress with others on social media - it is demoralising and inaccurate

Bottom line: The students who crack NEET PG and INICET with top ranks are not necessarily the most intelligent - they are the most systematic. One source, aggressive MCQ practice, ruthless revision cycles, and consistent daily output. That combination, maintained for 6-12 months, is what gets you the rank.
This is a shared conversation. Sign in to Orris to start your own chat.