thisMake a ppt on indian medical graduate Title:-Indian Medical Graduate Made by Smayra roll no 134 Also add this

Reading File
Reading File
Running Command

mkdir -p /home/daytona/workspace/indian-medical-graduate && ls /home/daytona/wor…

Writing File

~/indian-medical-graduate/create_img_ppt.js

const pptxgen = require("pptxgenjs");

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

// ─── COLOR PALETTE ───────────────────────────────────────────────
const DARK_BG   = "0D1B2A";   // deep navy   (dominant)
const MID       = "1B4F72";   // rich teal-blue
const ACCENT    = "E8A020";   // warm gold
const LIGHT     = "EAF4FB";   // near-white
const WHITE     = "FFFFFF";
const SUBTEXT   = "BDC3C7";
const GREEN     = "1ABC9C";
const RED_SOFT  = "E74C3C";

// ─── HELPER – decorative top bar ────────────────────────────────
function addTopBar(slide) {
  slide.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 0.08, fill: { color: ACCENT } });
}

function addBottomBar(slide) {
  slide.addShape(pres.ShapeType.rect, { x: 0, y: 5.545, w: 10, h: 0.08, fill: { color: MID } });
}

function sectionBadge(slide, label, x, y) {
  slide.addShape(pres.ShapeType.rect, { x, y, w: 2.5, h: 0.32, fill: { color: ACCENT }, line: { color: ACCENT } });
  slide.addText(label, { x, y, w: 2.5, h: 0.32, fontSize: 10, bold: true, color: DARK_BG, align: "center", valign: "middle", margin: 0 });
}

// ════════════════════════════════════════════════════════════════
// SLIDE 1 – TITLE SLIDE
// ════════════════════════════════════════════════════════════════
{
  let s = pres.addSlide();
  // Full background
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: DARK_BG } });
  // Side accent stripe
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 0.15, h: 5.625, fill: { color: ACCENT } });
  // Gold horizontal rule
  s.addShape(pres.ShapeType.rect, { x: 0.4, y: 2.35, w: 5.8, h: 0.05, fill: { color: ACCENT } });

  // Medical cross symbol (decorative right side)
  s.addShape(pres.ShapeType.rect, { x: 7.5, y: 1.5, w: 0.5, h: 2.0, fill: { color: MID }, line: { color: MID } });
  s.addShape(pres.ShapeType.rect, { x: 6.75, y: 2.25, w: 2.0, h: 0.5, fill: { color: MID }, line: { color: MID } });

  // Large circle bg
  s.addShape(pres.ShapeType.ellipse, { x: 6.2, y: 0.8, w: 3.2, h: 3.2, fill: { color: "112233", transparency: 50 }, line: { color: MID, width: 2 } });

  s.addText("INDIAN MEDICAL GRADUATE", {
    x: 0.4, y: 1.4, w: 6.2, h: 0.9,
    fontSize: 28, bold: true, color: WHITE, fontFace: "Calibri",
    charSpacing: 3, align: "left"
  });

  s.addText("Competencies | Roles | Responsibilities", {
    x: 0.4, y: 2.45, w: 6.2, h: 0.45,
    fontSize: 14, color: ACCENT, italic: true, align: "left"
  });

  s.addText("MCI / NMC Graduate Medical Education Regulations", {
    x: 0.4, y: 3.05, w: 6.2, h: 0.38,
    fontSize: 11, color: SUBTEXT, align: "left"
  });

  // Divider
  s.addShape(pres.ShapeType.rect, { x: 0.4, y: 4.15, w: 5.8, h: 0.02, fill: { color: MID } });

  s.addText("Made by: Smayra  |  Roll No. 134", {
    x: 0.4, y: 4.25, w: 5.8, h: 0.35,
    fontSize: 12, color: SUBTEXT, align: "left"
  });

  s.addText("IMG", { x: 7.05, y: 2.1, w: 1.9, h: 1.0, fontSize: 42, bold: true, color: ACCENT, align: "center", valign: "middle" });
}

