Make a ppt on Integrated disease surveillance program

Reading File
Searching the Web

Integrated Disease Surveillance Programme IDSP India components objectives

Reading File
Reading Web Page

https://en.wikipedia.org/wiki/Integrated_Disease_Surveillanc…

Running Command

ls -la /home/daytona/workspace/ 2>/dev/null || echo "workspace is empty or missing"

Writing File

~/idsp-ppt/create_idsp.js

const pptxgen = require("pptxgenjs");

const pres = new pptxgen();
pres.layout = "LAYOUT_16x9";
pres.title = "Integrated Disease Surveillance Programme (IDSP)";

// ─── COLOR PALETTE ───
const C = {
  darkBlue:   "0B1E3E",   // dominant - slide backgrounds
  midBlue:    "1A3F6F",   // section headers / card fills
  teal:       "0E8C8C",   // accent lines / icons
  amber:      "F4A100",   // accent text / highlights
  white:      "FFFFFF",
  lightGray:  "E8EEF6",
  textLight:  "D0DCF0",
};

// ─── HELPERS ───
function titleBar(slide, title, sub) {
  // left accent stripe
  slide.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 0.08, h: 5.625, fill: { color: C.teal } });
  // heading
  slide.addText(title, {
    x: 0.25, y: 0.22, w: 9.5, h: 0.55,
    fontSize: 26, bold: true, color: C.amber, fontFace: "Calibri",
    margin: 0,
  });
  if (sub) {
    slide.addText(sub, {
      x: 0.25, y: 0.82, w: 9.5, h: 0.3,
      fontSize: 13, color: C.textLight, fontFace: "Calibri", italic: true, margin: 0,
    });
  }
  // bottom rule
  slide.addShape(pres.ShapeType.rect, { x: 0.25, y: 1.18, w: 9.5, h: 0.04, fill: { color: C.teal } });
}

function darkBg(slide) {
  slide.background = { color: C.darkBlue };
}

function card(slide, x, y, w, h, fillColor) {
  slide.addShape(pres.ShapeType.roundRect, {
    x, y, w, h,
    fill: { color: fillColor || C.midBlue },
    line: { color: C.teal, width: 1.2 },
    rectRadius: 0.08,
  });
}

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

  // big gradient-feel backdrop rectangle
  s.addShape(pres.ShapeType.rect, {
    x: 0, y: 0, w: 10, h: 5.625,
    fill: { type: "solid", color: C.darkBlue },
  });

  // Decorative accent bar left
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 0.12, h: 5.625, fill: { color: C.teal } });

  // Decorative accent bar right
  s.addShape(pres.ShapeType.rect, { x: 9.88, y: 0, w: 0.12, h: 5.625, fill: { color: C.amber } });

  // Top strip
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 0.08, fill: { color: C.teal } });

  // Bottom strip
  s.addShape(pres.ShapeType.rect, { x: 0, y: 5.545, w: 10, h: 0.08, fill: { color: C.amber } });

  // emblem/circle
  s.addShape(pres.ShapeType.ellipse, { x: 4.3, y: 0.5, w: 1.4, h: 1.4, fill: { color: C.teal }, line: { color: C.amber, width: 2 } });
  s.addText("IDSP", { x: 4.3, y: 0.72, w: 1.4, h: 0.55, fontSize: 20, bold: true, color: C.white, align: "center", fontFace: "Calibri", margin: 0 });

  // Main title
  s.addText("Integrated Disease", {
    x: 0.5, y: 2.05, w: 9, h: 0.72,
    fontSize: 38, bold: true, color: C.white,
    align: "center", fontFace: "Calibri", margin: 0,
  });
  s.addText("Surveillance Programme", {
    x: 0.5, y: 2.75, w: 9, h: 0.72,
    fontSize: 38, bold: true, color: C.amber,
    align: "center", fontFace: "Calibri", margin: 0,
  });
  s.addText("(IDSP)", {
    x: 0.5, y: 3.45, w: 9, h: 0.45,
    fontSize: 22, bold: false, color: C.textLight,
    align: "center", fontFace: "Calibri", margin: 0,
  });

  // tagline
  s.addShape(pres.ShapeType.rect, { x: 2.5, y: 4.1, w: 5, h: 0.04, fill: { color: C.teal } });
  s.addText("India's Nationwide Disease Monitoring & Early Warning System", {
    x: 0.5, y: 4.25, w: 9, h: 0.38,
    fontSize: 13, italic: true, color: C.textLight,
    align: "center", fontFace: "Calibri", margin: 0,
  });
}

// ═══════════════════════════════════
// SLIDE 2 – OVERVIEW
// ═══════════════════════════════════
{
  const s = pres.addSlide();
  darkBg(s);
  titleBar(s, "What is IDSP?", "Background and Overview");

  const bullets = [
    "Nationwide disease surveillance system integrating state and central government health data",
    "Launched in November 2004 with World Bank assistance (2004–2010); continued under National Health Mission",
    "Aims at early detection and long-term monitoring of epidemic-prone diseases",
    "Operates through a three-tier structure: Central, State, and District Surveillance Units",
    "Covers all 36 States/UTs and 741+ districts; weekly data reported from >90% of districts",
    "Upgraded to Integrated Health Information Platform (IHIP) in 2019 for digital real-time surveillance",
  ];

  bullets.forEach((b, i) => {
    const yBase = 1.38 + i * 0.65;
    // bullet circle
    s.addShape(pres.ShapeType.ellipse, { x: 0.3, y: yBase + 0.07, w: 0.22, h: 0.22, fill: { color: C.teal } });
    s.addText(b, {
      x: 0.65, y: yBase, w: 9.1, h: 0.55,
      fontSize: 13.5, color: C.white, fontFace: "Calibri",
      valign: "middle", margin: 0,
    });
  });
}

// ═══════════════════════════════════
// SLIDE 3 – OBJECTIVES
// ═══════════════════════════════════
{
  const s = pres.addSlide();
  darkBg(s);
  titleBar(s, "Objectives of IDSP", "Core goals of the programme");

  const objs = [
    { icon: "🎯", title: "Decentralized Surveillance", text: "Establish state-based surveillance system for epidemic-prone diseases" },
    { icon: "🔬", title: "Laboratory Strengthening", text: "Strengthen public health labs for diagnosis and confirmation of cases" },
    { icon: "⚡", title: "Early Warning", text: "Monitor disease trends and detect outbreaks in the early rising phase" },
    { icon: "🤝", title: "Inter-sectoral Coordination", text: "Coordinate with animal husbandry and other sectors for zoonotic diseases" },
    { icon: "💻", title: "IT-Enabled System", text: "Use ICT for real-time collection, analysis, and dissemination of data" },
    { icon: "🚑", title: "Rapid Response", text: "Enable rapid response teams (RRTs) to investigate and control outbreaks" },
  ];

  const cols = [0.2, 5.1];
  const rows = [1.35, 2.7, 4.05];

  objs.forEach((o, i) => {
    const col = i % 2;
    const row = Math.floor(i / 2);
    const x = cols[col];
    const y = rows[row];
    card(s, x, y, 4.7, 1.1, "152A52");
    s.addText(o.icon + "  " + o.title, {
      x: x + 0.15, y: y + 0.1, w: 4.4, h: 0.35,
      fontSize: 13, bold: true, color: C.amber, fontFace: "Calibri", margin: 0,
    });
    s.addText(o.text, {
      x: x + 0.15, y: y + 0.45, w: 4.4, h: 0.55,
      fontSize: 11.5, color: C.textLight, fontFace: "Calibri", margin: 0,
    });
  });
}

