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_ppt.js

const pptxgen = require("pptxgenjs");

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

// ── COLOUR PALETTE ──────────────────────────────────────────────
const NAVY       = "0D2B55";   // dominant dark
const TEAL       = "007B83";   // supporting
const GOLD       = "E8A020";   // accent
const WHITE      = "FFFFFF";
const LIGHT_BG   = "EAF4F5";
const SLATE      = "3A3A3A";
const LIGHT_TEAL = "B2DFE3";

// Helper – full-slide solid fill
function solidBg(slide, hex) {
  slide.background = { color: hex };
}

// Helper – horizontal rule
function hr(slide, y, color = GOLD) {
  slide.addShape(pres.ShapeType.rect, {
    x: 0.5, y: y, w: 9, h: 0.04, fill: { color: color }, line: { color: color }
  });
}

// Helper – accent bar on left
function accentBar(slide, x, y, h, color = GOLD) {
  slide.addShape(pres.ShapeType.rect, {
    x: x, y: y, w: 0.12, h: h, fill: { color: color }, line: { color: color }
  });
}

// ────────────────────────────────────────────────────────────────
// SLIDE 1 – TITLE SLIDE
// ────────────────────────────────────────────────────────────────
{
  let s = pres.addSlide();
  solidBg(s, NAVY);

  // diagonal decorative shape top-right
  s.addShape(pres.ShapeType.rect, {
    x: 7.2, y: 0, w: 2.8, h: 5.625,
    fill: { color: TEAL, transparency: 70 }, line: { color: TEAL, transparency: 70 }
  });
  // Bottom gold strip
  s.addShape(pres.ShapeType.rect, {
    x: 0, y: 5.2, w: 10, h: 0.425,
    fill: { color: GOLD }, line: { color: GOLD }
  });

  // Caduceus / stethoscope symbol (text icon)
  s.addText("⚕", {
    x: 0.4, y: 0.3, w: 1.2, h: 1.2,
    fontSize: 54, color: GOLD, align: "center"
  });

  // Main title
  s.addText("Indian Medical Graduate", {
    x: 0.4, y: 1.1, w: 9.2, h: 1.4,
    fontSize: 46, bold: true, color: WHITE,
    fontFace: "Calibri", align: "left", charSpacing: 1
  });

  hr(s, 2.55, GOLD);

  s.addText("Competencies · Roles · Responsibilities", {
    x: 0.4, y: 2.7, w: 9, h: 0.55,
    fontSize: 20, color: LIGHT_TEAL, fontFace: "Calibri", align: "left", italic: true
  });

  // Author & Roll block
  s.addShape(pres.ShapeType.rect, {
    x: 0.4, y: 3.45, w: 4.2, h: 1.1,
    fill: { color: TEAL, transparency: 30 }, line: { color: TEAL }
  });
  s.addText([
    { text: "Presented by: ", options: { bold: false, color: LIGHT_TEAL } },
    { text: "Smayra", options: { bold: true, color: WHITE, breakLine: true } },
    { text: "Roll No. 134", options: { color: GOLD, bold: false } }
  ], {
    x: 0.55, y: 3.52, w: 4.0, h: 0.95,
    fontSize: 17, fontFace: "Calibri"
  });

  // Bottom strip text
  s.addText("Medical Education | MCI / NMC Framework", {
    x: 0.2, y: 5.22, w: 9.6, h: 0.35,
    fontSize: 13, color: NAVY, bold: true, align: "center"
  });
}