// ════════════════════════════════════════════════════════════════
// SLIDE 2 – What is an Indian Medical Graduate?
// ════════════════════════════════════════════════════════════════
{
  let s = pres.addSlide();
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: LIGHT } });
  addTopBar(s);
  addBottomBar(s);

  // Left accent panel
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0.08, w: 3.2, h: 5.465, fill: { color: DARK_BG } });

  s.addText("WHAT IS AN\nINDIAN MEDICAL\nGRADUATE?", {
    x: 0.15, y: 0.8, w: 2.9, h: 2.0,
    fontSize: 18, bold: true, color: WHITE, align: "left", valign: "top", fontFace: "Calibri"
  });

  s.addShape(pres.ShapeType.rect, { x: 0.15, y: 2.9, w: 2.6, h: 0.04, fill: { color: ACCENT } });

  s.addText("MCI Graduate Medical\nEducation Regulations\n(GMER) 1997 &\nNMC Act 2020", {
    x: 0.15, y: 3.05, w: 2.9, h: 1.2,
    fontSize: 10, color: SUBTEXT, align: "left", italic: true
  });

  // Right content
  const defText = [
    { text: "An Indian Medical Graduate (IMG) is an MBBS degree holder who has successfully completed a structured, competency-based undergraduate medical education program approved by the National Medical Commission (NMC).", options: { breakLine: true } },
  ];
  s.addText(defText, { x: 3.5, y: 0.5, w: 6.2, h: 1.4, fontSize: 12, color: DARK_BG, align: "justify" });

  const points = [
    "Possesses the knowledge, skills and attitudes required for a primary care physician",
    "Capable of independent and ethical practice in a variety of healthcare settings",
    "Trained to serve both urban and rural populations of India",
    "Acts as the first point of contact in the healthcare delivery system",
    "Governed by NMC competency-based undergraduate curriculum (CBME)"
  ];

  points.forEach((pt, i) => {
    const yPos = 2.1 + i * 0.6;
    s.addShape(pres.ShapeType.ellipse, { x: 3.5, y: yPos + 0.08, w: 0.25, h: 0.25, fill: { color: ACCENT }, line: { color: ACCENT } });
    s.addText(pt, { x: 3.85, y: yPos, w: 5.8, h: 0.5, fontSize: 11, color: DARK_BG });
  });
}

// ════════════════════════════════════════════════════════════════
// SLIDE 3 – Roles of IMG (7 Roles)
// ════════════════════════════════════════════════════════════════
{
  let s = pres.addSlide();
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: DARK_BG } });
  addTopBar(s);

  s.addText("7 ROLES OF THE INDIAN MEDICAL GRADUATE", {
    x: 0.4, y: 0.18, w: 9.2, h: 0.55,
    fontSize: 20, bold: true, color: WHITE, align: "center", charSpacing: 2
  });
  s.addShape(pres.ShapeType.rect, { x: 3.5, y: 0.75, w: 3.0, h: 0.05, fill: { color: ACCENT } });

  const roles = [
    { icon: "🩺", title: "Clinician",        desc: "Diagnoses & treats patients with evidence-based care" },
    { icon: "💬", title: "Communicator",     desc: "Builds therapeutic patient-doctor relationships" },
    { icon: "👥", title: "Lifelong Learner", desc: "Commits to self-directed, continuous education" },
    { icon: "🏛️", title: "Leader & Manager", desc: "Manages health systems and leads teams effectively" },
    { icon: "🔬", title: "Researcher",        desc: "Applies & generates evidence through critical research" },
    { icon: "🤝", title: "Professional",      desc: "Upholds ethics, empathy and patient advocacy" },
    { icon: "🌍", title: "Member of Society", desc: "Serves community health and social responsibility" },
  ];

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

    s.addShape(pres.ShapeType.rect, { x, y, w: boxW, h: 0.9, fill: { color: MID }, line: { color: MID } });
    s.addShape(pres.ShapeType.rect, { x, y, w: 0.12, h: 0.9, fill: { color: ACCENT }, line: { color: ACCENT } });

    s.addText(r.icon + "  " + r.title, { x: x + 0.2, y: y + 0.05, w: boxW - 0.3, h: 0.38, fontSize: 13, bold: true, color: WHITE });
    s.addText(r.desc, { x: x + 0.2, y: y + 0.42, w: boxW - 0.3, h: 0.4, fontSize: 10, color: SUBTEXT });
  });
}