// ═══════════════════════════════════
// SLIDE 4 – ORGANIZATIONAL STRUCTURE
// ═══════════════════════════════════
{
  const s = pres.addSlide();
  darkBg(s);
  titleBar(s, "Organizational Structure", "Three-tier surveillance hierarchy");

  // Central Level
  card(s, 3.3, 1.35, 3.4, 1.0, "0E4E6E");
  s.addText("CENTRAL SURVEILLANCE UNIT (CSU)", {
    x: 3.3, y: 1.38, w: 3.4, h: 0.38,
    fontSize: 11.5, bold: true, color: C.amber, align: "center", fontFace: "Calibri", margin: 0,
  });
  s.addText("National Centre for Disease Control, Delhi\nMinistry of Health & Family Welfare", {
    x: 3.3, y: 1.76, w: 3.4, h: 0.5,
    fontSize: 10, color: C.textLight, align: "center", fontFace: "Calibri", margin: 0,
  });

  // Arrow down
  s.addShape(pres.ShapeType.rect, { x: 4.95, y: 2.38, w: 0.1, h: 0.45, fill: { color: C.teal } });
  s.addText("▼", { x: 4.7, y: 2.77, w: 0.6, h: 0.3, fontSize: 14, color: C.teal, align: "center", margin: 0 });

  // State Level
  card(s, 1.5, 3.1, 3.4, 1.0, "0E4E6E");
  s.addText("STATE SURVEILLANCE UNIT (SSU)", {
    x: 1.5, y: 3.13, w: 3.4, h: 0.38,
    fontSize: 11.5, bold: true, color: C.teal, align: "center", fontFace: "Calibri", margin: 0,
  });
  s.addText("State/UT Headquarters\nState Epidemiologist, Microbiologist", {
    x: 1.5, y: 3.51, w: 3.4, h: 0.5,
    fontSize: 10, color: C.textLight, align: "center", fontFace: "Calibri", margin: 0,
  });

  // Arrow
  s.addShape(pres.ShapeType.rect, { x: 4.95, y: 3.1, w: 0.1, h: 0.45, fill: { color: C.teal } });
  s.addText("▼", { x: 4.7, y: 3.49, w: 0.6, h: 0.3, fontSize: 14, color: C.teal, align: "center", margin: 0 });

  // District Level
  card(s, 5.1, 3.1, 3.4, 1.0, "0E4E6E");
  s.addText("DISTRICT SURVEILLANCE UNIT (DSU)", {
    x: 5.1, y: 3.13, w: 3.4, h: 0.38,
    fontSize: 11.5, bold: true, color: C.teal, align: "center", fontFace: "Calibri", margin: 0,
  });
  s.addText("All Districts\nDistrict Surveillance Officer, RRT", {
    x: 5.1, y: 3.51, w: 3.4, h: 0.5,
    fontSize: 10, color: C.textLight, align: "center", fontFace: "Calibri", margin: 0,
  });

  // Connecting line state to district
  s.addShape(pres.ShapeType.rect, { x: 4.9, y: 3.55, w: 0.2, h: 0.05, fill: { color: C.teal } });

  // Health Facilities row
  s.addText("Data Sources: Medical Colleges | Hospitals | PHCs | Labs | Private Sector | Media Scanning", {
    x: 0.3, y: 4.45, w: 9.4, h: 0.38,
    fontSize: 11.5, color: C.amber, align: "center", fontFace: "Calibri",
    bold: false, italic: true, margin: 0,
  });
  s.addShape(pres.ShapeType.rect, { x: 0.3, y: 4.42, w: 9.4, h: 0.04, fill: { color: C.teal } });
}

// ═══════════════════════════════════
// SLIDE 5 – REPORTING FORMATS (S-P-L)
// ═══════════════════════════════════
{
  const s = pres.addSlide();
  darkBg(s);
  titleBar(s, "IDSP Reporting Formats", "S – P – L Reporting System");

  const formats = [
    {
      code: "S", label: "Suspected Cases",
      who: "Health Workers / ASHAs / ANMs",
      desc: "Community-level reporting of suspected illness based on symptoms. First line of surveillance capturing early warning signals.",
      color: "1A5E5E",
    },
    {
      code: "P", label: "Presumptive Cases",
      who: "Clinicians / Medical Officers",
      desc: "Clinically diagnosed cases at OPD/IPD based on clinical features. Provides physician perspective on disease trends.",
      color: "1A4A6E",
    },
    {
      code: "L", label: "Lab-Confirmed Cases",
      who: "Laboratory Staff",
      desc: "Laboratory-confirmed diagnosis with test results. Most specific data used for definitive outbreak confirmation.",
      color: "4E2A6E",
    },
  ];

  formats.forEach((f, i) => {
    const x = 0.3 + i * 3.2;
    card(s, x, 1.35, 3.0, 3.8, f.color);

    // code circle
    s.addShape(pres.ShapeType.ellipse, { x: x + 1.15, y: 1.5, w: 0.7, h: 0.7, fill: { color: C.teal } });
    s.addText(f.code, { x: x + 1.15, y: 1.52, w: 0.7, h: 0.55, fontSize: 22, bold: true, color: C.white, align: "center", margin: 0 });

    s.addText(f.label, {
      x: x + 0.1, y: 2.3, w: 2.8, h: 0.45,
      fontSize: 14, bold: true, color: C.amber, align: "center", fontFace: "Calibri", margin: 0,
    });
    s.addText("Reported by:", {
      x: x + 0.1, y: 2.78, w: 2.8, h: 0.3,
      fontSize: 10, italic: true, color: C.teal, align: "center", fontFace: "Calibri", margin: 0,
    });
    s.addText(f.who, {
      x: x + 0.1, y: 3.08, w: 2.8, h: 0.3,
      fontSize: 10.5, bold: true, color: C.white, align: "center", fontFace: "Calibri", margin: 0,
    });
    s.addText(f.desc, {
      x: x + 0.1, y: 3.45, w: 2.8, h: 1.5,
      fontSize: 10.5, color: C.textLight, align: "center", fontFace: "Calibri", margin: 0,
    });
  });

  s.addText("Data is collected daily on the IHIP portal and analyzed for disease trends, seasonality, and outbreak detection.", {
    x: 0.3, y: 5.18, w: 9.4, h: 0.3,
    fontSize: 11, italic: true, color: C.teal, align: "center", fontFace: "Calibri", margin: 0,
  });
}

// ═══════════════════════════════════
// SLIDE 6 – PROGRAMME COMPONENTS
// ═══════════════════════════════════
{
  const s = pres.addSlide();
  darkBg(s);
  titleBar(s, "Programme Components", "Five pillars of IDSP");

  const comps = [
    { num: "01", title: "Integration & Decentralization", text: "Surveillance units at State & District levels for region-specific disease monitoring and response" },
    { num: "02", title: "Human Resource Development", text: "Training of DSOs, Epidemiologists, Microbiologists, RRTs on surveillance principles and outbreak response" },
    { num: "03", title: "Information & Communication Technology", text: "IT-enabled collection, collation, analysis and dissemination of disease data through IHIP portal" },
    { num: "04", title: "Laboratory Strengthening", text: "Capacity building of public health labs for quality diagnosis and confirmation of reportable diseases" },
    { num: "05", title: "Inter-sectoral Coordination", text: "Collaboration with Animal Husbandry dept, Environment & other sectors for zoonotic disease control" },
  ];

  comps.forEach((c, i) => {
    const y = 1.35 + i * 0.82;
    // numbered badge
    s.addShape(pres.ShapeType.rect, { x: 0.2, y, w: 0.55, h: 0.62, fill: { color: C.teal }, rectRadius: 0.05 });
    s.addText(c.num, { x: 0.2, y: y + 0.05, w: 0.55, h: 0.52, fontSize: 15, bold: true, color: C.white, align: "center", margin: 0 });
    // content
    s.addText(c.title, { x: 0.9, y: y + 0.02, w: 4.8, h: 0.28, fontSize: 13, bold: true, color: C.amber, fontFace: "Calibri", margin: 0 });
    s.addText(c.text, { x: 0.9, y: y + 0.3, w: 8.9, h: 0.4, fontSize: 11.5, color: C.textLight, fontFace: "Calibri", margin: 0 });
    if (i < 4) s.addShape(pres.ShapeType.rect, { x: 0.2, y: y + 0.68, w: 9.6, h: 0.02, fill: { color: "2A4060" } });
  });
}

