Hlo orris Generate ppt for toxicology seminar Topic: chronic symptoms and management of copper poisoning

Reading File
Reading File
Reading File
Finding Sources
Finding Sources
Reading File
Reading File
Reading File
Finding Sources
Reading File
Finding Sources
Finding Sources
Running Command

ls /home/daytona/workspace/ 2>/dev/null || echo "workspace empty"

Writing File

~/copper-poisoning-ppt/copper_poisoning.js

const pptxgen = require("pptxgenjs");

const pres = new pptxgen();
pres.layout = "LAYOUT_16x9";
pres.title = "Chronic Copper Poisoning – Seminar";
pres.author = "Toxicology Seminar";

// ─── PALETTE ────────────────────────────────────────────────────────────────
const C = {
  bg_dark:   "1A1A2E",  // deep navy (title / section slides)
  bg_mid:    "16213E",  // mid-navy (content)
  accent:    "E94560",  // vivid red-pink (headings accent)
  copper:    "B87333",  // authentic copper
  copper_lt: "D4956B",  // light copper
  gold:      "F5A623",  // warm gold (sub-headings)
  white:     "FFFFFF",
  off_white: "E8E8F0",
  grey:      "A0A0B8",
  green:     "27AE60",
  red:       "E74C3C",
  teal:      "1ABC9C",
  blue:      "3498DB",
  orange:    "E67E22",
  purple:    "9B59B6",
};

// ─── HELPERS ─────────────────────────────────────────────────────────────────
function darkBg(slide) {
  slide.addShape(pres.ShapeType.rect, { x:0, y:0, w:"100%", h:"100%", fill:{color: C.bg_dark} });
}
function midBg(slide) {
  slide.addShape(pres.ShapeType.rect, { x:0, y:0, w:"100%", h:"100%", fill:{color: C.bg_mid} });
}
function copperAccentBar(slide) {
  slide.addShape(pres.ShapeType.rect, { x:0, y:5.3, w:"100%", h:0.32, fill:{color: C.copper} });
}
function sectionTag(slide, label) {
  slide.addShape(pres.ShapeType.roundRect, { x:0.4, y:0.12, w:2.0, h:0.38, fill:{color: C.copper}, rectRadius:0.05, line:{color: C.copper} });
  slide.addText(label, { x:0.4, y:0.12, w:2.0, h:0.38, fontSize:11, bold:true, color:C.white, align:"center", valign:"middle", margin:0 });
}
function slideTitle(slide, title) {
  slide.addShape(pres.ShapeType.rect, { x:0, y:0.62, w:"100%", h:0.06, fill:{color: C.copper} });
  slide.addText(title, { x:0.5, y:0.7, w:9, h:0.65, fontSize:26, bold:true, color:C.white, fontFace:"Calibri" });
}
function bullet(text, level=0, color=C.off_white, size=15, bold=false) {
  return { text, options:{ bullet:{indent: level===0 ? 15:25}, indentLevel:level, fontSize:size, color, bold, breakLine:true, fontFace:"Calibri" }};
}
function lastBullet(text, level=0, color=C.off_white, size=15, bold=false) {
  return { text, options:{ bullet:{indent: level===0 ? 15:25}, indentLevel:level, fontSize:size, color, bold, fontFace:"Calibri" }};
}

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

  // decorative copper circle
  s.addShape(pres.ShapeType.ellipse, { x:7.8, y:-0.8, w:3.5, h:3.5, fill:{color: C.copper, transparency:80}, line:{color:C.copper, transparency:60, width:2} });
  s.addShape(pres.ShapeType.ellipse, { x:8.2, y:-0.4, w:2.5, h:2.5, fill:{color: C.copper_lt, transparency:85}, line:{color:C.copper_lt, transparency:50, width:1} });

  // top accent bar
  s.addShape(pres.ShapeType.rect, { x:0, y:0, w:4.5, h:0.08, fill:{color: C.copper} });

  // TOXICOLOGY SEMINAR label
  s.addShape(pres.ShapeType.roundRect, { x:0.5, y:0.4, w:2.8, h:0.42, fill:{color: C.accent}, rectRadius:0.04, line:{color:C.accent} });
  s.addText("TOXICOLOGY SEMINAR", { x:0.5, y:0.4, w:2.8, h:0.42, fontSize:10.5, bold:true, color:C.white, align:"center", valign:"middle", margin:0, charSpacing:1 });

  // Main title
  s.addText([
    { text:"COPPER", options:{ color:C.copper, fontSize:52, bold:true, breakLine:true, fontFace:"Calibri" }},
    { text:"POISONING", options:{ color:C.white, fontSize:52, bold:true, breakLine:true, fontFace:"Calibri" }},
  ], { x:0.5, y:1.05, w:8.5, h:2.0 });

  s.addText("Chronic Symptoms & Management", {
    x:0.5, y:2.95, w:8, h:0.55, fontSize:22, color:C.gold, italic:true, fontFace:"Calibri"
  });

  // divider line
  s.addShape(pres.ShapeType.line, { x:0.5, y:3.58, w:5, h:0, line:{color:C.copper, width:2} });

  s.addText("Department of Forensic Medicine & Toxicology", {
    x:0.5, y:3.72, w:8, h:0.38, fontSize:13, color:C.grey, fontFace:"Calibri"
  });

  // Cu atomic symbol
  s.addText("Cu", { x:8.5, y:4.6, w:1.2, h:0.8, fontSize:48, bold:true, color:C.copper, align:"center", fontFace:"Calibri" });
  s.addText("Atomic No. 29", { x:8.2, y:5.1, w:1.8, h:0.35, fontSize:10, color:C.grey, align:"center", fontFace:"Calibri" });

  copperAccentBar(s);
}