// ────────────────────────────────────────────────────────────────
// SLIDE 2 – TABLE OF CONTENTS
// ────────────────────────────────────────────────────────────────
{
  let s = pres.addSlide();
  solidBg(s, LIGHT_BG);

  s.addShape(pres.ShapeType.rect, {
    x: 0, y: 0, w: 10, h: 1.1, fill: { color: NAVY }, line: { color: NAVY }
  });
  s.addText("Table of Contents", {
    x: 0.5, y: 0.18, w: 9, h: 0.75,
    fontSize: 30, bold: true, color: WHITE, fontFace: "Calibri"
  });

  const topics = [
    ["01", "What is an Indian Medical Graduate (IMG)?"],
    ["02", "Historical Background & NMC Vision"],
    ["03", "Roles of an IMG"],
    ["04", "Core Competencies (AETCOM)"],
    ["05", "Graduate Medical Education (GME) Regulations"],
    ["06", "Clinical Skills & Patient Care"],
    ["07", "Challenges Faced by IMGs"],
    ["08", "Way Forward & Conclusion"],
  ];

  topics.forEach(([num, title], i) => {
    const col = i < 4 ? 0 : 1;
    const row = i % 4;
    const x = col === 0 ? 0.5 : 5.3;
    const y = 1.35 + row * 0.96;

    s.addShape(pres.ShapeType.rect, {
      x: x, y: y, w: 0.55, h: 0.55,
      fill: { color: TEAL }, line: { color: TEAL }
    });
    s.addText(num, {
      x: x, y: y, w: 0.55, h: 0.55,
      fontSize: 13, bold: true, color: WHITE, align: "center", valign: "middle"
    });
    s.addText(title, {
      x: x + 0.65, y: y + 0.05, w: 4.3, h: 0.5,
      fontSize: 14, color: SLATE, fontFace: "Calibri"
    });
  });
}

// ────────────────────────────────────────────────────────────────
// SLIDE 3 – WHAT IS AN IMG?
// ────────────────────────────────────────────────────────────────
{
  let s = pres.addSlide();
  solidBg(s, WHITE);

  // Top colour band
  s.addShape(pres.ShapeType.rect, {
    x: 0, y: 0, w: 10, h: 1.15, fill: { color: NAVY }, line: { color: NAVY }
  });
  s.addText("What is an Indian Medical Graduate?", {
    x: 0.5, y: 0.2, w: 9, h: 0.75,
    fontSize: 28, bold: true, color: WHITE, fontFace: "Calibri"
  });

  // Definition box
  s.addShape(pres.ShapeType.rect, {
    x: 0.5, y: 1.3, w: 9, h: 1.2,
    fill: { color: TEAL, transparency: 85 }, line: { color: TEAL }
  });
  s.addText(
    "An Indian Medical Graduate (IMG) is a doctor who has completed the MBBS degree from a recognised medical college in India under the regulatory framework of the National Medical Commission (NMC).",
    {
      x: 0.65, y: 1.38, w: 8.7, h: 1.05,
      fontSize: 15.5, color: SLATE, fontFace: "Calibri", italic: true
    }
  );

  const points = [
    "🎓  Awarded the MBBS degree after 5½ years of training (4.5 years academic + 1 year rotating internship).",
    "📋  Regulated by the National Medical Commission Act, 2019.",
    "🏥  Expected to practice primary & preventive healthcare, especially in rural / underserved areas.",
    "🌐  Must be competent in clinical skills, communication, ethics and professionalism.",
    "📊  India produces ~80,000 MBBS graduates annually – one of the largest in the world.",
  ];

  points.forEach((pt, i) => {
    s.addText(pt, {
      x: 0.6, y: 2.65 + i * 0.54,
      w: 8.8, h: 0.5,
      fontSize: 14, color: SLATE, fontFace: "Calibri"
    });
  });
}

