Make oot on

Asking for Preferences
The user skipped the clarification. I'm not able to determine what "Make oot on" means with enough confidence to act. I'll explain the ambiguity and ask again briefly.
It looks like your message may have a typo or autocorrect issue. Here are a few possibilities for what you might mean:
  • "Make OOO on" - Set up an Out of Office (OOO) auto-reply (e.g. in Gmail, Outlook)
  • "Make OoT on" - Something related to The Legend of Zelda: Ocarina of Time
  • "Turn it on" - Some other feature or setting
Could you clarify what you'd like me to do? I'm happy to help once I know what you're after!

Make ppt on iodine function, deficiency symptoms and public health management

Reading File
Reading File
Reading File
Finding Sources
Searching the Web

iodine function deficiency symptoms public health management WHO guidelines

Reading File
Reading File
Reading File
Running Command

ls /home/daytona/workspace/ 2>/dev/null && mkdir -p /home/daytona/workspace/iodine-ppt

Writing File

~/iodine-ppt/iodine.js

const pptxgen = require("pptxgenjs");

const pres = new pptxgen();
pres.layout = "LAYOUT_16x9";
pres.title = "Iodine: Function, Deficiency & Public Health Management";

// ─── COLOUR PALETTE ─────────────────────────────────────────────────────────
const NAVY   = "1B3A5C";   // dominant dark
const TEAL   = "1A7F74";   // supporting accent
const AMBER  = "E8A020";   // highlight/accent
const WHITE  = "FFFFFF";
const LIGHT  = "EAF4F2";   // pale teal bg
const GRAY   = "4A5568";   // body text
const LGRAY  = "D1E8E4";   // divider / muted

// ─── HELPER: accent bar on left ─────────────────────────────────────────────
function leftBar(slide, color = TEAL) {
  slide.addShape(pres.ShapeType.rect, {
    x: 0, y: 0, w: 0.18, h: 5.625,
    fill: { color },
    line: { color, width: 0 }
  });
}

// ─── HELPER: header band ────────────────────────────────────────────────────
function headerBand(slide, title, subtitle = "") {
  slide.addShape(pres.ShapeType.rect, {
    x: 0, y: 0, w: 10, h: 1.25,
    fill: { color: NAVY },
    line: { color: NAVY, width: 0 }
  });
  slide.addText(title, {
    x: 0.3, y: 0.12, w: 9.4, h: 0.68,
    fontSize: 24, bold: true, color: WHITE, fontFace: "Calibri",
    valign: "middle", margin: 0
  });
  if (subtitle) {
    slide.addText(subtitle, {
      x: 0.3, y: 0.8, w: 9.4, h: 0.38,
      fontSize: 13, color: AMBER, fontFace: "Calibri", italic: true,
      margin: 0
    });
  }
}

// ─── HELPER: footer ─────────────────────────────────────────────────────────
function footer(slide, src = "") {
  slide.addShape(pres.ShapeType.rect, {
    x: 0, y: 5.35, w: 10, h: 0.27,
    fill: { color: NAVY },
    line: { color: NAVY, width: 0 }
  });
  slide.addText(src || "Sources: Park's Preventive & Social Medicine | Scott-Brown's ORL | WHO/UNICEF Guidelines", {
    x: 0.25, y: 5.35, w: 9.5, h: 0.27,
    fontSize: 7.5, color: LGRAY, fontFace: "Calibri", valign: "middle", margin: 0
  });
}

// ─── HELPER: stat box ────────────────────────────────────────────────────────
function statBox(slide, x, y, w, h, num, label, bg = TEAL) {
  slide.addShape(pres.ShapeType.rect, {
    x, y, w, h,
    fill: { color: bg },
    line: { color: bg, width: 0 },
    rectRadius: 0.08
  });
  slide.addText(num, {
    x, y: y + 0.07, w, h: h * 0.55,
    fontSize: 26, bold: true, color: WHITE, fontFace: "Calibri",
    align: "center", valign: "middle", margin: 0
  });
  slide.addText(label, {
    x, y: y + h * 0.55, w, h: h * 0.42,
    fontSize: 9.5, color: WHITE, fontFace: "Calibri",
    align: "center", valign: "top", margin: 0, wrap: true
  });
}

