Make a ppt on indian medical graduate Title:-Indian Medical Graduate Made by surya roll no 138 Also add this

Reading File
Searching the Web

Indian Medical Graduate competencies MCI NMC 2024

Reading File
Running Command

ls /home/daytona/workspace/ 2>/dev/null && mkdir -p /home/daytona/workspace/img-โ€ฆ

Writing File

~/indian-medical-graduate/generate.js

const pptxgen = require("pptxgenjs");

const pres = new pptxgen();
pres.layout = "LAYOUT_16x9";
pres.title = "Indian Medical Graduate";
pres.author = "Surya";

// โ”€โ”€โ”€ COLOR PALETTE โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
const NAVY   = "0D1B3E";   // dominant dark
const TEAL   = "0A7E8C";   // accent teal
const GOLD   = "F5A623";   // warm accent
const WHITE  = "FFFFFF";
const LIGHT  = "E8F4F8";   // very light teal bg
const GRAY   = "B0BEC5";
const RED    = "C0392B";   // danger / caution

// โ”€โ”€โ”€ HELPER: dark gradient background โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
function darkBg(slide) {
  slide.addShape(pres.ShapeType.rect, {
    x: 0, y: 0, w: 10, h: 5.625,
    fill: { type: "solid", color: NAVY },
    line: { color: NAVY }
  });
}

function lightBg(slide) {
  slide.addShape(pres.ShapeType.rect, {
    x: 0, y: 0, w: 10, h: 5.625,
    fill: { type: "solid", color: "F0F4F8" },
    line: { color: "F0F4F8" }
  });
}

function accentBar(slide, color) {
  slide.addShape(pres.ShapeType.rect, {
    x: 0, y: 0, w: 10, h: 0.07,
    fill: { type: "solid", color: color || TEAL },
    line: { color: color || TEAL }
  });
  slide.addShape(pres.ShapeType.rect, {
    x: 0, y: 5.555, w: 10, h: 0.07,
    fill: { type: "solid", color: color || GOLD },
    line: { color: color || GOLD }
  });
}

function sectionTitle(slide, text) {
  slide.addShape(pres.ShapeType.rect, {
    x: 0, y: 0.6, w: 0.08, h: 0.5,
    fill: { type: "solid", color: GOLD },
    line: { color: GOLD }
  });
  slide.addText(text, {
    x: 0.25, y: 0.55, w: 9.5, h: 0.6,
    fontSize: 22, bold: true, color: NAVY,
    fontFace: "Calibri", margin: 0
  });
  slide.addShape(pres.ShapeType.line, {
    x: 0.25, y: 1.18, w: 9.3, h: 0,
    line: { color: TEAL, width: 1.5 }
  });
}

// โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
// SLIDE 1 โ€” TITLE
// โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
{
  const s = pres.addSlide();
  darkBg(s);

  // Decorative circle accent top-right
  s.addShape(pres.ShapeType.ellipse, {
    x: 7.8, y: -1.2, w: 3.5, h: 3.5,
    fill: { type: "solid", color: "122354" },
    line: { color: "122354" }
  });
  s.addShape(pres.ShapeType.ellipse, {
    x: -0.8, y: 3.5, w: 3, h: 3,
    fill: { type: "solid", color: "0C1730" },
    line: { color: "0C1730" }
  });

  // Gold top accent line
  s.addShape(pres.ShapeType.rect, {
    x: 2.5, y: 1.0, w: 5, h: 0.06,
    fill: { type: "solid", color: GOLD },
    line: { color: GOLD }
  });

  // Stethoscope emoji as text (large)
  s.addText("๐Ÿฉบ", {
    x: 4.35, y: 1.1, w: 1.3, h: 1.0,
    fontSize: 44, align: "center"
  });

  // Main title
  s.addText("Indian Medical Graduate", {
    x: 0.5, y: 2.1, w: 9, h: 0.9,
    fontSize: 36, bold: true, color: WHITE,
    align: "center", fontFace: "Calibri",
    charSpacing: 1
  });

  // Subtitle / tagline
  s.addText("Competency-Based Medical Education (CBME) | NMC 2024", {
    x: 0.5, y: 3.05, w: 9, h: 0.45,
    fontSize: 14, color: GRAY,
    align: "center", fontFace: "Calibri", italic: true
  });

  // Gold bottom accent
  s.addShape(pres.ShapeType.rect, {
    x: 2.5, y: 3.55, w: 5, h: 0.06,
    fill: { type: "solid", color: GOLD },
    line: { color: GOLD }
  });

  // Author + roll no badge
  s.addShape(pres.ShapeType.roundRect, {
    x: 3.2, y: 4.1, w: 3.6, h: 0.7,
    rectRadius: 0.1,
    fill: { type: "solid", color: TEAL },
    line: { color: TEAL }
  });
  s.addText("Made by Surya  |  Roll No. 138", {
    x: 3.2, y: 4.1, w: 3.6, h: 0.7,
    fontSize: 13, bold: true, color: WHITE,
    align: "center", valign: "middle", fontFace: "Calibri"
  });
}

// โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
// SLIDE 2 โ€” WHAT IS AN IMG?
// โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
{
  const s = pres.addSlide();
  lightBg(s);
  accentBar(s, TEAL);
  sectionTitle(s, "What is an Indian Medical Graduate?");

  s.addText(
    "An Indian Medical Graduate (IMG) is a person who has completed the MBBS degree from a Medical College recognized by the National Medical Commission (NMC) of India.",
    {
      x: 0.4, y: 1.35, w: 9.2, h: 0.8,
      fontSize: 13.5, color: NAVY, fontFace: "Calibri",
      align: "justify"
    }
  );

  const boxes = [
    { icon: "๐ŸŽ“", title: "Degree", body: "MBBS (Bachelor of Medicine & Bachelor of Surgery)" },
    { icon: "๐Ÿ›๏ธ", title: "Regulator", body: "National Medical Commission (NMC), formerly MCI" },
    { icon: "๐Ÿ“…", title: "Duration", body: "4.5 years academic + 1 year compulsory internship" },
    { icon: "๐Ÿ“‹", title: "Curriculum", body: "CBME โ€” Competency-Based Medical Education (2019 batch onwards)" },
  ];

  boxes.forEach((b, i) => {
    const col = i % 2;
    const row = Math.floor(i / 2);
    const x = col === 0 ? 0.3 : 5.2;
    const y = 2.3 + row * 1.35;

    s.addShape(pres.ShapeType.roundRect, {
      x, y, w: 4.5, h: 1.1,
      rectRadius: 0.12,
      fill: { type: "solid", color: WHITE },
      line: { color: TEAL, width: 1.5 },
      shadow: { type: "outer", color: "BBBBBB", blur: 6, offset: 2, angle: 45 }
    });
    s.addText(b.icon + "  " + b.title, {
      x: x + 0.15, y: y + 0.06, w: 4.2, h: 0.38,
      fontSize: 12, bold: true, color: TEAL,
      fontFace: "Calibri", margin: 0
    });
    s.addText(b.body, {
      x: x + 0.15, y: y + 0.45, w: 4.2, h: 0.5,
      fontSize: 11.5, color: NAVY, fontFace: "Calibri", margin: 0
    });
  });
}

// โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
// SLIDE 3 โ€” ROLES OF IMG (7 Roles)
// โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
{
  const s = pres.addSlide();
  darkBg(s);
  accentBar(s, GOLD);

  s.addText("7 Roles of an Indian Medical Graduate", {
    x: 0.3, y: 0.2, w: 9.4, h: 0.65,
    fontSize: 22, bold: true, color: WHITE,
    fontFace: "Calibri", align: "center"
  });
  s.addShape(pres.ShapeType.line, {
    x: 1, y: 0.88, w: 8, h: 0,
    line: { color: GOLD, width: 1.5 }
  });

  const roles = [
    { icon: "๐Ÿฉบ", label: "Clinician",           desc: "Diagnose & manage common illnesses" },
    { icon: "๐Ÿ’ฌ", label: "Communicator",         desc: "Effective patient-doctor interaction" },
    { icon: "๐Ÿ‘ฅ", label: "Leader & Team Member", desc: "Lead/collaborate in health teams" },
    { icon: "๐Ÿ“š", label: "Lifelong Learner",     desc: "Self-directed, reflective practice" },
    { icon: "๐Ÿ”ฌ", label: "Researcher",           desc: "Critical appraisal & research skills" },
    { icon: "๐ŸŒ", label: "Professional",         desc: "Ethics, accountability & integrity" },
    { icon: "๐Ÿฅ", label: "Health Advocate",      desc: "Promote community & national health" },
  ];

  roles.forEach((r, i) => {
    const col = i < 4 ? 0 : 1;
    const row = i < 4 ? i : i - 4;
    const x = col === 0 ? 0.3 : 5.25;
    const y = 1.05 + row * 1.1;

    s.addShape(pres.ShapeType.roundRect, {
      x, y, w: 4.5, h: 0.9,
      rectRadius: 0.1,
      fill: { type: "solid", color: "122354" },
      line: { color: TEAL, width: 1 }
    });
    s.addText(r.icon + "  " + r.label, {
      x: x + 0.12, y: y + 0.05, w: 4.2, h: 0.38,
      fontSize: 12, bold: true, color: GOLD, fontFace: "Calibri", margin: 0
    });
    s.addText(r.desc, {
      x: x + 0.12, y: y + 0.45, w: 4.2, h: 0.34,
      fontSize: 10.5, color: GRAY, fontFace: "Calibri", margin: 0
    });
  });

  // Last item (7th) centred in second column
  // Already placed above as index 6 -> col 1, row 2
}

// โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
// SLIDE 4 โ€” CBME CURRICULUM OVERVIEW
// โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
{
  const s = pres.addSlide();
  lightBg(s);
  accentBar(s, TEAL);
  sectionTitle(s, "CBME Curriculum Overview");

  const items = [
    { num: "01", head: "Pre-clinical Phase (1st year)", body: "Anatomy, Physiology, Biochemistry โ€” foundation sciences" },
    { num: "02", head: "Para-clinical Phase (2nd year)", body: "Pathology, Microbiology, Pharmacology, Forensic Medicine" },
    { num: "03", head: "Clinical Phase (3rd & 4th year)", body: "Medicine, Surgery, OBG, Paediatrics, Orthopaedics & more" },
    { num: "04", head: "AETCOM Module", body: "Attitude, Ethics, and Communication โ€” runs throughout MBBS" },
    { num: "05", head: "Foundation Course", body: "8-week orientation at MBBS entry โ€” history, ethics, communication" },
    { num: "06", head: "Compulsory Rotating Internship", body: "1 year across clinical departments + community health" },
  ];

  items.forEach((it, i) => {
    const col = i % 2;
    const row = Math.floor(i / 2);
    const x = col === 0 ? 0.3 : 5.2;
    const y = 1.4 + row * 1.37;

    s.addShape(pres.ShapeType.roundRect, {
      x, y, w: 4.5, h: 1.15,
      rectRadius: 0.1,
      fill: { type: "solid", color: WHITE },
      line: { color: TEAL, width: 1 },
      shadow: { type: "outer", color: "CCCCCC", blur: 5, offset: 2, angle: 45 }
    });

    // Number badge
    s.addShape(pres.ShapeType.roundRect, {
      x: x + 0.1, y: y + 0.12, w: 0.5, h: 0.5,
      rectRadius: 0.08,
      fill: { type: "solid", color: TEAL },
      line: { color: TEAL }
    });
    s.addText(it.num, {
      x: x + 0.1, y: y + 0.12, w: 0.5, h: 0.5,
      fontSize: 11, bold: true, color: WHITE, align: "center", valign: "middle",
      fontFace: "Calibri", margin: 0
    });

    s.addText(it.head, {
      x: x + 0.72, y: y + 0.08, w: 3.65, h: 0.38,
      fontSize: 11.5, bold: true, color: NAVY, fontFace: "Calibri", margin: 0
    });
    s.addText(it.body, {
      x: x + 0.72, y: y + 0.5, w: 3.65, h: 0.5,
      fontSize: 10.5, color: "455A64", fontFace: "Calibri", margin: 0
    });
  });
}

// โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
// SLIDE 5 โ€” CORE COMPETENCIES (CLINICAL SKILLS)
// โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
{
  const s = pres.addSlide();
  darkBg(s);
  accentBar(s, GOLD);

  s.addText("Core Clinical Competencies", {
    x: 0.3, y: 0.2, w: 9.4, h: 0.6,
    fontSize: 22, bold: true, color: WHITE, align: "center", fontFace: "Calibri"
  });
  s.addShape(pres.ShapeType.line, {
    x: 1, y: 0.83, w: 8, h: 0,
    line: { color: GOLD, width: 1.5 }
  });

  // Left column โ€” skills
  const skills = [
    "History taking & clinical examination",
    "Diagnosis and differential diagnosis",
    "Rational use of investigations",
    "Patient management & treatment planning",
    "Emergency life-saving procedures",
    "Infection prevention and control",
    "Referral and follow-up systems",
    "Evidence-based clinical decision making",
  ];

  skills.forEach((sk, i) => {
    const col = i < 4 ? 0 : 1;
    const row = i < 4 ? i : i - 4;
    const x = col === 0 ? 0.35 : 5.2;
    const y = 1.0 + row * 1.1;

    s.addShape(pres.ShapeType.roundRect, {
      x, y, w: 4.45, h: 0.85,
      rectRadius: 0.08,
      fill: { type: "solid", color: "0F2347" },
      line: { color: TEAL, width: 1 }
    });
    s.addText("โœ”", {
      x: x + 0.1, y, w: 0.38, h: 0.85,
      fontSize: 13, color: GOLD, valign: "middle", align: "center",
      fontFace: "Calibri", margin: 0
    });
    s.addText(sk, {
      x: x + 0.52, y: y + 0.08, w: 3.8, h: 0.68,
      fontSize: 11.5, color: WHITE, fontFace: "Calibri",
      valign: "middle", margin: 0
    });
  });
}

// โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
// SLIDE 6 โ€” AETCOM & ETHICS
// โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
{
  const s = pres.addSlide();
  lightBg(s);
  accentBar(s, TEAL);
  sectionTitle(s, "AETCOM โ€” Attitude, Ethics & Communication");

  s.addText(
    "AETCOM is a unique module introduced by NMC that runs as a thread through all years of MBBS, shaping the doctor's values alongside clinical skills.",
    {
      x: 0.4, y: 1.35, w: 9.2, h: 0.7,
      fontSize: 13, color: NAVY, fontFace: "Calibri", align: "justify"
    }
  );

  const pillars = [
    { icon: "โš–๏ธ",  title: "Ethics",         pts: ["Bioethics principles", "Informed consent", "Patient autonomy & confidentiality"] },
    { icon: "๐Ÿ’ฌ",  title: "Communication",  pts: ["Empathy in consultation", "Breaking bad news", "Health literacy promotion"] },
    { icon: "๐Ÿค",  title: "Professionalism",pts: ["Accountability", "Humanistic values", "Professional boundaries"] },
  ];

  pillars.forEach((p, i) => {
    const x = 0.3 + i * 3.25;
    s.addShape(pres.ShapeType.roundRect, {
      x, y: 2.2, w: 3.05, h: 2.9,
      rectRadius: 0.12,
      fill: { type: "solid", color: WHITE },
      line: { color: TEAL, width: 1.5 }
    });
    // Header bar
    s.addShape(pres.ShapeType.roundRect, {
      x, y: 2.2, w: 3.05, h: 0.65,
      rectRadius: 0.12,
      fill: { type: "solid", color: TEAL },
      line: { color: TEAL }
    });
    s.addText(p.icon + "  " + p.title, {
      x: x + 0.1, y: 2.2, w: 2.85, h: 0.65,
      fontSize: 13, bold: true, color: WHITE,
      align: "center", valign: "middle", fontFace: "Calibri", margin: 0
    });
    p.pts.forEach((pt, j) => {
      s.addText("โ€ข " + pt, {
        x: x + 0.15, y: 2.95 + j * 0.6, w: 2.75, h: 0.55,
        fontSize: 11, color: NAVY, fontFace: "Calibri", margin: 0
      });
    });
  });
}

// โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
// SLIDE 7 โ€” COMMUNITY MEDICINE & NATIONAL HEALTH
// โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
{
  const s = pres.addSlide();
  darkBg(s);
  accentBar(s, GOLD);

  s.addText("Community Medicine & National Health Programs", {
    x: 0.3, y: 0.2, w: 9.4, h: 0.65,
    fontSize: 21, bold: true, color: WHITE, align: "center", fontFace: "Calibri"
  });
  s.addShape(pres.ShapeType.line, {
    x: 1, y: 0.88, w: 8, h: 0,
    line: { color: GOLD, width: 1.5 }
  });

  s.addText(
    "The IMG is trained to serve not just individuals but the community at large, aligned with India's National Health Mission.",
    {
      x: 0.5, y: 1.0, w: 9, h: 0.55,
      fontSize: 12.5, color: GRAY, fontFace: "Calibri", align: "center", italic: true
    }
  );

  const programs = [
    { icon: "๐Ÿ’‰", label: "Universal Immunization Programme (UIP)" },
    { icon: "๐Ÿคฑ", label: "Reproductive, Maternal & Child Health" },
    { icon: "๐Ÿซ€", label: "National NCD Programs (Diabetes, HTN, Cancer)" },
    { icon: "๐Ÿฆ ", label: "RNTCP โ€” Revised National TB Control Programme" },
    { icon: "๐Ÿง ", label: "National Mental Health Programme (NMHP)" },
    { icon: "๐ŸŒพ", label: "Ayushman Bharat โ€” Health & Wellness Centres" },
    { icon: "๐Ÿš‘", label: "Emergency & Trauma Care at Primary Level" },
    { icon: "๐Ÿ“Š", label: "Epidemiology & Disease Surveillance" },
  ];

  programs.forEach((p, i) => {
    const col = i % 2;
    const row = Math.floor(i / 2);
    const x = col === 0 ? 0.3 : 5.15;
    const y = 1.7 + row * 0.93;

    s.addShape(pres.ShapeType.roundRect, {
      x, y, w: 4.55, h: 0.75,
      rectRadius: 0.08,
      fill: { type: "solid", color: "122354" },
      line: { color: TEAL, width: 1 }
    });
    s.addText(p.icon + "  " + p.label, {
      x: x + 0.18, y, w: 4.2, h: 0.75,
      fontSize: 11.5, color: WHITE, fontFace: "Calibri",
      valign: "middle", margin: 0
    });
  });
}

// โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
// SLIDE 8 โ€” CHALLENGES FACED BY IMG
// โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
{
  const s = pres.addSlide();
  lightBg(s);
  accentBar(s, TEAL);
  sectionTitle(s, "Challenges Faced by Indian Medical Graduates");

  const challenges = [
    { icon: "โšก", head: "Skill Gaps", body: "Gap between theoretical knowledge and practical clinical skills at graduation" },
    { icon: "๐Ÿ˜๏ธ", head: "Rural Postings", body: "Reluctance to serve in rural/underserved areas; lack of infrastructure" },
    { icon: "๐Ÿ“‰", head: "Doctor-Patient Ratio", body: "India has ~1 doctor per 834 people โ€” far below WHO's 1:1000 norm" },
    { icon: "๐Ÿ’ผ", head: "PG Seat Shortage", body: "Massive competition for limited postgraduate medical seats (NEET-PG)" },
    { icon: "๐Ÿ”’", head: "Violence & Safety", body: "Rising incidents of violence against healthcare workers in clinical settings" },
    { icon: "๐Ÿ’ธ", head: "Commercialization", body: "Pressure of corporate healthcare vs. ethical medical practice" },
  ];

  challenges.forEach((c, i) => {
    const col = i % 2;
    const row = Math.floor(i / 2);
    const x = col === 0 ? 0.3 : 5.15;
    const y = 1.4 + row * 1.37;

    s.addShape(pres.ShapeType.roundRect, {
      x, y, w: 4.55, h: 1.2,
      rectRadius: 0.1,
      fill: { type: "solid", color: WHITE },
      line: { color: "E74C3C", width: 1 },
      shadow: { type: "outer", color: "CCCCCC", blur: 5, offset: 2, angle: 45 }
    });
    s.addText(c.icon + "  " + c.head, {
      x: x + 0.15, y: y + 0.08, w: 4.2, h: 0.38,
      fontSize: 12, bold: true, color: "C0392B", fontFace: "Calibri", margin: 0
    });
    s.addText(c.body, {
      x: x + 0.15, y: y + 0.5, w: 4.2, h: 0.58,
      fontSize: 10.5, color: NAVY, fontFace: "Calibri", margin: 0
    });
  });
}

// โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
// SLIDE 9 โ€” OPPORTUNITIES & WAY FORWARD
// โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
{
  const s = pres.addSlide();
  darkBg(s);
  accentBar(s, GOLD);

  s.addText("Opportunities & Way Forward", {
    x: 0.3, y: 0.2, w: 9.4, h: 0.6,
    fontSize: 22, bold: true, color: WHITE, align: "center", fontFace: "Calibri"
  });
  s.addShape(pres.ShapeType.line, {
    x: 1, y: 0.84, w: 8, h: 0,
    line: { color: GOLD, width: 1.5 }
  });

  const opps = [
    { icon: "๐ŸŒ", head: "Global Opportunities",   body: "IMGs are recognized in USA (USMLE), UK (PLAB), Australia, Canada & Gulf" },
    { icon: "๐Ÿ’ป", head: "Telemedicine",            body: "Reach rural populations via digital platforms; eSanjeevani & beyond" },
    { icon: "๐Ÿ”ฌ", head: "Research & Innovation",   body: "ICMR, AIIMS & government fellowships support clinical & translational research" },
    { icon: "๐Ÿ“–", head: "Postgraduate Education",  body: "MD/MS/DNB, Fellowship programmes, Super-specializations" },
    { icon: "๐Ÿ›๏ธ", head: "Public Health Policy",   body: "IMGs can shape national health policy, NITI Aayog, health ministries" },
    { icon: "๐Ÿค–", head: "AI & Digital Health",    body: "Integration of AI diagnostics, genomics, precision medicine" },
  ];

  opps.forEach((o, i) => {
    const col = i % 2;
    const row = Math.floor(i / 2);
    const x = col === 0 ? 0.3 : 5.2;
    const y = 1.05 + row * 1.42;

    s.addShape(pres.ShapeType.roundRect, {
      x, y, w: 4.55, h: 1.22,
      rectRadius: 0.1,
      fill: { type: "solid", color: "0F2347" },
      line: { color: GOLD, width: 1 }
    });
    s.addText(o.icon + "  " + o.head, {
      x: x + 0.15, y: y + 0.08, w: 4.2, h: 0.38,
      fontSize: 12, bold: true, color: GOLD, fontFace: "Calibri", margin: 0
    });
    s.addText(o.body, {
      x: x + 0.15, y: y + 0.5, w: 4.2, h: 0.6,
      fontSize: 11, color: GRAY, fontFace: "Calibri", margin: 0
    });
  });
}

// โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
// SLIDE 10 โ€” THANK YOU / CONCLUSION
// โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
{
  const s = pres.addSlide();
  darkBg(s);

  // Decorative circles
  s.addShape(pres.ShapeType.ellipse, {
    x: 7.5, y: -1, w: 4, h: 4,
    fill: { type: "solid", color: "122354" },
    line: { color: "122354" }
  });
  s.addShape(pres.ShapeType.ellipse, {
    x: -1, y: 3, w: 3.5, h: 3.5,
    fill: { type: "solid", color: "0C1730" },
    line: { color: "0C1730" }
  });

  // Gold accent line
  s.addShape(pres.ShapeType.rect, {
    x: 3, y: 0.9, w: 4, h: 0.06,
    fill: { type: "solid", color: GOLD }, line: { color: GOLD }
  });

  s.addText("๐Ÿฉบ", {
    x: 4.3, y: 1.0, w: 1.4, h: 1.0,
    fontSize: 44, align: "center"
  });

  s.addText("Thank You!", {
    x: 1, y: 2.0, w: 8, h: 0.85,
    fontSize: 38, bold: true, color: WHITE,
    align: "center", fontFace: "Calibri", charSpacing: 2
  });

  s.addText(
    '"The medical graduate must emerge as a doctor of first contact who is competent to address health issues at the individual, family, and community level." โ€” NMC, 2024',
    {
      x: 1.2, y: 2.9, w: 7.6, h: 0.85,
      fontSize: 12, color: GRAY, align: "center",
      fontFace: "Calibri", italic: true
    }
  );

  s.addShape(pres.ShapeType.rect, {
    x: 3, y: 3.8, w: 4, h: 0.06,
    fill: { type: "solid", color: GOLD }, line: { color: GOLD }
  });

  // Author badge
  s.addShape(pres.ShapeType.roundRect, {
    x: 3.2, y: 4.1, w: 3.6, h: 0.75,
    rectRadius: 0.1,
    fill: { type: "solid", color: TEAL },
    line: { color: TEAL }
  });
  s.addText("Surya  |  Roll No. 138", {
    x: 3.2, y: 4.1, w: 3.6, h: 0.75,
    fontSize: 14, bold: true, color: WHITE,
    align: "center", valign: "middle", fontFace: "Calibri"
  });
}

// โ”€โ”€โ”€ WRITE โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
pres.writeFile({ fileName: "/home/daytona/workspace/indian-medical-graduate/Indian_Medical_Graduate.pptx" })
  .then(() => console.log("โœ… Done: Indian_Medical_Graduate.pptx"))
  .catch(e => { console.error(e); process.exit(1); });
Running Command

cd /home/daytona/workspace/indian-medical-graduate && node generate.js

Your presentation is ready! ๐ŸŽ‰

Indian Medical Graduate

Presentation ยท PPTX


Here's what's included across 10 slides with a professional Navy + Teal + Gold color scheme:
#Slide
1Title Slide - "Indian Medical Graduate" + Made by Surya, Roll No. 138
2What is an IMG? - Definition, NMC regulator, MBBS duration, CBME
37 Roles of an IMG - Clinician, Communicator, Leader, Learner, Researcher, Professional, Health Advocate
4CBME Curriculum Overview - All 6 phases from pre-clinical to internship
5Core Clinical Competencies - 8 key clinical skills
6AETCOM & Ethics - Ethics, Communication, Professionalism pillars
7Community Medicine & National Health Programs - UIP, TB, NCD, Ayushman Bharat, etc.
8Challenges Faced by IMGs - Skill gaps, rural postings, PG seats, violence, commercialization
9Opportunities & Way Forward - USMLE/PLAB, Telemedicine, Research, AI & Digital Health
10Thank You Slide - NMC quote + Surya, Roll No. 138
This is a shared conversation. Sign in to Orris to start your own chat.