// ════════════════════════════════════════════════════════════════
// SLIDE 2 — OUTLINE
// ════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  midBg(s);
  sectionTag(s, "OVERVIEW");
  slideTitle(s, "Seminar Outline");

  const topics = [
    ["01", "Introduction & Copper Biochemistry",       C.copper],
    ["02", "Sources of Chronic Exposure",              C.blue],
    ["03", "Pathophysiology of Chronic Toxicity",      C.purple],
    ["04", "Chronic Symptoms – Organ-by-Organ",        C.accent],
    ["05", "Wilson Disease – Copper Storage Disorder", C.teal],
    ["06", "Diagnosis & Investigations",               C.gold],
    ["07", "Management & Chelation Therapy",           C.green],
    ["08", "Autopsy Findings & Medicolegal Aspects",   C.orange],
    ["09", "Key Takeaways",                            C.copper],
  ];

  topics.forEach(([num, text, col], i) => {
    const row = i % 5;
    const col_x = i < 5 ? 0.45 : 5.3;
    const y_start = 1.65;
    const y = y_start + row * 0.72;

    s.addShape(pres.ShapeType.roundRect, { x: col_x, y, w:0.52, h:0.5, fill:{color:col}, rectRadius:0.06, line:{color:col} });
    s.addText(num, { x: col_x, y, w:0.52, h:0.5, fontSize:13, bold:true, color:C.white, align:"center", valign:"middle", margin:0 });
    s.addText(text, { x: col_x + 0.6, y: y + 0.06, w: 4.3, h:0.38, fontSize:13.5, color:C.off_white, fontFace:"Calibri", valign:"middle" });
  });

  copperAccentBar(s);
}

// ════════════════════════════════════════════════════════════════
// SLIDE 3 — INTRODUCTION
// ════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  midBg(s);
  sectionTag(s, "INTRODUCTION");
  slideTitle(s, "Copper: An Essential Yet Toxic Element");

  // left column facts
  s.addShape(pres.ShapeType.roundRect, { x:0.4, y:1.6, w:4.4, h:3.45, fill:{color:"12183A"}, rectRadius:0.1, line:{color:C.copper, width:1.5} });
  s.addText("Key Facts", { x:0.6, y:1.68, w:4, h:0.42, fontSize:15, bold:true, color:C.copper, fontFace:"Calibri" });
  s.addText([
    bullet("Essential trace element for enzymatic function"),
    bullet("Normal body content: 70–80 mg total"),
    bullet("Daily requirement: 0.9 mg/day (adult)"),
    bullet("Stored mainly in liver, brain, kidney, heart"),
    bullet("Excreted via bile (primary route)"),
    bullet("Deficiency → hypochromic anemia, Menkes disease"),
    lastBullet("Excess → Wilson disease, toxic cirrhosis"),
  ], { x:0.55, y:2.2, w:4.1, h:2.7, fontFace:"Calibri" });

  // right column: role in body
  s.addShape(pres.ShapeType.roundRect, { x:5.2, y:1.6, w:4.4, h:3.45, fill:{color:"12183A"}, rectRadius:0.1, line:{color:C.teal, width:1.5} });
  s.addText("Physiological Roles", { x:5.4, y:1.68, w:4, h:0.42, fontSize:15, bold:true, color:C.teal, fontFace:"Calibri" });
  s.addText([
    bullet("Co-factor for cytochrome-c oxidase"),
    bullet("Superoxide dismutase (SOD1) activity"),
    bullet("Dopamine β-hydroxylase (catecholamine synthesis)"),
    bullet("Lysyl oxidase (collagen/elastin cross-linking)"),
    bullet("Ceruloplasmin: copper transport protein"),
    bullet("Melanin synthesis (tyrosinase)"),
    lastBullet("Iron metabolism – ferroxidase activity"),
  ], { x:5.35, y:2.2, w:4.15, h:2.7, fontFace:"Calibri" });

  copperAccentBar(s);
}

// ════════════════════════════════════════════════════════════════
// SLIDE 4 — SOURCES OF CHRONIC EXPOSURE
// ════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  midBg(s);
  sectionTag(s, "EXPOSURE SOURCES");
  slideTitle(s, "Sources of Chronic Copper Exposure");

  const boxes = [
    { label:"Dietary",        icon:"🍽️", items:["Fruits & vegetables preserved with CuSO₄","Food cooked in unclean copper vessels","Contaminated drinking water (copper pipes)"], col:C.orange, x:0.4, y:1.6 },
    { label:"Occupational",   icon:"🏭", items:["Copper smelting & refining industry","Brass foundry workers (Brass-founder's ague)","Fungicide/pesticide manufacturing","Welding with copper oxide fumes"], col:C.blue, x:5.25, y:1.6 },
    { label:"Environmental",  icon:"🌍", items:["Inhalation of copper dust in mining","Skin absorption by copper-industry workers","Agricultural use of Bordeaux mixture","Metal fume fever (Cu + Zn inhalation)"], col:C.teal, x:0.4, y:3.52 },
    { label:"Iatrogenic",     icon:"💊", items:["Excess copper supplementation","Wilson disease (genetic accumulation)","Indian childhood cirrhosis (utensil-related)","Hemodialysis with copper-contaminated water"], col:C.purple, x:5.25, y:3.52 },
  ];

  boxes.forEach(b => {
    s.addShape(pres.ShapeType.roundRect, { x:b.x, y:b.y, w:4.4, h:1.85, fill:{color:"0D1533"}, rectRadius:0.1, line:{color:b.col, width:1.5} });
    s.addShape(pres.ShapeType.rect, { x:b.x, y:b.y, w:4.4, h:0.46, fill:{color:b.col}, rectRadius:0 });
    s.addText(`${b.icon}  ${b.label}`, { x:b.x+0.1, y:b.y+0.03, w:4.2, h:0.4, fontSize:14, bold:true, color:C.white, fontFace:"Calibri", valign:"middle", margin:0 });
    const bullets_arr = b.items.map((txt, i) => i < b.items.length-1 ? bullet(txt, 0, C.off_white, 12.5) : lastBullet(txt, 0, C.off_white, 12.5));
    s.addText(bullets_arr, { x:b.x+0.1, y:b.y+0.52, w:4.2, h:1.28, fontFace:"Calibri" });
  });

  copperAccentBar(s);
}