// ═══════════════════════════════════════════════════════════════════════════
// SLIDE 1 — TITLE
// ═══════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  // full dark bg
  s.addShape(pres.ShapeType.rect, {
    x: 0, y: 0, w: 10, h: 5.625,
    fill: { color: NAVY },
    line: { color: NAVY, width: 0 }
  });
  // teal accent panel
  s.addShape(pres.ShapeType.rect, {
    x: 0, y: 0, w: 0.55, h: 5.625,
    fill: { color: TEAL },
    line: { color: TEAL, width: 0 }
  });
  // amber bottom strip
  s.addShape(pres.ShapeType.rect, {
    x: 0, y: 5.0, w: 10, h: 0.3,
    fill: { color: AMBER },
    line: { color: AMBER, width: 0 }
  });
  // iodine symbol badge
  s.addShape(pres.ShapeType.ellipse, {
    x: 7.2, y: 0.7, w: 2.2, h: 2.2,
    fill: { color: TEAL },
    line: { color: AMBER, width: 3 }
  });
  s.addText("I", {
    x: 7.2, y: 0.7, w: 2.2, h: 1.3,
    fontSize: 80, bold: true, color: WHITE, fontFace: "Calibri",
    align: "center", valign: "middle", margin: 0
  });
  s.addText("53", {
    x: 7.2, y: 1.95, w: 2.2, h: 0.6,
    fontSize: 18, color: AMBER, fontFace: "Calibri",
    align: "center", valign: "middle", margin: 0
  });

  s.addText("IODINE", {
    x: 0.8, y: 0.7, w: 6.2, h: 1.05,
    fontSize: 52, bold: true, color: WHITE, fontFace: "Calibri",
    charSpacing: 8, margin: 0
  });
  s.addText("Function · Deficiency · Public Health", {
    x: 0.8, y: 1.75, w: 6.2, h: 0.55,
    fontSize: 20, color: AMBER, fontFace: "Calibri", italic: true, margin: 0
  });
  s.addText([
    { text: "An essential trace mineral for thyroid hormone synthesis and global health", options: {} }
  ], {
    x: 0.8, y: 2.5, w: 8.9, h: 0.7,
    fontSize: 13.5, color: LGRAY, fontFace: "Calibri", margin: 0
  });

  // stat chips
  statBox(s, 0.8, 3.35, 2.1, 1.15, "2 Billion", "People iodine-deficient worldwide (WHO)");
  statBox(s, 3.1, 3.35, 2.1, 1.15, "130+", "Countries affected", AMBER);
  statBox(s, 5.4, 3.35, 2.1, 1.15, "71 M+", "Affected in India alone", TEAL);
  statBox(s, 7.7, 3.35, 2.1, 1.15, "150 µg", "Daily RDA (adult)", "346E6F");
}

// ═══════════════════════════════════════════════════════════════════════════
// SLIDE 2 — WHY IODINE? (Functions)
// ═══════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  s.background = { color: LIGHT };
  leftBar(s, TEAL);
  headerBand(s, "Functions of Iodine", "The only known role: synthesis of thyroid hormones");
  footer(s);

  // Left column: thyroid hormone box
  s.addShape(pres.ShapeType.rect, {
    x: 0.3, y: 1.45, w: 4.3, h: 3.6,
    fill: { color: NAVY },
    line: { color: TEAL, width: 1.5 }
  });
  s.addText("Thyroid Hormone Synthesis", {
    x: 0.3, y: 1.45, w: 4.3, h: 0.5,
    fontSize: 13, bold: true, color: AMBER, fontFace: "Calibri",
    align: "center", valign: "middle", margin: 0
  });

  const hormones = [
    { h: "T3  (Triiodothyronine)", d: "Active form · 3 iodine atoms · potent metabolic effect" },
    { h: "T4  (Thyroxine)", d: "Storage form · 4 iodine atoms · converted to T3 in tissues" },
    { h: "Feedback Axis", d: "TSH from pituitary regulates thyroid iodine uptake via NIS" },
  ];
  hormones.forEach((item, i) => {
    s.addText(item.h, {
      x: 0.45, y: 2.05 + i * 0.92, w: 4.0, h: 0.35,
      fontSize: 11.5, bold: true, color: TEAL, fontFace: "Calibri", margin: 0
    });
    s.addText(item.d, {
      x: 0.45, y: 2.38 + i * 0.92, w: 4.0, h: 0.38,
      fontSize: 10, color: LGRAY, fontFace: "Calibri", italic: true, margin: 0
    });
  });

  // Right column: function list
  const fns = [
    ["Basal Metabolic Rate", "Regulates oxygen consumption and energy metabolism in all cells"],
    ["Growth & Development", "Essential for normal skeletal growth and organ maturation"],
    ["Brain Development", "Foetal neurodevelopment — critical in 1st trimester"],
    ["Cardiovascular", "Maintains heart rate, myocardial contractility, cardiac output"],
    ["Thermogenesis", "Controls body temperature through calorigenic action"],
    ["Reproductive Health", "Normal menstrual cycles, fertility, and pregnancy outcome"],
  ];
  fns.forEach(([title, desc], i) => {
    const yPos = 1.42 + i * 0.67;
    s.addShape(pres.ShapeType.rect, {
      x: 4.85, y: yPos, w: 0.06, h: 0.52,
      fill: { color: AMBER },
      line: { color: AMBER, width: 0 }
    });
    s.addText(title, {
      x: 5.05, y: yPos, w: 4.7, h: 0.28,
      fontSize: 11, bold: true, color: NAVY, fontFace: "Calibri", margin: 0
    });
    s.addText(desc, {
      x: 5.05, y: yPos + 0.28, w: 4.7, h: 0.27,
      fontSize: 9.5, color: GRAY, fontFace: "Calibri", italic: true, margin: 0
    });
  });
}