// ════════════════════════════════════════════════════════════════
// SLIDE 4 – Core Competencies (AETCOM + Clinical)
// ════════════════════════════════════════════════════════════════
{
  let s = pres.addSlide();
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: LIGHT } });
  addTopBar(s);
  addBottomBar(s);

  s.addText("CORE COMPETENCIES", {
    x: 0.4, y: 0.15, w: 9.2, h: 0.55, fontSize: 22, bold: true, color: DARK_BG, align: "center", charSpacing: 3
  });
  sectionBadge(s, "CBME Curriculum", 3.75, 0.75);

  // Two columns
  const leftTitle = "CLINICAL COMPETENCIES";
  const leftItems = [
    "History taking & physical examination",
    "Formulate diagnosis (clinical & differential)",
    "Prescribe rational & ethical treatment",
    "Perform basic emergency procedures",
    "Interpret lab, imaging & ECG findings",
    "Preventive & promotive health care"
  ];

  const rightTitle = "AETCOM – Attitude, Ethics & Communication";
  const rightItems = [
    "Respect patient autonomy & dignity",
    "Maintain confidentiality at all times",
    "Informed consent and shared decisions",
    "Effective verbal and written communication",
    "Teamwork and inter-professional collaboration",
    "Professional integrity and self-reflection"
  ];

  // Left box
  s.addShape(pres.ShapeType.rect, { x: 0.3, y: 1.2, w: 4.4, h: 4.1, fill: { color: MID }, line: { color: MID } });
  s.addText(leftTitle, { x: 0.4, y: 1.25, w: 4.2, h: 0.4, fontSize: 12, bold: true, color: ACCENT, align: "center" });
  s.addText(
    leftItems.map((t, i) => ({ text: (i < leftItems.length - 1 ? t : t), options: { bullet: { code: "2713" }, breakLine: i < leftItems.length - 1 } })),
    { x: 0.5, y: 1.75, w: 4.0, h: 2.9, fontSize: 10.5, color: WHITE, lineSpacingMultiple: 1.3 }
  );

  // Right box
  s.addShape(pres.ShapeType.rect, { x: 5.3, y: 1.2, w: 4.4, h: 4.1, fill: { color: DARK_BG }, line: { color: MID, width: 1 } });
  s.addText(rightTitle, { x: 5.4, y: 1.25, w: 4.2, h: 0.4, fontSize: 12, bold: true, color: ACCENT, align: "center" });
  s.addText(
    rightItems.map((t, i) => ({ text: t, options: { bullet: { code: "2713" }, breakLine: i < rightItems.length - 1 } })),
    { x: 5.5, y: 1.75, w: 4.0, h: 2.9, fontSize: 10.5, color: WHITE, lineSpacingMultiple: 1.3 }
  );
}