// ════════════════════════════════════════════════════════════════
// SLIDE 5 — PATHOPHYSIOLOGY
// ════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  midBg(s);
  sectionTag(s, "PATHOPHYSIOLOGY");
  slideTitle(s, "Mechanism of Chronic Copper Toxicity");

  // flow arrow chain
  const steps = [
    { label:"Chronic\nExposure", color:C.orange },
    { label:"Copper\nAccumulation", color:C.copper },
    { label:"Oxidative\nStress", color:C.accent },
    { label:"Enzyme\nInhibition", color:C.purple },
    { label:"Organ\nDamage", color:C.red },
  ];

  steps.forEach((st, i) => {
    const x = 0.35 + i * 1.9;
    s.addShape(pres.ShapeType.roundRect, { x, y:1.55, w:1.65, h:0.9, fill:{color:st.color}, rectRadius:0.1, line:{color:st.color} });
    s.addText(st.label, { x, y:1.55, w:1.65, h:0.9, fontSize:12.5, bold:true, color:C.white, align:"center", valign:"middle", fontFace:"Calibri" });
    if (i < steps.length - 1) {
      s.addShape(pres.ShapeType.line, { x: x+1.65, y:2.0, w:0.22, h:0, line:{color:C.gold, width:2.5} });
      s.addText("▶", { x: x+1.65, y:1.82, w:0.22, h:0.35, fontSize:11, color:C.gold, align:"center" });
    }
  });

  // mechanisms
  s.addShape(pres.ShapeType.roundRect, { x:0.4, y:2.72, w:4.25, h:2.45, fill:{color:"0D1533"}, rectRadius:0.1, line:{color:C.copper, width:1.5} });
  s.addText("Cellular Mechanisms", { x:0.55, y:2.8, w:3.9, h:0.38, fontSize:14, bold:true, color:C.copper, fontFace:"Calibri" });
  s.addText([
    bullet("Fenton-like reaction → hydroxyl radical (·OH) generation"),
    bullet("Inhibits Na⁺-K⁺-ATPase, G6PD, glutathione reductase, catalase"),
    bullet("Lipid peroxidation → membrane damage"),
    bullet("Mitochondrial dysfunction & ATP depletion"),
    lastBullet("Direct hepatocyte necrosis – centrilobular pattern"),
  ], { x:0.55, y:3.25, w:3.95, h:1.8, fontFace:"Calibri", fontSize:13 });

  s.addShape(pres.ShapeType.roundRect, { x:5.25, y:2.72, w:4.35, h:2.45, fill:{color:"0D1533"}, rectRadius:0.1, line:{color:C.teal, width:1.5} });
  s.addText("Target Organs", { x:5.4, y:2.8, w:4.1, h:0.38, fontSize:14, bold:true, color:C.teal, fontFace:"Calibri" });
  s.addText([
    bullet("Liver → fatty degeneration, necrosis, cirrhosis"),
    bullet("Kidney → proximal tubule damage, ATN"),
    bullet("Brain → basal ganglia degeneration (Wilson)"),
    bullet("Blood → hemolytic anemia"),
    bullet("Eyes → Kayser-Fleischer rings"),
    lastBullet("Peripheral nerves → peripheral neuritis"),
  ], { x:5.4, y:3.25, w:4.1, h:1.8, fontFace:"Calibri", fontSize:13 });

  copperAccentBar(s);
}

// ════════════════════════════════════════════════════════════════
// SLIDE 6 — CHRONIC SYMPTOMS (GI + Neuro)
// ════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  midBg(s);
  sectionTag(s, "CHRONIC SYMPTOMS");
  slideTitle(s, "Chronic Symptoms – GI, Neurological & Oral");

  // GI symptoms
  s.addShape(pres.ShapeType.roundRect, { x:0.4, y:1.6, w:4.5, h:3.65, fill:{color:"0D1533"}, rectRadius:0.1, line:{color:C.green, width:2} });
  s.addShape(pres.ShapeType.rect, { x:0.4, y:1.6, w:4.5, h:0.48, fill:{color:C.green} });
  s.addText("🫁  Gastrointestinal & Hepatic", { x:0.5, y:1.62, w:4.3, h:0.44, fontSize:14, bold:true, color:C.white, fontFace:"Calibri", valign:"middle", margin:0 });
  s.addText([
    bullet("Styptic metallic copper taste in mouth"),
    bullet("Nausea, chronic vomiting, indigestion, dyspepsia"),
    bullet("Occasional diarrhoea with colicky abdominal pain"),
    bullet("Laryngitis (from ingested/inhaled copper)"),
    bullet("Liver: fatty degeneration → cirrhosis (haematochromatosis)"),
    bullet("Jaundice (mild, chronic)"),
    lastBullet("Hepatomegaly – prominent in Wilson disease"),
  ], { x:0.55, y:2.17, w:4.2, h:3.0, fontFace:"Calibri", fontSize:13 });

  // Neuro symptoms
  s.addShape(pres.ShapeType.roundRect, { x:5.2, y:1.6, w:4.4, h:3.65, fill:{color:"0D1533"}, rectRadius:0.1, line:{color:C.purple, width:2} });
  s.addShape(pres.ShapeType.rect, { x:5.2, y:1.6, w:4.4, h:0.48, fill:{color:C.purple} });
  s.addText("🧠  Neurological & Constitutional", { x:5.3, y:1.62, w:4.2, h:0.44, fontSize:14, bold:true, color:C.white, fontFace:"Calibri", valign:"middle", margin:0 });
  s.addText([
    bullet("Lassitude, giddiness and headache"),
    bullet("Peripheral neuritis"),
    bullet("Muscular weakness with atrophy → paralysis"),
    bullet("Bluish-green or purple gum line at tooth junction"),
    bullet("Hair: brownish-golden discolouration"),
    bullet("Neuropsychiatric changes (Wilson disease)"),
    lastBullet("Kayser-Fleischer rings (copper in Descemet's)"),
  ], { x:5.35, y:2.17, w:4.15, h:3.0, fontFace:"Calibri", fontSize:13 });

  copperAccentBar(s);
}