// ═══════════════════════════════════
// SLIDE 7 – DISEASES UNDER IDSP
// ═══════════════════════════════════
{
  const s = pres.addSlide();
  darkBg(s);
  titleBar(s, "Diseases Under IDSP Surveillance", "Epidemic-prone diseases monitored");

  const cats = [
    {
      cat: "Fever-based Syndromes",
      items: ["Malaria", "Dengue / Chikungunya", "Typhoid", "Leptospirosis", "Scrub Typhus"],
    },
    {
      cat: "Respiratory Illnesses",
      items: ["Influenza-like Illness (ILI)", "Severe Acute Respiratory Infection (SARI)", "Pneumonia", "COVID-19"],
    },
    {
      cat: "Diarrhoeal Diseases",
      items: ["Cholera", "Acute Diarrhoeal Disease (ADD)", "Acute Gastroenteritis", "Food Poisoning"],
    },
    {
      cat: "Neurological & Others",
      items: ["Acute Encephalitis Syndrome (AES)", "Acute Flaccid Paralysis (AFP)", "Measles / Rubella", "Hepatitis A & E"],
    },
  ];

  const xs = [0.2, 5.1];
  const ys = [1.35, 3.05];

  cats.forEach((cat, i) => {
    const x = xs[i % 2];
    const y = ys[Math.floor(i / 2)];
    card(s, x, y, 4.7, 1.55, "0A2A4A");
    s.addText(cat.cat, {
      x: x + 0.15, y: y + 0.08, w: 4.4, h: 0.32,
      fontSize: 13, bold: true, color: C.amber, fontFace: "Calibri", margin: 0,
    });
    cat.items.forEach((item, j) => {
      s.addShape(pres.ShapeType.ellipse, { x: x + 0.18, y: y + 0.48 + j * 0.23, w: 0.1, h: 0.1, fill: { color: C.teal } });
      s.addText(item, {
        x: x + 0.35, y: y + 0.44 + j * 0.23, w: 4.2, h: 0.22,
        fontSize: 11, color: C.white, fontFace: "Calibri", margin: 0,
      });
    });
  });

  s.addText("+ Zoonotic diseases, Vector-borne diseases, Vaccine-preventable diseases & Unusual Health Events", {
    x: 0.3, y: 4.82, w: 9.4, h: 0.35,
    fontSize: 11, italic: true, color: C.teal, align: "center", fontFace: "Calibri", margin: 0,
  });
}

// ═══════════════════════════════════
// SLIDE 8 – ICT & IHIP PORTAL
// ═══════════════════════════════════
{
  const s = pres.addSlide();
  darkBg(s);
  titleBar(s, "ICT & the IHIP Portal", "Technology backbone of IDSP");

  const features = [
    { icon: "📱", text: "Real-time data reporting via mobile application – accessible at village, state & central levels" },
    { icon: "📊", text: "Advanced data modeling & analytical tools for trend analysis and forecasting" },
    { icon: "🗺️", text: "GIS-enabled graphical representation of data with integrated surveillance dashboard" },
    { icon: "🔔", text: "Role & hierarchy-based feedback and automated alert mechanisms" },
    { icon: "📍", text: "Geo-tagging of reporting health facilities for spatial mapping" },
    { icon: "🔗", text: "Scope for data integration with other national health programs (NVBDCP, RNTCP, etc.)" },
  ];

  features.forEach((f, i) => {
    const col = i % 2;
    const row = Math.floor(i / 2);
    const x = col === 0 ? 0.2 : 5.1;
    const y = 1.38 + row * 1.3;
    card(s, x, y, 4.7, 1.1, "0F2E4A");
    s.addText(f.icon, { x: x + 0.15, y: y + 0.3, w: 0.45, h: 0.45, fontSize: 22, margin: 0 });
    s.addText(f.text, {
      x: x + 0.65, y: y + 0.12, w: 3.9, h: 0.85,
      fontSize: 11.5, color: C.white, fontFace: "Calibri", valign: "middle", margin: 0,
    });
  });

  s.addText("IHIP replaced the older IDSP portal in 2019, enabling digital-first, paperless surveillance across all tiers.", {
    x: 0.3, y: 5.18, w: 9.4, h: 0.28,
    fontSize: 10.5, italic: true, color: C.teal, align: "center", fontFace: "Calibri", margin: 0,
  });
}

// ═══════════════════════════════════
// SLIDE 9 – OUTBREAK RESPONSE & MEDIA SCANNING
// ═══════════════════════════════════
{
  const s = pres.addSlide();
  darkBg(s);
  titleBar(s, "Outbreak Response & Media Scanning", "Detection, verification and control");

  // Left column – outbreak response
  s.addText("Outbreak Surveillance & Response", {
    x: 0.3, y: 1.35, w: 4.5, h: 0.38,
    fontSize: 15, bold: true, color: C.amber, fontFace: "Calibri", margin: 0,
  });

  const outbreak = [
    "SSU receives disease outbreak reports from districts on a daily basis",
    "Rising trends trigger investigation by Rapid Response Teams (RRTs)",
    "RRTs confirm diagnosis and implement containment measures",
    "Outbreak data shared with national level for coordinated response",
    "Post-outbreak analysis used to improve future preparedness",
  ];
  outbreak.forEach((b, i) => {
    const y = 1.85 + i * 0.62;
    s.addShape(pres.ShapeType.ellipse, { x: 0.3, y: y + 0.07, w: 0.22, h: 0.22, fill: { color: C.teal } });
    s.addText(b, { x: 0.62, y, w: 4.0, h: 0.55, fontSize: 12, color: C.white, fontFace: "Calibri", valign: "middle", margin: 0 });
  });

  // Divider
  s.addShape(pres.ShapeType.rect, { x: 4.95, y: 1.35, w: 0.08, h: 3.9, fill: { color: C.teal } });

  // Right column – media scanning
  s.addText("Media Scanning & Verification Cell", {
    x: 5.15, y: 1.35, w: 4.5, h: 0.38,
    fontSize: 15, bold: true, color: C.amber, fontFace: "Calibri", margin: 0,
  });

  const media = [
    "Established in July 2008 for Event-Based Surveillance",
    "Monitors electronic & print media for unusual health events",
    "Alerts verified by field teams before escalation",
    "Helps detect clusters not yet reported through routine channels",
    "Functional at State HQ level across all states",
  ];
  media.forEach((b, i) => {
    const y = 1.85 + i * 0.62;
    s.addShape(pres.ShapeType.ellipse, { x: 5.15, y: y + 0.07, w: 0.22, h: 0.22, fill: { color: C.amber } });
    s.addText(b, { x: 5.48, y, w: 4.2, h: 0.55, fontSize: 12, color: C.white, fontFace: "Calibri", valign: "middle", margin: 0 });
  });
}

// ═══════════════════════════════════
// SLIDE 10 – HUMAN RESOURCES & TRAINING
// ═══════════════════════════════════
{
  const s = pres.addSlide();
  darkBg(s);
  titleBar(s, "Human Resources & Training", "Workforce capacity building under IDSP");

  const roles = [
    { role: "State Epidemiologist", resp: "Lead surveillance activities at state level, analyze data, coordinate with CSU" },
    { role: "District Surveillance Officer (DSO)", resp: "Manage DSU operations, supervise reporting, investigate outbreaks" },
    { role: "Rapid Response Teams (RRT)", resp: "Field investigation of outbreaks; includes clinicians, epidemiologists, lab staff" },
    { role: "Microbiologists", resp: "Lab diagnosis and confirmation; support public health labs at state/district level" },
    { role: "Entomologists", resp: "Vector surveillance and control in cases of vector-borne disease outbreaks" },
    { role: "Data Entry Operators", resp: "Data management, entry into IHIP, and timely reporting to higher authorities" },
  ];

  roles.forEach((r, i) => {
    const col = i % 2;
    const row = Math.floor(i / 2);
    const x = col === 0 ? 0.2 : 5.1;
    const y = 1.38 + row * 1.3;
    card(s, x, y, 4.7, 1.1, "102040");
    s.addText(r.role, {
      x: x + 0.15, y: y + 0.1, w: 4.4, h: 0.32,
      fontSize: 13, bold: true, color: C.amber, fontFace: "Calibri", margin: 0,
    });
    s.addText(r.resp, {
      x: x + 0.15, y: y + 0.44, w: 4.4, h: 0.56,
      fontSize: 11, color: C.textLight, fontFace: "Calibri", margin: 0,
    });
  });
}