// ═══════════════════════════════════════════════════════════════════════════
// SLIDE 3 — IODINE DEFICIENCY DISORDERS (IDD) SPECTRUM
// ═══════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  s.background = { color: WHITE };
  leftBar(s, AMBER);
  headerBand(s, "Iodine Deficiency Disorders (IDD)", "A spectrum from foetal life through adulthood");
  footer(s, "Source: Park's Preventive & Social Medicine | WHO Classification");

  // Spectrum arrow
  s.addShape(pres.ShapeType.rect, {
    x: 0.3, y: 1.38, w: 9.4, h: 0.32,
    fill: { color: LGRAY },
    line: { color: LGRAY, width: 0 }
  });
  s.addText("▶  SEVERITY SPECTRUM: MILD  ─────────────────────────────────────────  SEVERE  ◀", {
    x: 0.3, y: 1.38, w: 9.4, h: 0.32,
    fontSize: 9, color: NAVY, fontFace: "Calibri", align: "center", valign: "middle", margin: 0
  });

  const stages = [
    {
      stage: "Foetal / Neonatal",
      color: "C0392B",
      items: ["Spontaneous abortion", "Stillbirth", "Congenital anomalies", "Cretinism", "Neonatal hypothyroidism", "Psychomotor defects"]
    },
    {
      stage: "Infant / Child",
      color: "E67E22",
      items: ["Endemic goitre", "Impaired mental function", "Retarded growth", "Increased susceptibility to radiation", "Hypothyroidism"]
    },
    {
      stage: "Adolescent",
      color: TEAL,
      items: ["Goitre", "Hypothyroidism", "Retarded mental/physical development", "Impaired school performance"]
    },
    {
      stage: "Adult",
      color: NAVY,
      items: ["Goitre + complications", "Hypothyroidism", "Impaired work capacity", "Iodine-induced hyperthyroidism"]
    }
  ];

  stages.forEach((st, i) => {
    const x = 0.28 + i * 2.38;
    s.addShape(pres.ShapeType.rect, {
      x, y: 1.78, w: 2.2, h: 0.44,
      fill: { color: st.color },
      line: { color: st.color, width: 0 }
    });
    s.addText(st.stage, {
      x, y: 1.78, w: 2.2, h: 0.44,
      fontSize: 10.5, bold: true, color: WHITE, fontFace: "Calibri",
      align: "center", valign: "middle", margin: 0
    });
    s.addShape(pres.ShapeType.rect, {
      x, y: 2.22, w: 2.2, h: 3.0,
      fill: { color: "F7F9FC" },
      line: { color: st.color, width: 1 }
    });
    s.addText(st.items.map(it => ({ text: it, options: { bullet: true, breakLine: true } })), {
      x: x + 0.08, y: 2.28, w: 2.05, h: 2.88,
      fontSize: 9, color: GRAY, fontFace: "Calibri", valign: "top", margin: 0
    });
  });
}