// ════════════════════════════════════════════════════════════════
// SLIDE 7 — CHRONIC SYMPTOMS (Haematological, Renal, Dermal)
// ════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  midBg(s);
  sectionTag(s, "CHRONIC SYMPTOMS");
  slideTitle(s, "Chronic Symptoms – Blood, Kidney & Skin");

  const panels = [
    {
      title:"🩸  Haematological",
      color: C.accent,
      items:["Anaemia (haemolytic in nature)","Elevated serum copper / low ceruloplasmin (Wilson)","Haemoglobinuria with intravascular haemolysis","Sideroblastic anaemia (copper deficiency paradox)","Methaemoglobinaemia"],
      x:0.4, y:1.6, w:2.95, h:3.65
    },
    {
      title:"🫘  Renal",
      color: C.blue,
      items:["Cloudy swelling & degeneration of kidney","Albuminuria, oliguria","Proximal tubule damage (Fanconi-like syndrome)","Haemoglobin casts in tubules","Renal osteodystrophy (chronic)"],
      x:3.55, y:1.6, w:2.95, h:3.65
    },
    {
      title:"🖐️  Dermal & Ocular",
      color: C.teal,
      items:["Conjunctivitis & corneal ulceration (copper dust)","Contact dermatitis, skin ulcers","Green skin discolouration","Kayser–Fleischer rings on slit-lamp exam","Sunflower cataract (Wilson)"],
      x:6.65, y:1.6, w:2.95, h:3.65
    },
  ];

  panels.forEach(p => {
    s.addShape(pres.ShapeType.roundRect, { x:p.x, y:p.y, w:p.w, h:p.h, fill:{color:"0D1533"}, rectRadius:0.1, line:{color:p.color, width:2} });
    s.addShape(pres.ShapeType.rect, { x:p.x, y:p.y, w:p.w, h:0.46, fill:{color:p.color} });
    s.addText(p.title, { x:p.x+0.08, y:p.y+0.03, w:p.w-0.1, h:0.4, fontSize:12.5, bold:true, color:C.white, fontFace:"Calibri", valign:"middle", margin:0 });
    const barr = p.items.map((t,i)=> i<p.items.length-1 ? bullet(t,0,C.off_white,12) : lastBullet(t,0,C.off_white,12));
    s.addText(barr, { x:p.x+0.12, y:p.y+0.56, w:p.w-0.2, h:2.98, fontFace:"Calibri" });
  });

  copperAccentBar(s);
}

// ════════════════════════════════════════════════════════════════
// SLIDE 8 — WILSON DISEASE
// ════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  midBg(s);
  sectionTag(s, "WILSON DISEASE");
  slideTitle(s, "Wilson Disease – Chronic Copper Storage Disorder");

  s.addShape(pres.ShapeType.roundRect, { x:0.4, y:1.58, w:5.5, h:3.7, fill:{color:"0D1533"}, rectRadius:0.1, line:{color:C.copper, width:2} });
  s.addText("Genetics & Pathogenesis", { x:0.6, y:1.66, w:5.1, h:0.42, fontSize:15, bold:true, color:C.copper, fontFace:"Calibri" });
  s.addText([
    bullet("Autosomal recessive – ATP7B gene mutation (chromosome 13)"),
    bullet("Defect in copper-transporting ATPase → impaired biliary excretion"),
    bullet("Copper accumulates in liver → spills into blood → deposits in brain, cornea, kidney"),
    bullet("Low serum ceruloplasmin (<20 mg/dL) is hallmark"),
    bullet("24-h urinary copper >100 µg/24 h (diagnostic)"),
    bullet("Liver biopsy: >250 µg copper/g dry weight"),
    bullet("KF rings: copper in Descemet's membrane of cornea"),
    lastBullet("Presents in 2nd–3rd decade; rare before age 5"),
  ], { x:0.55, y:2.17, w:5.25, h:3.0, fontFace:"Calibri", fontSize:13 });

  s.addShape(pres.ShapeType.roundRect, { x:6.15, y:1.58, w:3.5, h:3.7, fill:{color:"0D1533"}, rectRadius:0.1, line:{color:C.teal, width:2} });
  s.addText("Clinical Presentations", { x:6.3, y:1.66, w:3.25, h:0.42, fontSize:15, bold:true, color:C.teal, fontFace:"Calibri" });
  s.addText([
    bullet("Acute hepatitis (mimics viral)"),
    bullet("Fulminant hepatic failure"),
    bullet("Chronic hepatitis → cirrhosis"),
    bullet("Steatohepatitis / gallstones"),
    bullet("Neuropsychiatric: tremor, dysarthria, ataxia, personality change"),
    bullet("Hemolytic anemia"),
    bullet("Fanconi syndrome (renal)"),
    lastBullet("Cardiomyopathy (rare)"),
  ], { x:6.3, y:2.17, w:3.25, h:3.0, fontFace:"Calibri", fontSize:12.5 });

  copperAccentBar(s);
}