// ═══════════════════════════════════
// SLIDE 11 – STRENGTHS & CHALLENGES
// ═══════════════════════════════════
{
  const s = pres.addSlide();
  darkBg(s);
  titleBar(s, "Strengths & Challenges", "Programme performance assessment");

  const strengths = [
    "Strong government ownership at central & state levels",
    "IT-enabled platform (IHIP) enables real-time data flow",
    "Wide reach – all 741+ districts report surveillance data",
    "Integrated approach covers multiple disease programs",
    "Media Scanning Cell adds event-based surveillance layer",
    "Established RRTs for rapid outbreak response",
  ];

  const challenges = [
    "Shortage of dedicated trained staff at district/block levels",
    "Underreporting from private sector health facilities",
    "Gaps in data quality and timeliness in some states",
    "Low capacity for data analysis at sub-district level",
    "Weak inter-sectoral coordination for zoonotic diseases",
    "Infrastructure constraints in remote and tribal areas",
  ];

  // Strengths header
  s.addShape(pres.ShapeType.rect, { x: 0.2, y: 1.35, w: 4.5, h: 0.38, fill: { color: "0A5C3A" } });
  s.addText("✅  STRENGTHS", { x: 0.2, y: 1.35, w: 4.5, h: 0.38, fontSize: 14, bold: true, color: C.white, align: "center", margin: 0 });
  strengths.forEach((b, i) => {
    const y = 1.82 + i * 0.56;
    s.addShape(pres.ShapeType.ellipse, { x: 0.28, y: y + 0.1, w: 0.18, h: 0.18, fill: { color: "22AA66" } });
    s.addText(b, { x: 0.55, y, w: 4.05, h: 0.5, fontSize: 11.5, color: C.white, fontFace: "Calibri", valign: "middle", margin: 0 });
  });

  // Divider
  s.addShape(pres.ShapeType.rect, { x: 4.95, y: 1.35, w: 0.08, h: 3.9, fill: { color: "304060" } });

  // Challenges header
  s.addShape(pres.ShapeType.rect, { x: 5.1, y: 1.35, w: 4.5, h: 0.38, fill: { color: "7A2010" } });
  s.addText("⚠️  CHALLENGES", { x: 5.1, y: 1.35, w: 4.5, h: 0.38, fontSize: 14, bold: true, color: C.white, align: "center", margin: 0 });
  challenges.forEach((b, i) => {
    const y = 1.82 + i * 0.56;
    s.addShape(pres.ShapeType.ellipse, { x: 5.18, y: y + 0.1, w: 0.18, h: 0.18, fill: { color: "E05030" } });
    s.addText(b, { x: 5.45, y, w: 4.1, h: 0.5, fontSize: 11.5, color: C.white, fontFace: "Calibri", valign: "middle", margin: 0 });
  });
}

// ═══════════════════════════════════
// SLIDE 12 – RECENT UPDATES (IHIP ERA)
// ═══════════════════════════════════
{
  const s = pres.addSlide();
  darkBg(s);
  titleBar(s, "Recent Developments", "IDSP in the IHIP era (2019 onwards)");

  const updates = [
    {
      year: "2019",
      title: "IHIP Platform Launch",
      text: "Integrated Health Information Platform launched in November 2019 replacing older IDSP portal with advanced digital features",
    },
    {
      year: "2020",
      title: "COVID-19 Surveillance",
      text: "IDSP infrastructure used for COVID-19 case surveillance, cluster detection, and integrated outbreak management across all states",
    },
    {
      year: "2021-22",
      title: "One Health Approach",
      text: "Greater emphasis on zoonotic disease surveillance with inter-sectoral collaboration between human, animal and environmental health",
    },
    {
      year: "2023+",
      title: "IDSP under NHM",
      text: "Continued under National Health Mission with budget from domestic sources; expansion of IHIP to all districts for real-time reporting",
    },
  ];

  updates.forEach((u, i) => {
    const y = 1.38 + i * 0.97;
    // year badge
    s.addShape(pres.ShapeType.rect, { x: 0.2, y, w: 0.95, h: 0.75, fill: { color: C.teal }, rectRadius: 0.05 });
    s.addText(u.year, { x: 0.2, y: y + 0.15, w: 0.95, h: 0.4, fontSize: 14, bold: true, color: C.white, align: "center", margin: 0 });
    // connector
    s.addShape(pres.ShapeType.rect, { x: 1.15, y: y + 0.36, w: 0.3, h: 0.04, fill: { color: C.teal } });
    // content
    card(s, 1.45, y, 8.3, 0.85, "0F2A4A");
    s.addText(u.title, { x: 1.6, y: y + 0.05, w: 8.0, h: 0.32, fontSize: 13, bold: true, color: C.amber, fontFace: "Calibri", margin: 0 });
    s.addText(u.text, { x: 1.6, y: y + 0.38, w: 8.0, h: 0.4, fontSize: 11, color: C.textLight, fontFace: "Calibri", margin: 0 });
  });
}

// ═══════════════════════════════════
// SLIDE 13 – KEY ACHIEVEMENTS
// ═══════════════════════════════════
{
  const s = pres.addSlide();
  darkBg(s);
  titleBar(s, "Key Achievements", "Impact of IDSP since inception");

  const stats = [
    { val: "741+", label: "Districts Covered", sub: "Nationwide coverage" },
    { val: ">90%", label: "Reporting Districts", sub: "Weekly data submission" },
    { val: "36", label: "States / UTs", sub: "All reporting to CSU" },
    { val: "3-Tier", label: "Surveillance", sub: "CSU → SSU → DSU" },
  ];

  stats.forEach((st, i) => {
    const x = 0.4 + i * 2.3;
    card(s, x, 1.38, 2.0, 1.55, "0A2A50");
    s.addText(st.val, { x, y: 1.48, w: 2.0, h: 0.6, fontSize: 26, bold: true, color: C.amber, align: "center", fontFace: "Calibri", margin: 0 });
    s.addText(st.label, { x, y: 2.08, w: 2.0, h: 0.32, fontSize: 12, bold: true, color: C.white, align: "center", fontFace: "Calibri", margin: 0 });
    s.addText(st.sub, { x, y: 2.4, w: 2.0, h: 0.25, fontSize: 10, color: C.teal, align: "center", fontFace: "Calibri", margin: 0 });
  });

  const achiev = [
    "Timely detection of numerous disease outbreaks including cholera, dengue, meningitis, and nipah virus",
    "Rapid Response Teams successfully controlled localized outbreaks through field investigation and containment",
    "Laboratory network strengthened – state and district labs capable of diagnosing 30+ epidemic-prone diseases",
    "COVID-19 surveillance utilized existing IDSP infrastructure for tracking cases across all districts",
    "IHIP integration enabled real-time dashboards accessible at village, block, district and national level",
    "Media Scanning Cell identified and verified 1000+ unusual health events since 2008",
  ];

  achiev.forEach((a, i) => {
    const y = 3.1 + i * 0.38;
    s.addShape(pres.ShapeType.ellipse, { x: 0.3, y: y + 0.07, w: 0.18, h: 0.18, fill: { color: C.teal } });
    s.addText(a, { x: 0.58, y, w: 9.2, h: 0.35, fontSize: 11.5, color: C.white, fontFace: "Calibri", valign: "middle", margin: 0 });
  });
}

