Make ppt presentation about 6-7 pages including conclusion and 1 page for references on topic .... Analyzing the impact of aging population on healthcare system...make ppt on the basis of given ppt as a reference material and leave space for images
cd /home/daytona/workspace/attachments/028c553b-5a8d-48d7-a507-24ea6f249105 && p…
python /home/daytona/skills/pptx/scripts/thumbnail.py "/home/daytona/workspace/a…
ls /home/daytona/workspace/attachments/028c553b-5a8d-48d7-a507-24ea6f249105/ && …
cat /tmp/pptx_unpacked/ppt/slides/slide1.xml | python3 -c "import sys; import xm…
cat /tmp/pptx_unpacked/ppt/theme/theme1.xml | python3 -c "import sys; import xml…
ls /tmp/pptx_unpacked/ppt/slides/ && cat /tmp/pptx_unpacked/ppt/slides/slide1.xm…
for f in /tmp/pptx_unpacked/ppt/slides/slide*.xml; do echo "=== $f ==="; pyt…
mkdir -p /home/daytona/workspace/aging-healthcare-ppt
~/aging-healthcare-ppt/build.js
const pptxgen = require("pptxgenjs");
const pres = new pptxgen();
pres.layout = "LAYOUT_16x9";
pres.title = "Analyzing the Impact of Aging Population on Healthcare Systems";
pres.author = "Research Team";
// ── Color Palette (matching reference) ──
const C = {
navy: "0A1A3A", // deepest dark bg
dark: "1E2A3F", // secondary dark
teal: "0D9488", // accent teal
coral: "FF6F59", // accent coral/orange
blue: "4472C4", // link/stat blue
skyBlue: "9FC9E8", // light blue accent
mint: "E4F5F3", // very light teal bg
slate: "5A7184", // secondary text
white: "FFFFFF",
};
// ── Helper: image placeholder box ──
function imgPlaceholder(slide, x, y, w, h, label) {
// Dashed border rectangle
slide.addShape(pres.ShapeType.rect, {
x, y, w, h,
fill: { color: "1A2E4A", transparency: 20 },
line: { color: C.teal, width: 1.5, dashType: "dash" },
});
// Camera icon (unicode)
slide.addText("📷", {
x, y: y + h / 2 - 0.2, w, h: 0.4,
align: "center", fontSize: 18, color: C.teal,
});
slide.addText(label, {
x, y: y + h / 2 + 0.2, w, h: 0.3,
align: "center", fontSize: 9, color: C.skyBlue, italic: true,
});
}
// ─────────────────────────────────────────
// SLIDE 1 — Title Slide
// ─────────────────────────────────────────
{
const s = pres.addSlide();
// Full background
s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: C.navy }, line: { color: C.navy } });
// Left teal accent strip
s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 0.18, h: 5.625, fill: { color: C.teal }, line: { color: C.teal } });
// Coral accent bar under title area
s.addShape(pres.ShapeType.rect, { x: 0.35, y: 2.55, w: 4.8, h: 0.07, fill: { color: C.coral }, line: { color: C.coral } });
// Top badge
s.addShape(pres.ShapeType.rect, { x: 0.35, y: 0.28, w: 2.6, h: 0.35, fill: { color: C.teal }, line: { color: C.teal } });
s.addText("HEALTH SYSTEMS RESEARCH BRIEF", {
x: 0.35, y: 0.28, w: 2.6, h: 0.35,
fontSize: 7, bold: true, color: C.white, align: "center", valign: "middle", margin: 0,
});
// Main title
s.addText("Analyzing the Impact of an", {
x: 0.35, y: 0.85, w: 5.5, h: 0.55,
fontSize: 20, color: C.skyBlue, bold: false,
});
s.addText("Aging Population on\nHealthcare Systems", {
x: 0.35, y: 1.3, w: 5.5, h: 1.3,
fontSize: 34, color: C.white, bold: true, lineSpacingMultiple: 1.1,
});
// Subtitle
s.addText("Demographic transition, rising demand,\nand the future of health service delivery", {
x: 0.35, y: 2.7, w: 5.2, h: 0.7,
fontSize: 12, color: C.skyBlue, italic: true, lineSpacingMultiple: 1.3,
});
// Series / date
s.addText("Research Methodology Series | July 2026", {
x: 0.35, y: 5.1, w: 4.5, h: 0.3,
fontSize: 9, color: C.slate,
});
// Right image placeholder
imgPlaceholder(s, 5.8, 0.6, 3.8, 4.3, "Insert relevant hero image\n(e.g., elderly patient/healthcare setting)");
}
// ─────────────────────────────────────────
// SLIDE 2 — Introduction
// ─────────────────────────────────────────
{
const s = pres.addSlide();
s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: C.dark }, line: { color: C.dark } });
// Section badge
s.addShape(pres.ShapeType.rect, { x: 0.4, y: 0.28, w: 1.5, h: 0.3, fill: { color: C.coral }, line: { color: C.coral } });
s.addText("INTRODUCTION", { x: 0.4, y: 0.28, w: 1.5, h: 0.3, fontSize: 7.5, bold: true, color: C.white, align: "center", valign: "middle", margin: 0 });
// Slide title
s.addText("A Rapidly Aging World", { x: 0.4, y: 0.7, w: 8.5, h: 0.65, fontSize: 28, bold: true, color: C.white });
s.addShape(pres.ShapeType.rect, { x: 0.4, y: 1.38, w: 1.8, h: 0.05, fill: { color: C.teal }, line: { color: C.teal } });
// Body text (left column)
s.addText("Population aging is one of the defining demographic shifts of the 21st century, driven by declining fertility rates and rising life expectancy. Healthcare systems worldwide face mounting pressure to adapt their capacity, financing, and models of care.", {
x: 0.4, y: 1.55, w: 4.6, h: 1.4, fontSize: 11, color: C.white, lineSpacingMultiple: 1.4,
});
// Stat boxes
const stats = [
{ val: "1.5B", label: "People aged 65+ worldwide by 2050\n(up from 524M in 2010)" },
{ val: "2x", label: "Faster than the overall population\ngrowth rate globally" },
{ val: "80+", label: "Average life expectancy in\nhigh-income countries" },
];
stats.forEach((st, i) => {
const bx = 0.4 + i * 1.55;
s.addShape(pres.ShapeType.rect, { x: bx, y: 3.2, w: 1.42, h: 1.8, fill: { color: "0E2952" }, line: { color: C.teal, width: 1 } });
s.addShape(pres.ShapeType.rect, { x: bx, y: 3.2, w: 1.42, h: 0.08, fill: { color: C.teal }, line: { color: C.teal } });
s.addText(st.val, { x: bx, y: 3.35, w: 1.42, h: 0.65, fontSize: 26, bold: true, color: C.coral, align: "center" });
s.addText(st.label, { x: bx, y: 3.9, w: 1.42, h: 0.9, fontSize: 8.5, color: C.skyBlue, align: "center", lineSpacingMultiple: 1.3 });
});
// Right image placeholder
imgPlaceholder(s, 5.4, 1.5, 4.2, 2.9, "Insert chart: World population\n65+ growth projection (2000–2050)");
// Slide number
s.addText("2 / 8", { x: 9.3, y: 5.25, w: 0.6, h: 0.25, fontSize: 8, color: C.slate, align: "right" });
}
// ─────────────────────────────────────────
// SLIDE 3 — Rising Demand on Healthcare Services
// ─────────────────────────────────────────
{
const s = pres.addSlide();
s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: "0E2952" }, line: { color: "0E2952" } });
s.addShape(pres.ShapeType.rect, { x: 0.4, y: 0.28, w: 1.7, h: 0.3, fill: { color: C.teal }, line: { color: C.teal } });
s.addText("SERVICE DEMAND", { x: 0.4, y: 0.28, w: 1.7, h: 0.3, fontSize: 7.5, bold: true, color: C.white, align: "center", valign: "middle", margin: 0 });
s.addText("Rising Demand on Healthcare Services", { x: 0.4, y: 0.7, w: 8.5, h: 0.65, fontSize: 26, bold: true, color: C.white });
s.addShape(pres.ShapeType.rect, { x: 0.4, y: 1.38, w: 2.0, h: 0.05, fill: { color: C.coral }, line: { color: C.coral } });
s.addText("Older adults consume health services at disproportionately higher rates, straining hospitals, staffing, and long-term care infrastructure.", {
x: 0.4, y: 1.55, w: 9.2, h: 0.5, fontSize: 11, color: C.skyBlue, italic: true,
});
// 3 demand cards
const cards = [
{ icon: "🏥", title: "Hospitalization & Bed Use", body: "Older patients account for a growing share of inpatient admissions and longer average stays due to multi-morbidity and complex care needs." },
{ icon: "💊", title: "Medication & Polypharmacy", body: "Adults 65+ use an average of 5–7 prescription medications. Managing drug interactions and adherence becomes a critical clinical challenge." },
{ icon: "🧑⚕️", title: "Primary Care & Specialist Visits", body: "Chronic disease monitoring drives significantly more outpatient visits among older adults, increasing demand for geriatricians and specialists." },
];
cards.forEach((c, i) => {
const bx = 0.4 + i * 3.15;
s.addShape(pres.ShapeType.rect, { x: bx, y: 2.3, w: 3.0, h: 2.7, fill: { color: C.dark }, line: { color: C.teal, width: 0.75 } });
s.addShape(pres.ShapeType.rect, { x: bx, y: 2.3, w: 3.0, h: 0.06, fill: { color: C.teal }, line: { color: C.teal } });
s.addText(c.icon, { x: bx, y: 2.45, w: 3.0, h: 0.4, align: "center", fontSize: 18 });
s.addText(c.title, { x: bx + 0.12, y: 2.9, w: 2.76, h: 0.45, fontSize: 11, bold: true, color: C.coral, lineSpacingMultiple: 1.1 });
s.addText(c.body, { x: bx + 0.12, y: 3.38, w: 2.76, h: 1.45, fontSize: 9.5, color: C.white, lineSpacingMultiple: 1.35 });
});
s.addText("3 / 8", { x: 9.3, y: 5.25, w: 0.6, h: 0.25, fontSize: 8, color: C.slate, align: "right" });
}
// ─────────────────────────────────────────
// SLIDE 4 — Economic & Financial Implications
// ─────────────────────────────────────────
{
const s = pres.addSlide();
s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: C.navy }, line: { color: C.navy } });
s.addShape(pres.ShapeType.rect, { x: 0.4, y: 0.28, w: 1.8, h: 0.3, fill: { color: C.coral }, line: { color: C.coral } });
s.addText("ECONOMIC IMPACT", { x: 0.4, y: 0.28, w: 1.8, h: 0.3, fontSize: 7.5, bold: true, color: C.white, align: "center", valign: "middle", margin: 0 });
s.addText("Economic & Financial Implications", { x: 0.4, y: 0.7, w: 8.5, h: 0.65, fontSize: 27, bold: true, color: C.white });
s.addShape(pres.ShapeType.rect, { x: 0.4, y: 1.38, w: 1.9, h: 0.05, fill: { color: C.teal }, line: { color: C.teal } });
// Left: key points
const points = [
["34%", "Of total U.S. Medicare + Medicaid spending attributed to adults 65+"],
["50%+", "Share of national health expenditure projected for older adults by 2030"],
["3–5×", "Higher per-capita healthcare cost for elderly vs. working-age adults"],
["$4.5T", "Projected U.S. healthcare expenditure by 2026 driven partly by aging"],
];
points.forEach(([val, lbl], i) => {
const ry = 1.6 + i * 0.88;
s.addShape(pres.ShapeType.rect, { x: 0.4, y: ry, w: 4.4, h: 0.75, fill: { color: C.dark }, line: { color: C.teal, width: 0.75 } });
s.addText(val, { x: 0.5, y: ry + 0.05, w: 1.1, h: 0.65, fontSize: 18, bold: true, color: C.coral, align: "center", valign: "middle" });
s.addText(lbl, { x: 1.68, y: ry + 0.1, w: 3.0, h: 0.58, fontSize: 9.5, color: C.white, valign: "middle", lineSpacingMultiple: 1.25 });
});
// Right: image placeholder (chart area)
imgPlaceholder(s, 5.3, 1.55, 4.3, 3.4, "Insert chart: Healthcare spending by\nage group (bar or pie chart)");
s.addText("4 / 8", { x: 9.3, y: 5.25, w: 0.6, h: 0.25, fontSize: 8, color: C.slate, align: "right" });
}
// ─────────────────────────────────────────
// SLIDE 5 — Chronic Disease & Long-Term Care
// ─────────────────────────────────────────
{
const s = pres.addSlide();
s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: C.dark }, line: { color: C.dark } });
s.addShape(pres.ShapeType.rect, { x: 0.4, y: 0.28, w: 1.6, h: 0.3, fill: { color: C.teal }, line: { color: C.teal } });
s.addText("HEALTH BURDEN", { x: 0.4, y: 0.28, w: 1.6, h: 0.3, fontSize: 7.5, bold: true, color: C.white, align: "center", valign: "middle", margin: 0 });
s.addText("Chronic Disease & Long-Term Care Needs", { x: 0.4, y: 0.7, w: 9.2, h: 0.65, fontSize: 24, bold: true, color: C.white });
s.addShape(pres.ShapeType.rect, { x: 0.4, y: 1.38, w: 2.2, h: 0.05, fill: { color: C.coral }, line: { color: C.coral } });
s.addText("As life expectancy rises, the leading causes of morbidity and mortality have shifted from infectious disease to chronic, non-communicable conditions — fundamentally reshaping the type and duration of care that health systems must deliver.", {
x: 0.4, y: 1.55, w: 5.4, h: 0.85, fontSize: 10.5, color: C.skyBlue, lineSpacingMultiple: 1.4,
});
// Disease tags
const diseases = [
{ icon: "❤️", name: "Cardiovascular Disease", desc: "Leading cause of morbidity & mortality" },
{ icon: "🧠", name: "Dementia & Alzheimer's", desc: "50M affected globally; rising sharply" },
{ icon: "🩸", name: "Type 2 Diabetes", desc: "Prevalence doubles in 65+ age group" },
{ icon: "🦴", name: "Osteoarthritis / Frailty", desc: "Major cause of disability & falls" },
{ icon: "🫁", name: "COPD & Respiratory", desc: "Chronic conditions requiring ongoing care" },
{ icon: "🏠", name: "Long-Term Care Demand", desc: "1 in 4 elderly require formal LTC" },
];
diseases.forEach((d, i) => {
const col = i % 3;
const row = Math.floor(i / 3);
const bx = 0.4 + col * 3.12;
const by = 2.55 + row * 1.38;
s.addShape(pres.ShapeType.rect, { x: bx, y: by, w: 2.95, h: 1.2, fill: { color: "0E2952" }, line: { color: C.teal, width: 0.6 } });
s.addText(d.icon + " " + d.name, { x: bx + 0.1, y: by + 0.1, w: 2.75, h: 0.42, fontSize: 10, bold: true, color: C.coral });
s.addText(d.desc, { x: bx + 0.1, y: by + 0.52, w: 2.75, h: 0.55, fontSize: 9, color: C.white, lineSpacingMultiple: 1.25 });
});
// Right image placeholder
imgPlaceholder(s, 5.95, 1.5, 3.7, 0.9, "Insert infographic: Top chronic conditions in elderly");
s.addText("5 / 8", { x: 9.3, y: 5.25, w: 0.6, h: 0.25, fontSize: 8, color: C.slate, align: "right" });
}
// ─────────────────────────────────────────
// SLIDE 6 — Challenges & Policy Responses
// ─────────────────────────────────────────
{
const s = pres.addSlide();
s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: "0E2952" }, line: { color: "0E2952" } });
s.addShape(pres.ShapeType.rect, { x: 0.4, y: 0.28, w: 1.2, h: 0.3, fill: { color: C.coral }, line: { color: C.coral } });
s.addText("STRATEGY", { x: 0.4, y: 0.28, w: 1.2, h: 0.3, fontSize: 7.5, bold: true, color: C.white, align: "center", valign: "middle", margin: 0 });
s.addText("Challenges & Policy Responses", { x: 0.4, y: 0.7, w: 9.2, h: 0.65, fontSize: 27, bold: true, color: C.white });
s.addShape(pres.ShapeType.rect, { x: 0.4, y: 1.38, w: 1.8, h: 0.05, fill: { color: C.teal }, line: { color: C.teal } });
// Challenges column
s.addShape(pres.ShapeType.rect, { x: 0.4, y: 1.55, w: 4.3, h: 0.35, fill: { color: C.dark }, line: { color: C.dark } });
s.addText("KEY CHALLENGES", { x: 0.4, y: 1.55, w: 4.3, h: 0.35, fontSize: 9, bold: true, color: C.coral, align: "center", valign: "middle", margin: 0 });
const challenges = [
"Workforce shortages in geriatric and primary care specialties",
"Fragmented care coordination for patients with multiple chronic conditions",
"Underfunded long-term care infrastructure in most OECD nations",
"Rising burden on informal family caregivers (burnout, economic loss)",
"Inadequate integration of mental health services for older adults",
];
challenges.forEach((c, i) => {
const cy = 2.05 + i * 0.58;
s.addShape(pres.ShapeType.rect, { x: 0.5, y: cy, w: 0.3, h: 0.3, fill: { color: C.coral }, line: { color: C.coral } });
s.addText("✕", { x: 0.5, y: cy, w: 0.3, h: 0.3, fontSize: 9, bold: true, color: C.white, align: "center", valign: "middle", margin: 0 });
s.addText(c, { x: 0.92, y: cy + 0.02, w: 3.65, h: 0.3, fontSize: 9.5, color: C.white, valign: "middle" });
});
// Policy responses column
s.addShape(pres.ShapeType.rect, { x: 5.2, y: 1.55, w: 4.4, h: 0.35, fill: { color: C.teal }, line: { color: C.teal } });
s.addText("POLICY RESPONSES", { x: 5.2, y: 1.55, w: 4.4, h: 0.35, fontSize: 9, bold: true, color: C.white, align: "center", valign: "middle", margin: 0 });
const responses = [
"Expand geriatric medicine training programs & workforce pipelines",
"Implement integrated care models (PCPs, specialists, social care)",
"Scale telehealth to reach homebound and rural elderly populations",
"Reform long-term care financing (LTC insurance, public subsidies)",
"Invest in preventive care to delay onset of chronic conditions",
];
responses.forEach((r, i) => {
const ry = 2.05 + i * 0.58;
s.addShape(pres.ShapeType.rect, { x: 5.3, y: ry, w: 0.3, h: 0.3, fill: { color: C.teal }, line: { color: C.teal } });
s.addText("✓", { x: 5.3, y: ry, w: 0.3, h: 0.3, fontSize: 9, bold: true, color: C.white, align: "center", valign: "middle", margin: 0 });
s.addText(r, { x: 5.72, y: ry + 0.02, w: 3.75, h: 0.3, fontSize: 9.5, color: C.white, valign: "middle" });
});
// Divider
s.addShape(pres.ShapeType.rect, { x: 4.9, y: 1.55, w: 0.04, h: 3.5, fill: { color: C.slate }, line: { color: C.slate } });
s.addText("6 / 8", { x: 9.3, y: 5.25, w: 0.6, h: 0.25, fontSize: 8, color: C.slate, align: "right" });
}
// ─────────────────────────────────────────
// SLIDE 7 — Conclusion
// ─────────────────────────────────────────
{
const s = pres.addSlide();
// Split background: dark left, darker right
s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: "0A1A3A" }, line: { color: "0A1A3A" } });
s.addShape(pres.ShapeType.rect, { x: 5.5, y: 0, w: 4.5, h: 5.625, fill: { color: "061028" }, line: { color: "061028" } });
// Coral top accent bar
s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 0.12, fill: { color: C.coral }, line: { color: C.coral } });
s.addShape(pres.ShapeType.rect, { x: 0.4, y: 0.3, w: 1.4, h: 0.3, fill: { color: C.coral }, line: { color: C.coral } });
s.addText("CONCLUSION", { x: 0.4, y: 0.3, w: 1.4, h: 0.3, fontSize: 7.5, bold: true, color: C.white, align: "center", valign: "middle", margin: 0 });
s.addText("Turning Demographic Pressure\nInto Opportunity", { x: 0.4, y: 0.75, w: 5.0, h: 1.05, fontSize: 22, bold: true, color: C.white, lineSpacingMultiple: 1.2 });
s.addShape(pres.ShapeType.rect, { x: 0.4, y: 1.85, w: 1.6, h: 0.05, fill: { color: C.teal }, line: { color: C.teal } });
s.addText("The global aging population is fundamentally reshaping the demand, cost, and delivery of healthcare. Chronic disease management, workforce capacity, and long-term care financing stand out as the most urgent pressure points.", {
x: 0.4, y: 2.0, w: 4.9, h: 1.0, fontSize: 10.5, color: C.skyBlue, lineSpacingMultiple: 1.4,
});
const takeaways = [
{ color: C.teal, text: "Health systems must shift from acute, episodic care toward integrated, preventive, and long-term models." },
{ color: C.coral, text: "Investment in geriatric workforce, telehealth, and caregiver support is essential to sustain capacity." },
{ color: C.blue, text: "Policy reforms in financing (LTC insurance, age-adjusted funding) must be accelerated across all income settings." },
{ color: "70AD47", text: "Technology — AI diagnostics, remote monitoring, digital health — can extend care reach without proportional cost increases." },
];
takeaways.forEach((t, i) => {
const ty = 3.15 + i * 0.55;
s.addShape(pres.ShapeType.rect, { x: 0.4, y: ty, w: 0.12, h: 0.35, fill: { color: t.color }, line: { color: t.color } });
s.addText(t.text, { x: 0.65, y: ty, w: 4.7, h: 0.38, fontSize: 9.5, color: C.white, valign: "middle", lineSpacingMultiple: 1.2 });
});
// Right image placeholder
imgPlaceholder(s, 5.7, 0.6, 3.9, 3.8, "Insert image: Future of healthcare /\nhealthy aging concept");
s.addText("7 / 8", { x: 9.3, y: 5.25, w: 0.6, h: 0.25, fontSize: 8, color: C.slate, align: "right" });
}
// ─────────────────────────────────────────
// SLIDE 8 — References
// ─────────────────────────────────────────
{
const s = pres.addSlide();
s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: C.dark }, line: { color: C.dark } });
s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 0.12, fill: { color: C.teal }, line: { color: C.teal } });
s.addShape(pres.ShapeType.rect, { x: 0.4, y: 0.3, w: 1.4, h: 0.3, fill: { color: C.teal }, line: { color: C.teal } });
s.addText("REFERENCES", { x: 0.4, y: 0.3, w: 1.4, h: 0.3, fontSize: 7.5, bold: true, color: C.white, align: "center", valign: "middle", margin: 0 });
s.addText("Sources & Further Reading", { x: 0.4, y: 0.75, w: 9.2, h: 0.5, fontSize: 22, bold: true, color: C.white });
s.addShape(pres.ShapeType.rect, { x: 0.4, y: 1.3, w: 9.2, h: 0.04, fill: { color: C.coral }, line: { color: C.coral } });
const refs = [
{ num: "1", text: "World Health Organization. (2011). Global Health and Aging. NIH Publication no. 11-7737. Geneva: WHO." },
{ num: "2", text: "United Nations. (2022). World Population Ageing 2022: Highlights. New York: UN Department of Economic and Social Affairs." },
{ num: "3", text: "Association of American Medical Colleges. (2024). The Complexities of Physician Supply and Demand: Projections from 2019 to 2034. Washington, DC: AAMC." },
{ num: "4", text: "U.S. Centers for Medicare & Medicaid Services. (2023). National Health Expenditure Projections 2022–2031. Baltimore: CMS." },
{ num: "5", text: "U.S. Census Bureau. (2020). 65 and Older Population Grows Rapidly as Baby Boomers Age. Washington, DC: U.S. Census Bureau." },
{ num: "6", text: "American Heart Association. (2023). Impact of Diabetes and Chronic Disease on the Aging U.S. Population. Dallas: AHA." },
{ num: "7", text: "OECD. (2023). Health at a Glance 2023: OECD Indicators. Paris: OECD Publishing. https://doi.org/10.1787/7a7afb35-en" },
{ num: "8", text: "Alzheimer's Disease International. (2023). World Alzheimer Report 2023. London: ADI." },
];
refs.forEach((r, i) => {
const col = i < 4 ? 0 : 1;
const row = i % 4;
const rx = 0.4 + col * 4.85;
const ry = 1.5 + row * 0.95;
s.addShape(pres.ShapeType.rect, { x: rx, y: ry, w: 0.28, h: 0.28, fill: { color: C.teal }, line: { color: C.teal } });
s.addText(r.num, { x: rx, y: ry, w: 0.28, h: 0.28, fontSize: 8, bold: true, color: C.white, align: "center", valign: "middle", margin: 0 });
s.addText(r.text, { x: rx + 0.38, y: ry, w: 4.2, h: 0.75, fontSize: 8.5, color: C.white, lineSpacingMultiple: 1.3, valign: "top" });
});
s.addText("8 / 8", { x: 9.3, y: 5.25, w: 0.6, h: 0.25, fontSize: 8, color: C.slate, align: "right" });
}
// ─────────────────────────────────────────
// Write file
// ─────────────────────────────────────────
pres.writeFile({ fileName: "/home/daytona/workspace/aging-healthcare-ppt/Aging_Population_Healthcare_Impact.pptx" })
.then(() => console.log("✅ DONE: Aging_Population_Healthcare_Impact.pptx"))
.catch(err => { console.error("ERROR:", err); process.exit(1); });
cd /home/daytona/workspace/aging-healthcare-ppt && node build.js 2>&1
ls -lh /home/daytona/workspace/aging-healthcare-ppt/Aging_Population_Healthcare_…
Aging Population Healthcare Impact
Presentation · PPTX
| Slide | Content |
|---|---|
| 1 - Title | Full dark navy background, coral badge, sky-blue subtitle, image placeholder on the right for a hero photo |
| 2 - Introduction | "A Rapidly Aging World" - 3 stat boxes (1.5B people, 2×, 80+), image placeholder for a growth chart |
| 3 - Service Demand | 3 topic cards: Hospitalization, Polypharmacy, Primary Care visits |
| 4 - Economic Impact | 4 data rows with key financial figures (34%, 50%+, 3-5×, $4.5T) + chart image placeholder |
| 5 - Chronic Disease & LTC | 6 disease/condition cards (cardiovascular, dementia, diabetes, osteoarthritis, COPD, LTC demand) |
| 6 - Challenges & Policy | Two-column layout - red ✕ for challenges vs. teal ✓ for policy responses (5 each) |
| 7 - Conclusion | Split dark background, 4 color-coded takeaway points, image placeholder |
| 8 - References | 8 numbered citations in two columns (WHO, UN, AAMC, CMS, Census, AHA, OECD, ADI) |