// ════════════════════════════════════════════════════════════════
// SLIDE 9 — DIAGNOSIS
// ════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  midBg(s);
  sectionTag(s, "DIAGNOSIS");
  slideTitle(s, "Diagnosis & Investigations");

  // table header
  s.addShape(pres.ShapeType.rect, { x:0.4, y:1.62, w:9.2, h:0.44, fill:{color:C.copper} });
  s.addText("Investigation", { x:0.4, y:1.62, w:2.8, h:0.44, fontSize:13, bold:true, color:C.white, align:"center", valign:"middle", fontFace:"Calibri", margin:0 });
  s.addText("Finding in Chronic Copper Poisoning", { x:3.2, y:1.62, w:4.0, h:0.44, fontSize:13, bold:true, color:C.white, align:"center", valign:"middle", fontFace:"Calibri", margin:0 });
  s.addText("Significance", { x:7.2, y:1.62, w:2.4, h:0.44, fontSize:13, bold:true, color:C.white, align:"center", valign:"middle", fontFace:"Calibri", margin:0 });

  const rows = [
    ["Serum ceruloplasmin", "↓ <20 mg/dL", "Wilson disease screening"],
    ["24-h urinary copper", ">100 µg/24h (diagnosis)\n>200-400 µg/24h (on chelation)", "Key monitoring marker"],
    ["Serum copper", "↑ Free copper (non-ceruloplasmin)", "Reflects toxic free copper"],
    ["LFT / Liver enzymes", "↑ AST, ALT, ALP; ↑ bilirubin", "Hepatocellular damage"],
    ["Liver biopsy", ">250 µg Cu/g dry weight; steatosis → fibrosis", "Gold standard for WD"],
    ["Slit-lamp examination", "Kayser-Fleischer rings", "Pathognomonic for WD"],
    ["Chemical test (vomitus)", "Deep blue with NH₄OH", "Acute/forensic identification"],
    ["CBC", "Haemolytic anaemia, ↓ Hb", "Haematological toxicity"],
    ["Kidney function tests", "↑ Creatinine, proteinuria, RBC casts", "Nephrotoxicity assessment"],
  ];

  rows.forEach((row, i) => {
    const y = 2.1 + i * 0.38;
    const bg = i % 2 === 0 ? "0D1533" : "121A3A";
    s.addShape(pres.ShapeType.rect, { x:0.4, y, w:9.2, h:0.38, fill:{color:bg} });
    s.addText(row[0], { x:0.45, y:y+0.04, w:2.7, h:0.3, fontSize:11.5, color:C.gold, bold:true, fontFace:"Calibri" });
    s.addText(row[1], { x:3.2, y:y+0.04, w:3.9, h:0.3, fontSize:11, color:C.off_white, fontFace:"Calibri" });
    s.addText(row[2], { x:7.2, y:y+0.04, w:2.35, h:0.3, fontSize:11, color:C.grey, fontFace:"Calibri" });
  });

  copperAccentBar(s);
}

// ════════════════════════════════════════════════════════════════
// SLIDE 10 — MANAGEMENT
// ════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  midBg(s);
  sectionTag(s, "MANAGEMENT");
  slideTitle(s, "Management of Chronic Copper Poisoning");

  // General measures
  s.addShape(pres.ShapeType.roundRect, { x:0.4, y:1.6, w:9.2, h:0.95, fill:{color:"0D1533"}, rectRadius:0.08, line:{color:C.orange, width:1.5} });
  s.addText("General Supportive Measures", { x:0.55, y:1.66, w:3, h:0.34, fontSize:13.5, bold:true, color:C.orange, fontFace:"Calibri" });
  s.addText([
    { text:"• Remove patient from source of exposure  ", options:{fontSize:12.5, color:C.off_white} },
    { text:"• Correction of dyspepsia & nutritious diet  ", options:{fontSize:12.5, color:C.off_white} },
    { text:"• Multivitamins & IV fluids  ", options:{fontSize:12.5, color:C.off_white} },
    { text:"• Ensure copper utensils are clean & well-tinned", options:{fontSize:12.5, color:C.off_white} },
  ], { x:0.55, y:2.05, w:9.0, h:0.42, fontFace:"Calibri" });

  // Chelation table
  s.addShape(pres.ShapeType.rect, { x:0.4, y:2.72, w:9.2, h:0.44, fill:{color:C.copper} });
  ["Agent", "Dose / Route", "Mechanism", "Notes"].forEach((h, i) => {
    const ws = [2.1, 2.5, 2.7, 1.9];
    const xs = [0.4, 2.5, 5.0, 7.7];
    s.addText(h, { x:xs[i], y:2.72, w:ws[i], h:0.44, fontSize:13, bold:true, color:C.white, align:"center", valign:"middle", fontFace:"Calibri", margin:0 });
  });

  const chelRows = [
    ["D-Penicillamine", "250–500 mg QID orally\n(lifelong)", "Chelates copper → urinary excretion; also stimulates ceruloplasmin", "First-line WD; pyridoxine supplement required; many side effects"],
    ["Trientine (TETA)", "750–1500 mg/day orally", "Copper chelator; less toxic than penicillamine", "Preferred if penicillamine intolerance; similar efficacy"],
    ["Zinc salts", "50 mg elemental Zn TID", "Induces intestinal metallothionein → blocks copper absorption", "Maintenance therapy; safe in pregnancy & paediatrics"],
    ["EDTA", "IV infusion", "Non-specific heavy metal chelator", "Occupational/industrial exposure; less specific for copper"],
    ["Ammonium Tetrathiomolybdate", "Investigational", "Forms complex with albumin & copper", "Neurological WD; prevents neurological worsening"],
  ];

  chelRows.forEach((row, i) => {
    const y = 3.2 + i * 0.42;
    const bgc = i % 2 === 0 ? "0D1533" : "121A3A";
    s.addShape(pres.ShapeType.rect, { x:0.4, y, w:9.2, h:0.42, fill:{color:bgc} });
    const xs = [0.4, 2.5, 5.0, 7.7];
    const ws = [2.1, 2.5, 2.7, 1.9];
    const cols = [C.gold, C.off_white, C.off_white, C.grey];
    row.forEach((cell, j) => {
      s.addText(cell, { x:xs[j], y:y+0.04, w:ws[j]-0.05, h:0.34, fontSize:10.5, color:cols[j], fontFace:"Calibri", bold: j===0 });
    });
  });

  copperAccentBar(s);
}