// ════════════════════════════════════════════════════════════════
// SLIDE 5 – CBME Framework
// ════════════════════════════════════════════════════════════════
{
  let s = pres.addSlide();
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: DARK_BG } });
  addTopBar(s);

  s.addText("COMPETENCY-BASED MEDICAL EDUCATION (CBME)", {
    x: 0.4, y: 0.15, w: 9.2, h: 0.55, fontSize: 18, bold: true, color: WHITE, align: "center", charSpacing: 1
  });

  // Introduced by NMC
  s.addText("Introduced by NMC (formerly MCI) in 2019 for MBBS curriculum", {
    x: 1.5, y: 0.78, w: 7.0, h: 0.35, fontSize: 11, color: ACCENT, align: "center", italic: true
  });

  // 5 pillars
  const pillars = [
    { label: "Knowledge", color: "1A5276", desc: "Subject-wise competencies defined for each year" },
    { label: "Skills",    color: "1E8449", desc: "Procedural & clinical skill training labs" },
    { label: "Attitudes", color: "7D3C98", desc: "AETCOM module running throughout 5.5 years" },
    { label: "Integration", color: "B7770D", desc: "Vertical & horizontal curriculum integration" },
    { label: "Assessment", color: "922B21", desc: "Formative + summative competency assessments" },
  ];

  pillars.forEach((p, i) => {
    const x = 0.3 + i * 1.9;
    const barH = 2.2 - i * 0.1;
    const y = 4.8 - barH;

    s.addShape(pres.ShapeType.rect, { x, y: 1.5, w: 1.7, h: barH + 0.5, fill: { color: p.color }, line: { color: p.color } });
    s.addText(p.label, { x, y: 1.55, w: 1.7, h: 0.4, fontSize: 11, bold: true, color: WHITE, align: "center" });
    s.addText(p.desc, { x: x - 0.05, y: 1.95, w: 1.8, h: barH - 0.5, fontSize: 9, color: LIGHT, align: "center", valign: "top", lineSpacingMultiple: 1.2 });
  });

  // Bottom note
  s.addShape(pres.ShapeType.rect, { x: 0.3, y: 4.9, w: 9.4, h: 0.55, fill: { color: MID }, line: { color: MID } });
  s.addText("CBME ensures that every IMG is outcome-focused — graduates are trained to meet DEFINED competency standards, not just complete course hours.", {
    x: 0.4, y: 4.9, w: 9.2, h: 0.55, fontSize: 10, color: WHITE, align: "center", valign: "middle", italic: true
  });
}

// ════════════════════════════════════════════════════════════════
// SLIDE 6 – Clinical Training & Internship
// ════════════════════════════════════════════════════════════════
{
  let s = pres.addSlide();
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: LIGHT } });
  addTopBar(s);
  addBottomBar(s);

  s.addText("CLINICAL TRAINING & INTERNSHIP", {
    x: 0.4, y: 0.15, w: 9.2, h: 0.55, fontSize: 20, bold: true, color: DARK_BG, align: "center"
  });

  // Timeline boxes
  const phases = [
    { phase: "Phase I", duration: "1st Year", color: "1A5276", subjects: "Anatomy, Physiology, Biochemistry", type: "Pre-clinical" },
    { phase: "Phase II", duration: "2nd Year", color: "1E8449", subjects: "Pathology, Microbiology, Pharmacology, FMT", type: "Para-clinical" },
    { phase: "Phase III Part 1", duration: "3rd Year", color: "7D3C98", subjects: "Medicine, Surgery, Obs & Gynae, Paediatrics", type: "Clinical" },
    { phase: "Phase III Part 2", duration: "4th Year", color: "B7770D", subjects: "ENT, Ophthalmology, PSM, Orthopaedics, Skin", type: "Clinical" },
    { phase: "Internship", duration: "12 Months", color: "922B21", subjects: "Rotational postings in all major departments", type: "Compulsory" },
  ];

  phases.forEach((ph, i) => {
    const x = 0.3;
    const y = 0.9 + i * 0.88;
    const w = 9.4;
    s.addShape(pres.ShapeType.rect, { x, y, w: 0.12, h: 0.72, fill: { color: ph.color }, line: { color: ph.color } });
    s.addShape(pres.ShapeType.rect, { x: x + 0.12, y, w: w - 0.12, h: 0.72, fill: { color: "F4F6F7" }, line: { color: "D5D8DC" } });

    s.addText(ph.phase, { x: x + 0.2, y: y + 0.05, w: 1.5, h: 0.3, fontSize: 11, bold: true, color: ph.color });
    s.addText("(" + ph.duration + ")", { x: x + 0.2, y: y + 0.38, w: 1.5, h: 0.28, fontSize: 9, color: "7F8C8D" });
    s.addShape(pres.ShapeType.rect, { x: 1.9, y: y + 0.15, w: 0.02, h: 0.45, fill: { color: "BDC3C7" } });
    s.addText(ph.type, { x: 1.98, y: y + 0.05, w: 1.5, h: 0.3, fontSize: 10, bold: true, color: ph.color });
    s.addText(ph.subjects, { x: 1.98, y: y + 0.38, w: 7.2, h: 0.28, fontSize: 9.5, color: DARK_BG });
  });
}