// ────────────────────────────────────────────────────────────────
// SLIDE 4 – HISTORICAL BACKGROUND
// ────────────────────────────────────────────────────────────────
{
  let s = pres.addSlide();
  solidBg(s, NAVY);

  s.addText("Historical Background & NMC Vision", {
    x: 0.5, y: 0.25, w: 9, h: 0.75,
    fontSize: 28, bold: true, color: GOLD, fontFace: "Calibri"
  });
  hr(s, 1.05, GOLD);

  const timeline = [
    ["1835", "Medical education introduced under British rule – Calcutta & Madras Medical Colleges."],
    ["1956", "Indian Medical Council (IMC) Act established – MCI formed as regulatory body."],
    ["1997", "MCI laid down Graduate Medical Education Regulations (GMER)."],
    ["2019", "National Medical Commission (NMC) Act replaces MCI – landmark reform."],
    ["2021", "NMC issues new Competency-Based Medical Education (CBME) curriculum."],
    ["2023+", "Focus on AETCOM, community medicine, skill labs & digital health."],
  ];

  timeline.forEach(([year, desc], i) => {
    const y = 1.25 + i * 0.7;
    // Year badge
    s.addShape(pres.ShapeType.rect, {
      x: 0.5, y: y, w: 0.95, h: 0.52,
      fill: { color: GOLD }, line: { color: GOLD }
    });
    s.addText(year, {
      x: 0.5, y: y, w: 0.95, h: 0.52,
      fontSize: 13, bold: true, color: NAVY, align: "center", valign: "middle"
    });
    // Connector line
    s.addShape(pres.ShapeType.rect, {
      x: 1.45, y: y + 0.24, w: 0.3, h: 0.05,
      fill: { color: TEAL }, line: { color: TEAL }
    });
    s.addText(desc, {
      x: 1.8, y: y + 0.02, w: 7.7, h: 0.5,
      fontSize: 13.5, color: WHITE, fontFace: "Calibri"
    });
  });
}

// ────────────────────────────────────────────────────────────────
// SLIDE 5 – ROLES OF AN IMG
// ────────────────────────────────────────────────────────────────
{
  let s = pres.addSlide();
  solidBg(s, LIGHT_BG);

  s.addShape(pres.ShapeType.rect, {
    x: 0, y: 0, w: 10, h: 1.1, fill: { color: TEAL }, line: { color: TEAL }
  });
  s.addText("Roles of an Indian Medical Graduate", {
    x: 0.5, y: 0.18, w: 9, h: 0.75,
    fontSize: 28, bold: true, color: WHITE, fontFace: "Calibri"
  });

  const roles = [
    ["🩺", "Clinician", "Diagnoses, manages and treats patients with competence and empathy."],
    ["🤝", "Communicator", "Communicates effectively with patients, families and healthcare teams."],
    ["👥", "Team Member", "Works collaboratively in multidisciplinary healthcare teams."],
    ["🏫", "Lifelong Learner", "Commits to self-directed learning and continuing medical education."],
    ["⚖️", "Professional", "Upholds ethics, patient rights and medical jurisprudence."],
    ["🌾", "Community Leader", "Promotes public health, disease prevention and health education."],
  ];

  roles.forEach(([icon, title, desc], i) => {
    const col = i % 2;
    const row = Math.floor(i / 2);
    const x = col === 0 ? 0.4 : 5.3;
    const y = 1.3 + row * 1.4;

    s.addShape(pres.ShapeType.rect, {
      x: x, y: y, w: 4.5, h: 1.2,
      fill: { color: WHITE }, line: { color: TEAL, pt: 1.5 }
    });
    s.addText(icon, {
      x: x + 0.1, y: y + 0.12, w: 0.7, h: 0.7,
      fontSize: 26, align: "center"
    });
    s.addText(title, {
      x: x + 0.85, y: y + 0.1, w: 3.5, h: 0.35,
      fontSize: 15, bold: true, color: NAVY, fontFace: "Calibri"
    });
    s.addText(desc, {
      x: x + 0.85, y: y + 0.48, w: 3.5, h: 0.62,
      fontSize: 12, color: SLATE, fontFace: "Calibri"
    });
  });
}