// ════════════════════════════════════════════════════════════════
// SLIDE 11 — MONITORING & FOLLOW-UP
// ════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  midBg(s);
  sectionTag(s, "MANAGEMENT");
  slideTitle(s, "Monitoring During Chelation Therapy");

  const cards = [
    { title:"Urinary Copper", items:["Target: 200–400 µg/24h on chelation","If consistently taking therapy, confirms compliance","Reduces to 20-50 µg/24h in remission","Monitor every 6 months once stable"], col:C.copper, x:0.4, y:1.62 },
    { title:"Serum Ceruloplasmin", items:["Should rise toward normal (20–35 mg/dL)","May remain low even on treatment in WD","Not a reliable treatment marker alone","Check alongside urine copper"], col:C.blue, x:5.25, y:1.62 },
    { title:"Liver Function", items:["AST/ALT should normalise within months","Bilirubin normalisation = hepatic recovery","Liver biopsy at 5 years (cirrhosis staging)","LFTs monthly for first year of treatment"], col:C.green, x:0.4, y:3.62 },
    { title:"Side Effects Watch", items:["Penicillamine: rash, proteinuria, SLE-like, bone marrow suppression","Trientine: iron deficiency anaemia","Zinc: gastritis (take between meals)","Stop drug if WBC < 3500 or platelets < 100k"], col:C.accent, x:5.25, y:3.62 },
  ];

  cards.forEach(c => {
    s.addShape(pres.ShapeType.roundRect, { x:c.x, y:c.y, w:4.4, h:1.82, fill:{color:"0D1533"}, rectRadius:0.1, line:{color:c.col, width:1.5} });
    s.addShape(pres.ShapeType.rect, { x:c.x, y:c.y, w:4.4, h:0.44, fill:{color:c.col} });
    s.addText(c.title, { x:c.x+0.1, y:c.y+0.04, w:4.2, h:0.36, fontSize:14, bold:true, color:C.white, fontFace:"Calibri", valign:"middle", margin:0 });
    const ba = c.items.map((t,i)=> i<c.items.length-1 ? bullet(t,0,C.off_white,12) : lastBullet(t,0,C.off_white,12));
    s.addText(ba, { x:c.x+0.12, y:c.y+0.52, w:4.18, h:1.25, fontFace:"Calibri" });
  });

  copperAccentBar(s);
}

// ════════════════════════════════════════════════════════════════
// SLIDE 12 — AUTOPSY & MEDICOLEGAL
// ════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  midBg(s);
  sectionTag(s, "FORENSIC");
  slideTitle(s, "Autopsy Findings & Medicolegal Aspects");

  s.addShape(pres.ShapeType.roundRect, { x:0.4, y:1.6, w:4.5, h:3.65, fill:{color:"0D1533"}, rectRadius:0.1, line:{color:C.orange, width:2} });
  s.addText("🔬  Autopsy Findings", { x:0.55, y:1.68, w:4.2, h:0.42, fontSize:15, bold:true, color:C.orange, fontFace:"Calibri" });
  s.addText([
    bullet("Liver: fatty degeneration, centrilobular necrosis"),
    bullet("Haematochromatosis (iron-copper pigment deposition)"),
    bullet("Biliary stasis; hepatic fibrosis → cirrhosis"),
    bullet("Kidney: cloudy swelling & degeneration of proximal tubules"),
    bullet("Acute tubular necrosis (severe cases)"),
    bullet("Haemoglobin casts in renal tubules"),
    bullet("Brain: basal ganglia cavitation (Wilson disease)"),
    lastBullet("Green discolouration of viscera in some cases"),
  ], { x:0.55, y:2.18, w:4.25, h:3.0, fontFace:"Calibri", fontSize:13 });

  s.addShape(pres.ShapeType.roundRect, { x:5.25, y:1.6, w:4.35, h:3.65, fill:{color:"0D1533"}, rectRadius:0.1, line:{color:C.accent, width:2} });
  s.addText("⚖️  Medicolegal Aspects", { x:5.4, y:1.68, w:4.1, h:0.42, fontSize:15, bold:true, color:C.accent, fontFace:"Calibri" });
  s.addText([
    bullet("Copper salts rarely used for suicide (self-emetic, blue colour, big lethal dose)"),
    bullet("May be used for homicide – disguised in food"),
    bullet("Occasionally used for cattle poisoning"),
    bullet("Accidental poisoning in copper-industry workers is most common"),
    bullet("Blue-green vomitus is a key post-mortem clue"),
    bullet("NH₄OH test on vomitus – deep blue = confirmatory"),
    bullet("Workplace exposure records are medicolegal evidence"),
    lastBullet("Fatal dose: 15–30 g (single); lower with repeated small doses"),
  ], { x:5.4, y:2.18, w:4.1, h:3.0, fontFace:"Calibri", fontSize:13 });

  copperAccentBar(s);
}