// ════════════════════════════════════════════════════════════════
// SLIDE 7 – Professional Responsibilities
// ════════════════════════════════════════════════════════════════
{
  let s = pres.addSlide();
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: DARK_BG } });
  addTopBar(s);

  s.addText("PROFESSIONAL RESPONSIBILITIES", {
    x: 0.4, y: 0.15, w: 9.2, h: 0.55, fontSize: 20, bold: true, color: WHITE, align: "center"
  });
  s.addShape(pres.ShapeType.rect, { x: 3.0, y: 0.72, w: 4.0, h: 0.05, fill: { color: ACCENT } });

  const cards = [
    { icon: "⚖️", title: "Medical Ethics", points: ["Non-maleficence, Beneficence", "Patient autonomy", "Justice in healthcare"] },
    { icon: "📋", title: "Documentation", points: ["Accurate medical records", "Medico-legal case handling", "Discharge summaries"] },
    { icon: "🏥", title: "Patient Safety", points: ["Rational drug use", "Infection control", "Reporting adverse events"] },
    { icon: "🌿", title: "Community Health", points: ["National Health Programmes", "Preventive medicine", "Health education"] },
    { icon: "📚", title: "Continuing Education", points: ["CME credits", "Evidence-based practice", "Research & publications"] },
    { icon: "🤝", title: "Team & Referral", points: ["Inter-professional teamwork", "Appropriate referrals", "Collaborative care"] },
  ];

  cards.forEach((c, i) => {
    const col = i % 3;
    const row = Math.floor(i / 3);
    const x = 0.3 + col * 3.2;
    const y = 0.95 + row * 2.2;

    s.addShape(pres.ShapeType.rect, { x, y, w: 3.0, h: 2.0, fill: { color: MID }, line: { color: MID } });
    s.addShape(pres.ShapeType.rect, { x, y, w: 3.0, h: 0.45, fill: { color: "112244" }, line: { color: "112244" } });

    s.addText(c.icon + "  " + c.title, { x: x + 0.1, y: y + 0.05, w: 2.8, h: 0.38, fontSize: 11.5, bold: true, color: ACCENT, align: "left" });

    s.addText(
      c.points.map((p, pi) => ({ text: p, options: { bullet: true, breakLine: pi < c.points.length - 1 } })),
      { x: x + 0.1, y: y + 0.55, w: 2.8, h: 1.35, fontSize: 10, color: WHITE, lineSpacingMultiple: 1.25 }
    );
  });
}