// ═══════════════════════════════════════════════════════════════════════════
// SLIDE 4 — GOITRE: THE HALLMARK SIGN
// ═══════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  s.background = { color: LIGHT };
  leftBar(s, NAVY);
  headerBand(s, "Goitre: The Hallmark of Iodine Deficiency", "Enlarged thyroid gland — visible sign of chronic iodine insufficiency");
  footer(s, "Source: Scott-Brown's ORL & Head and Neck Surgery Vol 1 | Bailey & Love's Surgery");

  // WHO grading table
  s.addText("WHO Grading of Goitre", {
    x: 0.35, y: 1.35, w: 4.5, h: 0.38,
    fontSize: 13, bold: true, color: NAVY, fontFace: "Calibri", margin: 0
  });

  const grades = [
    ["Grade", "Definition", "#FFFFFF"],
    ["0", "No palpable or visible goitre", LIGHT],
    ["1a", "Goitre palpable but not visible with neck extended", "EAF4F2"],
    ["1b", "Goitre palpable, visible only with neck extended", LIGHT],
    ["2", "Goitre visible with neck in normal position", "EAF4F2"],
    ["3", "Very large goitre, visible at distance", LIGHT],
  ];
  grades.forEach(([g, def, bg], i) => {
    s.addShape(pres.ShapeType.rect, {
      x: 0.35, y: 1.73 + i * 0.41, w: 0.7, h: 0.41,
      fill: { color: i === 0 ? NAVY : TEAL },
      line: { color: WHITE, width: 0.5 }
    });
    s.addText(g, {
      x: 0.35, y: 1.73 + i * 0.41, w: 0.7, h: 0.41,
      fontSize: i === 0 ? 10 : 12, bold: true, color: WHITE, fontFace: "Calibri",
      align: "center", valign: "middle", margin: 0
    });
    s.addShape(pres.ShapeType.rect, {
      x: 1.05, y: 1.73 + i * 0.41, w: 3.75, h: 0.41,
      fill: { color: i === 0 ? NAVY : bg },
      line: { color: LGRAY, width: 0.5 }
    });
    s.addText(def, {
      x: 1.1, y: 1.73 + i * 0.41, w: 3.65, h: 0.41,
      fontSize: i === 0 ? 10 : 9.5,
      bold: i === 0, color: i === 0 ? WHITE : GRAY,
      fontFace: "Calibri", valign: "middle", margin: 0
    });
  });

  // Right: Urinary Iodine classification
  s.addText("Urinary Iodine Concentration (UIC) Classification", {
    x: 5.3, y: 1.35, w: 4.5, h: 0.38,
    fontSize: 12, bold: true, color: NAVY, fontFace: "Calibri", margin: 0
  });

  const uicData = [
    ["< 20 µg/L", "Severe Deficiency", "C0392B"],
    ["20-49 µg/L", "Moderate Deficiency", "E67E22"],
    ["50-99 µg/L", "Mild Deficiency", "F39C12"],
    ["100-199 µg/L", "Adequate", "27AE60"],
    ["200-299 µg/L", "More than adequate", "2980B9"],
    ["> 300 µg/L", "Excessive", "8E44AD"],
  ];
  uicData.forEach(([val, label, clr], i) => {
    s.addShape(pres.ShapeType.rect, {
      x: 5.3, y: 1.78 + i * 0.41, w: 1.65, h: 0.41,
      fill: { color: clr },
      line: { color: WHITE, width: 0.5 }
    });
    s.addText(val, {
      x: 5.3, y: 1.78 + i * 0.41, w: 1.65, h: 0.41,
      fontSize: 9.5, bold: true, color: WHITE, fontFace: "Calibri",
      align: "center", valign: "middle", margin: 0
    });
    s.addShape(pres.ShapeType.rect, {
      x: 6.95, y: 1.78 + i * 0.41, w: 2.85, h: 0.41,
      fill: { color: i % 2 === 0 ? LIGHT : WHITE },
      line: { color: LGRAY, width: 0.5 }
    });
    s.addText(label, {
      x: 7.0, y: 1.78 + i * 0.41, w: 2.75, h: 0.41,
      fontSize: 10, color: GRAY, fontFace: "Calibri",
      valign: "middle", margin: 0
    });
  });

  // key note
  s.addShape(pres.ShapeType.rect, {
    x: 0.35, y: 4.9, w: 9.45, h: 0.38,
    fill: { color: AMBER },
    line: { color: AMBER, width: 0 }
  });
  s.addText("Dietary sources: fish, dairy products, seafood — balanced diet provides ~150 µg/day for non-pregnant adults (Scott-Brown's ORL)", {
    x: 0.35, y: 4.9, w: 9.45, h: 0.38,
    fontSize: 9.5, color: NAVY, fontFace: "Calibri", bold: true,
    align: "center", valign: "middle", margin: 0
  });
}

