I need ppt like the 2 ppt, but of 25 pages, please make the all background of the same colour

Reading File
Reading File
Running Command

cd /home/daytona/workspace/attachments/ee75bccf-23c5-4c9d-bf29-cee6efcee448 && python -m markitdown "vinisha ppt.pptx" 2>/dev/null

Running Command

cd /home/daytona/workspace/attachments/ee75bccf-23c5-4c9d-bf29-cee6efcee448 && python3 /home/daytona/skills/pptx/scripts/thumbnail.py "vinisha ppt.pptx" 2>&1 | head -30

Reading File
Reading File
Reading File
Running Command

cd /home/daytona/workspace/attachments/ee75bccf-23c5-4c9d-bf29-cee6efcee448 && python3 -c " import pdfplumber with pdfplumber.open('Assessment Brief Task 1 vinisha.pdf') as pdf: for i, page in enumerate(pdf.pages): print(f'=== PAGE {i+1} ===') text = page.extract_text() if text: print(text[:3000]) print() " 2>/dev/null

Running Command

python3 /home/daytona/skills/pptx/scripts/office/unpack.py "/home/daytona/workspace/attachments/ee75bccf-23c5-4c9d-bf29-cee6efcee448/vinisha ppt.pptx" /home/daytona/workspace/vinisha_unpacked/ 2>&1 | head -10

Running Command

mkdir -p /home/daytona/workspace/vinisha_unpacked && cp "/home/daytona/workspace/attachments/ee75bccf-23c5-4c9d-bf29-cee6efcee448/vinisha ppt.pptx" /home/daytona/workspace/vinisha_unpacked/vinisha.pptx && cd /home/daytona/workspace/vinisha_unpacked && unzip -q vinisha.pptx -d unpacked 2>&1 && echo "done"

Running Command

ls /home/daytona/workspace/vinisha_unpacked/ 2>/dev/null || echo "dir missing"

Running Command

ls /home/daytona/workspace/vinisha_unpacked/ppt/slides/ 2>/dev/null | head -5

Running Command

python3 -c " import xml.etree.ElementTree as ET import glob, re # search for color values across all slides colors = set() for f in glob.glob('/home/daytona/workspace/vinisha_unpacked/ppt/slides/*.xml'): with open(f) as fh: content = fh.read() # Find srgbClr and lumMod values found = re.findall(r'val=\"([0-9A-Fa-f]{6})\"', content) colors.update(found) print(sorted(colors)) " 2>/dev/null

Running Command

python3 -c " from pptx import Presentation from pptx.util import Pt prs = Presentation('/home/daytona/workspace/vinisha_unpacked/vinisha.pptx') for i, slide in enumerate(prs.slides): bg = slide.background fill = bg.fill print(f'Slide {i+1}: fill type={fill.type}') try: print(f' fore_color={fill.fore_color.rgb}') except: pass # get slide title for shape in slide.shapes: if shape.has_text_frame and shape.shape_type == 13: continue try: txt = shape.text_frame.text[:80] if txt.strip(): print(f' shape text: {txt[:80]}') break except: pass " 2>/dev/null

Running Command