// ════════════════════════════════════════════════════════════════
// SLIDE 8 – National Health Programmes & IMG Role
// ════════════════════════════════════════════════════════════════
{
  let s = pres.addSlide();
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: LIGHT } });
  addTopBar(s);
  addBottomBar(s);

  s.addText("IMG'S ROLE IN NATIONAL HEALTH PROGRAMMES", {
    x: 0.4, y: 0.15, w: 9.2, h: 0.55, fontSize: 18, bold: true, color: DARK_BG, align: "center"
  });

  const programmes = [
    { name: "NVBDCP", full: "National Vector Borne Disease Control Programme", color: "1E8449" },
    { name: "RNTCP / NTEP", full: "National TB Elimination Programme", color: "922B21" },
    { name: "NHM", full: "National Health Mission (RMNCH+A)", color: "1A5276" },
    { name: "NPCDCS", full: "Non-communicable Disease Control Programme", color: "7D3C98" },
    { name: "NPCB+VI", full: "National Programme for Control of Blindness & Visual Impairment", color: "B7770D" },
    { name: "NPCCHH", full: "Climate Change & Human Health Programme", color: "0E6655" },
  ];

  programmes.forEach((p, i) => {
    const col = i % 2;
    const row = Math.floor(i / 2);
    const x = 0.3 + col * 4.9;
    const y = 0.95 + row * 1.45;

    s.addShape(pres.ShapeType.rect, { x, y, w: 4.5, h: 1.2, fill: { color: p.color }, line: { color: p.color } });
    s.addText(p.name, { x: x + 0.15, y: y + 0.1, w: 4.2, h: 0.4, fontSize: 13, bold: true, color: WHITE });
    s.addText(p.full, { x: x + 0.15, y: y + 0.55, w: 4.2, h: 0.55, fontSize: 10, color: LIGHT, lineSpacingMultiple: 1.2 });
  });
}

// ════════════════════════════════════════════════════════════════
// SLIDE 9 – Essential Skills & Procedures
// ════════════════════════════════════════════════════════════════
{
  let s = pres.addSlide();
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: DARK_BG } });
  addTopBar(s);

  s.addText("ESSENTIAL CLINICAL SKILLS & PROCEDURES", {
    x: 0.4, y: 0.15, w: 9.2, h: 0.55, fontSize: 18, bold: true, color: WHITE, align: "center"
  });

  const skillGroups = [
    {
      category: "Emergency Skills",
      color: RED_SOFT,
      skills: ["Basic Life Support (BLS/CPR)", "Airway management", "IV cannulation & fluid resuscitation", "Management of anaphylaxis, shock"]
    },
    {
      category: "Diagnostic Skills",
      color: GREEN,
      skills: ["ECG interpretation", "X-ray & USG basics", "Fundoscopy & slit lamp basics", "Urine & blood examination"]
    },
    {
      category: "Minor Procedures",
      color: ACCENT,
      skills: ["Suturing & wound care", "Nasogastric tube insertion", "Urinary catheterization", "Pap smear & IUD insertion"]
    }
  ];

  skillGroups.forEach((g, i) => {
    const x = 0.3 + i * 3.2;
    const y = 0.95;

    // Header
    s.addShape(pres.ShapeType.rect, { x, y, w: 3.0, h: 0.4, fill: { color: g.color }, line: { color: g.color } });
    s.addText(g.category, { x, y, w: 3.0, h: 0.4, fontSize: 11.5, bold: true, color: DARK_BG, align: "center", valign: "middle", margin: 0 });

    // Body
    s.addShape(pres.ShapeType.rect, { x, y: y + 0.4, w: 3.0, h: 3.8, fill: { color: MID }, line: { color: MID } });
    s.addText(
      g.skills.map((sk, si) => ({ text: sk, options: { bullet: true, breakLine: si < g.skills.length - 1 } })),
      { x: x + 0.1, y: y + 0.55, w: 2.8, h: 3.5, fontSize: 11, color: WHITE, lineSpacingMultiple: 1.8 }
    );
  });

  s.addShape(pres.ShapeType.rect, { x: 0.3, y: 5.1, w: 9.4, h: 0.4, fill: { color: MID }, line: { color: MID } });
  s.addText("Skills are assessed through OSCEs (Objective Structured Clinical Examinations) and skill labs before clinical postings.", {
    x: 0.4, y: 5.1, w: 9.2, h: 0.4, fontSize: 9.5, color: LIGHT, align: "center", valign: "middle", italic: true
  });
}

