Make a ppt on communication with patient(verbal and non verbal) Add these Topic:-communication with patient Name Parveen Garg Roll no 100
mkdir -p /home/daytona/workspace/patient-communication-ppt && ls /home/daytona/w…
~/patient-communication-ppt/create_ppt.js
const pptxgen = require("pptxgenjs");
const pres = new pptxgen();
pres.layout = "LAYOUT_16x9";
pres.author = "Parveen Garg";
pres.title = "Communication with Patient";
// Color palette
const C = {
darkBlue: "0D2B55", // dominant dark bg
midBlue: "1A4B8C", // supporting
teal: "1BBFBF", // accent
lightBlue: "D6EAF8", // light section bg
white: "FFFFFF",
offWhite: "F0F7FF",
gold: "F4C430",
text: "1A1A2E",
subtext: "4A5568",
};
// ─── HELPER: dark slide bg ────────────────────────────────────────────────
function darkBg(slide) {
slide.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: "100%", h: "100%",
fill: { color: C.darkBlue },
line: { color: C.darkBlue },
});
}
function lightBg(slide) {
slide.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: "100%", h: "100%",
fill: { color: C.offWhite },
line: { color: C.offWhite },
});
}
// Accent bar left
function accentBar(slide, color) {
slide.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: 0.12, h: "100%",
fill: { color: color || C.teal },
line: { color: color || C.teal },
});
}
// Section heading band
function headingBand(slide, title, bgColor) {
slide.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: "100%", h: 1.05,
fill: { color: bgColor || C.midBlue },
line: { color: bgColor || C.midBlue },
});
slide.addText(title, {
x: 0.3, y: 0.1, w: 9.4, h: 0.85,
fontSize: 28, bold: true, color: C.white,
fontFace: "Calibri", valign: "middle",
});
}
// ══════════════════════════════════════════════
// SLIDE 1 — TITLE
// ══════════════════════════════════════════════
{
const s = pres.addSlide();
darkBg(s);
// Teal decorative rect top-right
s.addShape(pres.ShapeType.rect, {
x: 7.5, y: 0, w: 2.5, h: 0.25,
fill: { color: C.teal }, line: { color: C.teal },
});
// Gold line bottom
s.addShape(pres.ShapeType.rect, {
x: 0, y: 5.4, w: "100%", h: 0.08,
fill: { color: C.gold }, line: { color: C.gold },
});
// Topic label
s.addText("TOPIC PRESENTATION", {
x: 0.5, y: 0.4, w: 9, h: 0.4,
fontSize: 11, color: C.teal, bold: true,
charSpacing: 4, fontFace: "Calibri", align: "center",
});
// Main Title
s.addText("Communication\nwith Patient", {
x: 0.5, y: 1.1, w: 9, h: 2.2,
fontSize: 48, bold: true, color: C.white,
fontFace: "Calibri", align: "center", valign: "middle",
});
// Subtitle line
s.addShape(pres.ShapeType.rect, {
x: 3.5, y: 3.2, w: 3, h: 0.05,
fill: { color: C.teal }, line: { color: C.teal },
});
s.addText("Verbal & Non-Verbal Communication", {
x: 0.5, y: 3.3, w: 9, h: 0.5,
fontSize: 18, color: C.teal, fontFace: "Calibri", align: "center",
});
// Name & Roll
s.addText([
{ text: "Presented by: ", options: { color: "AAAAAA", fontSize: 14 } },
{ text: "Parveen Garg", options: { color: C.white, bold: true, fontSize: 14 } },
], { x: 0.5, y: 4.5, w: 9, h: 0.4, fontFace: "Calibri", align: "center" });
s.addText([
{ text: "Roll No: ", options: { color: "AAAAAA", fontSize: 13 } },
{ text: "100", options: { color: C.gold, bold: true, fontSize: 13 } },
], { x: 0.5, y: 4.95, w: 9, h: 0.35, fontFace: "Calibri", align: "center" });
}
// ══════════════════════════════════════════════
// SLIDE 2 — INTRODUCTION
// ══════════════════════════════════════════════
{
const s = pres.addSlide();
lightBg(s);
accentBar(s, C.midBlue);
headingBand(s, "Introduction to Patient Communication", C.midBlue);
const points = [
"Communication is the cornerstone of effective patient care.",
"It is a two-way process involving exchange of information, thoughts, and feelings.",
"Good communication builds trust, reduces anxiety, and improves health outcomes.",
"Healthcare professionals must master both verbal and non-verbal communication skills.",
"Effective communication reduces medical errors and enhances patient satisfaction.",
];
const items = points.map((p, i) => ({
text: `${p}`,
options: { bullet: { code: "2022" }, breakLine: i < points.length - 1, fontSize: 16, color: C.text, paraSpaceAfter: 8 },
}));
s.addText(items, {
x: 0.35, y: 1.2, w: 9.3, h: 4.1,
fontFace: "Calibri", valign: "top",
});
}
// ══════════════════════════════════════════════
// SLIDE 3 — TYPES (OVERVIEW)
// ══════════════════════════════════════════════
{
const s = pres.addSlide();
darkBg(s);
s.addText("Types of Communication", {
x: 0.3, y: 0.2, w: 9.4, h: 0.7,
fontSize: 30, bold: true, color: C.white,
fontFace: "Calibri", align: "center",
});
s.addShape(pres.ShapeType.rect, {
x: 3.5, y: 0.88, w: 3, h: 0.05,
fill: { color: C.teal }, line: { color: C.teal },
});
// Left box — Verbal
s.addShape(pres.ShapeType.roundRect, {
x: 0.4, y: 1.15, w: 4.35, h: 3.9,
fill: { color: C.midBlue }, line: { color: C.teal, pt: 2 },
rectRadius: 0.15,
});
s.addText("🗣️ VERBAL", {
x: 0.5, y: 1.25, w: 4.15, h: 0.55,
fontSize: 20, bold: true, color: C.teal,
fontFace: "Calibri", align: "center",
});
const vItems = [
"Words & language chosen",
"Tone of voice & pitch",
"Clarity & pace of speech",
"Active listening & feedback",
"Open-ended questioning",
"Empathetic language use",
];
s.addText(vItems.map((t, i) => ({ text: t, options: { bullet: { code: "2022" }, breakLine: i < vItems.length - 1, fontSize: 14, color: C.white, paraSpaceAfter: 6 } })), {
x: 0.6, y: 1.85, w: 3.9, h: 3.0,
fontFace: "Calibri", valign: "top",
});
// Right box — Non-Verbal
s.addShape(pres.ShapeType.roundRect, {
x: 5.25, y: 1.15, w: 4.35, h: 3.9,
fill: { color: "0B3D6E" }, line: { color: C.gold, pt: 2 },
rectRadius: 0.15,
});
s.addText("🤝 NON-VERBAL", {
x: 5.35, y: 1.25, w: 4.15, h: 0.55,
fontSize: 20, bold: true, color: C.gold,
fontFace: "Calibri", align: "center",
});
const nvItems = [
"Facial expressions",
"Body language & posture",
"Eye contact",
"Touch & physical proximity",
"Gestures & hand movements",
"Appearance & environment",
];
s.addText(nvItems.map((t, i) => ({ text: t, options: { bullet: { code: "2022" }, breakLine: i < nvItems.length - 1, fontSize: 14, color: C.white, paraSpaceAfter: 6 } })), {
x: 5.45, y: 1.85, w: 3.9, h: 3.0,
fontFace: "Calibri", valign: "top",
});
}
// ══════════════════════════════════════════════
// SLIDE 4 — VERBAL COMMUNICATION (Details)
// ══════════════════════════════════════════════
{
const s = pres.addSlide();
lightBg(s);
accentBar(s, C.teal);
headingBand(s, "Verbal Communication with Patient", C.midBlue);
const rows = [
["Component", "Description"],
["Clarity", "Use simple, jargon-free language that the patient can understand."],
["Tone", "A calm, warm tone reassures patients and builds confidence."],
["Pace", "Speak at a measured pace; avoid speaking too fast or too slow."],
["Active Listening", "Reflect back what the patient says; avoid interrupting."],
["Open Questions", "Use 'How are you feeling?' rather than yes/no questions."],
["Empathy", "Acknowledge feelings: 'That must be difficult for you.'"],
];
s.addTable(rows, {
x: 0.3, y: 1.15, w: 9.4,
colW: [2.2, 7.2],
border: { type: "solid", pt: 1, color: "CCDDEE" },
fontFace: "Calibri",
rowH: 0.52,
firstRowCellOpts: { fill: { color: C.midBlue }, color: C.white, bold: true, fontSize: 14, align: "center" },
evenRowCellOpts: { fill: { color: "EBF5FB" }, color: C.text, fontSize: 13 },
oddRowCellOpts: { fill: { color: C.white }, color: C.text, fontSize: 13 },
});
}
// ══════════════════════════════════════════════
// SLIDE 5 — NON-VERBAL COMMUNICATION (Details)
// ══════════════════════════════════════════════
{
const s = pres.addSlide();
lightBg(s);
accentBar(s, C.gold);
headingBand(s, "Non-Verbal Communication with Patient", "0B3D6E");
// 6 icon cards (2 rows × 3 cols)
const cards = [
{ icon: "👁️", title: "Eye Contact", body: "Maintains trust\nand attentiveness" },
{ icon: "😊", title: "Facial Expr.", body: "Reflects empathy\nand understanding" },
{ icon: "🧍", title: "Posture", body: "Open posture signals\nwillingness to help" },
{ icon: "🤲", title: "Touch", body: "Appropriate touch\nconveys compassion" },
{ icon: "✋", title: "Gestures", body: "Reinforce verbal\nmessages clearly" },
{ icon: "📏", title: "Proximity", body: "Comfortable distance\nrespects boundaries" },
];
const cols = 3, rows = 2;
const cw = 3.0, ch = 1.8, cx = 0.3, cy = 1.2, gx = 0.15, gy = 0.15;
cards.forEach((c, i) => {
const col = i % cols;
const row = Math.floor(i / cols);
const x = cx + col * (cw + gx);
const y = cy + row * (ch + gy);
s.addShape(pres.ShapeType.roundRect, {
x, y, w: cw, h: ch,
fill: { color: C.white }, line: { color: "0B3D6E", pt: 1.5 },
rectRadius: 0.12, shadow: { type: "outer", blur: 4, offset: 2, angle: 45, color: "BBCCDD", opacity: 0.4 },
});
s.addText(c.icon, { x: x + 0.1, y: y + 0.18, w: 0.7, h: 0.6, fontSize: 26, align: "center" });
s.addText(c.title, {
x: x + 0.75, y: y + 0.18, w: cw - 0.85, h: 0.45,
fontSize: 14, bold: true, color: "0B3D6E", fontFace: "Calibri", valign: "middle",
});
s.addText(c.body, {
x: x + 0.15, y: y + 0.75, w: cw - 0.3, h: 0.85,
fontSize: 12, color: C.subtext, fontFace: "Calibri", valign: "top", align: "center",
});
});
}
// ══════════════════════════════════════════════
// SLIDE 6 — BARRIERS TO COMMUNICATION
// ══════════════════════════════════════════════
{
const s = pres.addSlide();
lightBg(s);
accentBar(s, "E74C3C");
headingBand(s, "Barriers to Effective Communication", "C0392B");
const barriers = [
["🔊", "Language Barrier", "Differences in language or dialect between provider and patient."],
["😰", "Emotional Barrier", "Anxiety, fear, or stress preventing clear understanding."],
["📚", "Health Literacy", "Patient's limited ability to understand health information."],
["📵", "Physical Barrier", "Noise, distance, disability (hearing/visual impairments)."],
["⏳", "Time Constraint", "Rushed consultations reduce quality of communication."],
["🏥", "Cultural Barrier", "Different cultural norms affecting communication styles."],
];
barriers.forEach((b, i) => {
const col = i % 2;
const row = Math.floor(i / 2);
const x = col === 0 ? 0.3 : 5.2;
const y = 1.2 + row * 1.35;
s.addShape(pres.ShapeType.rect, {
x, y, w: 4.6, h: 1.1,
fill: { color: col === 0 ? "FDEDEC" : "FEF9E7" },
line: { color: col === 0 ? "E74C3C" : "F39C12", pt: 1 },
});
s.addText(b[0], { x: x + 0.1, y: y + 0.1, w: 0.6, h: 0.6, fontSize: 22, align: "center" });
s.addText(b[1], {
x: x + 0.72, y: y + 0.08, w: 3.7, h: 0.38,
fontSize: 13, bold: true, color: C.text, fontFace: "Calibri",
});
s.addText(b[2], {
x: x + 0.72, y: y + 0.46, w: 3.7, h: 0.52,
fontSize: 11, color: C.subtext, fontFace: "Calibri",
});
});
}
// ══════════════════════════════════════════════
// SLIDE 7 — THERAPEUTIC COMMUNICATION
// ══════════════════════════════════════════════
{
const s = pres.addSlide();
darkBg(s);
s.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: "100%", h: 0.18,
fill: { color: C.teal }, line: { color: C.teal },
});
s.addText("Therapeutic Communication Techniques", {
x: 0.3, y: 0.25, w: 9.4, h: 0.65,
fontSize: 26, bold: true, color: C.white,
fontFace: "Calibri", align: "center",
});
const techs = [
{ num: "01", name: "Active Listening", desc: "Give undivided attention; maintain eye contact; nod to show engagement." },
{ num: "02", name: "Reflection", desc: "Repeat key words the patient used to show you are listening and understanding." },
{ num: "03", name: "Clarification", desc: "Ask for more information: 'Can you tell me more about that symptom?'" },
{ num: "04", name: "Summarising", desc: "Recap what the patient said to confirm mutual understanding." },
{ num: "05", name: "Silence", desc: "Allow comfortable pauses; do not rush to fill silence — it gives patients time to think." },
{ num: "06", name: "Empathy", desc: "Acknowledge the patient's feelings and validate their experience." },
];
techs.forEach((t, i) => {
const col = i % 2;
const row = Math.floor(i / 2);
const x = col === 0 ? 0.25 : 5.15;
const y = 1.05 + row * 1.45;
s.addShape(pres.ShapeType.roundRect, {
x, y, w: 4.6, h: 1.3,
fill: { color: C.midBlue }, line: { color: C.teal, pt: 1 },
rectRadius: 0.1,
});
s.addText(t.num, {
x: x + 0.12, y: y + 0.1, w: 0.55, h: 0.55,
fontSize: 20, bold: true, color: C.teal, fontFace: "Calibri", align: "center",
});
s.addText(t.name, {
x: x + 0.72, y: y + 0.08, w: 3.7, h: 0.38,
fontSize: 13, bold: true, color: C.white, fontFace: "Calibri",
});
s.addText(t.desc, {
x: x + 0.72, y: y + 0.46, w: 3.75, h: 0.72,
fontSize: 11, color: "BDD7EE", fontFace: "Calibri",
});
});
}
// ══════════════════════════════════════════════
// SLIDE 8 — IMPORTANCE IN NURSING/HEALTHCARE
// ══════════════════════════════════════════════
{
const s = pres.addSlide();
lightBg(s);
accentBar(s, C.teal);
headingBand(s, "Importance in Healthcare Practice", C.midBlue);
// Horizontal timeline-style layout
const points = [
{ icon: "❤️", heading: "Patient Safety", body: "Clear communication prevents medication errors and misdiagnosis." },
{ icon: "🤝", heading: "Trust Building", body: "Patients who feel heard are more likely to follow care plans." },
{ icon: "📈", heading: "Better Outcomes", body: "Improved adherence to treatment, faster recovery and satisfaction." },
{ icon: "⚖️", heading: "Legal & Ethical", body: "Informed consent requires clear two-way communication." },
];
points.forEach((p, i) => {
const x = 0.2 + i * 2.45;
const y = 1.3;
// Vertical connector line (except last)
if (i < points.length - 1) {
s.addShape(pres.ShapeType.rect, {
x: x + 2.3, y: 1.75, w: 0.15, h: 0.08,
fill: { color: C.teal }, line: { color: C.teal },
});
}
s.addShape(pres.ShapeType.roundRect, {
x, y, w: 2.3, h: 3.8,
fill: { color: i % 2 === 0 ? C.midBlue : "0B3D6E" },
line: { color: C.teal, pt: 1.5 },
rectRadius: 0.12,
});
s.addText(p.icon, {
x, y: y + 0.25, w: 2.3, h: 0.65,
fontSize: 30, align: "center",
});
s.addText(p.heading, {
x: x + 0.1, y: y + 1.0, w: 2.1, h: 0.55,
fontSize: 14, bold: true, color: C.white,
fontFace: "Calibri", align: "center",
});
s.addShape(pres.ShapeType.rect, {
x: x + 0.55, y: y + 1.6, w: 1.2, h: 0.04,
fill: { color: C.teal }, line: { color: C.teal },
});
s.addText(p.body, {
x: x + 0.1, y: y + 1.75, w: 2.1, h: 1.8,
fontSize: 11, color: "BDD7EE",
fontFace: "Calibri", align: "center", valign: "top",
});
});
}
// ══════════════════════════════════════════════
// SLIDE 9 — DO's AND DON'Ts
// ══════════════════════════════════════════════
{
const s = pres.addSlide();
lightBg(s);
headingBand(s, "Do's and Don'ts in Patient Communication", "145A32");
// Do's column
s.addShape(pres.ShapeType.rect, {
x: 0.2, y: 1.1, w: 4.5, h: 4.3,
fill: { color: "EAFAF1" }, line: { color: "27AE60", pt: 2 },
});
s.addText("✅ DO's", {
x: 0.3, y: 1.15, w: 4.3, h: 0.5,
fontSize: 16, bold: true, color: "145A32",
fontFace: "Calibri", align: "center",
});
const dos = [
"Use patient's name during conversation",
"Maintain appropriate eye contact",
"Speak clearly and at patient's level",
"Use open-ended questions",
"Allow patient to express concerns fully",
"Confirm understanding by asking patient to repeat",
"Maintain patient confidentiality",
];
s.addText(dos.map((d, i) => ({ text: d, options: { bullet: { code: "2714" }, breakLine: i < dos.length - 1, fontSize: 13, color: "145A32", paraSpaceAfter: 5 } })), {
x: 0.35, y: 1.72, w: 4.2, h: 3.55,
fontFace: "Calibri", valign: "top",
});
// Dont's column
s.addShape(pres.ShapeType.rect, {
x: 5.1, y: 1.1, w: 4.7, h: 4.3,
fill: { color: "FDEDEC" }, line: { color: "E74C3C", pt: 2 },
});
s.addText("❌ DON'Ts", {
x: 5.2, y: 1.15, w: 4.5, h: 0.5,
fontSize: 16, bold: true, color: "922B21",
fontFace: "Calibri", align: "center",
});
const donts = [
"Use medical jargon without explanation",
"Interrupt the patient frequently",
"Show impatience or dismissiveness",
"Use a condescending tone",
"Invade personal space without consent",
"Ignore non-verbal cues from patient",
"Discuss patient info in public areas",
];
s.addText(donts.map((d, i) => ({ text: d, options: { bullet: { code: "2718" }, breakLine: i < donts.length - 1, fontSize: 13, color: "922B21", paraSpaceAfter: 5 } })), {
x: 5.25, y: 1.72, w: 4.4, h: 3.55,
fontFace: "Calibri", valign: "top",
});
}
// ══════════════════════════════════════════════
// SLIDE 10 — CONCLUSION
// ══════════════════════════════════════════════
{
const s = pres.addSlide();
darkBg(s);
// Teal top band
s.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: "100%", h: 0.22,
fill: { color: C.teal }, line: { color: C.teal },
});
s.addShape(pres.ShapeType.rect, {
x: 0, y: 5.4, w: "100%", h: 0.22,
fill: { color: C.gold }, line: { color: C.gold },
});
s.addText("Conclusion", {
x: 0.5, y: 0.32, w: 9, h: 0.7,
fontSize: 32, bold: true, color: C.teal,
fontFace: "Calibri", align: "center",
});
s.addShape(pres.ShapeType.rect, {
x: 3.5, y: 0.98, w: 3, h: 0.05,
fill: { color: C.teal }, line: { color: C.teal },
});
const concls = [
"Effective communication is the foundation of quality patient care.",
"Both verbal and non-verbal skills must be consciously developed by healthcare workers.",
"Listening is as important as speaking — often more so.",
"Overcoming communication barriers improves safety, trust, and clinical outcomes.",
"Therapeutic techniques such as empathy, reflection, and silence are powerful tools.",
"Continuous practice and reflection help professionals communicate more effectively.",
];
s.addText(concls.map((c, i) => ({ text: c, options: { bullet: { code: "2022" }, breakLine: i < concls.length - 1, fontSize: 15, color: C.white, paraSpaceAfter: 8 } })), {
x: 0.5, y: 1.1, w: 9, h: 3.85,
fontFace: "Calibri", valign: "top",
});
// Footer
s.addText("Parveen Garg | Roll No. 100", {
x: 0.5, y: 5.0, w: 9, h: 0.35,
fontSize: 11, color: "AAAAAA", fontFace: "Calibri", align: "center",
});
}
// ══════════════════════════════════════════════
// SLIDE 11 — REFERENCES
// ══════════════════════════════════════════════
{
const s = pres.addSlide();
lightBg(s);
accentBar(s, C.midBlue);
headingBand(s, "References", C.midBlue);
const refs = [
"1. Potter, P.A. & Perry, A.G. (2021). Fundamentals of Nursing (10th ed.). Elsevier.",
"2. Arnold, E.C. & Boggs, K.U. (2019). Interpersonal Relationships: Professional Communication Skills for Nurses (8th ed.). Elsevier.",
"3. Hargie, O. (2016). Skilled Interpersonal Communication: Research, Theory and Practice (6th ed.). Routledge.",
"4. Silverman, J., Kurtz, S., & Draper, J. (2013). Skills for Communicating with Patients (3rd ed.). CRC Press.",
"5. World Health Organization (2010). Framework for Action on Interprofessional Education & Collaborative Practice. WHO Press.",
];
s.addText(refs.map((r, i) => ({ text: r, options: { bullet: false, breakLine: i < refs.length - 1, fontSize: 13, color: C.text, paraSpaceAfter: 14 } })), {
x: 0.35, y: 1.2, w: 9.3, h: 4.1,
fontFace: "Calibri", valign: "top",
});
}
// ══════════════════════════════════════════════
// WRITE FILE
// ══════════════════════════════════════════════
pres.writeFile({ fileName: "/home/daytona/workspace/patient-communication-ppt/Communication_with_Patient_Parveen_Garg.pptx" })
.then(() => console.log("✅ PPTX created successfully!"))
.catch(err => { console.error("❌ Error:", err); process.exit(1); });
cd /home/daytona/workspace/patient-communication-ppt && node create_ppt.js
ls -lh /home/daytona/workspace/patient-communication-ppt/
Communication with Patient Parveen Garg
Presentation · PPTX
| Slide | Content |
|---|---|
| 1 | Title Slide - Topic, Parveen Garg, Roll No. 100 (dark blue theme with teal accent) |
| 2 | Introduction - What patient communication is and why it matters |
| 3 | Types Overview - Side-by-side comparison of Verbal vs Non-Verbal |
| 4 | Verbal Communication - Table: Clarity, Tone, Pace, Active Listening, Open Questions, Empathy |
| 5 | Non-Verbal Communication - 6 icon cards: Eye Contact, Facial Expressions, Posture, Touch, Gestures, Proximity |
| 6 | Barriers to Communication - Language, Emotional, Health Literacy, Physical, Time, Cultural |
| 7 | Therapeutic Communication Techniques - Active Listening, Reflection, Clarification, Summarising, Silence, Empathy |
| 8 | Importance in Healthcare - Patient Safety, Trust, Better Outcomes, Legal & Ethical |
| 9 | Do's and Don'ts - Green column (Do's) + Red column (Don'ts) |
| 10 | Conclusion - Key takeaways, footer with name & roll number |
| 11 | References - Standard academic references |
Make one more ppt This time,name=surya Roll no=138
cd /home/daytona/workspace/patient-communication-ppt && sed 's/Parveen Garg/Sury…
ls -lh /home/daytona/workspace/patient-communication-ppt/Communication_with_Pati…
Communication with Patient Surya
Presentation · PPTX