// ═══════════════════════════════════════════════════════════════════════════
// SLIDE 5 — CRETINISM & NEUROLOGICAL IMPACT
// ═══════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  s.background = { color: WHITE };
  leftBar(s, TEAL);
  headerBand(s, "Severe Deficiency: Cretinism & Brain Damage", "Irreversible consequences when deficiency occurs in foetal/neonatal period");
  footer(s, "Source: Robbins & Cotran Pathologic Basis of Disease | Medical Physiology (Boron & Boulpaep)");

  // Two types box
  const types = [
    {
      title: "Neurological Cretinism",
      color: "C0392B",
      features: [
        "Mental retardation (most prominent)",
        "Deaf-mutism",
        "Spastic diplegia / motor deficits",
        "Squint (strabismus)",
        "Goitre present",
        "Thyroid function near normal",
        "Endemic — due to severe iodine deficiency"
      ]
    },
    {
      title: "Myxedematous Cretinism",
      color: TEAL,
      features: [
        "Stunted growth (dwarfism)",
        "Severe hypothyroidism",
        "Myxedema (puffy features)",
        "Mild intellectual impairment",
        "Absent or atrophied thyroid",
        "Delayed bone age",
        "More responsive to iodine/T4 treatment"
      ]
    }
  ];

  types.forEach((t, i) => {
    const x = 0.28 + i * 4.85;
    s.addShape(pres.ShapeType.rect, {
      x, y: 1.38, w: 4.6, h: 0.5,
      fill: { color: t.color },
      line: { color: t.color, width: 0 }
    });
    s.addText(t.title, {
      x, y: 1.38, w: 4.6, h: 0.5,
      fontSize: 13.5, bold: true, color: WHITE, fontFace: "Calibri",
      align: "center", valign: "middle", margin: 0
    });
    s.addShape(pres.ShapeType.rect, {
      x, y: 1.88, w: 4.6, h: 3.35,
      fill: { color: i === 0 ? "FEF9F9" : LIGHT },
      line: { color: t.color, width: 1 }
    });
    s.addText(t.features.map(f => ({ text: f, options: { bullet: true, breakLine: true } })), {
      x: x + 0.15, y: 1.95, w: 4.3, h: 3.2,
      fontSize: 10.5, color: GRAY, fontFace: "Calibri", valign: "top", margin: 0
    });
  });

  // Cognitive impact banner
  s.addShape(pres.ShapeType.rect, {
    x: 0.28, y: 5.25, w: 9.44, h: 0.28,
    fill: { color: NAVY },
    line: { color: NAVY, width: 0 }
  });
  s.addText("Even MILD iodine deficiency in early pregnancy is associated with lower IQ scores, reading accuracy and comprehension in children at age 8 (UK Study, Scott-Brown's)", {
    x: 0.28, y: 5.25, w: 9.44, h: 0.28,
    fontSize: 8.5, color: AMBER, fontFace: "Calibri", italic: true,
    align: "center", valign: "middle", margin: 0
  });
}

// ═══════════════════════════════════════════════════════════════════════════
// SLIDE 6 — HYPOTHYROIDISM SYMPTOMS
// ═══════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  s.background = { color: LIGHT };
  leftBar(s, AMBER);
  headerBand(s, "Hypothyroidism: Clinical Symptoms of Iodine Deficiency", "Low T3/T4 → multi-system manifestations");
  footer(s, "Source: Park's Preventive & Social Medicine | Cleveland Clinic | NIH ODS");

  const systems = [
    { sys: "General", icon: "⚡", items: ["Fatigue, weakness", "Weight gain", "Cold intolerance", "Slowed metabolism"] },
    { sys: "Skin & Hair", icon: "🔬", items: ["Dry, coarse skin", "Hair thinning/loss", "Puffy face (myxedema)", "Brittle nails"] },
    { sys: "Neurological", icon: "🧠", items: ["Poor memory", "Slowed thinking", "Depression", "Carpal tunnel"] },
    { sys: "Cardiovascular", icon: "❤", items: ["Bradycardia", "Raised diastolic BP", "Pericardial effusion", "Reduced cardiac output"] },
    { sys: "GI", icon: "🔵", items: ["Constipation", "Decreased bowel motility", "Enlarged tongue", "Abdominal bloating"] },
    { sys: "Reproductive", icon: "⚕", items: ["Menstrual irregularity", "Infertility", "Reduced libido", "Miscarriage risk ↑"] },
  ];

  systems.forEach((item, i) => {
    const col = i % 3;
    const row = Math.floor(i / 3);
    const x = 0.28 + col * 3.22;
    const y = 1.42 + row * 1.97;

    s.addShape(pres.ShapeType.rect, {
      x, y, w: 3.05, h: 0.44,
      fill: { color: col === 0 ? NAVY : col === 1 ? TEAL : AMBER },
      line: { color: WHITE, width: 0 }
    });
    s.addText(`${item.icon}  ${item.sys}`, {
      x: x + 0.08, y, w: 2.9, h: 0.44,
      fontSize: 12, bold: true, color: WHITE, fontFace: "Calibri",
      valign: "middle", margin: 0
    });
    s.addShape(pres.ShapeType.rect, {
      x, y: y + 0.44, w: 3.05, h: 1.48,
      fill: { color: WHITE },
      line: { color: LGRAY, width: 0.8 }
    });
    s.addText(item.items.map(it => ({ text: it, options: { bullet: true, breakLine: true } })), {
      x: x + 0.1, y: y + 0.5, w: 2.85, h: 1.36,
      fontSize: 9.5, color: GRAY, fontFace: "Calibri", valign: "top", margin: 0
    });
  });
}