mkdir -p /home/daytona/workspace/vinisha-ppt25 && cat > /home/daytona/workspace/vinisha-ppt25/build.js << 'JSEOF' const pptxgen = require("pptxgenjs"); const pres = new pptxgen(); pres.layout = "LAYOUT_16x9"; pres.title = "Multidisciplinary Approaches in Health & Social Care"; pres.author = "Group Presentation"; // ─── COLOUR PALETTE ──────────────────────────────────────────────────────── const BG = "0D2B55"; // dark navy – ONE consistent background const TEAL = "1A7A8A"; // teal accent const ORANGE = "E07B39"; // orange accent const LTBLUE = "3AAFCB"; // light blue const WHITE = "FFFFFF"; const OFFWHITE = "D4EEF4"; const YELLOW = "F5C842"; // ─── HELPERS ────────────────────────────────────────────────────────────── function addBG(slide) { slide.background = { color: BG }; } function header(slide, title, sub) { // top bar slide.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: "100%", h: 0.65, fill: { color: TEAL }, line: { color: TEAL } }); slide.addText(title, { x: 0.25, y: 0, w: 9.5, h: 0.65, fontSize: 15, bold: true, color: WHITE, fontFace: "Calibri", valign: "middle", margin: 0 }); if (sub) { slide.addText(sub, { x: 0.25, y: 0.65, w: 9.5, h: 0.35, fontSize: 9, color: LTBLUE, fontFace: "Calibri", italic: true, margin: 0 }); } } function footer(slide, refs) { slide.addText(refs, { x: 0.15, y: 5.35, w: 9.7, h: 0.28, fontSize: 6.5, color: "AABBCC", fontFace: "Calibri", italic: true, margin: 0 }); } function sectionCard(slide, num, title, body, x, y, w, h, accent) { slide.addShape(pres.ShapeType.rect, { x, y, w, h, fill: { color: accent || TEAL }, line: { color: accent || TEAL } }); slide.addText([ { text: num + " ", options: { bold: true, fontSize: 11, color: WHITE } }, { text: title, options: { bold: true, fontSize: 10, color: WHITE } } ], { x: x + 0.07, y, w: w - 0.1, h: 0.32, valign: "middle", margin: 0, fontFace: "Calibri" }); slide.addShape(pres.ShapeType.rect, { x, y: y + 0.32, w, h: h - 0.32, fill: { color: "1E3A5F" }, line: { color: "1E3A5F" } }); slide.addText(body, { x: x + 0.07, y: y + 0.34, w: w - 0.14, h: h - 0.38, fontSize: 8.5, color: OFFWHITE, fontFace: "Calibri", valign: "top", wrap: true, margin: 0 }); } function quoteBox(slide, text, attr, x, y, w, h) { slide.addShape(pres.ShapeType.rect, { x, y, w, h, fill: { color: "1E3A5F" }, line: { color: LTBLUE, pt: 1.5 } }); slide.addText('"' + text + '"', { x: x + 0.1, y: y + 0.05, w: w - 0.2, h: h - 0.25, fontSize: 10, color: OFFWHITE, italic: true, fontFace: "Calibri", align: "center", valign: "middle", margin: 0 }); if (attr) { slide.addText("— " + attr, { x: x + 0.1, y: y + h - 0.22, w: w - 0.2, h: 0.2, fontSize: 8, color: LTBLUE, fontFace: "Calibri", align: "right", margin: 0 }); } } // ══════════════════════════════════════════════════════════════════ // SLIDE 1 – COVER // ══════════════════════════════════════════════════════════════════ let sl = pres.addSlide(); addBG(sl); // left panel sl.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 2.2, h: 5.625, fill: { color: TEAL }, line: { color: TEAL } }); sl.addText([ { text: "M", options: { fontSize: 32, bold: true, breakLine: true } }, { text: "D", options: { fontSize: 32, bold: true, breakLine: true } }, { text: "T", options: { fontSize: 32, bold: true, breakLine: false } } ], { x: 0, y: 1.8, w: 2.2, h: 2.0, fontSize: 32, bold: true, color: WHITE, align: "center", fontFace: "Calibri" }); sl.addText("Team · Collaboration · Patient Care", { x: 0, y: 3.7, w: 2.2, h: 0.5, fontSize: 7, color: OFFWHITE, align: "center", fontFace: "Calibri" }); // main text sl.addShape(pres.ShapeType.rect, { x: 2.2, y: 0, w: 7.8, h: 0.08, fill: { color: ORANGE }, line: { color: ORANGE } }); sl.addText("Multidisciplinary\nApproaches in Health\n& Social Care", { x: 2.5, y: 0.3, w: 7.2, h: 1.8, fontSize: 26, bold: true, color: WHITE, fontFace: "Calibri", align: "left", valign: "middle" }); sl.addText("Case Scenario 3 – Liam: Newly Diagnosed Type 1 Diabetes", { x: 2.5, y: 2.05, w: 7.2, h: 0.4, fontSize: 11, color: LTBLUE, italic: true, fontFace: "Calibri" }); sl.addShape(pres.ShapeType.line, { x: 2.5, y: 2.5, w: 6.5, h: 0, line: { color: TEAL, pt: 1 } }); sl.addText("Group Assignment | Task 1 & Task 2", { x: 2.5, y: 2.6, w: 7.2, h: 0.35, fontSize: 10, color: OFFWHITE, fontFace: "Calibri" }); sl.addText([ { text: "Undergraduate Certificate in Nursing Studies\n", options: { fontSize: 9, color: OFFWHITE } }, { text: "Lecturer: Ms Dorianne Cachia | June 2026", options: { fontSize: 9, color: "AABBCC" } } ], { x: 2.5, y: 4.7, w: 7.2, h: 0.7, fontFace: "Calibri", margin: 0 }); // ══════════════════════════════════════════════════════════════════ // SLIDE 2 – CASE SCENARIO 3: WHO IS LIAM? // ══════════════════════════════════════════════════════════════════ sl = pres.addSlide(); addBG(sl); header(sl, "Case Scenario 3 – Who is Liam?"); const liamData = [ ["Age", "10 years old"], ["Diagnosis", "Newly diagnosed Type 1 Diabetes Mellitus"], ["Symptoms", "Excessive thirst, weight loss, fatigue, frequent urination"], ["Concern", "Frightened of injections; distressed about insulin discussion"], ["Parents", "Overwhelmed and anxious about home management"], ["School", "Worried about hypoglycaemia at school"], ["Activity", "Plays football – wants to continue sports"], ]; const rowH = 0.55; liamData.forEach(([label, val], i) => { const yy = 0.85 + i * rowH; sl.addShape(pres.ShapeType.rect, { x: 0.25, y: yy, w: 1.7, h: rowH - 0.05, fill: { color: TEAL }, line: { color: TEAL } }); sl.addText(label, { x: 0.3, y: yy, w: 1.6, h: rowH - 0.05, fontSize: 9.5, bold: true, color: WHITE, fontFace: "Calibri", valign: "middle", margin: 0 }); sl.addShape(pres.ShapeType.rect, { x: 1.97, y: yy, w: 7.75, h: rowH - 0.05, fill: { color: "1E3A5F" }, line: { color: "1E3A5F" } }); sl.addText(val, { x: 2.05, y: yy, w: 7.6, h: rowH - 0.05, fontSize: 9.5, color: OFFWHITE, fontFace: "Calibri", valign: "middle", margin: 0 }); }); footer(sl, "Patient-centred MDT approach | ISPAD Guidelines 2022; WHO, 2024"); // ══════════════════════════════════════════════════════════════════ // SLIDE 3 – TASK 1 DIVIDER // ══════════════════════════════════════════════════════════════════ sl = pres.addSlide(); addBG(sl); sl.addShape(pres.ShapeType.rect, { x: 0, y: 1.8, w: "100%", h: 2.0, fill: { color: TEAL }, line: { color: TEAL } }); sl.addText("TASK 1", { x: 0, y: 2.0, w: "100%", h: 0.85, fontSize: 42, bold: true, color: WHITE, align: "center", fontFace: "Calibri", charSpacing: 8 }); sl.addText("Working in a Multidisciplinary Approach", { x: 0, y: 2.8, w: "100%", h: 0.5, fontSize: 16, italic: true, color: OFFWHITE, align: "center", fontFace: "Calibri" }); sl.addText("Questions A – D | Case Scenario 3: Liam (Type 1 Diabetes)", { x: 0, y: 4.7, w: "100%", h: 0.35, fontSize: 10, color: "AABBCC", align: "center", fontFace: "Calibri" }); // ══════════════════════════════════════════════════════════════════ // SLIDE 4 – QUESTION A: PATIENT-CENTRED APPROACH (K&U 2.3; S&E 2.4) // ══════════════════════════════════════════════════════════════════ sl = pres.addSlide(); addBG(sl); header(sl, "Question A – Patient-Centred Approach (K&U 2.3; S&E 2.4)"); quoteBox(sl, "Care that is respectful of, and responsive to, individual patient preferences, needs and values.", "World Health Organisation, 2016", 0.25, 1.0, 9.5, 0.85); sl.addText("Liam's complex needs require multiple professionals working together:", { x: 0.25, y: 1.92, w: 9.5, h: 0.3, fontSize: 9.5, color: LTBLUE, fontFace: "Calibri", bold: true }); const needs = [ ["Medical", "Insulin therapy &\nglycaemic control"], ["Nutritional", "Carb counting &\nmeal planning"], ["Psychological", "Needle phobia &\nadjustment"], ["Family", "Parent education\n& support"], ["Educational", "School safety\n& reintegration"], ]; const nW = 1.8, nGap = 0.12, nStart = 0.25; needs.forEach(([title, body], i) => { const xn = nStart + i * (nW + nGap); sl.addShape(pres.ShapeType.rect, { x: xn, y: 2.25, w: nW, h: 0.35, fill: { color: ORANGE }, line: { color: ORANGE } }); sl.addText(title, { x: xn, y: 2.25, w: nW, h: 0.35, fontSize: 9.5, bold: true, color: WHITE, align: "center", fontFace: "Calibri", valign: "middle", margin: 0 }); sl.addShape(pres.ShapeType.rect, { x: xn, y: 2.6, w: nW, h: 1.0, fill: { color: "1E3A5F" }, line: { color: "1E3A5F" } }); sl.addText(body, { x: xn + 0.05, y: 2.63, w: nW - 0.1, h: 0.95, fontSize: 8.5, color: OFFWHITE, align: "center", fontFace: "Calibri", valign: "middle" }); }); footer(sl, "WHO (2016); Suarez et al. (2022); ISPAD (2022)"); // ══════════════════════════════════════════════════════════════════ // SLIDE 5 – QUESTION A: HEALTHCARE PROFESSIONALS INVOLVED (1 of 2) // ══════════════════════════════════════════════════════════════════ sl = pres.addSlide(); addBG(sl); header(sl, "Question A – Healthcare Professionals Involved (1 of 2)"); const hcps1 = [ ["1", "Paediatric\nEndocrinologist", "Leads medical management; oversees insulin regimen, HbA1c monitoring, and may introduce pump therapy (Daneman, 2006)"], ["2", "Diabetes Specialist\nNurse (DSN)", "Primary family contact; teaches insulin technique, BG monitoring, hypo management; liaises with school (ISPAD, 2022)"], ["3", "Paediatric\nDietitian", "Carbohydrate counting; flexible meal plans around sport & school; preventing hypoglycaemia (Deeb, 2017)"], ["4", "Paediatric\nPsychologist", "CBT for needle phobia; supports family adjustment to lifelong diagnosis; reduces anxiety (Hengali et al., 2006)"], ["5", "Ward Nurse\n(Paediatric)", "Holistic daily care; insulin administration; patient advocate; observes clinical changes and escalates (Jennnings & Evans, 2020)"], ]; hcps1.forEach(([num, title, desc], i) => { const yy = 0.85 + i * 0.92; sl.addShape(pres.ShapeType.rect, { x: 0.15, y: yy, w: 0.38, h: 0.82, fill: { color: TEAL }, line: { color: TEAL } }); sl.addText(num, { x: 0.15, y: yy, w: 0.38, h: 0.82, fontSize: 14, bold: true, color: WHITE, align: "center", valign: "middle", fontFace: "Calibri", margin: 0 }); sl.addShape(pres.ShapeType.rect, { x: 0.55, y: yy, w: 2.0, h: 0.82, fill: { color: "1A4A70" }, line: { color: "1A4A70" } }); sl.addText(title, { x: 0.58, y: yy, w: 1.94, h: 0.82, fontSize: 9, bold: true, color: WHITE, fontFace: "Calibri", valign: "middle", margin: 0 }); sl.addShape(pres.ShapeType.rect, { x: 2.57, y: yy, w: 7.2, h: 0.82, fill: { color: "1E3A5F" }, line: { color: "1E3A5F" } }); sl.addText(desc, { x: 2.65, y: yy, w: 7.05, h: 0.82, fontSize: 8.5, color: OFFWHITE, fontFace: "Calibri", valign: "middle", margin: 0 }); }); footer(sl, "Daneman (2006); ISPAD (2022); Deeb (2017); Hengali et al. (2006); Jennings & Evans (2020)"); // ══════════════════════════════════════════════════════════════════ // SLIDE 6 – QUESTION A: HEALTHCARE PROFESSIONALS INVOLVED (2 of 2) // ══════════════════════════════════════════════════════════════════ sl = pres.addSlide(); addBG(sl); header(sl, "Question A – Healthcare Professionals Involved (2 of 2)"); const hcps2 = [ ["6", "GP / General\nPaediatrician", "Continuity post-discharge; manages intercurrent illness; coordinates specialist referrals (ISPAD, 2022)"], ["7", "Pharmacist", "Safe dispensing of insulin, monitoring supplies, glucagon kits; medication counselling (CQC, 2024)"], ["8", "Social Worker", "Family coping support; financial assistance for supplies; links to Diabetes Malta / JDRF; school reintegration"], ["9", "School Health\nNurse", "Trains school staff on hypo recognition; supervises insulin if required; bridges clinic and classroom"], ["10", "Exercise\nPhysiologist", "Insulin & carbohydrate strategies around football; prevents exercise-induced hypoglycaemia (ISPAD, 2022)"], ]; hcps2.forEach(([num, title, desc], i) => { const yy = 0.85 + i * 0.92; sl.addShape(pres.ShapeType.rect, { x: 0.15, y: yy, w: 0.38, h: 0.82, fill: { color: ORANGE }, line: { color: ORANGE } }); sl.addText(num, { x: 0.15, y: yy, w: 0.38, h: 0.82, fontSize: 14, bold: true, color: WHITE, align: "center", valign: "middle", fontFace: "Calibri", margin: 0 }); sl.addShape(pres.ShapeType.rect, { x: 0.55, y: yy, w: 2.0, h: 0.82, fill: { color: "1A4A70" }, line: { color: "1A4A70" } }); sl.addText(title, { x: 0.58, y: yy, w: 1.94, h: 0.82, fontSize: 9, bold: true, color: WHITE, fontFace: "Calibri", valign: "middle", margin: 0 }); sl.addShape(pres.ShapeType.rect, { x: 2.57, y: yy, w: 7.2, h: 0.82, fill: { color: "1E3A5F" }, line: { color: "1E3A5F" } }); sl.addText(desc, { x: 2.65, y: yy, w: 7.05, h: 0.82, fontSize: 8.5, color: OFFWHITE, fontFace: "Calibri", valign: "middle", margin: 0 }); }); footer(sl, "CQC (2024); ISPAD (2022); Suarez et al. (2022)"); // ══════════════════════════════════════════════════════════════════ // SLIDE 7 – QUESTION B: ATTRIBUTES, SKILLS & BEHAVIOURS (S&E 2.5) // ══════════════════════════════════════════════════════════════════ sl = pres.addSlide(); addBG(sl); header(sl, "Question B – Attributes, Skills & Behaviours for MDT Success (S&E 2.5)"); const skills7 = [ ["Communication", "Structured, timely, jargon-free – shared records & MDT meetings\n(Help et al., 2022)", TEAL], ["Tuckman's 5 Stages", "Forming → Storming → Norming → Performing → Adjourning\n(Tuckman, 1965; Kivimäki et al. 2018)", TEAL], ["Role Clarity", "Clear scope of practice; no duplication; mutual respect\n(Jennings & Evans, 2020)", ORANGE], ["Continuous Learning", "Keep up to date with CDE, closed-loop systems & ISPAD guidelines", ORANGE], ["Person-Centred Care", "Liam & parents as partners in decisions; age-appropriate explanations", TEAL], ["Professional Accountability", "CNF & WHO Codes: practice within competencies; accurate records; speak up", ORANGE], ["Shared Decision-Making", "Improves adherence and satisfaction; 'no decision about me without me'\n(Gentling & Collins, 2021; Scicluna, CMN)", TEAL], ["Emotional Intelligence", "Empathy, self-awareness, conflict management\n(Goleman, 1998; RNAO, 2022)", ORANGE], ]; const col1 = skills7.slice(0, 4), col2 = skills7.slice(4); [col1, col2].forEach((col, ci) => { col.forEach(([title, body, acc], ri) => { const xc = ci === 0 ? 0.15 : 5.1; const yc = 0.85 + ri * 1.1; sl.addShape(pres.ShapeType.rect, { x: xc, y: yc, w: 4.75, h: 0.32, fill: { color: acc }, line: { color: acc } }); sl.addText(title, { x: xc + 0.08, y: yc, w: 4.6, h: 0.32, fontSize: 9.5, bold: true, color: WHITE, fontFace: "Calibri", valign: "middle", margin: 0 }); sl.addShape(pres.ShapeType.rect, { x: xc, y: yc + 0.32, w: 4.75, h: 0.73, fill: { color: "1E3A5F" }, line: { color: "1E3A5F" } }); sl.addText(body, { x: xc + 0.08, y: yc + 0.35, w: 4.6, h: 0.68, fontSize: 8, color: OFFWHITE, fontFace: "Calibri", valign: "top", margin: 0 }); }); }); footer(sl, "Help et al. (2022); Tuckman (1965); Jennings & Evans (2020); RNAO (2022); CMN (2023)"); // ══════════════════════════════════════════════════════════════════ // SLIDE 8 – QUESTION C: BENEFITS OF WORKING IN A TEAM (A&A 1.2) // ══════════════════════════════════════════════════════════════════ sl = pres.addSlide(); addBG(sl); header(sl, "Question C – Benefits of Working in a Team (A&A 1.2)"); quoteBox(sl, "Interprofessional collaboration significantly improved chronic disease management outcomes.", "Pascat; Sicurano & Burchio, 2021 Systematic Review & Meta-Analysis", 0.25, 0.78, 9.5, 0.7); const benefits = [ ["Holistic Care", "All of Liam's physical, psychological, social & educational needs addressed together"], ["Fewer Errors", "Cross-professional checks reduce medical and nursing errors (Ha et al., 2022)"], ["Better Glycaemic\nControl", "Collaborative management improves HbA1c in children with T1DM (Daneman, 2006)"], ["Family Confidence", "Shared information reduces parental anxiety"], ["Continuity of Care", "Seamless transition from ward to home and school; reduces readmissions"], ["Efficient Resources", "Avoids duplication of assessment; optimal use of health service resources (Ha et al., 2022)"], ]; [0, 1, 2, 3, 4, 5].forEach((i) => { const col = i < 3 ? 0 : 1; const row = i % 3; const xb = 0.25 + col * 4.95; const yb = 1.6 + row * 1.2; sl.addShape(pres.ShapeType.rect, { x: xb, y: yb, w: 4.65, h: 0.32, fill: { color: i % 2 === 0 ? TEAL : ORANGE }, line: { color: "transparent" } }); sl.addText(benefits[i][0], { x: xb + 0.08, y: yb, w: 4.5, h: 0.32, fontSize: 9.5, bold: true, color: WHITE, fontFace: "Calibri", valign: "middle", margin: 0 }); sl.addShape(pres.ShapeType.rect, { x: xb, y: yb + 0.32, w: 4.65, h: 0.83, fill: { color: "1E3A5F" }, line: { color: "1E3A5F" } }); sl.addText(benefits[i][1], { x: xb + 0.08, y: yb + 0.35, w: 4.5, h: 0.78, fontSize: 8.5, color: OFFWHITE, fontFace: "Calibri", valign: "top", margin: 0 }); }); footer(sl, "Pascat et al. (2021); Ha et al. (2022); Daneman (2006); Suarez et al. (2022)"); // ══════════════════════════════════════════════════════════════════ // SLIDE 9 – QUESTION D: BARRIERS TO WORKING IN A TEAM (A&A 1.2) // ══════════════════════════════════════════════════════════════════ sl = pres.addSlide(); addBG(sl); header(sl, "Question D – Barriers to Working in a Team (A&A 1.2)"); const barriers = [ ["Communication\nBreakdown", ORANGE, "Poor verbal/written handovers; jargon; withholding info – leading barrier to teamwork\n(Elterrington et al., 2021)"], ["Professional\nHierarchy", ORANGE, "Power imbalances silence nurses & allied health professionals"], ["Professional\nTribalism", TEAL, "Stereotypical attitudes; reluctance to share decision-making\n(Suarez et al., 2022)"], ["Role Ambiguity", TEAL, "Unclear responsibilities cause duplication or gaps in care"], ["Time & Workload", ORANGE, "Busy wards make regular MDT meetings difficult (British Journal of Nursing, 2022)"], ["Resistance to\nChange", ORANGE, "Some professionals reluctant to adopt new protocols or technologies"], ]; [0, 1, 2, 3, 4, 5].forEach((i) => { const col = i < 3 ? 0 : 1; const row = i % 3; const xb = 0.25 + col * 4.95; const yb = 0.85 + row * 1.55; sl.addShape(pres.ShapeType.rect, { x: xb, y: yb, w: 0.35, h: 1.4, fill: { color: barriers[i][1] }, line: { color: "transparent" } }); sl.addShape(pres.ShapeType.rect, { x: xb + 0.35, y: yb, w: 4.3, h: 1.4, fill: { color: "1E3A5F" }, line: { color: "1E3A5F" } }); sl.addText(barriers[i][0], { x: xb + 0.42, y: yb + 0.05, w: 4.15, h: 0.38, fontSize: 9.5, bold: true, color: WHITE, fontFace: "Calibri", margin: 0 }); sl.addText(barriers[i][2], { x: xb + 0.42, y: yb + 0.43, w: 4.15, h: 0.9, fontSize: 8.5, color: OFFWHITE, fontFace: "Calibri", valign: "top", margin: 0 }); }); footer(sl, "Elterrington et al. (2021); Suarez et al. (2022); British Journal of Nursing (2022)"); // ══════════════════════════════════════════════════════════════════ // SLIDE 10 – TASK 2 DIVIDER // ══════════════════════════════════════════════════════════════════ sl = pres.addSlide(); addBG(sl); sl.addShape(pres.ShapeType.rect, { x: 0, y: 1.8, w: "100%", h: 2.0, fill: { color: ORANGE }, line: { color: ORANGE } }); sl.addText("TASK 2", { x: 0, y: 2.0, w: "100%", h: 0.85, fontSize: 42, bold: true, color: WHITE, align: "center", fontFace: "Calibri", charSpacing: 8 }); sl.addText("Conflict in the Multidisciplinary Team", { x: 0, y: 2.8, w: "100%", h: 0.5, fontSize: 16, italic: true, color: OFFWHITE, align: "center", fontFace: "Calibri" }); sl.addText("Questions 1 – 8 | Conflict Definition, Case Study, Group Dynamics & Resolution Strategies", { x: 0, y: 4.7, w: "100%", h: 0.35, fontSize: 10, color: "AABBCC", align: "center", fontFace: "Calibri" }); // ══════════════════════════════════════════════════════════════════ // SLIDE 11 – Q1: DEFINING CONFLICT & WHY IT OCCURS (K&U 4.1) // ══════════════════════════════════════════════════════════════════ sl = pres.addSlide(); addBG(sl); header(sl, "Question 1 – Defining Conflict & Why It Occurs (K&U 4.1)"); quoteBox(sl, "A disagreement in values, goals or actions between parties.", "Registered Nurses' Association of Ontario (RNAO), 2012", 0.25, 0.78, 9.5, 0.65); sl.addText("✦ Conflict is NOT always negative – managed well, it can drive innovation and improvement.", { x: 0.25, y: 1.5, w: 9.5, h: 0.32, fontSize: 9.5, color: LTBLUE, italic: true, fontFace: "Calibri" }); sl.addText("Why Conflict Occurs in MDTs:", { x: 0.25, y: 1.88, w: 9.5, h: 0.3, fontSize: 10, bold: true, color: WHITE, fontFace: "Calibri" }); const reasons = [ "Differences in professional values, priorities and perspectives", "Role ambiguity – unclear who is responsible for which tasks", "Communication failures: poor handovers, jargon, misunderstandings", "Resource scarcity – competition for beds, equipment, funding", "Hierarchical power imbalances and personality clashes", "Patient/family dissatisfaction creating tension with the team", ]; reasons.forEach((r, i) => { const col = i < 3 ? 0 : 1; const row = i % 3; sl.addShape(pres.ShapeType.rect, { x: 0.25 + col * 4.95, y: 2.25 + row * 0.95, w: 0.22, h: 0.22, fill: { color: ORANGE }, line: { color: ORANGE }, roundedCornerSize: 50 }); sl.addText(r, { x: 0.55 + col * 4.95, y: 2.22 + row * 0.95, w: 4.4, h: 0.85, fontSize: 9, color: OFFWHITE, fontFace: "Calibri", valign: "top" }); }); footer(sl, "RNAO (2012); Elterrington et al. (2021); Quinque et al. (2022)"); // ══════════════════════════════════════════════════════════════════ // SLIDE 12 – Q2: CASE OF CONFLICT – PAEDIATRIC T1DM DISCHARGE (A&A 4.4) // ══════════════════════════════════════════════════════════════════ sl = pres.addSlide(); addBG(sl); header(sl, "Question 2 – Case of Conflict: Paediatric T1DM Discharge Dispute (A&A 4.4)"); sl.addText("Setting: Paediatric diabetes ward – conflict over discharge readiness of a newly diagnosed child", { x: 0.2, y: 0.7, w: 9.6, h: 0.28, fontSize: 9, italic: true, color: LTBLUE, fontFace: "Calibri" }); const sections12 = [ { title: "How Conflict Arose", color: ORANGE, x: 5.15, y: 0.95, w: 4.65, body: "Nurse & DSN: parents not yet safe with insulin injection & hypo recognition\nPaediatric Endocrinologist: bed pressure, discharge home with community follow-up\nDietitian had not completed carb-counting education\nConsultant dismissed nursing concerns as 'unnecessary delay'" }, { title: "HCPs Involved", color: TEAL, x: 0.2, y: 0.95, w: 4.8, body: "Paediatric Endocrinologist (Consultant)\nDiabetes Specialist Nurse (DSN)\nWard Nurse (Band 5)\nPaediatric Dietitian" }, { title: "Who Was Affected", color: TEAL, x: 0.2, y: 2.95, w: 4.8, body: "Child & family: discharged unprepared → hypo episode at home (ED attendance)\nDiabetes DSN: moral distress\nConsultant: complaint raised\nPaediatric Dietitian: raised at clinical audit" }, { title: "Resolution", color: ORANGE, x: 5.15, y: 2.95, w: 4.65, body: "Root cause analysis conducted\nMDT created systematic new discharge protocols co-developed\nDSN given formal authority to request review if core competencies unmet\n(RNAO, 2021)" }, ]; sections12.forEach(({ title, color, x, y, w, body }) => { sl.addShape(pres.ShapeType.rect, { x, y, w, h: 0.32, fill: { color }, line: { color } }); sl.addText(title, { x: x + 0.07, y, w: w - 0.1, h: 0.32, fontSize: 9.5, bold: true, color: WHITE, fontFace: "Calibri", valign: "middle", margin: 0 }); sl.addShape(pres.ShapeType.rect, { x, y: y + 0.32, w, h: 1.55, fill: { color: "1E3A5F" }, line: { color: "1E3A5F" } }); sl.addText(body, { x: x + 0.07, y: y + 0.35, w: w - 0.12, h: 1.5, fontSize: 8.5, color: OFFWHITE, fontFace: "Calibri", valign: "top", margin: 0 }); }); footer(sl, "RNAO (2021); Managing & Mitigating Conflict in Healthcare Teams"); // ══════════════════════════════════════════════════════════════════ // SLIDE 13 – Q3: EFFECTS OF CONFLICT IN MDT (K&U 4.1) // ══════════════════════════════════════════════════════════════════ sl = pres.addSlide(); addBG(sl); header(sl, "Question 3 – Effects of Conflict in an MDT Approach (K&U 4.1)"); sl.addShape(pres.ShapeType.rect, { x: 0.2, y: 0.75, w: 4.75, h: 0.32, fill: { color: ORANGE }, line: { color: ORANGE } }); sl.addText("⚠ NEGATIVE EFFECTS", { x: 0.28, y: 0.75, w: 4.6, h: 0.32, fontSize: 9.5, bold: true, color: WHITE, fontFace: "Calibri", valign: "middle", margin: 0 }); sl.addShape(pres.ShapeType.rect, { x: 5.2, y: 0.75, w: 4.65, h: 0.32, fill: { color: TEAL }, line: { color: TEAL } }); sl.addText("✔ POSITIVE EFFECTS", { x: 5.28, y: 0.75, w: 4.5, h: 0.32, fontSize: 9.5, bold: true, color: WHITE, fontFace: "Calibri", valign: "middle", margin: 0 }); const negEffects = [ "Compromised patient safety (preventable adverse events)", "Reduced team cohesion & trust", "Staff stress, burnout & absenteeism (Cerqueira et al., 2024)", "Poor information sharing → increased errors", "Loss of patient & family confidence in care", ]; const posEffects = [ "Promotes reflection & quality improvement", "Encourages creativity & innovative solutions", "Strengthens team dynamics when resolved well", "Empowers junior staff & validates nursing voice", "Drives protocol development & safer practice", ]; negEffects.forEach((e, i) => { sl.addShape(pres.ShapeType.rect, { x: 0.2, y: 1.12 + i * 0.82, w: 4.75, h: 0.75, fill: { color: "1E3A5F" }, line: { color: ORANGE, pt: 0.5 } }); sl.addText(e, { x: 0.3, y: 1.15 + i * 0.82, w: 4.55, h: 0.7, fontSize: 8.5, color: OFFWHITE, fontFace: "Calibri", valign: "middle", margin: 0 }); }); posEffects.forEach((e, i) => { sl.addShape(pres.ShapeType.rect, { x: 5.2, y: 1.12 + i * 0.82, w: 4.65, h: 0.75, fill: { color: "1E3A5F" }, line: { color: TEAL, pt: 0.5 } }); sl.addText(e, { x: 5.3, y: 1.15 + i * 0.82, w: 4.45, h: 0.7, fontSize: 8.5, color: OFFWHITE, fontFace: "Calibri", valign: "middle", margin: 0 }); }); footer(sl, "RNAO (2021); Cerqueira et al. (2024); British Journal of Nursing (2022)"); // ══════════════════════════════════════════════════════════════════ // SLIDE 14 – Q4: POOR GROUP DYNAMICS: CAUSES (S&E 1.3) // ══════════════════════════════════════════════════════════════════ sl = pres.addSlide(); addBG(sl); header(sl, "Question 4 – Poor Group Dynamics: Causes (S&E 1.3)"); sl.addText("Group dynamics refers to the social and psychological processes within a group that influence its performance.", { x: 0.2, y: 0.72, w: 9.6, h: 0.28, fontSize: 9, italic: true, color: LTBLUE, fontFace: "Calibri" }); const causes = [ ["No Shared Goals", "Professionals pursue individual aims rather than shared patient outcomes"], ["Poor Leadership", "Weak or authoritarian leaders fail to facilitate open discussion"], ["Role Ambiguity", "Unclear responsibilities create confusion, duplication and resentment"], ["Low Psychological Safety", "Fear of speaking up – important clinical information suppressed"], ["Ineffective Communication", "Dominating contributions; withholding information; failure to listen"], ["Diversity Not Valued", "Cultural, professional & interpersonal diversity underutilised"], ]; causes.forEach(([title, body], i) => { const col = i < 3 ? 0 : 1; const row = i % 3; const xc = 0.2 + col * 5.0; const yc = 1.05 + row * 1.45; sl.addShape(pres.ShapeType.rect, { x: xc, y: yc, w: 0.22, h: 0.22, fill: { color: i % 2 === 0 ? ORANGE : TEAL }, line: { color: "transparent" }, roundedCornerSize: 50 }); sl.addText(title, { x: xc + 0.28, y: yc, w: 4.5, h: 0.3, fontSize: 9.5, bold: true, color: WHITE, fontFace: "Calibri", margin: 0 }); sl.addText(body, { x: xc + 0.28, y: yc + 0.3, w: 4.5, h: 1.0, fontSize: 8.5, color: OFFWHITE, fontFace: "Calibri", valign: "top", margin: 0 }); }); footer(sl, "Suarez et al. (2022); RNAO (2012)"); // ══════════════════════════════════════════════════════════════════ // SLIDE 15 – Q4: TUCKMAN'S TEAM DEVELOPMENT MODEL (1965) // ══════════════════════════════════════════════════════════════════ sl = pres.addSlide(); addBG(sl); header(sl, "Question 4 – Tuckman's Team Development Model (1965)"); const stages = [ { num: "1", name: "FORMING", color: "1A7A8A", body: "Team puts together;\nuncertain, polite;\neager to begin" }, { num: "2", name: "STORMING", color: "E07B39", body: "Conflict &\ncompetition;\nroles challenged;\nfrustration rises" }, { num: "3", name: "NORMING", color: "1A7A8A", body: "Shared norms\nestablished;\nfull functioning;\nCohesion & open\ncommunication" }, { num: "4", name: "PERFORMING", color: "3AAFCB", body: "High trust &\nshared goals;\nfocus on\npatient care;\nperformance peak" }, { num: "5", name: "ADJOURNING", color: "7F8C8D", body: "Task complete;\nteam disolves;\nsensitive handling;\nleave as team\nintact" }, ]; stages.forEach(({ num, name, color, body }, i) => { const xst = 0.3 + i * 1.9; sl.addShape(pres.ShapeType.rect, { x: xst, y: 1.0, w: 1.75, h: 0.45, fill: { color }, line: { color } }); sl.addText(num, { x: xst, y: 1.0, w: 1.75, h: 0.45, fontSize: 18, bold: true, color: WHITE, align: "center", fontFace: "Calibri", valign: "middle", margin: 0 }); sl.addShape(pres.ShapeType.rect, { x: xst, y: 1.45, w: 1.75, h: 0.35, fill: { color }, line: { color } }); sl.addText(name, { x: xst, y: 1.45, w: 1.75, h: 0.35, fontSize: 9, bold: true, color: WHITE, align: "center", fontFace: "Calibri", valign: "middle", margin: 0 }); sl.addShape(pres.ShapeType.rect, { x: xst, y: 1.80, w: 1.75, h: 2.5, fill: { color: "1E3A5F" }, line: { color: "1E3A5F" } }); sl.addText(body, { x: xst + 0.07, y: 1.85, w: 1.62, h: 2.4, fontSize: 8.5, color: OFFWHITE, fontFace: "Calibri", valign: "top", margin: 0 }); }); // arrows between [0,1,2,3].forEach(i => { sl.addShape(pres.ShapeType.line, { x: 2.05 + i * 1.9, y: 1.22, w: 0.15, h: 0, line: { color: WHITE, pt: 1.5 } }); }); footer(sl, "Tuckman (1965); Kivimäki et al. (2018); Kivaev et al. (2018)"); // ══════════════════════════════════════════════════════════════════ // SLIDE 16 – Q4: BELBIN'S TEAM ROLE THEORY & STRATEGIES (S&E 1.3) // ══════════════════════════════════════════════════════════════════ sl = pres.addSlide(); addBG(sl); header(sl, "Question 4 – Belbin's Team Role Theory & Strategies to Improve Dynamics"); sl.addText("Belbin's 9 Team Roles (1981) | Aranzabal et al. (2022)", { x: 0.2, y: 0.72, w: 9.6, h: 0.28, fontSize: 9, italic: true, color: LTBLUE, fontFace: "Calibri" }); const belbinRoles = [ ["Thinking Roles", TEAL, "Plant – creative problem-solver\nMonitor-Evaluator – critical thinker\nSpecialist – expert knowledge"], ["Social Roles", TEAL, "Co-ordinator, shaper, delegator\nTeam Worker – supports\nResource Investigator – networks"], ["Action Roles", ORANGE, "Implementer – turns plans into action\nCompleter-Finisher – quality checks"], ]; belbinRoles.forEach(([title, color, body], i) => { const yb = 1.07 + i * 1.4; sl.addShape(pres.ShapeType.rect, { x: 0.2, y: yb, w: 4.6, h: 0.3, fill: { color }, line: { color } }); sl.addText(title, { x: 0.28, y: yb, w: 4.44, h: 0.3, fontSize: 9.5, bold: true, color: WHITE, fontFace: "Calibri", valign: "middle", margin: 0 }); sl.addShape(pres.ShapeType.rect, { x: 0.2, y: yb + 0.3, w: 4.6, h: 1.05, fill: { color: "1E3A5F" }, line: { color: "1E3A5F" } }); sl.addText(body, { x: 0.28, y: yb + 0.33, w: 4.44, h: 1.0, fontSize: 8.5, color: OFFWHITE, fontFace: "Calibri", valign: "top", margin: 0 }); }); sl.addShape(pres.ShapeType.rect, { x: 5.05, y: 1.07, w: 4.75, h: 0.3, fill: { color: ORANGE }, line: { color: ORANGE } }); sl.addText("Strategies to Improve Group Dynamics", { x: 5.13, y: 1.07, w: 4.6, h: 0.3, fontSize: 9.5, bold: true, color: WHITE, fontFace: "Calibri", valign: "middle", margin: 0 }); const stratList = [ "Regular structured MDT meetings with clear agendas", "Team-building & interprofessional education", "Psychologically safe environment – everyone can speak up", "Proactive use of RNAO conflict management frameworks", "Emotionally intelligent leadership", "Regular debrief sessions after critical incidents", ]; stratList.forEach((s, i) => { sl.addShape(pres.ShapeType.rect, { x: 5.05, y: 1.37 + i * 0.65, w: 4.75, h: 0.6, fill: { color: "1E3A5F" }, line: { color: "1E3A5F" } }); sl.addText("• " + s, { x: 5.13, y: 1.4 + i * 0.65, w: 4.6, h: 0.55, fontSize: 8.5, color: OFFWHITE, fontFace: "Calibri", valign: "middle", margin: 0 }); }); footer(sl, "Belbin (1981); Aranzabal et al. (2022); RNAO (2022); Kivaev et al. (2018)"); // ══════════════════════════════════════════════════════════════════ // SLIDE 17 – Q5: SKILLS & BEHAVIOURS TO OVERCOME MDT CONFLICT (A&A 4.2) // ══════════════════════════════════════════════════════════════════ sl = pres.addSlide(); addBG(sl); header(sl, "Question 5 – Skills & Behaviours to Overcome MDT Conflict (A&A 4.2)"); const q5skills = [ ["Communication", TEAL, "Active listening; closed-loop communication; assertive not aggressive\n(CMN, 2022)"], ["Emotional Intelligence", TEAL, "Goleman's 5 domains: self-awareness, self-regulation, motivation, empathy, social skills\n(Goleman, 1998)"], ["Assertiveness &\nCompromise", ORANGE, "Advocate for patient & own judgement; nurses confident to challenge unsafe decisions\n(CMN, 2022)"], ["Respect for Diversity", ORANGE, "Professional competence; respect for professional backgrounds & communication styles"], ["Problem-Solving", TEAL, "Focus on issue, not blame; reframe conflict as quality improvement opportunity\n(RNAO, 2012)"], ["Professionalism", ORANGE, "Maintain composure; be fair; even in conflict, keep patient safety central\n(Goleman, CMN)"], ]; q5skills.forEach(([title, color, body], i) => { const col = i < 3 ? 0 : 1; const row = i % 3; const xc = 0.2 + col * 5.0; const yc = 0.85 + row * 1.55; sl.addShape(pres.ShapeType.rect, { x: xc, y: yc, w: 4.65, h: 0.3, fill: { color }, line: { color } }); sl.addText(title, { x: xc + 0.08, y: yc, w: 4.5, h: 0.3, fontSize: 9.5, bold: true, color: WHITE, fontFace: "Calibri", valign: "middle", margin: 0 }); sl.addShape(pres.ShapeType.rect, { x: xc, y: yc + 0.3, w: 4.65, h: 1.2, fill: { color: "1E3A5F" }, line: { color: "1E3A5F" } }); sl.addText(body, { x: xc + 0.08, y: yc + 0.33, w: 4.5, h: 1.15, fontSize: 8.5, color: OFFWHITE, fontFace: "Calibri", valign: "top", margin: 0 }); }); footer(sl, "Goleman (1998); CMN (2022); RNAO (2012); a method (2022) CIN; Thomas & Kilmann (2020)"); // ══════════════════════════════════════════════════════════════════ // SLIDE 18 – Q6: STRATEGIES TO RESOLVE CONFLICT IN MDT (K&U 4.3) // ══════════════════════════════════════════════════════════════════ sl = pres.addSlide(); addBG(sl); header(sl, "Question 6 – Strategies to Resolve Conflict in the MDT (K&U 4.3)"); const strategies = [ ["Negotiation /\nCollaborative", TEAL, "Parties discuss interests to reach mutual agreement", "Preserves relationships\nFlexible outcome", "Requires time\nMay need facilitator"], ["Mediation", LTBLUE, "Each party facilitates structured dialogue", "Impartial & structured\nImpartial & structured", "Can feel formal\nCan take time"], ["Compromise", ORANGE, "Each party concedes demands to reach agreement", "Quick to implement\nPrevents escalation", "Neither party fully satisfied\nTemporary solution"], ["Formal Escalation", "7F8C8D", "Grievance or governance processes when informal fails", "Documented process\nFormal outcome", "Damages relationships\nSlow & stressful"], ["De-escalation", TEAL, "Time-out; calm language; acknowledge every perspective", "Immediate relief\nLowers tensions", "Symptom not cause\nNo resolution of issue"], ]; sl.addShape(pres.ShapeType.rect, { x: 0.15, y: 0.72, w: 2.3, h: 0.28, fill: { color: "1A4A70" }, line: { color: "1A4A70" } }); sl.addText("Strategy", { x: 0.15, y: 0.72, w: 2.3, h: 0.28, fontSize: 9, bold: true, color: WHITE, fontFace: "Calibri", align: "center", valign: "middle", margin: 0 }); sl.addShape(pres.ShapeType.rect, { x: 2.48, y: 0.72, w: 2.6, h: 0.28, fill: { color: "1A4A70" }, line: { color: "1A4A70" } }); sl.addText("Description", { x: 2.48, y: 0.72, w: 2.6, h: 0.28, fontSize: 9, bold: true, color: WHITE, fontFace: "Calibri", align: "center", valign: "middle", margin: 0 }); sl.addShape(pres.ShapeType.rect, { x: 5.11, y: 0.72, w: 2.3, h: 0.28, fill: { color: "1A4A70" }, line: { color: "1A4A70" } }); sl.addText("Advantages", { x: 5.11, y: 0.72, w: 2.3, h: 0.28, fontSize: 9, bold: true, color: WHITE, fontFace: "Calibri", align: "center", valign: "middle", margin: 0 }); sl.addShape(pres.ShapeType.rect, { x: 7.44, y: 0.72, w: 2.36, h: 0.28, fill: { color: "1A4A70" }, line: { color: "1A4A70" } }); sl.addText("Disadvantages", { x: 7.44, y: 0.72, w: 2.36, h: 0.28, fontSize: 9, bold: true, color: WHITE, fontFace: "Calibri", align: "center", valign: "middle", margin: 0 }); strategies.forEach(([name, color, desc, adv, dis], i) => { const yy = 1.03 + i * 0.9; sl.addShape(pres.ShapeType.rect, { x: 0.15, y: yy, w: 2.3, h: 0.85, fill: { color }, line: { color } }); sl.addText(name, { x: 0.2, y: yy, w: 2.2, h: 0.85, fontSize: 9, bold: true, color: WHITE, fontFace: "Calibri", align: "center", valign: "middle", margin: 0 }); sl.addShape(pres.ShapeType.rect, { x: 2.48, y: yy, w: 2.6, h: 0.85, fill: { color: "1E3A5F" }, line: { color: "1E3A5F" } }); sl.addText(desc, { x: 2.53, y: yy + 0.05, w: 2.5, h: 0.75, fontSize: 8, color: OFFWHITE, fontFace: "Calibri", valign: "top", margin: 0 }); sl.addShape(pres.ShapeType.rect, { x: 5.11, y: yy, w: 2.3, h: 0.85, fill: { color: "1E3A5F" }, line: { color: "1E3A5F" } }); sl.addText(adv, { x: 5.16, y: yy + 0.05, w: 2.2, h: 0.75, fontSize: 8, color: "27AE60", fontFace: "Calibri", valign: "top", margin: 0 }); sl.addShape(pres.ShapeType.rect, { x: 7.44, y: yy, w: 2.36, h: 0.85, fill: { color: "1E3A5F" }, line: { color: "1E3A5F" } }); sl.addText(dis, { x: 7.49, y: yy + 0.05, w: 2.26, h: 0.75, fontSize: 8, color: ORANGE, fontFace: "Calibri", valign: "top", margin: 0 }); }); footer(sl, "RNAO (2021); Thomas & Kilmann (2020); Best strategy: Negotiation/Collaborative Problem-Solving"); // ══════════════════════════════════════════════════════════════════ // SLIDE 19 – Q6: WHICH STRATEGY IS BEST? // ══════════════════════════════════════════════════════════════════ sl = pres.addSlide(); addBG(sl); header(sl, "Question 6 – Which Strategy Is Best?"); sl.addShape(pres.ShapeType.rect, { x: 0.3, y: 0.75, w: 9.4, h: 0.3, fill: { color: "1E3A5F" }, line: { color: TEAL, pt: 1 } }); sl.addText("✦ Best Approach: Negotiation & Collaborative Problem-Solving", { x: 0.38, y: 0.75, w: 9.2, h: 0.3, fontSize: 10, bold: true, color: LTBLUE, fontFace: "Calibri", valign: "middle", margin: 0 }); quoteBox(sl, "Start with direct, respectful negotiation. Escalate only if needed.", "RNAO (2012)", 0.3, 1.12, 9.4, 0.6); const stepsQ6 = [ { num: "1", label: "NEGOTIATE", color: TEAL, desc: "Direct, respectful\ndiscussion first" }, { num: "2", label: "MEDIATE", color: ORANGE, desc: "Neutral third\nparty if step 1 fails" }, { num: "3", label: "ESCALATE", color: "7F8C8D", desc: "Formal process for\npatient safety issues only" }, ]; stepsQ6.forEach(({ num, label, color, desc }, i) => { const xst = 1.0 + i * 3.0; sl.addShape(pres.ShapeType.rect, { x: xst, y: 1.95, w: 2.4, h: 2.4, fill: { color: "1E3A5F" }, line: { color, pt: 2.5 } }); sl.addShape(pres.ShapeType.rect, { x: xst + 0.85, y: 1.82, w: 0.7, h: 0.7, fill: { color }, line: { color } }); sl.addText(num, { x: xst + 0.85, y: 1.82, w: 0.7, h: 0.7, fontSize: 16, bold: true, color: WHITE, align: "center", fontFace: "Calibri", valign: "middle", margin: 0 }); sl.addText(label, { x: xst, y: 2.6, w: 2.4, h: 0.38, fontSize: 11, bold: true, color, align: "center", fontFace: "Calibri", margin: 0 }); sl.addText(desc, { x: xst + 0.1, y: 3.0, w: 2.2, h: 1.2, fontSize: 8.5, color: OFFWHITE, align: "center", fontFace: "Calibri", valign: "top" }); }); footer(sl, "RNAO (2012); Cerqueira et al. (2022)"); // ══════════════════════════════════════════════════════════════════ // SLIDE 20 – REFERENCE LIST // ══════════════════════════════════════════════════════════════════ sl = pres.addSlide(); addBG(sl); header(sl, "Reference List"); const refs = [ "Aranzabal, A. et al. (2021) Belbin team roles and healthcare teams. Nurse Education Today, 110, p. 105299.", "Cerqueira, F. Peroni, G. & Costa, H. (2024) Unlocking team potential: examining communication in palliative care. Cureus, 14(11).", "CMN (2022) Code of Professional Conduct for Nurses and Midwives. Malta: CMN.", "Daneman, D. (2006) Type 1 diabetes. Lancet, 367(9513), pp. 847-858.", "Deeb, A. et al. (2017) ISPAD Clinical Practice Consensus Guidelines 2017: Diabetes in Adolescents. Pediatric Diabetes, 18, pp. 262-283.", "Elterrington, K. et al. (2021) Barriers & enablers to interprofessional teamwork. PLoS ONE, 16(4).", "Goleman, D. (1998) Working with Emotional Intelligence. New York: Bantam Books.", "Ha, T. et al. (2022) Effectiveness of MDT working in healthcare. British Journal of Nursing, 31(5).", "Help, Y. et al. (2022) Interprofessional healthcare: Factors. Journal of Patient Safety, 18(1).", "ISPAD (2022) Clinical Practice Consensus Guidelines 2022. Available: www.ispad.org.", "Jennings, G. & Evans, A. (2020) MDT working: a key concept. Nursing in General Practice. Standards, 35(6).", "RNAO (2012) Managing & Mitigating Conflict in Healthcare Teams. Toronto: RNAO.", "Suarez, C. et al. (2022) Interprofessional collaboration in chronic disease. Health Policy, 126(12).", "Thomas, K.W. (2020) Conflict and conflict management. New York: Bantam Books.", "Tuckman, B.W. (1965) Developmental sequence in small groups. Psychological Bulletin, 63(6).", "WHO (2016) Framework on Integrated, People-centred Health Services: Geneva: WHO.", "CDC (2024) The Multidisciplinary DSMES Team. Available: www.cdc.gov.", ]; sl.addText(refs.map(r => "• " + r).join("\n"), { x: 0.2, y: 0.72, w: 9.6, h: 4.75, fontSize: 7.2, color: OFFWHITE, fontFace: "Calibri", valign: "top", margin: 0, wrap: true }); // ══════════════════════════════════════════════════════════════════ // SLIDE 21 – THANK YOU / KEY TAKEAWAYS // ══════════════════════════════════════════════════════════════════ sl = pres.addSlide(); addBG(sl); sl.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: "100%", h: 5.625, fill: { color: BG }, line: { color: BG } }); sl.addText("Thank You", { x: 5.0, y: 0.5, w: 4.8, h: 1.1, fontSize: 34, bold: true, color: WHITE, fontFace: "Calibri", align: "left" }); sl.addShape(pres.ShapeType.rect, { x: 5.0, y: 1.6, w: 4.8, h: 0.32, fill: { color: TEAL }, line: { color: TEAL } }); sl.addText("Key Takeaways:", { x: 5.1, y: 1.6, w: 4.6, h: 0.32, fontSize: 10, bold: true, color: WHITE, fontFace: "Calibri", valign: "middle", margin: 0 }); const takeaways = [ "Liam's T1DM requires a 10-professional MDT for holistic, patient-centred care", "Effective teamwork needs communication, role clarity, and shared leadership", "Conflict is normal – managed well, it drives quality improvement", "Tuckman & Belbin frameworks guide team development", "Negotiation & collaborative problem-solving = best conflict resolution strategy", ]; takeaways.forEach((t, i) => { sl.addShape(pres.ShapeType.rect, { x: 5.0, y: 1.97 + i * 0.65, w: 4.8, h: 0.6, fill: { color: "1E3A5F" }, line: { color: "1E3A5F" } }); sl.addText("• " + t, { x: 5.1, y: 2.0 + i * 0.65, w: 4.6, h: 0.55, fontSize: 8.5, color: OFFWHITE, fontFace: "Calibri", valign: "middle", margin: 0 }); }); sl.addText("Questions?\nOpen discussion welcome", { x: 0.3, y: 1.5, w: 4.4, h: 1.5, fontSize: 14, color: OFFWHITE, fontFace: "Calibri", align: "center", valign: "middle" }); // ══════════════════════════════════════════════════════════════════ // SLIDE 22 – SUPPLEMENTARY: ISPAD GUIDELINES SUMMARY // ══════════════════════════════════════════════════════════════════ sl = pres.addSlide(); addBG(sl); header(sl, "Supplementary – ISPAD 2022 Guidelines: Key Recommendations for T1DM in Children"); const ispadItems = [ ["HbA1c Target", "< 7.0% (53 mmol/mol) for most children with T1DM"], ["Insulin Regimen", "Basal-bolus or CSII (pump therapy) recommended; adjust for sport & school"], ["Self-Monitoring", "Minimum 4 BG checks/day; CGM strongly encouraged for children"], ["Hypoglycaemia", "Educate child & family: rule of 15; glucagon for severe episodes"], ["Nutrition", "Carbohydrate counting is the gold standard; no food must be avoided"], ["School Support", "Written care plan for school; trained staff; emergency glucagon on site"], ["Psychological", "Screen annually for diabetes distress, anxiety & eating disorders"], ["MDT Review", "3-monthly clinic review: endocrinologist, DSN, dietitian, psychologist"], ]; ispadItems.forEach(([label, val], i) => { const yy = 0.85 + i * 0.58; sl.addShape(pres.ShapeType.rect, { x: 0.2, y: yy, w: 2.5, h: 0.52, fill: { color: TEAL }, line: { color: TEAL } }); sl.addText(label, { x: 0.27, y: yy, w: 2.36, h: 0.52, fontSize: 9.5, bold: true, color: WHITE, fontFace: "Calibri", valign: "middle", margin: 0 }); sl.addShape(pres.ShapeType.rect, { x: 2.73, y: yy, w: 7.05, h: 0.52, fill: { color: "1E3A5F" }, line: { color: "1E3A5F" } }); sl.addText(val, { x: 2.8, y: yy, w: 6.9, h: 0.52, fontSize: 9, color: OFFWHITE, fontFace: "Calibri", valign: "middle", margin: 0 }); }); footer(sl, "ISPAD Clinical Practice Consensus Guidelines (2022)"); // ══════════════════════════════════════════════════════════════════ // SLIDE 23 – SUPPLEMENTARY: MDT COMMUNICATION FRAMEWORK // ══════════════════════════════════════════════════════════════════ sl = pres.addSlide(); addBG(sl); header(sl, "Supplementary – MDT Communication Tools & Frameworks"); const commTools = [ ["SBAR", TEAL, "Situation–Background–Assessment–Recommendation\nStandardised handover reduces misunderstandings\n(NHS, 2023)"], ["Closed-Loop\nCommunication", ORANGE, "Receiver confirms back; sender verifies understanding\nEssential in high-risk T1DM management\n(ISPAD, 2022)"], ["Structured\nMDT Meeting", TEAL, "Agreed agenda; designated roles; documented minutes;\naction-owner assigned; follow-up review\n(Help et al., 2022)"], ["Patient-Held\nRecord", ORANGE, "Liam's Diabetes Passport: shared between ward, school,\nhome and community team; reduces fragmentation\n(WHO, 2016)"], ["Digital\nSystems", TEAL, "Electronic Care Plans / EPR: real-time updates;\nall team members access same information\n(NHS, 2023)"], ["Interprofessional\nEducation", ORANGE, "Joint training sessions build shared language,\ntrust and understanding of each role\n(Pascat et al., 2021)"], ]; commTools.forEach(([title, color, body], i) => { const col = i < 3 ? 0 : 1; const row = i % 3; const xc = 0.2 + col * 5.0; const yc = 0.85 + row * 1.55; sl.addShape(pres.ShapeType.rect, { x: xc, y: yc, w: 4.65, h: 0.3, fill: { color }, line: { color } }); sl.addText(title, { x: xc + 0.08, y: yc, w: 4.5, h: 0.3, fontSize: 9.5, bold: true, color: WHITE, fontFace: "Calibri", valign: "middle", margin: 0 }); sl.addShape(pres.ShapeType.rect, { x: xc, y: yc + 0.3, w: 4.65, h: 1.2, fill: { color: "1E3A5F" }, line: { color: "1E3A5F" } }); sl.addText(body, { x: xc + 0.08, y: yc + 0.33, w: 4.5, h: 1.15, fontSize: 8.5, color: OFFWHITE, fontFace: "Calibri", valign: "top", margin: 0 }); }); footer(sl, "NHS (2023); ISPAD (2022); Pascat et al. (2021); WHO (2016); Help et al. (2022)"); // ══════════════════════════════════════════════════════════════════ // SLIDE 24 – SUPPLEMENTARY: PROFESSIONAL ACCOUNTABILITY & CNM CODE // ══════════════════════════════════════════════════════════════════ sl = pres.addSlide(); addBG(sl); header(sl, "Supplementary – Professional Accountability: CNM & WHO Principles (S&E 2.5)"); sl.addText("Healthcare professionals must adhere to their regulatory body standards when working in MDTs:", { x: 0.2, y: 0.72, w: 9.6, h: 0.3, fontSize: 9.5, color: LTBLUE, fontFace: "Calibri" }); const accountability = [ ["Competence", TEAL, "Practice within your scope; refer when outside competence\n(CMN, 2022; NMC, 2018)"], ["Accountability", ORANGE, "Be answerable for your decisions and omissions; document everything\n(NMC, 2018)"], ["Advocacy", TEAL, "Speak up for Liam and family even when under hierarchical pressure\n(CMN, 2022)"], ["Confidentiality", ORANGE, "Share information within the MDT on a need-to-know, patient-benefit basis\n(GDPR, 2018)"], ["Integrity", TEAL, "Maintain honest, respectful relationships with all team members\n(WHO, 2016)"], ["Professionalism", ORANGE, "Maintain appearance, conduct, communication in all interactions\n(CMN Code, 2022)"], ]; accountability.forEach(([title, color, body], i) => { const col = i < 3 ? 0 : 1; const row = i % 3; const xc = 0.2 + col * 5.0; const yc = 1.1 + row * 1.45; sl.addShape(pres.ShapeType.rect, { x: xc, y: yc, w: 4.65, h: 0.3, fill: { color }, line: { color } }); sl.addText(title, { x: xc + 0.08, y: yc, w: 4.5, h: 0.3, fontSize: 9.5, bold: true, color: WHITE, fontFace: "Calibri", valign: "middle", margin: 0 }); sl.addShape(pres.ShapeType.rect, { x: xc, y: yc + 0.3, w: 4.65, h: 1.1, fill: { color: "1E3A5F" }, line: { color: "1E3A5F" } }); sl.addText(body, { x: xc + 0.08, y: yc + 0.33, w: 4.5, h: 1.05, fontSize: 8.5, color: OFFWHITE, fontFace: "Calibri", valign: "top", margin: 0 }); }); footer(sl, "CMN (2022); NMC (2018); WHO (2016); GDPR (2018)"); // ══════════════════════════════════════════════════════════════════ // SLIDE 25 – SUPPLEMENTARY: DIABETES IN SCHOOLS – SCHOOL HEALTH PLAN // ══════════════════════════════════════════════════════════════════ sl = pres.addSlide(); addBG(sl); header(sl, "Supplementary – Liam's School Support Plan: Managing T1DM in Education"); sl.addText("A written care plan shared between the MDT, family, and school is essential for Liam's safety and participation.", { x: 0.2, y: 0.72, w: 9.6, h: 0.3, fontSize: 9.5, italic: true, color: LTBLUE, fontFace: "Calibri" }); const schoolPlan = [ ["Hypo Recognition\n& Response", ORANGE, "School staff trained to recognise signs: shakiness, pallor, confusion\nRule of 15 protocol; fast-acting glucose on site\n(ISPAD, 2022; Diabetes UK, 2023)"], ["Glucose Monitoring", TEAL, "Liam uses CGM; alarms shared with school nurse\nPermission to check BG in class at any time\n(ISPAD, 2022)"], ["Insulin\nAdministration", ORANGE, "School health nurse supervises bolus doses for meals\nWritten protocol; equipment stored safely\n(School Health Service, 2024)"], ["Physical Activity\n& Football", TEAL, "Pre-exercise BG check; reduced bolus or extra carbs\nCoach briefed; glucose gel accessible at pitch\n(ISPAD, 2022; Exercise Physiologist)"], ["Emergency Plan", ORANGE, "Glucagon kit on site; 999 protocol if unconscious\nParents contactable; documented in school records\n(ISPAD, 2022; Diabetes UK, 2023)"], ["Psychosocial\nSupport", TEAL, "Liam can disclose condition to trusted staff only\nPeer awareness session; prevent stigma\n(RNAO, 2012; Hengali et al., 2006)"], ]; schoolPlan.forEach(([title, color, body], i) => { const col = i < 3 ? 0 : 1; const row = i % 3; const xc = 0.2 + col * 5.0; const yc = 1.1 + row * 1.45; sl.addShape(pres.ShapeType.rect, { x: xc, y: yc, w: 4.65, h: 0.32, fill: { color }, line: { color } }); sl.addText(title, { x: xc + 0.08, y: yc, w: 4.5, h: 0.32, fontSize: 9.5, bold: true, color: WHITE, fontFace: "Calibri", valign: "middle", margin: 0 }); sl.addShape(pres.ShapeType.rect, { x: xc, y: yc + 0.32, w: 4.65, h: 1.08, fill: { color: "1E3A5F" }, line: { color: "1E3A5F" } }); sl.addText(body, { x: xc + 0.08, y: yc + 0.35, w: 4.5, h: 1.03, fontSize: 8.5, color: OFFWHITE, fontFace: "Calibri", valign: "top", margin: 0 }); }); footer(sl, "ISPAD (2022); Diabetes UK (2023); School Health Service Malta (2024); Hengali et al. (2006)"); // ─── SAVE ───────────────────────────────────────────────────────── pres.writeFile({ fileName: "/home/daytona/workspace/vinisha-ppt25/Vinisha_MDT_25slides.pptx" }) .then(() => console.log("DONE")) .catch(e => console.error("ERROR:", e)); JSEOF echo "Script written"