// ────────────────────────────────────────────────────────────────
// SLIDE 6 – CORE COMPETENCIES (AETCOM)
// ────────────────────────────────────────────────────────────────
{
  let s = pres.addSlide();
  solidBg(s, WHITE);

  s.addShape(pres.ShapeType.rect, {
    x: 0, y: 0, w: 10, h: 1.1, fill: { color: NAVY }, line: { color: NAVY }
  });
  s.addText("Core Competencies – AETCOM", {
    x: 0.5, y: 0.18, w: 9, h: 0.75,
    fontSize: 28, bold: true, color: WHITE, fontFace: "Calibri"
  });

  // AETCOM stands for text
  s.addText("Attitude, Ethics & Communication Module  |  Introduced in CBME 2019", {
    x: 0.5, y: 1.18, w: 9, h: 0.38,
    fontSize: 13, color: TEAL, italic: true, fontFace: "Calibri"
  });

  const areas = [
    { letter: "A", color: "C0392B", label: "Attitude", desc: "Positive, empathetic attitude towards patients and society." },
    { letter: "E", color: "1A5276", label: "Ethics", desc: "Bioethical principles: autonomy, beneficence, non-maleficence, justice." },
    { letter: "T", color: "117A65", label: "Trust", desc: "Building doctor-patient trust through honesty and transparency." },
    { letter: "C", color: "7D6608", label: "Communication", desc: "Effective verbal, non-verbal and written communication skills." },
    { letter: "O", color: "6C3483", label: "Observation", desc: "Critical observation and clinical reasoning in practice." },
    { letter: "M", color: "1F618D", label: "Management", desc: "Time, resource and self-management in clinical settings." },
  ];

  areas.forEach((a, i) => {
    const col = i % 3;
    const row = Math.floor(i / 3);
    const x = 0.5 + col * 3.1;
    const y = 1.75 + row * 1.7;

    s.addShape(pres.ShapeType.rect, {
      x: x, y: y, w: 2.9, h: 1.5,
      fill: { color: a.color, transparency: 88 }, line: { color: a.color }
    });
    s.addShape(pres.ShapeType.rect, {
      x: x, y: y, w: 0.5, h: 1.5,
      fill: { color: a.color }, line: { color: a.color }
    });
    s.addText(a.letter, {
      x: x, y: y, w: 0.5, h: 1.5,
      fontSize: 24, bold: true, color: WHITE, align: "center", valign: "middle"
    });
    s.addText(a.label, {
      x: x + 0.58, y: y + 0.1, w: 2.25, h: 0.38,
      fontSize: 14, bold: true, color: a.color, fontFace: "Calibri"
    });
    s.addText(a.desc, {
      x: x + 0.58, y: y + 0.5, w: 2.25, h: 0.92,
      fontSize: 11.5, color: SLATE, fontFace: "Calibri"
    });
  });
}

// ────────────────────────────────────────────────────────────────
// SLIDE 7 – GME REGULATIONS
// ────────────────────────────────────────────────────────────────
{
  let s = pres.addSlide();
  solidBg(s, NAVY);

  s.addText("Graduate Medical Education (GME) Regulations", {
    x: 0.5, y: 0.2, w: 9, h: 0.8,
    fontSize: 26, bold: true, color: GOLD, fontFace: "Calibri"
  });
  hr(s, 1.05, GOLD);

  const items = [
    ["📘 Duration", "4.5 years of academic training + 1 year compulsory rotating internship."],
    ["🏫 Curriculum", "Competency-Based Medical Education (CBME) replacing traditional lecture-heavy models."],
    ["🔬 Skill Labs", "Simulation-based training, OSPE/OSCE assessments mandatory."],
    ["🌿 Community Medicine", "Mandatory rural/urban postings to expose students to primary healthcare needs."],
    ["🧪 Electives", "Students can choose 2 elective postings for interest-based learning."],
    ["📝 Assessment", "Formative (internal) + Summative (university) with competency milestones."],
    ["📋 Logbook", "Maintenance of skill & procedure logbook mandatory throughout the course."],
  ];

  items.forEach(([title, desc], i) => {
    const y = 1.25 + i * 0.59;
    accentBar(s, 0.5, y, 0.46, GOLD);
    s.addText(title, {
      x: 0.72, y: y + 0.03, w: 2.3, h: 0.42,
      fontSize: 13, bold: true, color: GOLD, fontFace: "Calibri"
    });
    s.addText(desc, {
      x: 3.15, y: y + 0.03, w: 6.5, h: 0.44,
      fontSize: 13, color: WHITE, fontFace: "Calibri"
    });
  });
}