// ═══════════════════════════════════════════════════════════════════════════
// SLIDE 7 — AT-RISK POPULATIONS & GLOBAL BURDEN
// ═══════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  s.background = { color: WHITE };
  leftBar(s, TEAL);
  headerBand(s, "At-Risk Populations & Global Burden", "29% of world's population lives in iodine-deficient areas");
  footer(s, "Source: WHO 2004 | Medscape | Park's Preventive Medicine | Scott-Brown's ORL");

  // risk groups
  const groups = [
    { grp: "Pregnant Women", why: "2× iodine demand; foetal brain development requires sustained supply; UIC target ≥ 150 µg/L", clr: "C0392B" },
    { grp: "Infants & Neonates", why: "Dependent on maternal iodine stores; neonatal hypothyroidism → permanent brain damage if untreated", clr: "E67E22" },
    { grp: "School-Age Children", why: "Growing brain needs sustained T3/T4; 285 M school children affected globally (WHO 2004)", clr: TEAL },
    { grp: "Mountain/Inland Populations", why: "Iodine-poor soils — Himalayan belt, Sub-Saharan Africa, SE Asia plateaus; crop iodine reflects soil levels", clr: NAVY },
  ];

  groups.forEach((g, i) => {
    s.addShape(pres.ShapeType.rect, {
      x: 0.28, y: 1.42 + i * 0.95, w: 2.65, h: 0.88,
      fill: { color: g.clr },
      line: { color: g.clr, width: 0 }
    });
    s.addText(g.grp, {
      x: 0.28, y: 1.42 + i * 0.95, w: 2.65, h: 0.88,
      fontSize: 10.5, bold: true, color: WHITE, fontFace: "Calibri",
      align: "center", valign: "middle", margin: 0, wrap: true
    });
    s.addShape(pres.ShapeType.rect, {
      x: 2.93, y: 1.42 + i * 0.95, w: 6.8, h: 0.88,
      fill: { color: i % 2 === 0 ? LIGHT : WHITE },
      line: { color: LGRAY, width: 0.8 }
    });
    s.addText(g.why, {
      x: 3.05, y: 1.42 + i * 0.95, w: 6.6, h: 0.88,
      fontSize: 10, color: GRAY, fontFace: "Calibri",
      valign: "middle", margin: 0, wrap: true
    });
  });

  // global burden stats
  s.addShape(pres.ShapeType.rect, {
    x: 0.28, y: 5.08, w: 9.44, h: 0.28,
    fill: { color: AMBER },
    line: { color: AMBER, width: 0 }
  });
  s.addText("India: 263/325 surveyed districts endemic (IDD prevalence > 10%) · 71 M+ persons affected · All states impacted — including coastal regions (Park's PSM)", {
    x: 0.28, y: 5.08, w: 9.44, h: 0.28,
    fontSize: 8.5, color: NAVY, fontFace: "Calibri", bold: true,
    align: "center", valign: "middle", margin: 0
  });
}