// ════════════════════════════════════════════════════════════════
// SLIDE 13 — KEY TAKEAWAYS
// ════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  darkBg(s);

  // big background circle decoration
  s.addShape(pres.ShapeType.ellipse, { x:7.5, y:0.5, w:4, h:4, fill:{color:C.copper, transparency:88}, line:{color:C.copper, transparency:70, width:1} });

  s.addShape(pres.ShapeType.roundRect, { x:0.4, y:0.12, w:2.5, h:0.42, fill:{color:C.copper}, rectRadius:0.05, line:{color:C.copper} });
  s.addText("KEY TAKEAWAYS", { x:0.4, y:0.12, w:2.5, h:0.42, fontSize:11, bold:true, color:C.white, align:"center", valign:"middle", margin:0, charSpacing:1 });

  s.addText("Summary Points", { x:0.5, y:0.7, w:8, h:0.58, fontSize:28, bold:true, color:C.white, fontFace:"Calibri" });
  s.addShape(pres.ShapeType.line, { x:0.5, y:1.36, w:4, h:0, line:{color:C.copper, width:2} });

  const points = [
    [C.copper,  "Chronic copper toxicity = prolonged low-dose exposure or impaired excretion (Wilson disease)"],
    [C.green,   "Liver & kidney are the primary targets; GI, neurological, haematological and ocular involvement common"],
    [C.blue,    "Kayser-Fleischer rings on slit-lamp + low ceruloplasmin are pathognomonic for Wilson disease"],
    [C.gold,    "24-hour urinary copper is the cornerstone of diagnosis and treatment monitoring"],
    [C.teal,    "D-Penicillamine / Trientine = first-line chelation; Zinc salts for maintenance"],
    [C.accent,  "Sudden discontinuation of chelation can precipitate acute liver failure – therapy is LIFELONG"],
    [C.orange,  "Occupational exposure (metal fumes, dust) is most common cause; PPE & workplace hygiene are preventive"],
    [C.purple,  "Blue-green vomitus + NH₄OH test = forensic identification clue in acute setting"],
  ];

  points.forEach(([col, text], i) => {
    const y = 1.5 + i * 0.5;
    s.addShape(pres.ShapeType.roundRect, { x:0.4, y:y+0.06, w:0.3, h:0.3, fill:{color:col}, rectRadius:0.04, line:{color:col} });
    s.addText(text, { x:0.82, y:y+0.04, w:8.7, h:0.34, fontSize:13, color:C.off_white, fontFace:"Calibri", valign:"middle" });
  });

  // bottom strip
  s.addShape(pres.ShapeType.rect, { x:0, y:5.3, w:"100%", h:0.32, fill:{color:C.copper} });
  s.addText("Thank you  |  Questions Welcome  |  Cu (Atomic No. 29)", {
    x:0, y:5.3, w:"100%", h:0.32, fontSize:12, color:C.white, align:"center", valign:"middle", fontFace:"Calibri", margin:0
  });
}

// ════════════════════════════════════════════════════════════════
// WRITE FILE
// ════════════════════════════════════════════════════════════════
pres.writeFile({ fileName: "/home/daytona/workspace/copper-poisoning-ppt/Copper_Poisoning_Seminar.pptx" })
  .then(() => console.log("✅  DONE: Copper_Poisoning_Seminar.pptx written"))
  .catch(e => { console.error("ERROR:", e); process.exit(1); });
Running Command

cd /home/daytona/workspace/copper-poisoning-ppt && node copper_poisoning.js 2>&1

Your presentation is ready! Here's your download link:

Copper Poisoning Seminar

Presentation · PPTX


What's inside (13 slides)

#SlideHighlights
1Title SlideDark navy theme with copper-tone accents, Cu atomic symbol
2Seminar Outline9 numbered colour-coded topic cards
3IntroductionKey facts on copper biochemistry + physiological roles (SOD1, ceruloplasmin, etc.)
4Sources of Chronic Exposure4 panels: Dietary / Occupational / Environmental / Iatrogenic
5PathophysiologyFlow-chain diagram: exposure → oxidative stress → organ damage; cellular mechanisms vs target organs
6Chronic Symptoms IGI & hepatic + neurological & constitutional (gum line, peripheral neuritis, KF rings)
7Chronic Symptoms IIHaematological / Renal / Dermal & ocular (3-column panel layout)
8Wilson DiseaseATP7B mutation, ceruloplasmin, urine copper criteria, hepatic + neuropsychiatric presentations
9Diagnosis & InvestigationsFull 9-row table: ceruloplasmin, 24-h Cu, liver biopsy, slit-lamp, NH₄OH test
10ManagementGeneral measures + chelation table: D-Penicillamine, Trientine, Zinc, EDTA, Tetrathiomolybdate
11MonitoringUrinary copper targets, LFT monitoring, chelation side-effect watch
12Autopsy & MedicolegalForensic findings + medicolegal aspects (homicide, occupational, blue-green clue)
13Key Takeaways8 colour-coded summary points with copper-themed closing bar
Content sourced from: P C Dikshit Forensic Medicine & Toxicology, Tintinalli's Emergency Medicine, Sleisenger & Fordtran's GI & Liver Disease, Brenner & Rector's The Kidney, and Yamada's Gastroenterology.

Collect the information from vv palley

Asking for Preferences

Modern medical toxicology

Finding Sources
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Reading File
Reading File
Reading File
Reading File
Reading File
I now have all the relevant content. Here is a clear and organized summary:

Important Note on Source

V.V. Pillay's "Modern Medical Toxicology" is not available in the medical library. However, I have retrieved the equivalent content from:
  1. The Essentials of Forensic Medicine & Toxicology, 36th Edition (2026) - K.S. Narayan Reddy (the standard companion to Pillay in Indian forensic toxicology courses)
  2. Parikh's Textbook of Medical Jurisprudence, Forensic Medicine and Toxicology
  3. P.C. Dikshit's Textbook of Forensic Medicine and Toxicology
All three cover copper poisoning in the same classical framework as Pillay. Here is the complete information:

Copper Poisoning - Forensic Toxicology