// ═══════════════════════════════════
// SLIDE 14 – SUMMARY / CONCLUSION
// ═══════════════════════════════════
{
  const s = pres.addSlide();
  darkBg(s);

  // Decorative accents
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 0.12, h: 5.625, fill: { color: C.teal } });
  s.addShape(pres.ShapeType.rect, { x: 9.88, y: 0, w: 0.12, h: 5.625, fill: { color: C.amber } });
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 0.08, fill: { color: C.teal } });
  s.addShape(pres.ShapeType.rect, { x: 0, y: 5.545, w: 10, h: 0.08, fill: { color: C.amber } });

  s.addText("Summary", {
    x: 0.3, y: 0.25, w: 9.4, h: 0.5,
    fontSize: 28, bold: true, color: C.amber, align: "center", fontFace: "Calibri", margin: 0,
  });
  s.addShape(pres.ShapeType.rect, { x: 2.5, y: 0.82, w: 5, h: 0.04, fill: { color: C.teal } });

  const points = [
    "IDSP is India's cornerstone for epidemic surveillance, covering all districts with a three-tier structure",
    "The S-P-L reporting format ensures data flow from community to central level for all epidemic-prone diseases",
    "ICT backbone (IHIP) enables real-time, GIS-enabled, integrated disease monitoring at all levels",
    "RRTs and Media Scanning Cells provide both facility-based and event-based surveillance",
    "Ongoing challenges include workforce gaps, private sector reporting, and sub-district data quality",
    "IDSP continues to evolve with One Health approach, digital tools and inter-program integration",
  ];

  points.forEach((p, i) => {
    const y = 1.0 + i * 0.65;
    s.addShape(pres.ShapeType.rect, { x: 0.3, y: y + 0.12, w: 0.06, h: 0.35, fill: { color: C.teal } });
    s.addText(p, { x: 0.52, y, w: 9.0, h: 0.58, fontSize: 13, color: C.white, fontFace: "Calibri", valign: "middle", margin: 0 });
  });

  s.addText("IDSP – Protecting India's Public Health Through Timely Surveillance & Response", {
    x: 0.3, y: 5.1, w: 9.4, h: 0.32,
    fontSize: 12, italic: true, bold: true, color: C.amber, align: "center", fontFace: "Calibri", margin: 0,
  });
}

// ─── WRITE FILE ───
pres.writeFile({ fileName: "/home/daytona/workspace/idsp-ppt/IDSP_Integrated_Disease_Surveillance_Programme.pptx" })
  .then(() => console.log("✅ Presentation saved successfully!"))
  .catch(err => console.error("❌ Error:", err));
Browsing Directory

~/idsp-ppt

Running Command