// ────────────────────────────────────────────────────────────────
// SLIDE 8 – CLINICAL SKILLS
// ────────────────────────────────────────────────────────────────
{
  let s = pres.addSlide();
  solidBg(s, LIGHT_BG);

  s.addShape(pres.ShapeType.rect, {
    x: 0, y: 0, w: 10, h: 1.1, fill: { color: TEAL }, line: { color: TEAL }
  });
  s.addText("Clinical Skills & Patient Care", {
    x: 0.5, y: 0.18, w: 9, h: 0.75,
    fontSize: 28, bold: true, color: WHITE, fontFace: "Calibri"
  });

  // Left column – skills
  const skills = [
    "History taking & systematic physical examination",
    "Interpretation of investigations (labs, ECG, X-ray, USG)",
    "Basic procedural skills (IV cannulation, catheterisation, suturing)",
    "Emergency & first-aid management (BLS, ACLS basics)",
    "Rational drug prescribing & pharmacovigilance",
    "Health counselling, vaccination & family planning advice",
  ];

  s.addText("Key Clinical Skills", {
    x: 0.5, y: 1.18, w: 4.5, h: 0.45,
    fontSize: 17, bold: true, color: TEAL, fontFace: "Calibri"
  });
  skills.forEach((sk, i) => {
    s.addText("▸  " + sk, {
      x: 0.55, y: 1.7 + i * 0.6, w: 4.5, h: 0.52,
      fontSize: 13, color: SLATE, fontFace: "Calibri"
    });
  });

  // Right column – patient care principles
  s.addShape(pres.ShapeType.rect, {
    x: 5.35, y: 1.18, w: 4.2, h: 4.1,
    fill: { color: NAVY }, line: { color: NAVY }
  });
  s.addText("Patient Care Principles", {
    x: 5.45, y: 1.28, w: 4.0, h: 0.4,
    fontSize: 16, bold: true, color: GOLD, fontFace: "Calibri"
  });
  const principles = [
    "Patient safety as the first priority",
    "Informed consent in every procedure",
    "Confidentiality & privacy of medical records",
    "Holistic care – bio-psycho-social model",
    "Culturally sensitive & non-judgmental approach",
    "Evidence-based clinical decision making",
  ];
  principles.forEach((p, i) => {
    s.addText("✓  " + p, {
      x: 5.45, y: 1.75 + i * 0.57, w: 4.0, h: 0.5,
      fontSize: 12.5, color: WHITE, fontFace: "Calibri"
    });
  });
}

// ────────────────────────────────────────────────────────────────
// SLIDE 9 – CHALLENGES
// ────────────────────────────────────────────────────────────────
{
  let s = pres.addSlide();
  solidBg(s, WHITE);

  s.addShape(pres.ShapeType.rect, {
    x: 0, y: 0, w: 10, h: 1.1, fill: { color: NAVY }, line: { color: NAVY }
  });
  s.addText("Challenges Faced by Indian Medical Graduates", {
    x: 0.5, y: 0.18, w: 9, h: 0.75,
    fontSize: 26, bold: true, color: WHITE, fontFace: "Calibri"
  });

  const challenges = [
    { icon: "🧠", title: "Theory-Practice Gap", desc: "Over-emphasis on theory exams vs. actual clinical skill development." },
    { icon: "🌍", title: "Rural Healthcare Deficit", desc: "Reluctance to serve rural areas; urban concentration of doctors." },
    { icon: "📈", title: "Brain Drain", desc: "Large numbers of IMGs emigrate to USA, UK, Australia for better opportunities." },
    { icon: "💼", title: "Unemployment & Mismatch", desc: "Surplus of specialists in cities; shortage in primary care." },
    { icon: "🔗", title: "Regulatory Issues", desc: "Varying standards across 706+ medical colleges; quality inconsistency." },
    { icon: "💻", title: "Digital Divide", desc: "Uneven exposure to telemedicine, AI diagnostics and health informatics." },
  ];

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

    s.addShape(pres.ShapeType.rect, {
      x: x, y: y, w: 4.5, h: 1.25,
      fill: { color: LIGHT_BG }, line: { color: TEAL, pt: 1.5 }
    });
    s.addText(c.icon, {
      x: x + 0.12, y: y + 0.12, w: 0.7, h: 0.7, fontSize: 28
    });
    s.addText(c.title, {
      x: x + 0.88, y: y + 0.1, w: 3.5, h: 0.38,
      fontSize: 14, bold: true, color: NAVY, fontFace: "Calibri"
    });
    s.addText(c.desc, {
      x: x + 0.88, y: y + 0.5, w: 3.5, h: 0.64,
      fontSize: 12, color: SLATE, fontFace: "Calibri"
    });
  });
}