Nature of the Poison

  • Metallic copper itself is not poisonous
  • Copper is a powerful inhibitor of enzymes
  • Poisonous compounds:
    • Copper sulphate (Blue vitriol / Nila tutia) - large blue crystals
    • Copper subacetate (Verdigris / Zangal) - bluish-green mass or powder
    • Copper arsenite and copper acetoarsenite (discussed with arsenic)
  • Normal body copper content: 150 mg; safe daily intake: 2-3 mg/day
  • Absorbed through lungs, mucous membranes, and raw surfaces
  • Excreted more by bowels than kidneys; traces in saliva, bile, and milk
(The Essentials of Forensic Medicine & Toxicology, 36th ed., p.518)

Acute Copper Poisoning

Signs and Symptoms

Appear within 15-30 minutes of ingestion:
  • Metallic taste in mouth, excessive salivation
  • Burning pain in stomach with colicky abdominal pain
  • Thirst, nausea, eructations, repeated vomiting
  • Vomitus is blue or green - turns deep blue with ammonium hydroxide (distinguishes from bile, which remains unchanged)
  • Diarrhoea with intense straining; stools are liquid, brown but not bloody
  • Urine: inky appearance, diminished, contains albumin and casts; uraemia may occur
  • In severe cases: haemolysis, haemoglobinuria, methaemoglobinaemia, jaundice, pancreatitis
  • Cramps of legs, convulsions, severe headache, difficult breathing
  • Paralysis of limbs → drowsiness → insensibility → coma → death due to shock
  • Delayed deaths due to hepatic or renal failure

Inhalation (Acute)

  • Upper respiratory irritation - sore throat, cough
  • Conjunctivitis, palpebral oedema, sinus irritation
  • Nasal mucosa atrophy with perforation
  • Skin contact - irritant contact dermatitis, greenish-blue skin discolouration

Fatal Dose

  • Copper sulphate: 10-20 g (Essentials); ~30 g (Parikh/Dikshit)
  • Copper subacetate (verdigris): 15-30 g

Fatal Period

  • 1 to 3 days; may be delayed to 3-5 days or even a week
(The Essentials, p.518; Parikh's, p.604)

Chronic Copper Poisoning

Causes

  • Workers in copper industry - inhalation of dust
  • Food contaminated with verdigris (vegetable acids + improperly tinned copper vessels)
  • Chronic inhalation of copper sulphate spray (vineyard workers)
  • Swimming pool algicidal copper chemicals

Clinical Features

  1. Metallic taste in mouth; green line on gums at base of teeth
  2. Nausea, vomiting, colic, diarrhoea or constipation
  3. General: progressive emaciation, anaemia, malaise, debility
  4. Nervous system: peripheral neuritis, wrist drop or foot drop (similar to lead poisoning)
  5. Degeneration and atrophy of muscle
  6. CHALCOSIS - copper deposits in tissues
  7. Vineyard sprayer's lung - histiocytic granulomatous lung disease
  8. Green hair discolouration (swimming pool copper)
  9. Wilson's disease may occur
  10. Bronzed diabetes (haemochromatosis) - described by Mallory

Kayser-Fleischer Rings

  • Brown/gold rings forming around the edges of the iris and cornea
  • Appear in both eyes
  • Caused by copper deposits in the corneal stroma (Descemet's membrane)
  • Pathognomonic finding (Fig. 27.9 - Essentials)
(The Essentials, p.518-519; Parikh's, p.605)

Treatment

Acute

  1. Stomach wash with 1% potassium ferrocyanide solution - forms insoluble cupric ferrocyanide
  2. Emetics are contraindicated (copper sulphate is already self-emetic)
  3. Demulcents (milk, egg albumin) - form insoluble albuminate of copper
  4. Castor oil - to remove poison from intestines
  5. Haemodialysis - useful in early stage
  6. Chelation - Penicillamine, EDTA, or BAL (dimercaprol)

Chronic

  • Similar to treatment of chronic mercury poisoning
  • D-Penicillamine and EDTA are the chelators of choice
  • Nutritious diet, multivitamins, IV fluids
(The Essentials, p.518; Parikh's, p.604; P.C. Dikshit, p.477)

Postmortem Appearances

  • Skin may be yellow (jaundice)
  • Greenish-blue froth at mouth and nostrils
  • Gastric mucosa and stomach contents: greenish or bluish (diagnostic)
  • Gastric mucosa: congested, swollen, inflamed, occasionally eroded
  • Intestinal mucosa: similar appearances
  • Liver: soft, fatty; hepatic necrosis (centrilobular)
  • Kidney: degenerative changes in proximal tubules; spontaneous haemolysis
  • Parenchymatous injury to heart, liver, and kidneys (chronic)
  • Haemochromatosis (bronzed diabetes) in chronic absorption

Diagnostic Test

Ammonium hydroxide test:
  • Gives a greenish-blue precipitate with copper-containing substances
  • Precipitate is soluble in excess NH₄OH, forming a deep blue solution
  • Copper vomit turns deep blue; bile remains unchanged

Medicolegal Aspects

AspectDetail
HomicideRarely used - conspicuous blue/green colour and metallic taste make disguise difficult
SuicideOccasionally used; cases reported, but rare due to self-emetic nature and large lethal dose
AccidentalMost common - food preserved/coloured with copper sulphate; food stored in unlined copper vessels; children attracted by colour
Cattle poisoningRarely used
Other usesAntidote in phosphorus poisoning (forms non-toxic cupric phosphide); some fungicides; iron/manganese tablets
AbortionSometimes taken internally for criminal abortion
(The Essentials, p.518-519; Parikh's, p.605)

Summary: V.V. Pillay's "Modern Medical Toxicology" is not in the available library. The above content is drawn from K.S. Narayan Reddy's Essentials (36th ed., 2026) and Parikh's, which cover the same classical Indian forensic toxicology curriculum as Pillay and use very similar frameworks. If you need content specifically from Pillay's text verbatim, you would need access to that physical book or its digital edition.
This is a shared conversation. Sign in to Orris to start your own chat.