Make a ppt on social media in medical education:online resources and ethics Also add Title:-social media in medical education Name surya Roll no 138
ls /home/daytona/workspace/ 2>/dev/null || echo "workspace empty"
~/social-media-med-edu/build.js
const pptxgen = require("pptxgenjs");
const pres = new pptxgen();
pres.layout = "LAYOUT_16x9";
pres.author = "Surya";
pres.title = "Social Media in Medical Education";
// ─── COLOR PALETTE ───────────────────────────────────────────────
const NAVY = "0D1B2A"; // dominant dark
const TEAL = "1A8C8C"; // accent / heading bar
const LIGHT = "E8F4F8"; // light bg for content slides
const WHITE = "FFFFFF";
const GOLD = "F4B942"; // highlight accent
const GRAY = "5A6A7A"; // body text
const LTGRAY = "C8D8E8"; // divider / subtle
// ─── HELPER: dark slide background ───────────────────────────────
function darkBg(slide) {
slide.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: NAVY } });
}
// ─── HELPER: light slide background ──────────────────────────────
function lightBg(slide) {
slide.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: LIGHT } });
}
// ─── HELPER: teal header bar ─────────────────────────────────────
function headerBar(slide, title) {
slide.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 1.0, fill: { color: TEAL } });
slide.addText(title, {
x: 0.35, y: 0.1, w: 9.3, h: 0.8,
fontSize: 24, bold: true, color: WHITE, fontFace: "Calibri", valign: "middle", margin: 0
});
}
// ─── HELPER: slide number ─────────────────────────────────────────
function slideNum(slide, n) {
slide.addText(`${n}`, {
x: 9.5, y: 5.3, w: 0.4, h: 0.25,
fontSize: 9, color: GRAY, fontFace: "Calibri", align: "right"
});
}
// ─── HELPER: teal bullet ─────────────────────────────────────────
function bullets(slide, items, x, y, w, h, fontSize=14) {
slide.addText(
items.map((t, i) => ({ text: t, options: { bullet: { code: "25B6", color: TEAL }, breakLine: i < items.length - 1 } })),
{ x, y, w, h, fontSize, fontFace: "Calibri", color: NAVY, lineSpacingMultiple: 1.25 }
);
}
// ═══════════════════════════════════════════════════════════════════
// SLIDE 1 — TITLE SLIDE
// ═══════════════════════════════════════════════════════════════════
{
const s = pres.addSlide();
darkBg(s);
// large teal accent bar on left
s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 0.25, h: 5.625, fill: { color: TEAL } });
// decorative circle top-right
s.addShape(pres.ShapeType.ellipse, { x: 8.0, y: -0.8, w: 3.0, h: 3.0, fill: { color: "1A5C6C", transparency: 40 }, line: { color: TEAL, width: 1 } });
// small decorative dots
s.addShape(pres.ShapeType.ellipse, { x: 7.2, y: 4.5, w: 0.3, h: 0.3, fill: { color: GOLD } });
s.addShape(pres.ShapeType.ellipse, { x: 7.7, y: 4.3, w: 0.2, h: 0.2, fill: { color: TEAL } });
// TITLE
s.addText("Social Media in", {
x: 0.5, y: 0.8, w: 8.5, h: 0.8,
fontSize: 38, bold: true, color: WHITE, fontFace: "Calibri"
});
s.addText("Medical Education", {
x: 0.5, y: 1.5, w: 8.5, h: 0.9,
fontSize: 38, bold: true, color: GOLD, fontFace: "Calibri"
});
// subtitle
s.addText("Online Resources & Ethics", {
x: 0.5, y: 2.55, w: 8.0, h: 0.55,
fontSize: 20, italic: true, color: LTGRAY, fontFace: "Calibri"
});
// gold divider line
s.addShape(pres.ShapeType.rect, { x: 0.5, y: 3.2, w: 4.5, h: 0.05, fill: { color: GOLD } });
// Name & Roll
s.addText([
{ text: "Presented by: ", options: { color: LTGRAY, fontSize: 14 } },
{ text: "Surya", options: { color: WHITE, fontSize: 14, bold: true } }
], { x: 0.5, y: 3.45, w: 8, h: 0.4, fontFace: "Calibri" });
s.addText([
{ text: "Roll No: ", options: { color: LTGRAY, fontSize: 13 } },
{ text: "138", options: { color: GOLD, fontSize: 13, bold: true } }
], { x: 0.5, y: 3.85, w: 8, h: 0.35, fontFace: "Calibri" });
s.addText("Department of Medical Education", {
x: 0.5, y: 4.4, w: 8, h: 0.3,
fontSize: 11, color: GRAY, fontFace: "Calibri", italic: true
});
}
// ═══════════════════════════════════════════════════════════════════
// SLIDE 2 — CONTENTS / OUTLINE
// ═══════════════════════════════════════════════════════════════════
{
const s = pres.addSlide();
lightBg(s);
headerBar(s, "Contents");
slideNum(s, 2);
const topics = [
"01 Introduction to Social Media in Medicine",
"02 Types of Social Media Platforms",
"03 Online Resources for Medical Students",
"04 Benefits of Social Media in Medical Education",
"05 Challenges & Risks",
"06 Ethics of Social Media Use",
"07 Patient Privacy & Confidentiality (HIPAA/MCI)",
"08 Professional Online Identity",
"09 Guidelines & Best Practices",
"10 Conclusion"
];
topics.forEach((t, i) => {
const col = i < 5 ? 0 : 1;
const row = i % 5;
const x = col === 0 ? 0.4 : 5.2;
const y = 1.2 + row * 0.78;
s.addShape(pres.ShapeType.rect, { x, y: y + 0.05, w: 4.4, h: 0.6, fill: { color: col === 0 ? "D6EDF0" : "D6EDF0" }, line: { color: TEAL, width: 0.5 } });
s.addText(t, { x: x + 0.1, y: y + 0.05, w: 4.2, h: 0.6, fontSize: 12.5, color: NAVY, fontFace: "Calibri", valign: "middle" });
});
}
// ═══════════════════════════════════════════════════════════════════
// SLIDE 3 — INTRODUCTION
// ═══════════════════════════════════════════════════════════════════
{
const s = pres.addSlide();
lightBg(s);
headerBar(s, "Introduction");
slideNum(s, 3);
// stat box
s.addShape(pres.ShapeType.rect, { x: 6.8, y: 1.2, w: 2.9, h: 3.8, fill: { color: NAVY }, line: { color: TEAL, width: 1 } });
s.addText("~90%", { x: 6.9, y: 1.5, w: 2.7, h: 0.7, fontSize: 32, bold: true, color: GOLD, fontFace: "Calibri", align: "center" });
s.addText("of medical students use\nsocial media for\neducational purposes", { x: 6.9, y: 2.2, w: 2.7, h: 1.0, fontSize: 11, color: LTGRAY, fontFace: "Calibri", align: "center" });
s.addShape(pres.ShapeType.rect, { x: 7.1, y: 3.3, w: 2.3, h: 0.05, fill: { color: TEAL } });
s.addText("3.6 Billion+", { x: 6.9, y: 3.5, w: 2.7, h: 0.5, fontSize: 18, bold: true, color: GOLD, fontFace: "Calibri", align: "center" });
s.addText("global social media users", { x: 6.9, y: 4.0, w: 2.7, h: 0.4, fontSize: 10, color: LTGRAY, fontFace: "Calibri", align: "center" });
bullets(s, [
"Social media has transformed how medical knowledge is shared and consumed",
"Platforms like Twitter/X, YouTube, Instagram & LinkedIn are widely used by medical professionals",
"Medical students use social media for peer learning, case discussions & staying updated",
"Rapid dissemination of clinical guidelines, research, and public health information",
"Creates a global community of learners beyond classroom boundaries"
], 0.4, 1.1, 6.1, 4.3, 13.5);
}
// ═══════════════════════════════════════════════════════════════════
// SLIDE 4 — TYPES OF SOCIAL MEDIA PLATFORMS
// ═══════════════════════════════════════════════════════════════════
{
const s = pres.addSlide();
darkBg(s);
// teal top bar
s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 0.95, fill: { color: TEAL } });
s.addText("Types of Social Media Platforms", { x: 0.35, y: 0.1, w: 9.3, h: 0.75, fontSize: 24, bold: true, color: WHITE, fontFace: "Calibri", valign: "middle", margin: 0 });
slideNum(s, 4);
const cards = [
{ icon: "📹", title: "Video Platforms", body: "YouTube, TikTok\nSurgical demos, anatomy\nvideos, lectures" },
{ icon: "🐦", title: "Microblogging", body: "Twitter/X, Mastodon\n#MedTwitter, journal clubs,\nlive conference updates" },
{ icon: "📸", title: "Visual Platforms", body: "Instagram, Pinterest\nInfographics, clinical\nimages, awareness" },
{ icon: "💼", title: "Professional Nets", body: "LinkedIn, Doximity\nNetworking, career, CME\nopportunities" },
{ icon: "📚", title: "Forums & Groups", body: "Reddit, Facebook Groups\nCase discussions, doubt-\nclearing communities" },
{ icon: "📝", title: "Blogs & Podcasts", body: "Medium, Spotify\nIn-depth topic reviews,\nstudent reflections" },
];
cards.forEach((c, i) => {
const col = i % 3;
const row = Math.floor(i / 3);
const x = 0.3 + col * 3.25;
const y = 1.1 + row * 2.1;
s.addShape(pres.ShapeType.rect, { x, y, w: 3.0, h: 1.85, fill: { color: "102030" }, line: { color: TEAL, width: 1 } });
s.addText(c.icon + " " + c.title, { x: x + 0.1, y: y + 0.1, w: 2.8, h: 0.5, fontSize: 13.5, bold: true, color: GOLD, fontFace: "Calibri" });
s.addShape(pres.ShapeType.rect, { x: x + 0.1, y: y + 0.58, w: 2.7, h: 0.04, fill: { color: TEAL } });
s.addText(c.body, { x: x + 0.1, y: y + 0.68, w: 2.8, h: 1.1, fontSize: 11, color: LTGRAY, fontFace: "Calibri" });
});
}
// ═══════════════════════════════════════════════════════════════════
// SLIDE 5 — ONLINE RESOURCES FOR MEDICAL STUDENTS
// ═══════════════════════════════════════════════════════════════════
{
const s = pres.addSlide();
lightBg(s);
headerBar(s, "Online Resources for Medical Students");
slideNum(s, 5);
const res = [
{ cat: "Open Access Journals", items: "PubMed, PLoS Medicine, BMJ Open, NEJM Free Articles" },
{ cat: "E-Learning Portals", items: "Coursera, edX, Khan Academy Medicine, AMBOSS, Lecturio" },
{ cat: "Clinical Tools", items: "UpToDate, Medscape, Epocrates, ClinicalKey" },
{ cat: "Anatomy & Physiology", items: "Visible Body, Kenhub, Acland's Video Atlas, Osmosis" },
{ cat: "Case-Based Learning", items: "Radiopaedia, PathologyOutlines, ClinicalCases.org" },
{ cat: "Community Forums", items: "r/medicine, Student Doctor Network, Medscape Forums" },
];
res.forEach((r, i) => {
const row = Math.floor(i / 2);
const col = i % 2;
const x = 0.3 + col * 4.85;
const y = 1.1 + row * 1.4;
s.addShape(pres.ShapeType.rect, { x, y, w: 4.5, h: 1.25, fill: { color: WHITE }, line: { color: TEAL, width: 1.5 } });
s.addShape(pres.ShapeType.rect, { x, y, w: 1.5, h: 0.35, fill: { color: TEAL } });
s.addText(r.cat, { x: x + 0.08, y: y + 0.03, w: 1.4, h: 0.3, fontSize: 9, bold: true, color: WHITE, fontFace: "Calibri", valign: "middle", margin: 0 });
s.addText(r.items, { x: x + 0.1, y: y + 0.42, w: 4.3, h: 0.75, fontSize: 11.5, color: GRAY, fontFace: "Calibri" });
});
}
// ═══════════════════════════════════════════════════════════════════
// SLIDE 6 — BENEFITS
// ═══════════════════════════════════════════════════════════════════
{
const s = pres.addSlide();
lightBg(s);
headerBar(s, "Benefits of Social Media in Medical Education");
slideNum(s, 6);
const benefits = [
{ icon: "🌐", title: "Global Learning", desc: "Connect with educators & peers worldwide; access lectures from top institutions" },
{ icon: "⚡", title: "Real-Time Updates", desc: "Instant dissemination of new guidelines, outbreaks, and research findings" },
{ icon: "🤝", title: "Collaboration", desc: "Interdisciplinary teamwork, mentorship programs & journal clubs online" },
{ icon: "🎯", title: "Self-Directed Learning", desc: "Personalized timelines, revision tools and spaced repetition resources" },
{ icon: "📣", title: "Health Advocacy", desc: "Platform to promote public health campaigns and health literacy" },
{ icon: "💡", title: "Innovation", desc: "Exposure to cutting-edge research, AI in medicine, and clinical innovation" },
];
benefits.forEach((b, i) => {
const col = i % 3;
const row = Math.floor(i / 3);
const x = 0.2 + col * 3.25;
const y = 1.05 + row * 2.1;
s.addShape(pres.ShapeType.rect, { x, y, w: 3.05, h: 1.9, fill: { color: WHITE }, line: { color: TEAL, width: 1 } });
s.addText(b.icon, { x: x + 0.1, y: y + 0.1, w: 0.5, h: 0.55, fontSize: 22, fontFace: "Calibri" });
s.addText(b.title, { x: x + 0.6, y: y + 0.1, w: 2.3, h: 0.55, fontSize: 14, bold: true, color: TEAL, fontFace: "Calibri", valign: "middle" });
s.addShape(pres.ShapeType.rect, { x: x + 0.1, y: y + 0.7, w: 2.8, h: 0.04, fill: { color: LTGRAY } });
s.addText(b.desc, { x: x + 0.1, y: y + 0.8, w: 2.85, h: 1.0, fontSize: 11, color: GRAY, fontFace: "Calibri" });
});
}
// ═══════════════════════════════════════════════════════════════════
// SLIDE 7 — CHALLENGES & RISKS
// ═══════════════════════════════════════════════════════════════════
{
const s = pres.addSlide();
darkBg(s);
s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 0.95, fill: { color: "B03A2E" } });
s.addText("Challenges & Risks", { x: 0.35, y: 0.1, w: 9.3, h: 0.75, fontSize: 24, bold: true, color: WHITE, fontFace: "Calibri", valign: "middle", margin: 0 });
slideNum(s, 7);
const challenges = [
{ risk: "Misinformation", desc: "Unverified clinical claims spread rapidly; fake cures during pandemics" },
{ risk: "Privacy Breach", desc: "Posting patient images/cases without consent violates medical ethics & law" },
{ risk: "Professionalism",desc: "Blurred boundary between personal and professional online identity" },
{ risk: "Distraction", desc: "Excessive use affects study time, mental health and clinical focus" },
{ risk: "Cyberbullying", desc: "Online harassment of students and junior doctors by peers/seniors" },
{ risk: "Copyright Issues",desc: "Sharing copyrighted images, papers or clinical content without permission" },
];
challenges.forEach((c, i) => {
const row = Math.floor(i / 2);
const col = i % 2;
const x = 0.3 + col * 4.9;
const y = 1.05 + row * 1.4;
s.addShape(pres.ShapeType.rect, { x, y, w: 4.5, h: 1.25, fill: { color: "1A0A0A" }, line: { color: "B03A2E", width: 1 } });
s.addShape(pres.ShapeType.rect, { x, y, w: 0.08, h: 1.25, fill: { color: "B03A2E" } });
s.addText("⚠ " + c.risk, { x: x + 0.2, y: y + 0.08, w: 4.2, h: 0.45, fontSize: 14, bold: true, color: GOLD, fontFace: "Calibri" });
s.addText(c.desc, { x: x + 0.2, y: y + 0.58, w: 4.2, h: 0.6, fontSize: 11.5, color: LTGRAY, fontFace: "Calibri" });
});
}
// ═══════════════════════════════════════════════════════════════════
// SLIDE 8 — ETHICS OF SOCIAL MEDIA USE
// ═══════════════════════════════════════════════════════════════════
{
const s = pres.addSlide();
lightBg(s);
headerBar(s, "Ethics of Social Media Use in Medicine");
slideNum(s, 8);
// left column principles
s.addText("Core Ethical Principles", { x: 0.4, y: 1.1, w: 4.3, h: 0.45, fontSize: 15, bold: true, color: TEAL, fontFace: "Calibri" });
const principles = [
"Respect patient autonomy and confidentiality at all times",
"Non-maleficence: Do not post content that could harm individuals",
"Beneficence: Use platforms to educate and promote well-being",
"Justice: Ensure equitable representation and avoid bias",
"Honesty and transparency in all online communications",
"Accountability for content shared under your professional identity"
];
bullets(s, principles, 0.4, 1.6, 4.4, 3.8, 12);
// right column pillar boxes
s.addText("4 Pillars of Medical Ethics Online", { x: 5.2, y: 1.1, w: 4.5, h: 0.45, fontSize: 15, bold: true, color: TEAL, fontFace: "Calibri" });
const pillars = [
{ name: "Autonomy", color: "1A7A5A" },
{ name: "Beneficence", color: "1A5C8C" },
{ name: "Non-Maleficence", color: "8C5C1A" },
{ name: "Justice", color: "7A1A5A" },
];
pillars.forEach((p, i) => {
const x = 5.2 + (i % 2) * 2.25;
const y = 1.65 + Math.floor(i / 2) * 1.75;
s.addShape(pres.ShapeType.rect, { x, y, w: 2.05, h: 1.55, fill: { color: p.color + "33" }, line: { color: p.color, width: 1.5 } });
s.addText(p.name, { x: x + 0.1, y: y + 0.55, w: 1.85, h: 0.5, fontSize: 13, bold: true, color: p.color.replace("1A","0A"), fontFace: "Calibri", align: "center" });
});
}
// ═══════════════════════════════════════════════════════════════════
// SLIDE 9 — PATIENT PRIVACY & CONFIDENTIALITY
// ═══════════════════════════════════════════════════════════════════
{
const s = pres.addSlide();
darkBg(s);
s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 0.95, fill: { color: TEAL } });
s.addText("Patient Privacy & Confidentiality", { x: 0.35, y: 0.1, w: 9.3, h: 0.75, fontSize: 24, bold: true, color: WHITE, fontFace: "Calibri", valign: "middle", margin: 0 });
slideNum(s, 9);
// HIPAA box
s.addShape(pres.ShapeType.rect, { x: 0.3, y: 1.1, w: 4.4, h: 4.1, fill: { color: "0A1520" }, line: { color: TEAL, width: 1 } });
s.addText("HIPAA / Data Protection Laws", { x: 0.4, y: 1.2, w: 4.2, h: 0.5, fontSize: 14, bold: true, color: GOLD, fontFace: "Calibri" });
const hipaa = [
"Never post identifiable patient information online",
"Obtain explicit written consent before sharing clinical photos",
"De-identify all data used in case discussions",
"Beware of background details in photos (patient names, charts)",
"Violations can lead to legal action and loss of medical license"
];
bullets(s, hipaa, 0.4, 1.75, 4.1, 3.2, 11.5);
// MCI/NMC Guidelines box
s.addShape(pres.ShapeType.rect, { x: 5.2, y: 1.1, w: 4.4, h: 4.1, fill: { color: "0A1520" }, line: { color: GOLD, width: 1 } });
s.addText("NMC / MCI Code of Ethics", { x: 5.3, y: 1.2, w: 4.2, h: 0.5, fontSize: 14, bold: true, color: GOLD, fontFace: "Calibri" });
const nmc = [
"Maintain professional secrecy at all times",
"Social media posts are a reflection of your professional conduct",
"Avoid online self-promotion that misleads patients",
"Do not disparage colleagues or institutions publicly online",
"Maintain the dignity and reputation of the medical profession"
];
bullets(s, nmc, 5.3, 1.75, 4.1, 3.2, 11.5);
}
// ═══════════════════════════════════════════════════════════════════
// SLIDE 10 — PROFESSIONAL ONLINE IDENTITY
// ═══════════════════════════════════════════════════════════════════
{
const s = pres.addSlide();
lightBg(s);
headerBar(s, "Professional Online Identity");
slideNum(s, 10);
// Timeline-style layout
s.addText("Building a Responsible Digital Presence", { x: 0.4, y: 1.05, w: 9.2, h: 0.45, fontSize: 16, bold: true, color: NAVY, fontFace: "Calibri" });
const steps = [
{ num: "1", title: "Separate Accounts", desc: "Maintain distinct personal and professional social media accounts" },
{ num: "2", title: "Profile Accuracy", desc: "Clearly state your credentials; avoid titles you haven't earned" },
{ num: "3", title: "Consistent Tone", desc: "Use professional language; what you post reflects your character" },
{ num: "4", title: "Think Before Post", desc: "Once online, content is permanent — consider consequences first" },
{ num: "5", title: "Positive Branding", desc: "Share evidence-based content; engage constructively in discussions" },
];
steps.forEach((st, i) => {
const y = 1.6 + i * 0.77;
s.addShape(pres.ShapeType.ellipse, { x: 0.35, y: y, w: 0.5, h: 0.5, fill: { color: TEAL } });
s.addText(st.num, { x: 0.35, y: y + 0.05, w: 0.5, h: 0.4, fontSize: 14, bold: true, color: WHITE, fontFace: "Calibri", align: "center", margin: 0 });
if (i < steps.length - 1) {
s.addShape(pres.ShapeType.rect, { x: 0.57, y: y + 0.5, w: 0.05, h: 0.28, fill: { color: TEAL } });
}
s.addShape(pres.ShapeType.rect, { x: 1.05, y: y, w: 8.55, h: 0.5, fill: { color: WHITE }, line: { color: LTGRAY, width: 0.75 } });
s.addText(st.title + ": ", { x: 1.15, y: y + 0.05, w: 1.7, h: 0.4, fontSize: 13, bold: true, color: TEAL, fontFace: "Calibri", valign: "middle", margin: 0 });
s.addText(st.desc, { x: 2.75, y: y + 0.05, w: 6.6, h: 0.4, fontSize: 12.5, color: GRAY, fontFace: "Calibri", valign: "middle", margin: 0 });
});
}
// ═══════════════════════════════════════════════════════════════════
// SLIDE 11 — GUIDELINES & BEST PRACTICES
// ═══════════════════════════════════════════════════════════════════
{
const s = pres.addSlide();
lightBg(s);
headerBar(s, "Guidelines & Best Practices");
slideNum(s, 11);
// two columns
const left = [
"Verify information before sharing — use peer-reviewed sources",
"Follow institution's social media policy and code of conduct",
"Cite sources and give credit for shared content",
"Never solicit patients online or offer personal medical advice",
"Be cautious with location/time data in posts from clinical areas"
];
const right = [
"Use privacy settings; regularly audit your digital footprint",
"Report and challenge health misinformation politely but firmly",
"Participate in supervised online communities (e.g., #MedEd)",
"Obtain training in digital health literacy as part of curriculum",
"Model good digital behavior for junior students and colleagues"
];
s.addText("Do's & Don'ts", { x: 0.4, y: 1.05, w: 4.2, h: 0.4, fontSize: 15, bold: true, color: TEAL, fontFace: "Calibri" });
bullets(s, left, 0.4, 1.5, 4.45, 3.9, 12);
s.addShape(pres.ShapeType.rect, { x: 5.05, y: 1.0, w: 0.05, h: 4.4, fill: { color: LTGRAY } });
s.addText("Recommended Standards", { x: 5.2, y: 1.05, w: 4.5, h: 0.4, fontSize: 15, bold: true, color: TEAL, fontFace: "Calibri" });
bullets(s, right, 5.2, 1.5, 4.45, 3.9, 12);
}
// ═══════════════════════════════════════════════════════════════════
// SLIDE 12 — CONCLUSION
// ═══════════════════════════════════════════════════════════════════
{
const s = pres.addSlide();
darkBg(s);
s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 0.95, fill: { color: TEAL } });
s.addText("Conclusion", { x: 0.35, y: 0.1, w: 9.3, h: 0.75, fontSize: 24, bold: true, color: WHITE, fontFace: "Calibri", valign: "middle", margin: 0 });
slideNum(s, 12);
s.addShape(pres.ShapeType.rect, { x: 0.3, y: 1.1, w: 9.4, h: 0.05, fill: { color: GOLD } });
const points = [
"Social media is a powerful educational tool when used responsibly by medical students and professionals",
"Online resources have democratized access to world-class medical knowledge regardless of geography",
"Ethical practice online is as important as ethics at the bedside — both define who you are as a doctor",
"Patient privacy, professional conduct, and evidence-based communication must guide all online activity",
"Medical curricula must integrate digital literacy and social media ethics as a formal competency"
];
bullets(s, points, 0.4, 1.35, 9.1, 3.5, 14);
// closing quote
s.addShape(pres.ShapeType.rect, { x: 0.3, y: 4.9, w: 9.4, h: 0.05, fill: { color: TEAL } });
s.addText(
[
{ text: '"With great online power comes great professional responsibility."', options: { italic: true, color: GOLD } },
{ text: " — Adapted for the Digital Age", options: { color: LTGRAY } }
],
{ x: 0.5, y: 4.95, w: 9, h: 0.5, fontSize: 11.5, fontFace: "Calibri" }
);
}
// ═══════════════════════════════════════════════════════════════════
// SLIDE 13 — THANK YOU
// ═══════════════════════════════════════════════════════════════════
{
const s = pres.addSlide();
darkBg(s);
s.addShape(pres.ShapeType.ellipse, { x: 3.5, y: -1.5, w: 6.0, h: 6.0, fill: { color: TEAL, transparency: 75 } });
s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 0.2, h: 5.625, fill: { color: GOLD } });
s.addText("Thank You!", {
x: 1.0, y: 1.5, w: 8, h: 1.1,
fontSize: 48, bold: true, color: WHITE, fontFace: "Calibri", align: "center"
});
s.addShape(pres.ShapeType.rect, { x: 3.0, y: 2.75, w: 4.0, h: 0.06, fill: { color: GOLD } });
s.addText([
{ text: "Surya", options: { bold: true, color: GOLD } },
{ text: " | Roll No: 138", options: { color: LTGRAY } }
], { x: 1, y: 3.0, w: 8, h: 0.5, fontSize: 18, fontFace: "Calibri", align: "center" });
s.addText("Social Media in Medical Education: Online Resources & Ethics", {
x: 1, y: 3.6, w: 8, h: 0.5,
fontSize: 13, italic: true, color: LTGRAY, fontFace: "Calibri", align: "center"
});
s.addText("Questions & Discussion Welcome", {
x: 2.5, y: 4.6, w: 5, h: 0.4,
fontSize: 13, color: TEAL, fontFace: "Calibri", align: "center"
});
}
// ─── WRITE FILE ──────────────────────────────────────────────────
pres.writeFile({ fileName: "/home/daytona/workspace/social-media-med-edu/Social_Media_in_Medical_Education_Surya.pptx" })
.then(() => console.log("Done! File saved."))
.catch(e => console.error(e));
cd /home/daytona/workspace/social-media-med-edu && node build.js
~/social-media-med-edu/build.js
Successfully replaced 1 instance(s) of the string in '/home/daytona/workspace/social-media-med-edu/build.js'
cd /home/daytona/workspace/social-media-med-edu && node build.js
Social Media in Medical Education Surya
Presentation · PPTX
| Slide | Content |
|---|---|
| 1 | Title slide - "Social Media in Medical Education", Surya, Roll No. 138 |
| 2 | Contents / Outline - all 10 topics in a grid layout |
| 3 | Introduction - with stat boxes (90% students, 3.6B users) |
| 4 | Types of Platforms - YouTube, Twitter/X, Instagram, LinkedIn, Reddit, Podcasts |
| 5 | Online Resources - PubMed, Osmosis, Radiopaedia, AMBOSS, Medscape, etc. |
| 6 | Benefits - 6 cards: global learning, real-time updates, collaboration, etc. |
| 7 | Challenges & Risks - misinformation, privacy breach, cyberbullying, etc. |
| 8 | Ethics - core principles + 4 pillars of medical ethics online |
| 9 | Patient Privacy - HIPAA/data laws vs NMC/MCI code of ethics |
| 10 | Professional Online Identity - 5-step timeline |
| 11 | Guidelines & Best Practices - dos/don'ts + recommended standards |
| 12 | Conclusion - key takeaways + closing quote |
| 13 | Thank You slide with name & roll number |