// ════════════════════════════════════════════════════════════════
// SLIDE 10 – Summary / Conclusion
// ════════════════════════════════════════════════════════════════
{
  let s = pres.addSlide();
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: DARK_BG } });
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 0.08, fill: { color: ACCENT } });
  s.addShape(pres.ShapeType.rect, { x: 0, y: 5.545, w: 10, h: 0.08, fill: { color: ACCENT } });

  // Large quote mark (decorative)
  s.addText('"', { x: 0.2, y: 0.2, w: 1.2, h: 1.2, fontSize: 100, color: MID, align: "left" });

  s.addText("KEY TAKEAWAYS", {
    x: 1.2, y: 0.3, w: 7.0, h: 0.5, fontSize: 22, bold: true, color: ACCENT, charSpacing: 4
  });

  const takeaways = [
    "The IMG is trained to function as a competent, ethical primary care physician",
    "CBME ensures outcomes-based, not just time-based, medical education",
    "The 7 roles framework makes the IMG adaptable across all healthcare settings",
    "Compulsory rotational internship bridges academia and real-world clinical practice",
    "IMGs are expected to actively contribute to India's national health programs",
    "Continuous professional development is a lifelong responsibility of every IMG"
  ];

  takeaways.forEach((t, i) => {
    const yPos = 1.0 + i * 0.7;
    s.addShape(pres.ShapeType.rect, { x: 1.2, y: yPos + 0.1, w: 0.28, h: 0.28, fill: { color: ACCENT }, line: { color: ACCENT } });
    s.addText((i + 1).toString(), { x: 1.2, y: yPos + 0.1, w: 0.28, h: 0.28, fontSize: 9, bold: true, color: DARK_BG, align: "center", valign: "middle", margin: 0 });
    s.addText(t, { x: 1.6, y: yPos, w: 8.0, h: 0.48, fontSize: 11.5, color: WHITE });
  });

  // Bottom attribution
  s.addShape(pres.ShapeType.rect, { x: 0, y: 5.2, w: 10, h: 0.35, fill: { color: MID }, line: { color: MID } });
  s.addText("Presentation by: Smayra  |  Roll No. 134  |  Indian Medical Graduate", {
    x: 0.3, y: 5.2, w: 9.4, h: 0.35, fontSize: 10, color: WHITE, align: "center", valign: "middle"
  });
}

// ════════════════════════════════════════════════════════════════
// WRITE FILE
// ════════════════════════════════════════════════════════════════
pres.writeFile({ fileName: "/home/daytona/workspace/indian-medical-graduate/Indian_Medical_Graduate.pptx" })
  .then(() => console.log("✅  PPT created successfully!"))
  .catch(err => console.error("❌  Error:", err));
Running Command

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

Your PPT is ready! Here's a summary of what's inside:

Indian Medical Graduate

Presentation · PPTX


What's in the presentation (10 slides, deep navy + gold theme):
SlideContent
1Title Slide - "Indian Medical Graduate" + Made by Smayra, Roll No. 134
2What is an Indian Medical Graduate? (Definition & key attributes)
37 Roles of the IMG - Clinician, Communicator, Leader, Researcher, Professional, Lifelong Learner, Member of Society
4Core Competencies - Clinical skills & AETCOM (Attitude, Ethics, Communication)
5CBME Framework - Competency-Based Medical Education (NMC 2019)
6Clinical Training & Internship - Phase I to III + compulsory 12-month internship
7Professional Responsibilities - Ethics, documentation, patient safety, community health
8National Health Programmes - NTEP, NHM, NVBDCP, NPCDCS and more
9Essential Clinical Skills & Procedures - Emergency, diagnostic, and minor procedures
10Key Takeaways / Summary with your name and roll number
This is a shared conversation. Sign in to Orris to start your own chat.