// ═══════════════════════════════════════════════════════════════════════════
// SLIDE 8 — PUBLIC HEALTH MANAGEMENT
// ═══════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  s.background = { color: LIGHT };
  leftBar(s, NAVY);
  headerBand(s, "Public Health Management of IDD", "Universal Salt Iodization — the cornerstone strategy");
  footer(s, "Source: Park's Preventive & Social Medicine | WHO/UNICEF/ICCIDD Guidelines");

  const strategies = [
    {
      num: "01",
      title: "Universal Salt Iodization (USI)",
      clr: NAVY,
      points: [
        "Fortify ALL edible salt — not just 'iodized salt' programmes",
        "India: ≥ 15 ppm iodine at production level; ≥ 15 ppm at consumer level",
        "Cost-effective: ~ US$ 0.05 per person per year",
        "India banned non-iodized salt under FSSAI 2006/2011"
      ]
    },
    {
      num: "02",
      title: "Monitoring & Surveillance",
      clr: TEAL,
      points: [
        "Urinary iodine concentration (UIC) surveys every 5 years",
        "School-age children: target UIC ≥ 100 µg/L",
        "Pregnant women: target UIC ≥ 150 µg/L",
        "India: IDD Control Cells in 34 States/UTs established",
        "Salt iodine content testing at production and consumer level"
      ]
    },
    {
      num: "03",
      title: "Supplementation Programmes",
      clr: AMBER,
      points: [
        "Iodized oil (oral/IM) in severely deficient, remote areas",
        "Iodine tablets for pregnant/lactating women where salt USI not reached",
        "Iodine supplementation for refugees and conflict-zone populations",
        "Daily iodine supplements: 150 µg (adults), 220-290 µg (pregnancy/lactation)"
      ]
    },
    {
      num: "04",
      title: "Health Education & Communication",
      clr: "346E6F",
      points: [
        "Promote consumption of iodine-rich foods: fish, dairy, eggs",
        "Community awareness on correct salt storage (airtight, away from heat/light)",
        "School health education programmes",
        "Behavioral change communication (BCC) campaigns"
      ]
    }
  ];

  strategies.forEach((st, i) => {
    const x = 0.26 + (i % 2) * 4.9;
    const y = 1.42 + Math.floor(i / 2) * 2.0;

    s.addShape(pres.ShapeType.rect, {
      x, y, w: 4.62, h: 0.46,
      fill: { color: st.clr },
      line: { color: st.clr, width: 0 }
    });
    s.addText(`${st.num}  ${st.title}`, {
      x: x + 0.1, y, w: 4.42, h: 0.46,
      fontSize: 11.5, bold: true, color: WHITE, fontFace: "Calibri",
      valign: "middle", margin: 0
    });
    s.addShape(pres.ShapeType.rect, {
      x, y: y + 0.46, w: 4.62, h: 1.48,
      fill: { color: WHITE },
      line: { color: LGRAY, width: 0.8 }
    });
    s.addText(st.points.map(p => ({ text: p, options: { bullet: true, breakLine: true } })), {
      x: x + 0.1, y: y + 0.52, w: 4.42, h: 1.37,
      fontSize: 9, color: GRAY, fontFace: "Calibri", valign: "top", margin: 0
    });
  });
}

// ═══════════════════════════════════════════════════════════════════════════
// SLIDE 9 — INDIA: NATIONAL IDD CONTROL PROGRAMME
// ═══════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  s.background = { color: WHITE };
  leftBar(s, TEAL);
  headerBand(s, "India: National IDD Control Programme (NIDDCP)", "From goitre control (1962) to universal salt iodization (national policy)");
  footer(s, "Source: Park's Preventive & Social Medicine, 26th Edition");

  // Timeline
  const timeline = [
    { yr: "1962", event: "Goitre Control Programme launched — area-specific iodized salt distribution" },
    { yr: "1986", event: "National IDD Control Programme (NIDDCP) initiated — nationwide rather than area-specific" },
    { yr: "1992", event: "Prevention of Food Adulteration (PFA) Act amended — ban on non-iodized salt in endemic areas" },
    { yr: "2000", event: "Iodized salt mandatory in all states; PFA amended to include all areas" },
    { yr: "2006", event: "Food Safety & Standards Act enacted — nationwide ban on non-iodized salt for human consumption" },
    { yr: "2011", event: "FSSAI Regulations 2011 — enforceable nationwide ban on sale of non-iodized salt" },
  ];

  s.addShape(pres.ShapeType.rect, {
    x: 1.1, y: 1.42, w: 0.06, h: 3.85,
    fill: { color: TEAL },
    line: { color: TEAL, width: 0 }
  });

  timeline.forEach((t, i) => {
    const y = 1.42 + i * 0.65;
    s.addShape(pres.ShapeType.ellipse, {
      x: 0.88, y: y + 0.06, w: 0.48, h: 0.38,
      fill: { color: AMBER },
      line: { color: NAVY, width: 1 }
    });
    s.addText(t.yr, {
      x: 0.88, y: y + 0.06, w: 0.48, h: 0.38,
      fontSize: 8, bold: true, color: NAVY, fontFace: "Calibri",
      align: "center", valign: "middle", margin: 0
    });
    s.addText(t.event, {
      x: 1.35, y: y + 0.04, w: 8.3, h: 0.5,
      fontSize: 10, color: GRAY, fontFace: "Calibri",
      valign: "middle", margin: 0, wrap: true
    });
  });

  // Key components box
  s.addShape(pres.ShapeType.rect, {
    x: 0.28, y: 5.05, w: 9.44, h: 0.43,
    fill: { color: NAVY },
    line: { color: NAVY, width: 0 }
  });
  s.addText("4 Core Components: (1) Iodized Salt  |  (2) Monitoring & Surveillance  |  (3) Manpower Training  |  (4) Mass Communication & Health Education", {
    x: 0.28, y: 5.05, w: 9.44, h: 0.43,
    fontSize: 9.5, bold: true, color: AMBER, fontFace: "Calibri",
    align: "center", valign: "middle", margin: 0
  });
}