cat > /home/daytona/workspace/idsp-ppt/create_idsp.js << 'JSEOF' const pptxgen = require("pptxgenjs"); const pres = new pptxgen(); pres.layout = "LAYOUT_16x9"; pres.title = "Integrated Disease Surveillance Programme (IDSP)"; const C = { darkBlue: "0B1E3E", midBlue: "1A3F6F", teal: "0E8C8C", amber: "F4A100", white: "FFFFFF", lightGray: "E8EEF6", textLight: "D0DCF0", }; function darkBg(slide) { slide.background = { color: C.darkBlue }; } function titleBar(slide, title, sub) { slide.addShape(pres.ShapeType.rect, { x:0, y:0, w:0.08, h:5.625, fill:{ color: C.teal } }); slide.addText(title, { x:0.25, y:0.22, w:9.5, h:0.55, fontSize:26, bold:true, color:C.amber, fontFace:"Calibri", margin:0 }); if (sub) slide.addText(sub, { x:0.25, y:0.82, w:9.5, h:0.3, fontSize:13, color:C.textLight, fontFace:"Calibri", italic:true, margin:0 }); slide.addShape(pres.ShapeType.rect, { x:0.25, y:1.18, w:9.5, h:0.04, fill:{ color: C.teal } }); } function card(slide, x, y, w, h, fillColor) { slide.addShape(pres.ShapeType.roundRect, { x, y, w, h, fill:{ color: fillColor||C.midBlue }, line:{ color:C.teal, width:1.2 }, rectRadius:0.08 }); } // SLIDE 1 – TITLE { const s = pres.addSlide(); darkBg(s); s.addShape(pres.ShapeType.rect, { x:0, y:0, w:0.12, h:5.625, fill:{ color: C.teal } }); s.addShape(pres.ShapeType.rect, { x:9.88, y:0, w:0.12, h:5.625, fill:{ color: C.amber } }); s.addShape(pres.ShapeType.rect, { x:0, y:0, w:10, h:0.08, fill:{ color: C.teal } }); s.addShape(pres.ShapeType.rect, { x:0, y:5.545, w:10, h:0.08, fill:{ color: C.amber } }); s.addShape(pres.ShapeType.ellipse, { x:4.3, y:0.5, w:1.4, h:1.4, fill:{ color: C.teal }, line:{ color: C.amber, width:2 } }); s.addText("IDSP", { x:4.3, y:0.72, w:1.4, h:0.55, fontSize:20, bold:true, color:C.white, align:"center", fontFace:"Calibri", margin:0 }); s.addText("Integrated Disease", { x:0.5, y:2.05, w:9, h:0.72, fontSize:38, bold:true, color:C.white, align:"center", fontFace:"Calibri", margin:0 }); s.addText("Surveillance Programme", { x:0.5, y:2.75, w:9, h:0.72, fontSize:38, bold:true, color:C.amber, align:"center", fontFace:"Calibri", margin:0 }); s.addText("(IDSP)", { x:0.5, y:3.45, w:9, h:0.45, fontSize:22, color:C.textLight, align:"center", fontFace:"Calibri", margin:0 }); s.addShape(pres.ShapeType.rect, { x:2.5, y:4.1, w:5, h:0.04, fill:{ color: C.teal } }); s.addText("India's Nationwide Disease Monitoring & Early Warning System", { x:0.5, y:4.25, w:9, h:0.38, fontSize:13, italic:true, color:C.textLight, align:"center", fontFace:"Calibri", margin:0 }); } // SLIDE 2 – OVERVIEW { const s = pres.addSlide(); darkBg(s); titleBar(s, "What is IDSP?", "Background and Overview"); const bullets = [ "Nationwide disease surveillance system launched in November 2004 with World Bank assistance", "Aims at early detection and long-term monitoring of epidemic-prone diseases for policy decisions", "Three-tier structure: Central Surveillance Unit (CSU), State Surveillance Units (SSU), District Surveillance Units (DSU)", "Covers all 36 States/UTs and 741+ districts; weekly data from >90% of districts", "Continued under National Health Mission after 2010 with domestic funding", "Upgraded to Integrated Health Information Platform (IHIP) in November 2019 for digital real-time reporting", ]; bullets.forEach((b,i)=>{ const y=1.38+i*0.65; s.addShape(pres.ShapeType.ellipse,{x:0.3,y:y+0.07,w:0.22,h:0.22,fill:{color:C.teal}}); s.addText(b,{x:0.65,y,w:9.1,h:0.55,fontSize:13.5,color:C.white,fontFace:"Calibri",valign:"middle",margin:0}); }); } // SLIDE 3 – OBJECTIVES { const s = pres.addSlide(); darkBg(s); titleBar(s, "Objectives of IDSP", "Core goals of the programme"); const objs = [ { icon:"🎯", title:"Decentralized Surveillance", text:"Establish state-based surveillance for epidemic-prone diseases at every level" }, { icon:"🔬", title:"Laboratory Strengthening", text:"Strengthen public health labs for quality diagnosis and confirmation" }, { icon:"⚡", title:"Early Warning System", text:"Monitor trends and detect outbreaks in the early rising phase" }, { icon:"🤝", title:"Inter-sectoral Coordination", text:"Collaborate with Animal Husbandry and other sectors for zoonotic diseases" }, { icon:"💻", title:"IT-Enabled System", text:"Use ICT for real-time collection, analysis, and dissemination of data" }, { icon:"🚑", title:"Rapid Response", text:"Enable trained Rapid Response Teams (RRTs) to control outbreaks swiftly" }, ]; const xs=[0.2,5.1], ys=[1.35,2.7,4.05]; objs.forEach((o,i)=>{ const x=xs[i%2], y=ys[Math.floor(i/2)]; card(s,x,y,4.7,1.1,"152A52"); s.addText(o.icon+" "+o.title,{x:x+0.15,y:y+0.1,w:4.4,h:0.35,fontSize:13,bold:true,color:C.amber,fontFace:"Calibri",margin:0}); s.addText(o.text,{x:x+0.15,y:y+0.45,w:4.4,h:0.55,fontSize:11.5,color:C.textLight,fontFace:"Calibri",margin:0}); }); } // SLIDE 4 – ORGANIZATIONAL STRUCTURE { const s = pres.addSlide(); darkBg(s); titleBar(s, "Organizational Structure", "Three-tier surveillance hierarchy"); card(s,3.3,1.35,3.4,1.0,"0E4E6E"); s.addText("CENTRAL SURVEILLANCE UNIT (CSU)",{x:3.3,y:1.38,w:3.4,h:0.38,fontSize:11.5,bold:true,color:C.amber,align:"center",fontFace:"Calibri",margin:0}); s.addText("National Centre for Disease Control, Delhi\nMinistry of Health & Family Welfare",{x:3.3,y:1.76,w:3.4,h:0.5,fontSize:10,color:C.textLight,align:"center",fontFace:"Calibri",margin:0}); s.addShape(pres.ShapeType.rect,{x:4.95,y:2.38,w:0.1,h:0.45,fill:{color:C.teal}}); s.addText("▼",{x:4.7,y:2.77,w:0.6,h:0.3,fontSize:14,color:C.teal,align:"center",margin:0}); card(s,1.5,3.1,3.4,1.0,"0E4E6E"); s.addText("STATE SURVEILLANCE UNIT (SSU)",{x:1.5,y:3.13,w:3.4,h:0.38,fontSize:11.5,bold:true,color:C.teal,align:"center",fontFace:"Calibri",margin:0}); s.addText("State/UT Headquarters\nState Epidemiologist, Microbiologist",{x:1.5,y:3.51,w:3.4,h:0.5,fontSize:10,color:C.textLight,align:"center",fontFace:"Calibri",margin:0}); s.addShape(pres.ShapeType.rect,{x:4.9,y:3.55,w:0.2,h:0.04,fill:{color:C.teal}}); card(s,5.1,3.1,3.4,1.0,"0E4E6E"); s.addText("DISTRICT SURVEILLANCE UNIT (DSU)",{x:5.1,y:3.13,w:3.4,h:0.38,fontSize:11.5,bold:true,color:C.teal,align:"center",fontFace:"Calibri",margin:0}); s.addText("All Districts\nDistrict Surveillance Officer, RRT",{x:5.1,y:3.51,w:3.4,h:0.5,fontSize:10,color:C.textLight,align:"center",fontFace:"Calibri",margin:0}); s.addShape(pres.ShapeType.rect,{x:0.3,y:4.42,w:9.4,h:0.04,fill:{color:C.teal}}); s.addText("Data Sources: Medical Colleges | Hospitals | PHCs | Labs | Private Sector | Media Scanning",{x:0.3,y:4.48,w:9.4,h:0.35,fontSize:11.5,color:C.amber,align:"center",fontFace:"Calibri",italic:true,margin:0}); } // SLIDE 5 – S-P-L REPORTING { const s = pres.addSlide(); darkBg(s); titleBar(s, "IDSP Reporting Formats", "S – P – L Reporting System"); const fmts = [ { code:"S", label:"Suspected Cases", who:"Health Workers / ASHAs / ANMs", desc:"Community-level reporting of suspected illness based on symptoms – first line of surveillance capturing early warning signals.", color:"1A5E5E" }, { code:"P", label:"Presumptive Cases", who:"Clinicians / Medical Officers", desc:"Clinically diagnosed cases at OPD/IPD based on clinical features – physician perspective on disease trends.", color:"1A4A6E" }, { code:"L", label:"Lab-Confirmed Cases", who:"Laboratory Staff", desc:"Laboratory-confirmed diagnosis with test results – most specific data used for definitive outbreak confirmation.", color:"4E2A6E" }, ]; fmts.forEach((f,i)=>{ const x=0.3+i*3.2; card(s,x,1.35,3.0,3.8,f.color); s.addShape(pres.ShapeType.ellipse,{x:x+1.15,y:1.5,w:0.7,h:0.7,fill:{color:C.teal}}); s.addText(f.code,{x:x+1.15,y:1.52,w:0.7,h:0.55,fontSize:22,bold:true,color:C.white,align:"center",margin:0}); s.addText(f.label,{x:x+0.1,y:2.3,w:2.8,h:0.45,fontSize:14,bold:true,color:C.amber,align:"center",fontFace:"Calibri",margin:0}); s.addText("Reported by:",{x:x+0.1,y:2.78,w:2.8,h:0.3,fontSize:10,italic:true,color:C.teal,align:"center",fontFace:"Calibri",margin:0}); s.addText(f.who,{x:x+0.1,y:3.08,w:2.8,h:0.3,fontSize:10.5,bold:true,color:C.white,align:"center",fontFace:"Calibri",margin:0}); s.addText(f.desc,{x:x+0.1,y:3.45,w:2.8,h:1.5,fontSize:10.5,color:C.textLight,align:"center",fontFace:"Calibri",margin:0}); }); s.addText("Data collected daily on IHIP portal; analyzed for disease trends, seasonality, and outbreak detection.",{x:0.3,y:5.18,w:9.4,h:0.3,fontSize:11,italic:true,color:C.teal,align:"center",fontFace:"Calibri",margin:0}); } // SLIDE 6 – PROGRAMME COMPONENTS { const s = pres.addSlide(); darkBg(s); titleBar(s, "Programme Components", "Five pillars of IDSP"); const comps = [ { num:"01", title:"Integration & Decentralization", text:"Surveillance units at State & District level for region-specific disease monitoring and response" }, { num:"02", title:"Human Resource Development", text:"Training of DSOs, Epidemiologists, Microbiologists, Entomologists, RRTs on surveillance and outbreak response" }, { num:"03", title:"Information & Communication Technology", text:"IT-enabled data collection, analysis, and dissemination through the IHIP portal" }, { num:"04", title:"Laboratory Strengthening", text:"Building capacity of public health labs for quality diagnosis and confirmation of reportable diseases" }, { num:"05", title:"Inter-sectoral Coordination", text:"Collaboration with Animal Husbandry, Environment and other sectors for zoonotic disease control" }, ]; comps.forEach((c,i)=>{ const y=1.35+i*0.82; s.addShape(pres.ShapeType.rect,{x:0.2,y,w:0.55,h:0.62,fill:{color:C.teal},rectRadius:0.05}); s.addText(c.num,{x:0.2,y:y+0.05,w:0.55,h:0.52,fontSize:15,bold:true,color:C.white,align:"center",margin:0}); s.addText(c.title,{x:0.9,y:y+0.02,w:4.8,h:0.28,fontSize:13,bold:true,color:C.amber,fontFace:"Calibri",margin:0}); s.addText(c.text,{x:0.9,y:y+0.3,w:8.9,h:0.4,fontSize:11.5,color:C.textLight,fontFace:"Calibri",margin:0}); if(i<4) s.addShape(pres.ShapeType.rect,{x:0.2,y:y+0.68,w:9.6,h:0.02,fill:{color:"2A4060"}}); }); } // SLIDE 7 – DISEASES UNDER IDSP { const s = pres.addSlide(); darkBg(s); titleBar(s, "Diseases Under IDSP Surveillance", "Epidemic-prone diseases monitored"); const cats = [ { cat:"Fever-based Syndromes", items:["Malaria","Dengue / Chikungunya","Typhoid","Leptospirosis","Scrub Typhus"] }, { cat:"Respiratory Illnesses", items:["Influenza-like Illness (ILI)","SARI","Pneumonia","COVID-19"] }, { cat:"Diarrhoeal Diseases", items:["Cholera","Acute Diarrhoeal Disease","Acute Gastroenteritis","Food Poisoning"] }, { cat:"Neurological & Others", items:["Acute Encephalitis Syndrome","Acute Flaccid Paralysis","Measles / Rubella","Hepatitis A & E"] }, ]; const xs=[0.2,5.1], ys2=[1.35,3.05]; cats.forEach((cat,i)=>{ const x=xs[i%2], y=ys2[Math.floor(i/2)]; card(s,x,y,4.7,1.55,"0A2A4A"); s.addText(cat.cat,{x:x+0.15,y:y+0.08,w:4.4,h:0.32,fontSize:13,bold:true,color:C.amber,fontFace:"Calibri",margin:0}); cat.items.forEach((item,j)=>{ s.addShape(pres.ShapeType.ellipse,{x:x+0.18,y:y+0.48+j*0.23,w:0.1,h:0.1,fill:{color:C.teal}}); s.addText(item,{x:x+0.35,y:y+0.44+j*0.23,w:4.2,h:0.22,fontSize:11,color:C.white,fontFace:"Calibri",margin:0}); }); }); s.addText("+ Zoonotic diseases, Vector-borne diseases, Vaccine-preventable diseases & Unusual Health Events",{x:0.3,y:4.82,w:9.4,h:0.35,fontSize:11,italic:true,color:C.teal,align:"center",fontFace:"Calibri",margin:0}); } // SLIDE 8 – ICT & IHIP { const s = pres.addSlide(); darkBg(s); titleBar(s, "ICT & the IHIP Portal", "Technology backbone of IDSP"); const features = [ { icon:"📱", text:"Real-time data reporting via mobile app – accessible at village, state & central levels" }, { icon:"📊", text:"Advanced data modeling & analytical tools for trend analysis and outbreak forecasting" }, { icon:"🗺️", text:"GIS-enabled graphical representation of data with integrated surveillance dashboard" }, { icon:"🔔", text:"Role & hierarchy-based feedback and automated alert mechanisms" }, { icon:"📍", text:"Geo-tagging of reporting health facilities for spatial mapping of outbreaks" }, { icon:"🔗", text:"Scope for data integration with other national health programs (NVBDCP, RNTCP, etc.)" }, ]; features.forEach((f,i)=>{ const col=i%2, row=Math.floor(i/2); const x=col===0?0.2:5.1, y=1.38+row*1.3; card(s,x,y,4.7,1.1,"0F2E4A"); s.addText(f.icon,{x:x+0.15,y:y+0.3,w:0.45,h:0.45,fontSize:22,margin:0}); s.addText(f.text,{x:x+0.65,y:y+0.12,w:3.9,h:0.85,fontSize:11.5,color:C.white,fontFace:"Calibri",valign:"middle",margin:0}); }); s.addText("IHIP replaced the older IDSP portal in 2019, enabling digital-first, paperless surveillance across all tiers.",{x:0.3,y:5.18,w:9.4,h:0.28,fontSize:10.5,italic:true,color:C.teal,align:"center",fontFace:"Calibri",margin:0}); } // SLIDE 9 – OUTBREAK RESPONSE & MEDIA SCANNING { const s = pres.addSlide(); darkBg(s); titleBar(s, "Outbreak Response & Media Scanning", "Detection, verification and control"); s.addText("Outbreak Surveillance & Response",{x:0.3,y:1.35,w:4.5,h:0.38,fontSize:15,bold:true,color:C.amber,fontFace:"Calibri",margin:0}); const ob=["SSU receives disease outbreak reports from districts on a daily basis","Rising trends trigger investigation by Rapid Response Teams (RRTs)","RRTs confirm diagnosis and implement containment measures","Outbreak data shared with national level for coordinated response","Post-outbreak analysis improves future preparedness planning"]; ob.forEach((b,i)=>{ const y=1.85+i*0.62; s.addShape(pres.ShapeType.ellipse,{x:0.3,y:y+0.07,w:0.22,h:0.22,fill:{color:C.teal}}); s.addText(b,{x:0.62,y,w:4.0,h:0.55,fontSize:12,color:C.white,fontFace:"Calibri",valign:"middle",margin:0}); }); s.addShape(pres.ShapeType.rect,{x:4.95,y:1.35,w:0.08,h:3.9,fill:{color:C.teal}}); s.addText("Media Scanning & Verification Cell",{x:5.15,y:1.35,w:4.5,h:0.38,fontSize:15,bold:true,color:C.amber,fontFace:"Calibri",margin:0}); const ms=["Established in July 2008 for Event-Based Surveillance","Monitors electronic & print media for unusual health events","Alerts verified by field teams before escalation","Helps detect clusters not yet reported through routine channels","Functional at State Headquarters across all states"]; ms.forEach((b,i)=>{ const y=1.85+i*0.62; s.addShape(pres.ShapeType.ellipse,{x:5.15,y:y+0.07,w:0.22,h:0.22,fill:{color:C.amber}}); s.addText(b,{x:5.48,y,w:4.2,h:0.55,fontSize:12,color:C.white,fontFace:"Calibri",valign:"middle",margin:0}); }); } // SLIDE 10 – HUMAN RESOURCES { const s = pres.addSlide(); darkBg(s); titleBar(s, "Human Resources & Training", "Workforce capacity building under IDSP"); const roles = [ { role:"State Epidemiologist", resp:"Lead surveillance activities at state level, analyze data, coordinate with CSU" }, { role:"District Surveillance Officer (DSO)", resp:"Manage DSU operations, supervise reporting, investigate outbreaks" }, { role:"Rapid Response Teams (RRT)", resp:"Field investigation of outbreaks; includes clinicians, epidemiologists, lab staff" }, { role:"Microbiologists", resp:"Lab diagnosis and confirmation; support public health labs at state/district level" }, { role:"Entomologists", resp:"Vector surveillance and control in cases of vector-borne disease outbreaks" }, { role:"Data Entry Operators", resp:"Data management, entry into IHIP, and timely reporting to higher authorities" }, ]; roles.forEach((r,i)=>{ const col=i%2, row=Math.floor(i/2); const x=col===0?0.2:5.1, y=1.38+row*1.3; card(s,x,y,4.7,1.1,"102040"); s.addText(r.role,{x:x+0.15,y:y+0.1,w:4.4,h:0.32,fontSize:13,bold:true,color:C.amber,fontFace:"Calibri",margin:0}); s.addText(r.resp,{x:x+0.15,y:y+0.44,w:4.4,h:0.56,fontSize:11,color:C.textLight,fontFace:"Calibri",margin:0}); }); } // SLIDE 11 – STRENGTHS & CHALLENGES { const s = pres.addSlide(); darkBg(s); titleBar(s, "Strengths & Challenges", "Programme performance assessment"); const str=["Strong government ownership at central & state levels","IT-enabled IHIP platform enables real-time data flow","Wide reach – all 741+ districts report surveillance data","Integrated approach covers multiple disease programs","Media Scanning Cell adds event-based surveillance layer","Established RRTs for rapid outbreak field response"]; const chal=["Shortage of dedicated trained staff at district/block levels","Underreporting from private sector health facilities","Gaps in data quality and timeliness in some states","Low capacity for data analysis at sub-district level","Weak inter-sectoral coordination for zoonotic diseases","Infrastructure constraints in remote and tribal areas"]; s.addShape(pres.ShapeType.rect,{x:0.2,y:1.35,w:4.5,h:0.38,fill:{color:"0A5C3A"}}); s.addText("✅ STRENGTHS",{x:0.2,y:1.35,w:4.5,h:0.38,fontSize:14,bold:true,color:C.white,align:"center",margin:0}); str.forEach((b,i)=>{ const y=1.82+i*0.56; s.addShape(pres.ShapeType.ellipse,{x:0.28,y:y+0.1,w:0.18,h:0.18,fill:{color:"22AA66"}}); s.addText(b,{x:0.55,y,w:4.05,h:0.5,fontSize:11.5,color:C.white,fontFace:"Calibri",valign:"middle",margin:0}); }); s.addShape(pres.ShapeType.rect,{x:4.95,y:1.35,w:0.08,h:3.9,fill:{color:"304060"}}); s.addShape(pres.ShapeType.rect,{x:5.1,y:1.35,w:4.5,h:0.38,fill:{color:"7A2010"}}); s.addText("⚠️ CHALLENGES",{x:5.1,y:1.35,w:4.5,h:0.38,fontSize:14,bold:true,color:C.white,align:"center",margin:0}); chal.forEach((b,i)=>{ const y=1.82+i*0.56; s.addShape(pres.ShapeType.ellipse,{x:5.18,y:y+0.1,w:0.18,h:0.18,fill:{color:"E05030"}}); s.addText(b,{x:5.45,y,w:4.1,h:0.5,fontSize:11.5,color:C.white,fontFace:"Calibri",valign:"middle",margin:0}); }); } // SLIDE 12 – RECENT DEVELOPMENTS { const s = pres.addSlide(); darkBg(s); titleBar(s, "Recent Developments", "IDSP in the IHIP era (2019 onwards)"); const updates = [ { year:"2019", title:"IHIP Platform Launch", text:"Integrated Health Information Platform launched replacing the older IDSP portal with real-time, GIS-enabled features" }, { year:"2020", title:"COVID-19 Surveillance", text:"IDSP infrastructure used for COVID-19 case surveillance, cluster detection, and integrated outbreak management" }, { year:"2021-22", title:"One Health Approach", text:"Greater emphasis on zoonotic disease surveillance with inter-sectoral collaboration between human, animal and environmental health" }, { year:"2023+", title:"IDSP under NHM", text:"Continued under NHM with domestic budget; expansion of IHIP to all districts for universal real-time reporting" }, ]; updates.forEach((u,i)=>{ const y=1.38+i*0.97; s.addShape(pres.ShapeType.rect,{x:0.2,y,w:0.95,h:0.75,fill:{color:C.teal},rectRadius:0.05}); s.addText(u.year,{x:0.2,y:y+0.15,w:0.95,h:0.4,fontSize:14,bold:true,color:C.white,align:"center",margin:0}); s.addShape(pres.ShapeType.rect,{x:1.15,y:y+0.36,w:0.3,h:0.04,fill:{color:C.teal}}); card(s,1.45,y,8.3,0.85,"0F2A4A"); s.addText(u.title,{x:1.6,y:y+0.05,w:8.0,h:0.32,fontSize:13,bold:true,color:C.amber,fontFace:"Calibri",margin:0}); s.addText(u.text,{x:1.6,y:y+0.38,w:8.0,h:0.4,fontSize:11,color:C.textLight,fontFace:"Calibri",margin:0}); }); } // SLIDE 13 – KEY ACHIEVEMENTS { const s = pres.addSlide(); darkBg(s); titleBar(s, "Key Achievements", "Impact of IDSP since inception"); const stats = [ { val:"741+", label:"Districts Covered", sub:"Nationwide coverage" }, { val:">90%", label:"Districts Reporting", sub:"Weekly data submission" }, { val:"36", label:"States / UTs", sub:"All reporting to CSU" }, { val:"3-Tier", label:"Surveillance Structure", sub:"CSU → SSU → DSU" }, ]; stats.forEach((st,i)=>{ const x=0.4+i*2.3; card(s,x,1.38,2.0,1.55,"0A2A50"); s.addText(st.val,{x,y:1.48,w:2.0,h:0.6,fontSize:26,bold:true,color:C.amber,align:"center",fontFace:"Calibri",margin:0}); s.addText(st.label,{x,y:2.08,w:2.0,h:0.32,fontSize:12,bold:true,color:C.white,align:"center",fontFace:"Calibri",margin:0}); s.addText(st.sub,{x,y:2.4,w:2.0,h:0.25,fontSize:10,color:C.teal,align:"center",fontFace:"Calibri",margin:0}); }); const achiev=["Timely detection of disease outbreaks including cholera, dengue, meningitis, nipah virus and H1N1","RRTs successfully controlled numerous localized outbreaks through field investigation and containment","Laboratory network strengthened – state and district labs diagnosing 30+ epidemic-prone diseases","COVID-19 surveillance utilized existing IDSP infrastructure for tracking cases across all districts","IHIP enables real-time dashboards accessible at village, block, district and national levels","Media Scanning Cell has identified and verified thousands of unusual health events since 2008"]; achiev.forEach((a,i)=>{ const y=3.1+i*0.38; s.addShape(pres.ShapeType.ellipse,{x:0.3,y:y+0.07,w:0.18,h:0.18,fill:{color:C.teal}}); s.addText(a,{x:0.58,y,w:9.2,h:0.35,fontSize:11.5,color:C.white,fontFace:"Calibri",valign:"middle",margin:0}); }); } // SLIDE 14 – SUMMARY { const s = pres.addSlide(); darkBg(s); s.addShape(pres.ShapeType.rect,{x:0,y:0,w:0.12,h:5.625,fill:{color:C.teal}}); s.addShape(pres.ShapeType.rect,{x:9.88,y:0,w:0.12,h:5.625,fill:{color:C.amber}}); s.addShape(pres.ShapeType.rect,{x:0,y:0,w:10,h:0.08,fill:{color:C.teal}}); s.addShape(pres.ShapeType.rect,{x:0,y:5.545,w:10,h:0.08,fill:{color:C.amber}}); s.addText("Summary",{x:0.3,y:0.25,w:9.4,h:0.5,fontSize:28,bold:true,color:C.amber,align:"center",fontFace:"Calibri",margin:0}); s.addShape(pres.ShapeType.rect,{x:2.5,y:0.82,w:5,h:0.04,fill:{color:C.teal}}); const points=["IDSP is India's cornerstone for epidemic surveillance covering all districts with a three-tier structure","S-P-L reporting format ensures data flow from community to central level for all epidemic-prone diseases","ICT backbone (IHIP) enables real-time, GIS-enabled integrated disease monitoring at all levels","RRTs and Media Scanning Cells provide both facility-based and event-based surveillance capacity","Key challenges include workforce gaps, private sector reporting, and sub-district data quality","IDSP continues to evolve with One Health approach, digital tools and inter-program integration"]; points.forEach((p,i)=>{ const y=1.0+i*0.65; s.addShape(pres.ShapeType.rect,{x:0.3,y:y+0.12,w:0.06,h:0.35,fill:{color:C.teal}}); s.addText(p,{x:0.52,y,w:9.0,h:0.58,fontSize:13,color:C.white,fontFace:"Calibri",valign:"middle",margin:0}); }); s.addText("IDSP – Protecting India's Public Health Through Timely Surveillance & Response",{x:0.3,y:5.1,w:9.4,h:0.32,fontSize:12,italic:true,bold:true,color:C.amber,align:"center",fontFace:"Calibri",margin:0}); } pres.writeFile({ fileName: "/home/daytona/workspace/idsp-ppt/IDSP_Integrated_Disease_Surveillance_Programme.pptx" }) .then(() => console.log("✅ Presentation saved successfully!")) .catch(err => console.error("❌ Error:", err)); JSEOF echo "File written"

Running Command

cd /home/daytona/workspace/idsp-ppt && node create_idsp.js

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

IDSP Integrated Disease Surveillance Programme

Presentation · PPTX


The presentation has 14 slides with a professional deep blue + teal + amber color scheme. Here's what's covered:
SlideTopic
1Title Slide
2What is IDSP? (Background & Overview)
3Objectives of IDSP (6 core goals)
4Organizational Structure (CSU → SSU → DSU)
5S-P-L Reporting Formats (Suspected, Presumptive, Lab-confirmed)
6Programme Components (5 pillars)
7Diseases Under IDSP Surveillance
8ICT & the IHIP Portal
9Outbreak Response & Media Scanning Cell
10Human Resources & Training (key roles)
11Strengths vs. Challenges (side-by-side)
12Recent Developments (2019 onwards)
13Key Achievements (stats + bullet points)
14Summary Slide
This is a shared conversation. Sign in to Orris to start your own chat.