// ────────────────────────────────────────────────────────────────
// SLIDE 10 – WAY FORWARD & CONCLUSION
// ────────────────────────────────────────────────────────────────
{
  let s = pres.addSlide();
  solidBg(s, NAVY);

  s.addText("Way Forward & Conclusion", {
    x: 0.5, y: 0.2, w: 9, h: 0.75,
    fontSize: 30, bold: true, color: GOLD, fontFace: "Calibri"
  });
  hr(s, 1.0, GOLD);

  const forward = [
    ["🔬", "Strengthen CBME", "Full implementation of competency-based education with regular faculty training."],
    ["🏘️", "Rural Bonding Policy", "Mandatory rural service for 1-2 years post-internship with incentives."],
    ["💡", "Research Culture", "Encourage undergraduate research, publications and critical appraisal."],
    ["🤝", "Interprofessional Education", "Train doctors alongside nurses, pharmacists and allied health professionals."],
    ["📱", "Digital Health Readiness", "Integrate telemedicine, AI tools and EHR training into curriculum."],
  ];

  forward.forEach(([icon, title, desc], i) => {
    const y = 1.2 + i * 0.84;
    s.addText(icon, {
      x: 0.4, y: y + 0.08, w: 0.55, h: 0.55, fontSize: 22
    });
    s.addText(title + ": ", {
      x: 1.05, y: y + 0.1, w: 2.2, h: 0.5,
      fontSize: 14, bold: true, color: GOLD, fontFace: "Calibri"
    });
    s.addText(desc, {
      x: 3.4, y: y + 0.1, w: 6.2, h: 0.5,
      fontSize: 13.5, color: WHITE, fontFace: "Calibri"
    });
    if (i < forward.length - 1) {
      s.addShape(pres.ShapeType.rect, {
        x: 0.4, y: y + 0.76, w: 9.2, h: 0.03,
        fill: { color: TEAL, transparency: 40 }, line: { color: TEAL }
      });
    }
  });

  // Closing note
  s.addShape(pres.ShapeType.rect, {
    x: 0.4, y: 5.12, w: 9.2, h: 0.44,
    fill: { color: GOLD }, line: { color: GOLD }
  });
  s.addText("The Indian Medical Graduate is the backbone of India's healthcare system — trained to serve, lead and heal.", {
    x: 0.5, y: 5.14, w: 9, h: 0.4,
    fontSize: 12.5, color: NAVY, bold: true, align: "center", fontFace: "Calibri"
  });
}

// ────────────────────────────────────────────────────────────────
// WRITE FILE
// ────────────────────────────────────────────────────────────────
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("❌ Error:", e); process.exit(1); });
Running Command

cat > /home/daytona/workspace/indian-medical-graduate/create_ppt.js << 'JSEOF' c…

Running Command

node /home/daytona/workspace/indian-medical-graduate/create_ppt.js

Running Command

ls -lh /home/daytona/workspace/indian-medical-graduate/

Your presentation is ready! Here's what was built:

Indian Medical Graduate - Presentation (10 Slides)

Indian Medical Graduate

Presentation · PPTX


Slide breakdown:
#Slide
1Title Slide - "Indian Medical Graduate" · Presented by Smayra, Roll No. 134
2Table of Contents - 8 topics listed
3What is an IMG? - Definition, duration, NMC regulation, key stats
4Historical Background & NMC Vision - Timeline from 1835 to 2023+
5Roles of an IMG - 6 roles: Clinician, Communicator, Team Member, Learner, Professional, Community Leader
6Core Competencies - AETCOM - A/E/T/C/O/M colour-coded cards
7GME Regulations & Curriculum - Duration, CBME, skill labs, assessment, logbook
8Clinical Skills & Patient Care - Skills list + patient care principles (two-column layout)
9Challenges Faced by IMGs - 6 challenges in card layout
10Way Forward & Conclusion - 5 recommendations + closing quote
Design: Navy, teal & gold colour palette with structured layouts - no plain white bullet slides.
This is a shared conversation. Sign in to Orris to start your own chat.