// ═══════════════════════════════════════════════════════════════════════════
// SLIDE 10 — KEY TAKEAWAYS & RECOMMENDATIONS
// ═══════════════════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  s.background = { color: NAVY };
  // side accent
  s.addShape(pres.ShapeType.rect, {
    x: 0, y: 0, w: 0.55, h: 5.625,
    fill: { color: TEAL },
    line: { color: TEAL, width: 0 }
  });
  s.addShape(pres.ShapeType.rect, {
    x: 0, y: 5.0, w: 10, h: 0.625,
    fill: { color: AMBER },
    line: { color: AMBER, width: 0 }
  });

  s.addText("Key Takeaways", {
    x: 0.75, y: 0.2, w: 8.8, h: 0.65,
    fontSize: 30, bold: true, color: WHITE, fontFace: "Calibri", margin: 0
  });
  s.addText("& Recommendations", {
    x: 0.75, y: 0.82, w: 8.8, h: 0.45,
    fontSize: 20, color: AMBER, fontFace: "Calibri", italic: true, margin: 0
  });

  const takeaways = [
    { n: "1", t: "Iodine's ONLY known role is thyroid hormone (T3/T4) synthesis — deficiency impairs every system they regulate." },
    { n: "2", t: "IDD is a spectrum: from subclinical hypothyroidism in adults to irreversible cretinism in foetal life." },
    { n: "3", t: "Universal Salt Iodization (USI) is the most cost-effective, scalable public health solution." },
    { n: "4", t: "Pregnant and lactating women and young children are highest-risk — targeted supplementation is essential where USI gaps exist." },
    { n: "5", t: "Surveillance using UIC every 5 years is necessary to monitor programme effectiveness and guide policy." },
    { n: "6", t: "Excess iodine can also cause harm (iodism, Hashimoto's thyroiditis, iodine-induced hyperthyroidism) — programmes must monitor upper limits." },
  ];

  takeaways.forEach((tk, i) => {
    const col = i < 3 ? 0 : 1;
    const row = i % 3;
    const x = 0.75 + col * 4.65;
    const y = 1.42 + row * 1.1;

    s.addShape(pres.ShapeType.ellipse, {
      x, y: y + 0.1, w: 0.42, h: 0.42,
      fill: { color: AMBER },
      line: { color: AMBER, width: 0 }
    });
    s.addText(tk.n, {
      x, y: y + 0.1, w: 0.42, h: 0.42,
      fontSize: 12, bold: true, color: NAVY, fontFace: "Calibri",
      align: "center", valign: "middle", margin: 0
    });
    s.addText(tk.t, {
      x: x + 0.52, y, w: 4.0, h: 0.9,
      fontSize: 9.5, color: LGRAY, fontFace: "Calibri",
      valign: "middle", margin: 0, wrap: true
    });
  });

  s.addText("Sources: Park's Preventive & Social Medicine | Robbins & Cotran Pathology | Scott-Brown's ORL | Medical Physiology | WHO/UNICEF/ICCIDD", {
    x: 0.55, y: 5.05, w: 9.2, h: 0.42,
    fontSize: 8, color: NAVY, fontFace: "Calibri", bold: true,
    align: "center", valign: "middle", margin: 0
  });
}

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

cd /home/daytona/workspace/iodine-ppt && node iodine.js 2>&1

Running Command

ls -lh /home/daytona/workspace/iodine-ppt/

Your presentation is ready! Download it here:

Iodine Function Deficiency Public Health

Presentation · PPTX


10 slides with a navy-teal-amber color scheme, covering:
SlideContent
1Title slide with key global statistics
2Functions of Iodine (thyroid hormone synthesis, BMR, brain development, CVS, reproduction)
3IDD Spectrum - foetal through adult life (by increasing severity)
4Goitre - WHO grading table + Urinary Iodine Concentration classification
5Cretinism & Neurological Impact (neurological vs myxedematous types)
6Hypothyroidism symptoms across 6 body systems
7At-risk populations & global/India burden
8Public Health Management (4 strategies: USI, surveillance, supplementation, education)
9India's NIDDCP - timeline from 1962 to 2011
10Key Takeaways & Recommendations
Sources used: Park's Preventive & Social Medicine, Robbins & Cotran Pathology, Scott-Brown's ORL, Medical Physiology, and WHO/UNICEF/ICCIDD guidelines.
This is a shared conversation. Sign in to Orris to start your own chat.