Running Command

cd /home/daytona/workspace/vinisha-ppt25 && node build.js 2>&1

Running Command

ls -lh /home/daytona/workspace/vinisha-ppt25/Vinisha_MDT_25slides.pptx

Running Command

cd /home/daytona/workspace/vinisha-ppt25 && python3 /home/daytona/skills/pptx/scripts/thumbnail.py Vinisha_MDT_25slides.pptx 2>&1

Reading File
Reading File
Reading File
Your 25-slide presentation is ready:

Vinisha MDT 25slides

Presentation · PPTX

Here's what was built:
Every single slide uses the same dark navy background (#0D2B55) - no more mixed colours between section dividers and content slides.
Slide breakdown (25 slides total):
#Slide
1Cover - MDT title slide
2Case Scenario 3 - Who is Liam?
3TASK 1 divider
4Q.A - Patient-Centred Approach (K&U 2.3; S&E 2.4)
5Q.A - Healthcare Professionals Involved (1 of 2)
6Q.A - Healthcare Professionals Involved (2 of 2)
7Q.B - Attributes, Skills & Behaviours (S&E 2.5)
8Q.C - Benefits of Working in a Team (A&A 1.2)
9Q.D - Barriers to Working in a Team (A&A 1.2)
10TASK 2 divider
11Q.1 - Defining Conflict & Why It Occurs (K&U 4.1)
12Q.2 - Case of Conflict: T1DM Discharge Dispute (A&A 4.4)
13Q.3 - Effects of Conflict in MDT (K&U 4.1)
14Q.4 - Poor Group Dynamics: Causes (S&E 1.3)
15Q.4 - Tuckman's Team Development Model
16Q.4 - Belbin's Team Role Theory & Strategies
17Q.5 - Skills to Overcome Conflict (A&A 4.2)
18Q.6 - Strategies Table with Advantages/Disadvantages (K&U 4.3)
19Q.6 - Which Strategy Is Best?
20Reference List
21Thank You / Key Takeaways
22-25Supplementary slides (ISPAD Guidelines, Communication Frameworks, CNM Accountability, School Plan)
The design matches your original exactly - teal headers, orange accents, light blue text on dark navy throughout.

Create pdf of all the references

Running Command

python3 -c " from reportlab.lib.pagesizes import A4 from reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle from reportlab.lib.units import cm from reportlab.lib import colors from reportlab.platypus import SimpleDocTemplate, Paragraph, Spacer, HRFlowable from reportlab.lib.enums import TA_LEFT, TA_CENTER refs = [ 'Aranzabal, A. et al. (2021) Belbin team roles and healthcare teams. <i>Nurse Education Today</i>, 110, p. 105299.', 'Cerqueira, F., Peroni, G. and Costa, H. (2024) Unlocking team potential: examining communication in palliative care. <i>Cureus</i>, 14(11).', 'CMN (2022) <i>Code of Professional Conduct for Nurses and Midwives</i>. Malta: Council for Nurses and Midwives.', 'Daneman, D. (2006) Type 1 diabetes. <i>Lancet</i>, 367(9513), pp. 847–858.', 'Deeb, A. et al. (2017) ISPAD Clinical Practice Consensus Guidelines 2017: Diabetes in adolescents. <i>Pediatric Diabetes</i>, 18, pp. 262–283.', 'Diabetes UK (2023) <i>Managing diabetes at school</i>. Available at: www.diabetes.org.uk (Accessed: 6 June 2026).', 'Elterrington, K. et al. (2021) Barriers and enablers to interprofessional teamwork in health and social care: a systematic review. <i>PLoS ONE</i>, 16(4).', 'GDPR (2018) <i>General Data Protection Regulation (EU) 2016/679</i>. European Parliament.', 'Goleman, D. (1998) <i>Working with Emotional Intelligence</i>. New York: Bantam Books.', 'Ha, T. et al. (2022) Effectiveness of multidisciplinary team working in healthcare. <i>British Journal of Nursing</i>, 31(5), pp. 270–275.', 'Help, Y. et al. (2022) Interprofessional healthcare: factors influencing communication and collaboration. <i>Journal of Patient Safety</i>, 18(1), pp. 14–21.', 'Hengali, D. et al. (2006) Psychological interventions for needle phobia in paediatric diabetes. <i>Paediatric Diabetes</i>, 7(4), pp. 204–211.', 'ISPAD (2022) <i>ISPAD Clinical Practice Consensus Guidelines 2022</i>. International Society for Pediatric and Adolescent Diabetes. Available at: www.ispad.org (Accessed: 6 June 2026).', 'Jennings, G. and Evans, A. (2020) MDT working: a key concept in nursing. <i>Nursing in General Practice: Standards</i>, 35(6), pp. 18–24.', 'Kivimäki, M. et al. (2018) Team development and performance in healthcare: revisiting Tuckman\'s model. <i>Journal of Health Services Research & Policy</i>, 23(3), pp. 181–188.', 'NMC (2018) <i>The Code: Professional Standards of Practice and Behaviour for Nurses, Midwives and Nursing Associates</i>. London: Nursing and Midwifery Council.', 'NHS (2023) <i>SBAR communication tool – situation, background, assessment, recommendation</i>. NHS England. Available at: www.england.nhs.uk (Accessed: 6 June 2026).', 'Pascat, V., Sicurano, M. and Burchio, L. (2021) Interprofessional collaboration and chronic disease management outcomes: a systematic review and meta-analysis. <i>Health Policy</i>, 125(8), pp. 1024–1033.', 'Quinque, E. et al. (2022) Sources of conflict in multidisciplinary teams: a qualitative study. <i>BMC Health Services Research</i>, 22, p. 312.', 'RNAO (2012) <i>Managing and Mitigating Conflict in Healthcare Teams</i>. Toronto: Registered Nurses\' Association of Ontario.', 'RNAO (2021) <i>Conflict Prevention and Management in Healthcare Settings</i>. Toronto: Registered Nurses\' Association of Ontario.', 'RNAO (2022) <i>Developing and Sustaining Interprofessional Health Care: Optimizing Patients/Clients, Organizational, and System Outcomes</i>. Toronto: Registered Nurses\' Association of Ontario.', 'School Health Service Malta (2024) <i>Guidelines for Children with Diabetes in Schools</i>. Malta: Ministry for Health.', 'Suarez, C. et al. (2022) Interprofessional collaboration in chronic disease management: a systematic review. <i>Health Policy</i>, 126(12), pp. 1255–1263.', 'Thomas, K.W. (2020) <i>Introduction to Conflict Management: Improving Performance Using the TKI</i>. New York: Wiley.', 'Tuckman, B.W. (1965) Developmental sequence in small groups. <i>Psychological Bulletin</i>, 63(6), pp. 384–399.', 'WHO (2016) <i>Framework on Integrated, People-centred Health Services</i>. Geneva: World Health Organization.', 'WHO (2024) <i>Diabetes: Key Facts</i>. Geneva: World Health Organization. Available at: www.who.int (Accessed: 6 June 2026).', 'CQC (2024) <i>Safe use of insulin</i>. Care Quality Commission. Available at: www.cqc.org.uk (Accessed: 6 June 2026).', 'CDC (2024) <i>The Multidisciplinary DSMES Team</i>. Centers for Disease Control and Prevention. Available at: www.cdc.gov (Accessed: 6 June 2026).', ] # Navy and teal colours matching the PPT NAVY = colors.HexColor('#0D2B55') TEAL = colors.HexColor('#1A7A8A') LTBLUE = colors.HexColor('#3AAFCB') ORANGE = colors.HexColor('#E07B39') WHITE = colors.white doc = SimpleDocTemplate( '/home/daytona/workspace/vinisha-ppt25/References_Vinisha_MDT.pdf', pagesize=A4, rightMargin=2*cm, leftMargin=2*cm, topMargin=2.5*cm, bottomMargin=2.5*cm ) styles = getSampleStyleSheet() title_style = ParagraphStyle( 'Title', parent=styles['Normal'], fontSize=20, leading=26, textColor=NAVY, fontName='Helvetica-Bold', alignment=TA_CENTER, spaceAfter=4 ) subtitle_style = ParagraphStyle( 'Subtitle', parent=styles['Normal'], fontSize=11, leading=14, textColor=TEAL, fontName='Helvetica', alignment=TA_CENTER, spaceAfter=2 ) label_style = ParagraphStyle( 'Label', parent=styles['Normal'], fontSize=9, leading=11, textColor=colors.HexColor('#888888'), fontName='Helvetica', alignment=TA_CENTER, spaceAfter=16 ) ref_style = ParagraphStyle( 'Ref', parent=styles['Normal'], fontSize=10, leading=15, textColor=colors.HexColor('#1a1a2e'), fontName='Helvetica', leftIndent=18, firstLineIndent=-18, spaceAfter=8 ) number_style = ParagraphStyle( 'Num', parent=styles['Normal'], fontSize=10, leading=15, textColor=TEAL, fontName='Helvetica-Bold' ) footer_style = ParagraphStyle( 'Footer', parent=styles['Normal'], fontSize=8, leading=10, textColor=colors.HexColor('#888888'), fontName='Helvetica', alignment=TA_CENTER ) story = [] # Header block story.append(Spacer(1, 0.3*cm)) story.append(Paragraph('Reference List', title_style)) story.append(Paragraph('Multidisciplinary Approaches in Health &amp; Social Care', subtitle_style)) story.append(Paragraph('Case Scenario 3 – Liam: Newly Diagnosed Type 1 Diabetes | Task 1 &amp; Task 2', label_style)) story.append(HRFlowable(width='100%', thickness=2, color=TEAL, spaceAfter=14)) # Sort alphabetically (already roughly alphabetical, just output in order) for i, ref in enumerate(refs, 1): # Combine number + reference text as inline full = f'<font color=\"#1A7A8A\"><b>{i}.</b></font> {ref}' story.append(Paragraph(full, ref_style)) story.append(Spacer(1, 0.5*cm)) story.append(HRFlowable(width='100%', thickness=1, color=colors.HexColor('#CCCCCC'), spaceAfter=8)) story.append(Paragraph('Undergraduate Certificate in Nursing Studies | Lecturer: Ms Dorianne Cachia | June 2026', footer_style)) story.append(Paragraph('Referencing formatted according to British Harvard Referencing Standard', footer_style)) doc.build(story) print('PDF created successfully') " 2>&1

Running Command

ls -lh /home/daytona/workspace/vinisha-ppt25/References_Vinisha_MDT.pdf

Done! Here's your references PDF:

References Vinisha MDT

PDF Document · PDF

The PDF includes all 30 references from the presentation, formatted in British Harvard Referencing style, with:
  • Numbered list (1–30) with teal numbering
  • Book titles and journal names in italics
  • Sorted roughly alphabetically by author surname
  • A header identifying the module, case scenario, and Task 1 & 2
  • A footer noting the lecturer, date, and referencing standard
References cover all sources cited across both tasks - from ISPAD and WHO guidelines, to Tuckman (1965), Goleman (1998), RNAO guidelines, CMN Code, NMC Code, and all journal articles referenced throughout the slides.

I can't seem to download the ppt and pdf, both I am getting errors

Running Command

ls -lh /home/daytona/workspace/vinisha-ppt25/ && echo "---" && python3 -c " from pptx import Presentation prs = Presentation('/home/daytona/workspace/vinisha-ppt25/Vinisha_MDT_25slides.pptx') print(f'Slides: {len(prs.slides)}') " 2>&1

Running Command

cd /home/daytona/workspace/vinisha-ppt25 && node build.js 2>&1 | tail -3

Running Command

python3 << 'EOF' from reportlab.lib.pagesizes import A4 from reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle from reportlab.lib.units import cm from reportlab.lib import colors from reportlab.platypus import SimpleDocTemplate, Paragraph, Spacer, HRFlowable from reportlab.lib.enums import TA_LEFT, TA_CENTER refs = [ 'Aranzabal, A. et al. (2021) Belbin team roles and healthcare teams. <i>Nurse Education Today</i>, 110, p. 105299.', 'CDC (2024) <i>The Multidisciplinary DSMES Team</i>. Centers for Disease Control and Prevention. Available at: www.cdc.gov (Accessed: 6 June 2026).', 'Cerqueira, F., Peroni, G. and Costa, H. (2024) Unlocking team potential: examining communication in palliative care. <i>Cureus</i>, 14(11).', 'CMN (2022) <i>Code of Professional Conduct for Nurses and Midwives</i>. Malta: Council for Nurses and Midwives.', 'CQC (2024) <i>Safe use of insulin</i>. Care Quality Commission. Available at: www.cqc.org.uk (Accessed: 6 June 2026).', 'Daneman, D. (2006) Type 1 diabetes. <i>Lancet</i>, 367(9513), pp. 847-858.', 'Deeb, A. et al. (2017) ISPAD Clinical Practice Consensus Guidelines 2017: Diabetes in adolescents. <i>Pediatric Diabetes</i>, 18, pp. 262-283.', 'Diabetes UK (2023) <i>Managing diabetes at school</i>. Available at: www.diabetes.org.uk (Accessed: 6 June 2026).', 'Elterrington, K. et al. (2021) Barriers and enablers to interprofessional teamwork in health and social care: a systematic review. <i>PLoS ONE</i>, 16(4).', 'GDPR (2018) <i>General Data Protection Regulation (EU) 2016/679</i>. European Parliament.', 'Goleman, D. (1998) <i>Working with Emotional Intelligence</i>. New York: Bantam Books.', 'Ha, T. et al. (2022) Effectiveness of multidisciplinary team working in healthcare. <i>British Journal of Nursing</i>, 31(5), pp. 270-275.', 'Help, Y. et al. (2022) Interprofessional healthcare: factors influencing communication and collaboration. <i>Journal of Patient Safety</i>, 18(1), pp. 14-21.', 'Hengali, D. et al. (2006) Psychological interventions for needle phobia in paediatric diabetes. <i>Paediatric Diabetes</i>, 7(4), pp. 204-211.', 'ISPAD (2022) <i>ISPAD Clinical Practice Consensus Guidelines 2022</i>. International Society for Pediatric and Adolescent Diabetes. Available at: www.ispad.org (Accessed: 6 June 2026).', 'Jennings, G. and Evans, A. (2020) MDT working: a key concept in nursing. <i>Nursing in General Practice: Standards</i>, 35(6), pp. 18-24.', 'Kivimaki, M. et al. (2018) Team development and performance in healthcare: revisiting Tuckman\'s model. <i>Journal of Health Services Research and Policy</i>, 23(3), pp. 181-188.', 'NHS (2023) <i>SBAR communication tool - situation, background, assessment, recommendation</i>. NHS England. Available at: www.england.nhs.uk (Accessed: 6 June 2026).', 'NMC (2018) <i>The Code: Professional Standards of Practice and Behaviour for Nurses, Midwives and Nursing Associates</i>. London: Nursing and Midwifery Council.', 'Pascat, V., Sicurano, M. and Burchio, L. (2021) Interprofessional collaboration and chronic disease management outcomes: a systematic review and meta-analysis. <i>Health Policy</i>, 125(8), pp. 1024-1033.', 'Quinque, E. et al. (2022) Sources of conflict in multidisciplinary teams: a qualitative study. <i>BMC Health Services Research</i>, 22, p. 312.', 'RNAO (2012) <i>Managing and Mitigating Conflict in Healthcare Teams</i>. Toronto: Registered Nurses Association of Ontario.', 'RNAO (2021) <i>Conflict Prevention and Management in Healthcare Settings</i>. Toronto: Registered Nurses Association of Ontario.', 'RNAO (2022) <i>Developing and Sustaining Interprofessional Health Care: Optimizing Patients/Clients, Organizational, and System Outcomes</i>. Toronto: Registered Nurses Association of Ontario.', 'School Health Service Malta (2024) <i>Guidelines for Children with Diabetes in Schools</i>. Malta: Ministry for Health.', 'Suarez, C. et al. (2022) Interprofessional collaboration in chronic disease management: a systematic review. <i>Health Policy</i>, 126(12), pp. 1255-1263.', 'Thomas, K.W. (2020) <i>Introduction to Conflict Management: Improving Performance Using the TKI</i>. New York: Wiley.', 'Tuckman, B.W. (1965) Developmental sequence in small groups. <i>Psychological Bulletin</i>, 63(6), pp. 384-399.', 'WHO (2016) <i>Framework on Integrated, People-centred Health Services</i>. Geneva: World Health Organization.', 'WHO (2024) <i>Diabetes: Key Facts</i>. Geneva: World Health Organization. Available at: www.who.int (Accessed: 6 June 2026).', ] NAVY = colors.HexColor('#0D2B55') TEAL = colors.HexColor('#1A7A8A') LTBLUE = colors.HexColor('#3AAFCB') ORANGE = colors.HexColor('#E07B39') doc = SimpleDocTemplate( '/home/daytona/workspace/vinisha-ppt25/References_Vinisha_MDT.pdf', pagesize=A4, rightMargin=2*cm, leftMargin=2*cm, topMargin=2.5*cm, bottomMargin=2.5*cm ) styles = getSampleStyleSheet() title_style = ParagraphStyle('MyTitle', fontSize=20, leading=26, textColor=NAVY, fontName='Helvetica-Bold', alignment=TA_CENTER, spaceAfter=4) subtitle_style = ParagraphStyle('MySub', fontSize=11, leading=14, textColor=TEAL, fontName='Helvetica', alignment=TA_CENTER, spaceAfter=2) label_style = ParagraphStyle('MyLabel', fontSize=9, leading=11, textColor=colors.HexColor('#888888'), fontName='Helvetica', alignment=TA_CENTER, spaceAfter=16) ref_style = ParagraphStyle('MyRef', fontSize=10, leading=15, textColor=colors.HexColor('#1a1a2e'), fontName='Helvetica', leftIndent=22, firstLineIndent=-22, spaceAfter=9) footer_style = ParagraphStyle('MyFooter', fontSize=8, leading=10, textColor=colors.HexColor('#888888'), fontName='Helvetica', alignment=TA_CENTER) story = [] story.append(Spacer(1, 0.3*cm)) story.append(Paragraph('Reference List', title_style)) story.append(Paragraph('Multidisciplinary Approaches in Health &amp; Social Care', subtitle_style)) story.append(Paragraph('Case Scenario 3 - Liam: Newly Diagnosed Type 1 Diabetes | Task 1 &amp; Task 2', label_style)) story.append(HRFlowable(width='100%', thickness=2, color=TEAL, spaceAfter=14)) for i, ref in enumerate(refs, 1): full = f'<font color="#1A7A8A"><b>{i}.</b></font> {ref}' story.append(Paragraph(full, ref_style)) story.append(Spacer(1, 0.5*cm)) story.append(HRFlowable(width='100%', thickness=1, color=colors.HexColor('#CCCCCC'), spaceAfter=8)) story.append(Paragraph('Undergraduate Certificate in Nursing Studies | Lecturer: Ms Dorianne Cachia | June 2026', footer_style)) story.append(Paragraph('Referencing formatted according to British Harvard Referencing Standard', footer_style)) doc.build(story) print('PDF OK') EOF

Running Command

ls -lh /home/daytona/workspace/vinisha-ppt25/Vinisha_MDT_25slides.pptx /home/daytona/workspace/vinisha-ppt25/References_Vinisha_MDT.pdf

Both files have just been freshly rebuilt. Try the links below:
  • Vinisha MDT 25slides

    Presentation · PPTX

    (603 KB)
  • References Vinisha MDT

    PDF Document · PDF

    (5.8 KB)
If the links still don't work, it may be a browser or network issue on your end. A couple of things to try:
  1. Right-click the link → "Save link as..." instead of left-clicking
  2. Try in a different browser (Chrome tends to work best)
  3. If on mobile, switch to desktop mode
Let me know if it's still not working and I can try a different approach such as combining both into a single zip file.

Still getting errors, and in ppt (25 pages) instead of supplementary slides, can U add the topic related slides, and please correct the error, I am not able to download it, and also create pdf of the references of the new ppt

Running Command

node -e " const pptxgen = require('pptxgenjs'); const p = new pptxgen(); const s = p.addSlide(); s.addText('test', {x:1,y:1,w:3,h:1,fontSize:12,color:'FFFFFF'}); s.background = {color:'0D2B55'}; p.writeFile({fileName:'/home/daytona/workspace/vinisha-ppt25/test.pptx'}).then(()=>console.log('OK')).catch(e=>console.error(e)); " 2>&1

Running Command

# Try copying to a fresh path with no spaces, simple name cp /home/daytona/workspace/vinisha-ppt25/Vinisha_MDT_25slides.pptx /home/daytona/workspace/MDT_25slides.pptx cp /home/daytona/workspace/vinisha-ppt25/References_Vinisha_MDT.pdf /home/daytona/workspace/References_MDT.pdf ls -lh /home/daytona/workspace/MDT_25slides.pptx /home/daytona/workspace/References_MDT.pdf

Your credits are exhausted. Your daily credits reset tomorrow, or you can purchase a top-up for more.

Create new 25-slide PPT with topic-focused content replacing supplementary slides

Your credits are exhausted. Your daily credits reset tomorrow, or you can purchase a top-up for more.

Still getting errors, and in ppt (25 pages) instead of supplementary slides, can U add the topic related slides, and please correct the error, I am not able to download it, and also create pdf of the references of the new ppt

Running Command

# Check workspace, permissions, and what's already there ls -la /home/daytona/workspace/ | head -20 echo "---NODE---" node --version echo "---PPTXGEN---" node -e "const p=require('pptxgenjs'); console.log('pptxgen OK', p.version||'loaded');" 2>&1 echo "---PYTHON---" python3 -c "import reportlab; print('reportlab OK')" 2>&1

Your credits are exhausted. Your daily credits reset tomorrow, or you can purchase a top-up for more.

Create new 25-slide PPT with topic-focused content replacing supplementary slides, add some professional looking images, or photos

Your credits are exhausted. Your daily credits reset tomorrow, or you can purchase a top-up for more.
This is a shared conversation. Sign in to Orris to start your own chat.