I dont know anything about periodontal disease . My professor asked me to give presentation about periodontal disease. Please help me to understand periodontal disease in easy language along with figures from the book i uplod
python3 -c " import pdfplumber pdf_path = '/home/daytona/workspace/attachments/fd04c120-81e6-4675-81ea-74cd81150a77/BURKET ORAL MEDICINE.pdf' with pdfplumber.open(pdf_path) as pdf: print(f'Total pages: {len(pdf.pages)}') # Search for periodontal in first 30 pages to find the chapter for i, page in enumerate(pdf.pages[:50]): text = page.extract_text() or '' if 'periodontal' in text.lower() or 'Periodontal' in text: print(f'Page {i+1}: Found periodontal content') print(text[:300]) print('---') "
python3 -c " import pdfplumber pdf_path = '/home/daytona/workspace/attachments/fd04c120-81e6-4675-81ea-74cd81150a77/BURKET ORAL MEDICINE.pdf' with pdfplumber.open(pdf_path) as pdf: # Look for table of contents or chapter on periodontal for i, page in enumerate(pdf.pages[:15]): text = page.extract_text() or '' print(f'=== Page {i+1} ===') print(text[:500]) print() "
python3 -c " import pdfplumber pdf_path = '/home/daytona/workspace/attachments/fd04c120-81e6-4675-81ea-74cd81150a77/BURKET ORAL MEDICINE.pdf' with pdfplumber.open(pdf_path) as pdf: # Show full TOC pages for i in [6, 7]: text = pdf.pages[i].extract_text() or '' print(f'=== Page {i+1} ===') print(text) print() "
python3 -c " import pdfplumber pdf_path = '/home/daytona/workspace/attachments/fd04c120-81e6-4675-81ea-74cd81150a77/BURKET ORAL MEDICINE.pdf' with pdfplumber.open(pdf_path) as pdf: # Show full TOC on page 6 text = pdf.pages[5].extract_text() or '' print(f'=== Page 6 ===') print(text) "
python3 -c " import pdfplumber pdf_path = '/home/daytona/workspace/attachments/fd04c120-81e6-4675-81ea-74cd81150a77/BURKET ORAL MEDICINE.pdf' with pdfplumber.open(pdf_path) as pdf: total = len(pdf.pages) print(f'Total pages: {total}') # Find pages with 'periodontal' in them periodontal_pages = [] for i, page in enumerate(pdf.pages): text = page.extract_text() or '' if 'periodontal' in text.lower(): periodontal_pages.append(i+1) print('Pages with periodontal content:', periodontal_pages[:40]) "
python3 -c " import pdfplumber pdf_path = '/home/daytona/workspace/attachments/fd04c120-81e6-4675-81ea-74cd81150a77/BURKET ORAL MEDICINE.pdf' with pdfplumber.open(pdf_path) as pdf: # Search in chunks to avoid memory issues periodontal_pages = [] for i in range(0, 200): try: text = pdf.pages[i].extract_text() or '' if 'periodontal' in text.lower(): periodontal_pages.append(i+1) except: pass print('Pages 1-200 with periodontal:', periodontal_pages) " 2>&1 | head -20
python3 << 'EOF' import pdfplumber pdf_path = '/home/daytona/workspace/attachments/fd04c120-81e6-4675-81ea-74cd81150a77/BURKET ORAL MEDICINE.pdf' with pdfplumber.open(pdf_path) as pdf: periodontal_pages = [] for i in range(0, 100): try: text = pdf.pages[i].extract_text() or '' if 'periodontal' in text.lower(): periodontal_pages.append(i+1) except: pass print('Pages 1-100 with periodontal:', periodontal_pages) EOF
python3 << 'EOF' import pdfplumber pdf_path = '/home/daytona/workspace/attachments/fd04c120-81e6-4675-81ea-74cd81150a77/BURKET ORAL MEDICINE.pdf' with pdfplumber.open(pdf_path) as pdf: periodontal_pages = [] for i in range(100, 300): try: text = pdf.pages[i].extract_text() or '' if 'periodontal' in text.lower(): periodontal_pages.append(i+1) except: pass print('Pages 101-300 with periodontal:', periodontal_pages) EOF
python3 << 'EOF' import pdfplumber pdf_path = '/home/daytona/workspace/attachments/fd04c120-81e6-4675-81ea-74cd81150a77/BURKET ORAL MEDICINE.pdf' with pdfplumber.open(pdf_path) as pdf: # Read pages 66 and 68 which had periodontal content for pg in [66, 68, 65, 67, 69, 70]: text = pdf.pages[pg-1].extract_text() or '' print(f'=== PAGE {pg} ===') print(text[:1500]) print() EOF
periodontal disease classification stages grades 2017 simple explanation
| Structure | What it is (simple) |
|---|---|
| Gingiva (gum) | The pink soft tissue covering the bone around teeth |
| Periodontal Ligament | Tiny fibres connecting the tooth root to the bone (like a shock absorber) |
| Cementum | A thin hard layer covering the tooth root |
| Alveolar Bone | The jaw bone that holds the tooth in its socket |
"Periodontal diseases are a group of oral infections that affect the periodontium - the hard and soft tissues that support and maintain teeth in the jaws. It is the most common cause of tooth loss worldwide."
- Goldman-Cecil Medicine

| Stage | Description |
|---|---|
| Stage I | Mild - early bone loss, shallow pockets (1-2mm CAL) |
| Stage II | Moderate - more bone loss, deeper pockets (3-4mm CAL) |
| Stage III | Severe - significant bone loss, possible tooth loss risk, deep pockets |
| Stage IV | Very severe - tooth loss has occurred, chewing function compromised |
| Grade | Meaning |
|---|---|
| Grade A | Slow progression, no risk factors |
| Grade B | Moderate progression, some risk factors (e.g., smoker) |
| Grade C | Rapid progression, major risk factors (e.g., poorly controlled diabetes) |
| Risk Factor | Why it matters |
|---|---|
| Poor oral hygiene | Primary cause - allows plaque accumulation |
| Smoking/tobacco | Reduces blood flow to gums, masks bleeding, makes treatment less effective |
| Diabetes mellitus | Impairs immune response; poor blood sugar control worsens periodontitis AND periodontitis worsens diabetes - a two-way relationship |
| Genetics | Some people are genetically more susceptible |
| Age | Prevalence increases with age |
| Stress | Reduces immune defences |
| HIV/Immunosuppression | Allows aggressive infection |
| Medications | Some drugs (e.g., phenytoin, nifedipine, cyclosporine) cause gingival overgrowth |
| Term | Meaning |
|---|---|
| Gingiva | Gum tissue |
| Gingivitis | Inflammation of gum only (reversible) |
| Periodontitis | Inflammation destroying bone + ligament (NOT reversible) |
| Plaque | Sticky bacterial film on teeth |
| Calculus/Tartar | Hardened plaque |
| Periodontal pocket | Gap between gum and tooth formed as attachment is lost |
| CAL | Clinical Attachment Level - amount of support lost |
| BOP | Bleeding on Probing - sign of active inflammation |
| Scaling & Root Planing | Main non-surgical treatment |
Create a PowerPoint presentation on periodontal disease with this content
mkdir -p /home/daytona/workspace/periodontal-ppt && ls /home/daytona/workspace/periodontal-ppt/
node /home/daytona/skills/shared/scripts/fetch_images.js "https://cdn.orris.care/cdss_images/33356f5f496fb283cc24558359756a3b881076f3538147250b5e8f6bcc49d971.png" 2>&1 | head -5
~/periodontal-ppt
~/periodontal-ppt/create_pptx.js
"use strict";
const pptxgen = require("pptxgenjs");
const { execSync } = require("child_process");
// βββ Fetch clinical image as base64 βββββββββββββββββββββββββββββββββββββββββββ
const IMAGE_URL = "https://cdn.orris.care/cdss_images/33356f5f496fb283cc24558359756a3b881076f3538147250b5e8f6bcc49d971.png";
let clinicalImgData = null;
try {
const result = JSON.parse(
execSync(`node /home/daytona/skills/shared/scripts/fetch_images.js "${IMAGE_URL}"`, { timeout: 30000 }).toString()
);
if (result[0] && !result[0].error) {
clinicalImgData = result[0].base64;
}
} catch (e) {
console.warn("Could not fetch clinical image:", e.message);
}
// βββ Color palette ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
const C = {
navy: "1B2A4A",
coral: "E8453C",
white: "FFFFFF",
lightBg: "F0F4F8",
midBlue: "2E4A7A",
lightText: "D0D8E8",
gray: "6B7C93",
darkGray: "3D3D3D",
paleRed: "FDECEA",
teal: "1A7A8A",
gold: "E8A83C",
};
// βββ Shared helpers βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
function darkSlide(pres, opts = {}) {
const s = pres.addSlide();
s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: C.navy } });
return s;
}
function lightSlide(pres) {
const s = pres.addSlide();
s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: C.lightBg } });
return s;
}
function addHeader(s, pres, title, subtitle = null) {
// Navy header bar
s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 0.85, fill: { color: C.navy } });
// Coral accent line
s.addShape(pres.ShapeType.rect, { x: 0, y: 0.85, w: 10, h: 0.06, fill: { color: C.coral } });
s.addText(title, {
x: 0.35, y: 0, w: 9.3, h: 0.85, fontSize: 22, bold: true,
color: C.white, valign: "middle", margin: 0,
});
if (subtitle) {
s.addText(subtitle, {
x: 0.35, y: 0.85, w: 9.3, h: 0.38, fontSize: 11,
color: C.coral, valign: "middle", margin: 0, italic: true,
});
}
}
function addFooter(s, pres, text = "Periodontal Disease | 2024") {
s.addShape(pres.ShapeType.rect, { x: 0, y: 5.42, w: 10, h: 0.205, fill: { color: C.navy } });
s.addText(text, {
x: 0.3, y: 5.42, w: 9.4, h: 0.205, fontSize: 8,
color: C.lightText, valign: "middle", margin: 0,
});
}
function bulletList(s, items, opts = {}) {
const {
x = 0.4, y = 1.35, w = 9.2, h = 3.9,
fontSize = 14, color = C.darkGray, bold = false,
indent = 0.25,
} = opts;
const textArr = items.map((item, i) => ({
text: typeof item === "string" ? item : item.text,
options: {
bullet: { indent: indent * 914400 / 96 }, // EMUs
color: typeof item === "object" && item.color ? item.color : color,
bold: typeof item === "object" && item.bold ? true : bold,
fontSize: typeof item === "object" && item.fontSize ? item.fontSize : fontSize,
breakLine: i < items.length - 1,
},
}));
s.addText(textArr, { x, y, w, h, valign: "top", margin: [4, 6, 4, 6] });
}
// βββ PRESENTATION βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
const pres = new pptxgen();
pres.layout = "LAYOUT_16x9";
pres.author = "Orris Medical";
pres.title = "Periodontal Disease";
pres.subject = "Periodontal Disease - Pathogenesis, Classification, Diagnosis and Management";
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
// SLIDE 1 β Title
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
{
const s = darkSlide(pres);
// Large diagonal accent shape top-right
s.addShape(pres.ShapeType.rect, { x: 7.2, y: 0, w: 2.8, h: 5.625, fill: { color: C.midBlue }, line: { color: C.midBlue } });
s.addShape(pres.ShapeType.rect, { x: 9.4, y: 0, w: 0.6, h: 5.625, fill: { color: C.coral }, line: { color: C.coral } });
// Title text
s.addText("PERIODONTAL\nDISEASE", {
x: 0.5, y: 1.1, w: 6.5, h: 2.2,
fontSize: 48, bold: true, color: C.white,
align: "left", valign: "top",
charSpacing: 3,
});
// Subtitle
s.addText("Pathogenesis Β· Classification Β· Diagnosis Β· Management", {
x: 0.5, y: 3.4, w: 6.5, h: 0.6,
fontSize: 14, color: C.lightText, align: "left", italic: true,
});
// Coral divider
s.addShape(pres.ShapeType.rect, { x: 0.5, y: 3.25, w: 3.5, h: 0.06, fill: { color: C.coral } });
// Bottom tag
s.addText("A Comprehensive Clinical Overview", {
x: 0.5, y: 4.8, w: 6.5, h: 0.4,
fontSize: 11, color: C.lightText, align: "left",
});
}
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
// SLIDE 2 β What is the Periodontium?
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
{
const s = lightSlide(pres);
addHeader(s, pres, "What is the Periodontium?");
addFooter(s, pres);
// 4 component boxes
const boxes = [
{ label: "Gingiva", desc: "Soft tissue lining surrounding\nand protecting teeth and bone", x: 0.35, y: 1.05 },
{ label: "Periodontal\nLigament (PDL)", desc: "Fibrous connective tissue anchoring\ntooth root to alveolar bone", x: 2.85, y: 1.05 },
{ label: "Cementum", desc: "Calcified tissue covering\nthe root of the tooth", x: 5.35, y: 1.05 },
{ label: "Alveolar Bone", desc: "The jaw bone socket that\nholds teeth in position", x: 7.85, y: 1.05 },
];
boxes.forEach((b, i) => {
const accent = i === 0 ? C.coral : i === 1 ? C.teal : i === 2 ? C.gold : C.midBlue;
s.addShape(pres.ShapeType.rect, { x: b.x, y: b.y, w: 2.2, h: 2.8, fill: { color: accent }, line: { color: accent } });
s.addText(b.label, {
x: b.x, y: b.y + 0.15, w: 2.2, h: 0.8,
fontSize: 13, bold: true, color: C.white, align: "center", valign: "middle",
});
s.addShape(pres.ShapeType.rect, { x: b.x + 0.08, y: b.y + 0.95, w: 2.04, h: 1.7, fill: { color: C.white }, line: { color: C.white } });
s.addText(b.desc, {
x: b.x + 0.08, y: b.y + 0.95, w: 2.04, h: 1.7,
fontSize: 11, color: C.darkGray, align: "center", valign: "middle",
});
});
s.addText("The periodontium is the supporting structure of the tooth β disease affecting any component can lead to tooth loss.", {
x: 0.35, y: 4.05, w: 9.3, h: 0.7,
fontSize: 12, color: C.gray, italic: true, align: "center", valign: "middle",
});
}
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
// SLIDE 3 β Definition & Epidemiology
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
{
const s = lightSlide(pres);
addHeader(s, pres, "Definition & Epidemiology");
addFooter(s, pres);
// Definition box (left)
s.addShape(pres.ShapeType.rect, { x: 0.35, y: 1.05, w: 5.6, h: 3.3, fill: { color: C.navy }, line: { color: C.navy } });
s.addText("DEFINITION", {
x: 0.35, y: 1.1, w: 5.6, h: 0.4,
fontSize: 11, bold: true, color: C.coral, align: "center", charSpacing: 2,
});
s.addText(
"Periodontal disease refers to infections and inflammatory conditions affecting the supporting structures of the teeth β the gingiva, periodontal ligament, cementum, and alveolar bone.\n\nIt encompasses a spectrum from reversible gingivitis to irreversible periodontitis with bone and attachment loss.",
{
x: 0.5, y: 1.55, w: 5.3, h: 2.6,
fontSize: 12.5, color: C.white, valign: "top",
}
);
// Stats (right column)
const stats = [
{ val: "#1", desc: "Cause of tooth loss\nworldwide" },
{ val: "47%", desc: "US adults >30 yrs\nwith periodontitis" },
{ val: "70%", desc: "Adults >65 yrs\naffected" },
];
stats.forEach((st, i) => {
const yPos = 1.05 + i * 1.12;
s.addShape(pres.ShapeType.rect, { x: 6.2, y: yPos, w: 3.45, h: 0.95, fill: { color: C.coral }, line: { color: C.coral } });
s.addText(st.val, {
x: 6.2, y: yPos, w: 1.3, h: 0.95,
fontSize: 26, bold: true, color: C.white, align: "center", valign: "middle",
});
s.addShape(pres.ShapeType.rect, { x: 7.5, y: yPos, w: 2.15, h: 0.95, fill: { color: C.midBlue }, line: { color: C.midBlue } });
s.addText(st.desc, {
x: 7.5, y: yPos, w: 2.15, h: 0.95,
fontSize: 11, color: C.white, align: "center", valign: "middle",
});
});
s.addText("Periodontal disease is a major public health concern affecting billions globally.", {
x: 6.2, y: 4.45, w: 3.45, h: 0.55,
fontSize: 10, color: C.gray, align: "center", italic: true,
});
}
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
// SLIDE 4 β Pathogenesis
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
{
const s = lightSlide(pres);
addHeader(s, pres, "Pathogenesis", "The cascade from plaque to bone destruction");
addFooter(s, pres);
const steps = [
{ n: "1", label: "Plaque\nAccumulation", desc: "Bacterial biofilm forms\non tooth surfaces", color: C.teal },
{ n: "2", label: "Calculus\nFormation", desc: "Mineralized plaque (tartar)\nprovides rough surface", color: C.midBlue },
{ n: "3", label: "Gingivitis", desc: "Gingival inflammation;\nreversible at this stage", color: C.gold },
{ n: "4", label: "Pocket\nFormation", desc: "Junctional epithelium\nmigrates apically", color: "B05A2F" },
{ n: "5", label: "Bone & Attachment\nLoss", desc: "Irreversible destruction\nof periodontium", color: C.coral },
];
const boxW = 1.72;
const startX = 0.35;
const yTop = 1.15;
steps.forEach((st, i) => {
const x = startX + i * (boxW + 0.15);
// Number circle
s.addShape(pres.ShapeType.ellipse, { x: x + 0.56, y: yTop, w: 0.6, h: 0.6, fill: { color: st.color }, line: { color: st.color } });
s.addText(st.n, { x: x + 0.56, y: yTop, w: 0.6, h: 0.6, fontSize: 14, bold: true, color: C.white, align: "center", valign: "middle" });
// Arrow (except last)
if (i < steps.length - 1) {
s.addShape(pres.ShapeType.rect, { x: x + boxW + 0.02, y: yTop + 0.22, w: 0.13, h: 0.16, fill: { color: C.gray }, line: { color: C.gray } });
}
// Content box
s.addShape(pres.ShapeType.rect, { x, y: yTop + 0.7, w: boxW, h: 2.8, fill: { color: st.color }, line: { color: st.color } });
s.addText(st.label, {
x, y: yTop + 0.75, w: boxW, h: 0.75,
fontSize: 12, bold: true, color: C.white, align: "center", valign: "middle",
});
s.addShape(pres.ShapeType.rect, { x: x + 0.07, y: yTop + 1.5, w: boxW - 0.14, h: 1.85, fill: { color: C.white }, line: { color: C.white } });
s.addText(st.desc, {
x: x + 0.07, y: yTop + 1.5, w: boxW - 0.14, h: 1.85,
fontSize: 11, color: C.darkGray, align: "center", valign: "middle",
});
});
s.addText("Host immune response + dysbiotic microbiome β tissue-destructive inflammatory cascade", {
x: 0.35, y: 4.75, w: 9.3, h: 0.38,
fontSize: 10.5, color: C.coral, align: "center", italic: true,
});
}
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
// SLIDE 5 β Gingivitis vs Periodontitis (Comparison)
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
{
const s = lightSlide(pres);
addHeader(s, pres, "Gingivitis vs Periodontitis");
addFooter(s, pres);
// Column headers
s.addShape(pres.ShapeType.rect, { x: 0.35, y: 1.08, w: 4.5, h: 0.52, fill: { color: C.teal }, line: { color: C.teal } });
s.addText("GINGIVITIS", { x: 0.35, y: 1.08, w: 4.5, h: 0.52, fontSize: 14, bold: true, color: C.white, align: "center", valign: "middle", charSpacing: 2 });
s.addShape(pres.ShapeType.rect, { x: 5.15, y: 1.08, w: 4.5, h: 0.52, fill: { color: C.coral }, line: { color: C.coral } });
s.addText("PERIODONTITIS", { x: 5.15, y: 1.08, w: 4.5, h: 0.52, fontSize: 14, bold: true, color: C.white, align: "center", valign: "middle", charSpacing: 2 });
// vs circle
s.addShape(pres.ShapeType.ellipse, { x: 4.55, y: 1.05, w: 0.6, h: 0.58, fill: { color: C.navy }, line: { color: C.navy } });
s.addText("vs", { x: 4.55, y: 1.05, w: 0.6, h: 0.58, fontSize: 11, bold: true, color: C.white, align: "center", valign: "middle" });
const rows = [
["Inflammation only", "Inflammation + destruction"],
["Gingival tissues affected", "Bone & PDL also destroyed"],
["No attachment loss", "Clinical attachment loss (CAL)"],
["No bone loss", "Alveolar bone resorption"],
["Reversible", "Irreversible (manageable only)"],
["Pocket depth β€ 3 mm", "Pocket depth > 4 mm"],
["Treated by OHI + scaling", "Requires SRP / surgery"],
];
rows.forEach((row, i) => {
const yRow = 1.7 + i * 0.46;
const bg = i % 2 === 0 ? "EEF3F8" : C.white;
s.addShape(pres.ShapeType.rect, { x: 0.35, y: yRow, w: 4.5, h: 0.44, fill: { color: bg }, line: { color: "D0D8E8", pt: 0.5 } });
s.addText(row[0], { x: 0.35, y: yRow, w: 4.5, h: 0.44, fontSize: 12, color: C.darkGray, align: "center", valign: "middle" });
s.addShape(pres.ShapeType.rect, { x: 5.15, y: yRow, w: 4.5, h: 0.44, fill: { color: bg }, line: { color: "D0D8E8", pt: 0.5 } });
s.addText(row[1], { x: 5.15, y: yRow, w: 4.5, h: 0.44, fontSize: 12, color: C.darkGray, align: "center", valign: "middle" });
// Divider
s.addShape(pres.ShapeType.rect, { x: 4.85, y: yRow + 0.05, w: 0.06, h: 0.34, fill: { color: C.gray }, line: { color: C.gray } });
});
}
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
// SLIDE 6 β Clinical Photo
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
{
const s = darkSlide(pres);
// Dark panel left
s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 4.2, h: 5.625, fill: { color: C.midBlue }, line: { color: C.midBlue } });
s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 0.18, h: 5.625, fill: { color: C.coral }, line: { color: C.coral } });
s.addText("Clinical\nPresentation", {
x: 0.3, y: 0.5, w: 3.8, h: 1.4,
fontSize: 26, bold: true, color: C.white, align: "left",
});
s.addShape(pres.ShapeType.rect, { x: 0.3, y: 1.95, w: 2.5, h: 0.06, fill: { color: C.coral } });
const features = [
"Gingival erythema & edema",
"Spontaneous bleeding on probing",
"Loss of stippled gingival texture",
"Periodontal pocket formation",
"Recession & attachment loss",
"Furcation involvement",
"Tooth mobility / migration",
];
s.addText(
features.map((f, i) => ({ text: f, options: { bullet: true, breakLine: i < features.length - 1, fontSize: 12, color: C.lightText } })),
{ x: 0.3, y: 2.1, w: 3.8, h: 3.1, valign: "top" }
);
if (clinicalImgData) {
s.addImage({ data: clinicalImgData, x: 4.3, y: 0.25, w: 5.4, h: 4.9 });
s.addText("Clinical image: Moderate-to-severe periodontitis", {
x: 4.3, y: 5.2, w: 5.4, h: 0.3, fontSize: 9, color: "888888", align: "center",
});
} else {
s.addShape(pres.ShapeType.rect, { x: 4.3, y: 0.25, w: 5.4, h: 4.9, fill: { color: "2A3D5E" }, line: { color: C.gray } });
s.addText("[Clinical image: Moderate-to-severe periodontitis]", {
x: 4.3, y: 0.25, w: 5.4, h: 4.9, fontSize: 13, color: C.gray, align: "center", valign: "middle", italic: true,
});
}
}
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
// SLIDE 7 β 2017 AAP-EFP Classification Overview
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
{
const s = lightSlide(pres);
addHeader(s, pres, "2017 AAP-EFP Classification", "World Workshop on the Classification of Periodontal and Peri-Implant Diseases");
addFooter(s, pres);
const cats = [
{ title: "I. Periodontal Health\n& Gingival Conditions", items: ["Gingival health (intact/reduced periodontium)", "Non-plaque-induced gingival conditions", "Plaque-induced gingivitis"], color: C.teal, x: 0.3 },
{ title: "II. Periodontitis", items: ["Necrotizing periodontal diseases", "Periodontitis (Stages I-IV, Grades A-C)", "Periodontitis as manifestation of systemic disease"], color: C.coral, x: 3.6 },
{ title: "III. Other Periodontal\nConditions", items: ["Periodontic-endodontic lesions", "Periodontal abscesses", "Mucogingival conditions", "Traumatic occlusal forces"], color: C.gold, x: 6.9 },
];
cats.forEach((cat) => {
s.addShape(pres.ShapeType.rect, { x: cat.x, y: 1.08, w: 3.0, h: 0.9, fill: { color: cat.color }, line: { color: cat.color } });
s.addText(cat.title, { x: cat.x, y: 1.08, w: 3.0, h: 0.9, fontSize: 12, bold: true, color: C.white, align: "center", valign: "middle" });
s.addShape(pres.ShapeType.rect, { x: cat.x, y: 2.0, w: 3.0, h: 2.9, fill: { color: "E8EEF6" }, line: { color: "C0CCDC" } });
s.addText(
cat.items.map((item, i) => ({ text: item, options: { bullet: true, breakLine: i < cat.items.length - 1, fontSize: 11.5, color: C.darkGray } })),
{ x: cat.x + 0.1, y: 2.05, w: 2.8, h: 2.8, valign: "top" }
);
});
s.addText("The 2017 classification introduced a staging/grading system replacing older severity-based classifications.", {
x: 0.3, y: 5.07, w: 9.4, h: 0.3,
fontSize: 10, color: C.gray, italic: true, align: "center",
});
}
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
// SLIDE 8 β Stages IβIV
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
{
const s = lightSlide(pres);
addHeader(s, pres, "Periodontitis: Stages I β IV", "Severity and extent of disease");
addFooter(s, pres);
const stages = [
{ stage: "I", label: "Initial", cal: "1β2 mm", pd: "β€4 mm", bone: "<15%", loss: "No tooth loss", color: "27A79A" },
{ stage: "II", label: "Moderate", cal: "3β4 mm", pd: "β€5 mm", bone: "15β33%", loss: "No tooth loss", color: C.teal },
{ stage: "III", label: "Severe", cal: "β₯5 mm", pd: "β₯6 mm", bone: "β₯33%", loss: "β€4 teeth", color: C.gold },
{ stage: "IV", label: "Very Severe", cal: "β₯5 mm", pd: "β₯6 mm", bone: "β₯33%", loss: "β₯5 teeth", color: C.coral },
];
// Table header row
const cols = ["STAGE", "CAL", "POCKET DEPTH", "BONE LOSS", "TOOTH LOSS"];
const colW = [1.3, 1.6, 1.9, 1.6, 1.75];
let xPos = 0.35;
cols.forEach((col, i) => {
s.addShape(pres.ShapeType.rect, { x: xPos, y: 1.08, w: colW[i], h: 0.42, fill: { color: C.navy }, line: { color: C.navy } });
s.addText(col, { x: xPos, y: 1.08, w: colW[i], h: 0.42, fontSize: 10, bold: true, color: C.white, align: "center", valign: "middle", charSpacing: 1 });
xPos += colW[i] + 0.04;
});
stages.forEach((st, i) => {
const yRow = 1.55 + i * 0.76;
const vals = [`Stage ${st.stage}\n(${st.label})`, st.cal, st.pd, st.bone, st.loss];
const bg = i % 2 === 0 ? "EEF3F8" : C.white;
let xC = 0.35;
vals.forEach((v, j) => {
const fill = j === 0 ? st.color : bg;
const fc = j === 0 ? C.white : C.darkGray;
const fw = j === 0 ? true : false;
s.addShape(pres.ShapeType.rect, { x: xC, y: yRow, w: colW[j], h: 0.72, fill: { color: fill }, line: { color: "D0D8E8", pt: 0.5 } });
s.addText(v, { x: xC, y: yRow, w: colW[j], h: 0.72, fontSize: 12, bold: fw, color: fc, align: "center", valign: "middle" });
xC += colW[j] + 0.04;
});
});
s.addText("CAL = Clinical Attachment Level | PD = Probing Depth | Staging reflects severity; Grading reflects risk/progression rate", {
x: 0.35, y: 5.07, w: 9.3, h: 0.3,
fontSize: 9.5, color: C.gray, italic: true, align: "center",
});
}
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
// SLIDE 9 β Grades A, B, C
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
{
const s = lightSlide(pres);
addHeader(s, pres, "Periodontitis: Grades A, B & C", "Rate of progression and risk factors");
addFooter(s, pres);
const grades = [
{
grade: "A", label: "Slow Progression", color: C.teal,
items: [
"No evidence of progression",
"Heavy biofilm, minimal destruction",
"Non-smoker, normoglycaemic",
"BL/age < 0.25",
],
},
{
grade: "B", label: "Moderate Progression", color: C.gold,
items: [
"Evidence of progression over 5 years",
"Moderate smoking (<10 cig/day)",
"HbA1c < 7% in diabetics",
"BL/age: 0.25β1.0",
],
},
{
grade: "C", label: "Rapid Progression", color: C.coral,
items: [
"Rapid progression documented",
"Heavy smoker (β₯10 cig/day)",
"HbA1c β₯ 7% in diabetics",
"BL/age > 1.0",
],
},
];
grades.forEach((g, i) => {
const x = 0.35 + i * 3.2;
s.addShape(pres.ShapeType.rect, { x, y: 1.08, w: 3.0, h: 0.85, fill: { color: g.color }, line: { color: g.color } });
s.addText(`Grade ${g.grade}`, { x, y: 1.08, w: 1.0, h: 0.85, fontSize: 26, bold: true, color: C.white, align: "center", valign: "middle" });
s.addShape(pres.ShapeType.rect, { x: x + 1.0, y: 1.08, w: 2.0, h: 0.85, fill: { color: C.navy }, line: { color: C.navy } });
s.addText(g.label, { x: x + 1.0, y: 1.08, w: 2.0, h: 0.85, fontSize: 13, bold: true, color: C.white, align: "center", valign: "middle" });
s.addShape(pres.ShapeType.rect, { x, y: 1.95, w: 3.0, h: 3.0, fill: { color: "EEF3F8" }, line: { color: "C0CCDC" } });
s.addText(
g.items.map((item, idx) => ({ text: item, options: { bullet: true, breakLine: idx < g.items.length - 1, fontSize: 12, color: C.darkGray } })),
{ x: x + 0.12, y: 2.0, w: 2.76, h: 2.88, valign: "top" }
);
});
s.addText("Grading uses biomarkers of risk to predict future disease trajectory and tailor treatment intensity.", {
x: 0.35, y: 5.07, w: 9.3, h: 0.3, fontSize: 10, color: C.gray, italic: true, align: "center",
});
}
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
// SLIDE 10 β Microbiology
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
{
const s = lightSlide(pres);
addHeader(s, pres, "Microbiology of Periodontal Disease");
addFooter(s, pres);
// Red complex highlight
s.addShape(pres.ShapeType.rect, { x: 0.35, y: 1.08, w: 4.5, h: 3.5, fill: { color: C.navy }, line: { color: C.navy } });
s.addShape(pres.ShapeType.rect, { x: 0.35, y: 1.08, w: 4.5, h: 0.55, fill: { color: C.coral }, line: { color: C.coral } });
s.addText("RED COMPLEX (Most Virulent)", { x: 0.35, y: 1.08, w: 4.5, h: 0.55, fontSize: 12, bold: true, color: C.white, align: "center", valign: "middle", charSpacing: 1 });
const redBugs = [
{ name: "Porphyromonas gingivalis", role: "Master periodontal pathogen; disrupts host immunity" },
{ name: "Treponema denticola", role: "Spirochete; deep pocket colonizer" },
{ name: "Tannerella forsythia", role: "Synergizes with P. gingivalis; promotes bone loss" },
];
redBugs.forEach((bug, i) => {
const y = 1.75 + i * 0.88;
s.addShape(pres.ShapeType.ellipse, { x: 0.5, y: y, w: 0.38, h: 0.38, fill: { color: C.coral }, line: { color: C.coral } });
s.addText(["β"][0], { x: 0.5, y: y, w: 0.38, h: 0.38, fontSize: 8, color: C.white, align: "center", valign: "middle" });
s.addText(bug.name, { x: 1.0, y: y, w: 3.7, h: 0.3, fontSize: 12.5, bold: true, color: C.white, italic: true });
s.addText(bug.role, { x: 1.0, y: y + 0.3, w: 3.7, h: 0.4, fontSize: 11, color: C.lightText });
});
// Other pathogens
const others = [
{ name: "Fusobacterium nucleatum", role: "Bridge species between early and late colonizers" },
{ name: "Prevotella intermedia", role: "Associated with NUG and pregnancy gingivitis" },
{ name: "Aggregatibacter actinomycetemcomitans", role: "Aggressive (localized) periodontitis in young adults" },
];
s.addShape(pres.ShapeType.rect, { x: 5.1, y: 1.08, w: 4.55, h: 0.55, fill: { color: C.midBlue }, line: { color: C.midBlue } });
s.addText("OTHER KEY PATHOGENS", { x: 5.1, y: 1.08, w: 4.55, h: 0.55, fontSize: 12, bold: true, color: C.white, align: "center", valign: "middle", charSpacing: 1 });
others.forEach((bug, i) => {
const y = 1.75 + i * 0.88;
s.addShape(pres.ShapeType.rect, { x: 5.1, y, w: 4.55, h: 0.8, fill: { color: "EEF3F8" }, line: { color: "C0CCDC" } });
s.addText(bug.name, { x: 5.2, y: y + 0.04, w: 4.35, h: 0.34, fontSize: 12, bold: true, color: C.teal, italic: true });
s.addText(bug.role, { x: 5.2, y: y + 0.38, w: 4.35, h: 0.36, fontSize: 11, color: C.darkGray });
});
s.addText("Periodontal disease is polymicrobial β a dysbiotic shift in the subgingival microbiome, not a single-pathogen infection.", {
x: 0.35, y: 4.75, w: 9.3, h: 0.5, fontSize: 10.5, color: C.coral, align: "center", italic: true,
});
}
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
// SLIDE 11 β Risk Factors
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
{
const s = lightSlide(pres);
addHeader(s, pres, "Risk Factors");
addFooter(s, pres);
const factors = [
{ icon: "π¦·", label: "Poor Oral Hygiene", desc: "Primary cause; plaque\nbiofilm accumulation" },
{ icon: "π¬", label: "Smoking", desc: "2-7Γ risk; impairs\nhealing, masks bleeding" },
{ icon: "π", label: "Diabetes Mellitus", desc: "Bidirectional relationship;\nAGEs dysregulate immunity" },
{ icon: "π§¬", label: "Genetics", desc: "IL-1 polymorphisms;\nincreased susceptibility" },
{ icon: "π", label: "Medications", desc: "Phenytoin, cyclosporine,\nnifedipine β overgrowth" },
{ icon: "π°", label: "Stress / Cortisol", desc: "Suppresses immunity;\nincreases P. gingivalis" },
{ icon: "π¦ ", label: "HIV / Immunosuppression", desc: "Necrotizing periodontal\ndisease susceptibility" },
{ icon: "π΄", label: "Age", desc: "Cumulative exposure;\nprogression with age" },
];
const cols = 4;
const boxW = 2.2;
const boxH = 1.65;
const padX = 0.26;
const startY = 1.1;
factors.forEach((f, i) => {
const col = i % cols;
const row = Math.floor(i / cols);
const x = padX + col * (boxW + 0.13);
const y = startY + row * (boxH + 0.1);
const accent = [C.coral, C.teal, C.gold, C.midBlue][col];
s.addShape(pres.ShapeType.rect, { x, y, w: boxW, h: 0.46, fill: { color: accent }, line: { color: accent } });
s.addText(f.label, { x, y, w: boxW, h: 0.46, fontSize: 11.5, bold: true, color: C.white, align: "center", valign: "middle" });
s.addShape(pres.ShapeType.rect, { x, y: y + 0.46, w: boxW, h: boxH - 0.46, fill: { color: "EEF3F8" }, line: { color: "C0CCDC" } });
s.addText(`${f.icon}\n${f.desc}`, { x, y: y + 0.46, w: boxW, h: boxH - 0.46, fontSize: 11, color: C.darkGray, align: "center", valign: "middle" });
});
}
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
// SLIDE 12 β Clinical Features
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
{
const s = lightSlide(pres);
addHeader(s, pres, "Clinical Features");
addFooter(s, pres);
// Left: Gingivitis features
s.addShape(pres.ShapeType.rect, { x: 0.35, y: 1.08, w: 4.45, h: 0.52, fill: { color: C.teal }, line: { color: C.teal } });
s.addText("GINGIVITIS", { x: 0.35, y: 1.08, w: 4.45, h: 0.52, fontSize: 13, bold: true, color: C.white, align: "center", valign: "middle", charSpacing: 2 });
const gingFeatures = [
"Redness and swelling of the gingiva",
"Bleeding on probing (BOP)",
"Loss of stippled texture",
"Tenderness / sensitivity",
"No attachment or bone loss",
"Halitosis (bad breath)",
];
s.addShape(pres.ShapeType.rect, { x: 0.35, y: 1.62, w: 4.45, h: 3.15, fill: { color: "EEF3F8" }, line: { color: "C0CCDC" } });
s.addText(
gingFeatures.map((f, i) => ({ text: f, options: { bullet: true, breakLine: i < gingFeatures.length - 1, fontSize: 12.5, color: C.darkGray } })),
{ x: 0.5, y: 1.67, w: 4.2, h: 3.0, valign: "top" }
);
// Right: Periodontitis features
s.addShape(pres.ShapeType.rect, { x: 5.2, y: 1.08, w: 4.45, h: 0.52, fill: { color: C.coral }, line: { color: C.coral } });
s.addText("PERIODONTITIS", { x: 5.2, y: 1.08, w: 4.45, h: 0.52, fontSize: 13, bold: true, color: C.white, align: "center", valign: "middle", charSpacing: 2 });
const periodFeatures = [
"All gingivitis signs +",
"Periodontal pocket formation (>3 mm)",
"Clinical attachment loss (CAL)",
"Radiographic bone loss",
"Tooth mobility / fremitus",
"Furcation involvement",
"Tooth migration / drifting",
"Suppuration (pus from pockets)",
"Eventual tooth exfoliation",
];
s.addShape(pres.ShapeType.rect, { x: 5.2, y: 1.62, w: 4.45, h: 3.15, fill: { color: "EEF3F8" }, line: { color: "C0CCDC" } });
s.addText(
periodFeatures.map((f, i) => ({ text: f, options: { bullet: true, breakLine: i < periodFeatures.length - 1, fontSize: 12, color: C.darkGray } })),
{ x: 5.35, y: 1.67, w: 4.2, h: 3.0, valign: "top" }
);
// Center divider
s.addShape(pres.ShapeType.rect, { x: 4.82, y: 1.08, w: 0.06, h: 3.7, fill: { color: C.gray }, line: { color: C.gray } });
}
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
// SLIDE 13 β Diagnosis
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
{
const s = lightSlide(pres);
addHeader(s, pres, "Diagnosis of Periodontal Disease");
addFooter(s, pres);
const tools = [
{
title: "Periodontal Probing",
color: C.coral,
points: ["Probe inserted at 6 sites per tooth", "Normal sulcus: 1β3 mm", "Pockets β₯4 mm = pathological", "Records BOP (bleeding on probing)"],
},
{
title: "Radiographic Assessment",
color: C.teal,
points: ["Periapical & bitewing X-rays", "Detects alveolar bone loss patterns", "Horizontal vs. vertical bone loss", "Furcation assessment on molars"],
},
{
title: "CAL Measurement",
color: C.gold,
points: ["Clinical Attachment Level = PD + recession", "Primary measure of disease severity", "Assessed from CEJ to base of pocket", "Determines Stage (IβIV)"],
},
{
title: "Additional Indices",
color: C.midBlue,
points: ["Plaque index (PI)", "Gingival index (GI)", "Mobility: Miller classification", "Furcation: Hamp classification"],
},
];
tools.forEach((t, i) => {
const x = 0.35 + i * 2.35;
s.addShape(pres.ShapeType.rect, { x, y: 1.08, w: 2.2, h: 0.52, fill: { color: t.color }, line: { color: t.color } });
s.addText(t.title, { x, y: 1.08, w: 2.2, h: 0.52, fontSize: 11, bold: true, color: C.white, align: "center", valign: "middle" });
s.addShape(pres.ShapeType.rect, { x, y: 1.62, w: 2.2, h: 3.15, fill: { color: "EEF3F8" }, line: { color: "C0CCDC" } });
s.addText(
t.points.map((p, j) => ({ text: p, options: { bullet: true, breakLine: j < t.points.length - 1, fontSize: 11.5, color: C.darkGray } })),
{ x: x + 0.1, y: 1.67, w: 2.0, h: 3.0, valign: "top" }
);
});
s.addText("Full periodontal charting should be performed at least annually. Diagnosis requires clinical + radiographic correlation.", {
x: 0.35, y: 4.87, w: 9.3, h: 0.4, fontSize: 10.5, color: C.coral, italic: true, align: "center",
});
}
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
// SLIDE 14 β Treatment Phase 1 (Non-Surgical)
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
{
const s = lightSlide(pres);
addHeader(s, pres, "Treatment: Phase 1 β Non-Surgical (Cause-Related) Therapy");
addFooter(s, pres);
// Phase 1 timeline/steps
const steps = [
{ num: "1", label: "Patient Education\n& Motivation", desc: "OHI: brushing, flossing,\ninterdental cleaning", color: C.teal },
{ num: "2", label: "Supra-gingival\nScaling", desc: "Removal of plaque and calculus\nabove the gumline", color: C.midBlue },
{ num: "3", label: "Sub-gingival\nScaling & Root Planing", desc: "SRP: root debridement\nin periodontal pockets", color: C.gold },
{ num: "4", label: "Adjunctive\nAntibiotics", desc: "Systemic (amoxicillin +\nmetronidazole) if Grade C", color: "B05A2F" },
{ num: "5", label: "Re-assessment\nat 4β8 Weeks", desc: "Evaluate healing;\ndecide if surgery needed", color: C.coral },
];
const boxW = 1.72;
const startX = 0.25;
const yTop = 1.15;
steps.forEach((st, i) => {
const x = startX + i * (boxW + 0.2);
s.addShape(pres.ShapeType.ellipse, { x: x + 0.56, y: yTop, w: 0.6, h: 0.6, fill: { color: st.color }, line: { color: st.color } });
s.addText(st.num, { x: x + 0.56, y: yTop, w: 0.6, h: 0.6, fontSize: 15, bold: true, color: C.white, align: "center", valign: "middle" });
if (i < steps.length - 1) {
s.addShape(pres.ShapeType.rect, { x: x + boxW + 0.04, y: yTop + 0.22, w: 0.16, h: 0.16, fill: { color: C.gray }, line: { color: C.gray } });
}
s.addShape(pres.ShapeType.rect, { x, y: yTop + 0.7, w: boxW, h: 2.85, fill: { color: st.color }, line: { color: st.color } });
s.addText(st.label, { x, y: yTop + 0.75, w: boxW, h: 0.75, fontSize: 11.5, bold: true, color: C.white, align: "center", valign: "middle" });
s.addShape(pres.ShapeType.rect, { x: x + 0.07, y: yTop + 1.52, w: boxW - 0.14, h: 1.88, fill: { color: C.white }, line: { color: C.white } });
s.addText(st.desc, { x: x + 0.07, y: yTop + 1.52, w: boxW - 0.14, h: 1.88, fontSize: 11, color: C.darkGray, align: "center", valign: "middle" });
});
s.addText("Goal: Eliminate etiologic factors and establish a healthy, maintainable periodontium before considering surgery.", {
x: 0.25, y: 4.8, w: 9.5, h: 0.4,
fontSize: 10.5, color: C.coral, italic: true, align: "center",
});
}
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
// SLIDE 15 β Treatment Phase 2 & 3 (Surgical + Maintenance)
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
{
const s = lightSlide(pres);
addHeader(s, pres, "Treatment: Phase 2 & 3 β Surgical Therapy & Maintenance");
addFooter(s, pres);
// Phase 2 box
s.addShape(pres.ShapeType.rect, { x: 0.3, y: 1.08, w: 4.5, h: 0.52, fill: { color: C.coral }, line: { color: C.coral } });
s.addText("PHASE 2 β SURGICAL THERAPY", { x: 0.3, y: 1.08, w: 4.5, h: 0.52, fontSize: 12, bold: true, color: C.white, align: "center", valign: "middle" });
const surgPts = [
"Indicated when pockets remain β₯ 5β6 mm post-Phase 1",
"Flap surgery (Kirkland, Widman modified) β access for SRP",
"Osseous surgery β reshaping bone defects",
"Bone grafting β regeneration of lost alveolar bone",
"Guided Tissue Regeneration (GTR) β barrier membranes",
"Crown lengthening β for restorative access",
];
s.addShape(pres.ShapeType.rect, { x: 0.3, y: 1.62, w: 4.5, h: 3.1, fill: { color: "EEF3F8" }, line: { color: "C0CCDC" } });
s.addText(
surgPts.map((p, i) => ({ text: p, options: { bullet: true, breakLine: i < surgPts.length - 1, fontSize: 12, color: C.darkGray } })),
{ x: 0.42, y: 1.67, w: 4.25, h: 2.98, valign: "top" }
);
// Phase 3 box
s.addShape(pres.ShapeType.rect, { x: 5.2, y: 1.08, w: 4.5, h: 0.52, fill: { color: C.teal }, line: { color: C.teal } });
s.addText("PHASE 3 β SUPPORTIVE THERAPY (SPT)", { x: 5.2, y: 1.08, w: 4.5, h: 0.52, fontSize: 12, bold: true, color: C.white, align: "center", valign: "middle" });
const maintPts = [
"Lifelong maintenance after active treatment",
"Recall intervals: every 3β4 months (high risk)",
" or every 6 months (stable, low risk)",
"Re-evaluation: probing, radiographs, BOP",
"Reinforce oral hygiene instructions",
"Re-treat recurrent disease promptly",
];
s.addShape(pres.ShapeType.rect, { x: 5.2, y: 1.62, w: 4.5, h: 3.1, fill: { color: "EEF3F8" }, line: { color: "C0CCDC" } });
s.addText(
maintPts.map((p, i) => ({ text: p, options: { bullet: true, breakLine: i < maintPts.length - 1, fontSize: 12, color: C.darkGray } })),
{ x: 5.32, y: 1.67, w: 4.25, h: 2.98, valign: "top" }
);
s.addShape(pres.ShapeType.rect, { x: 4.82, y: 1.08, w: 0.06, h: 3.65, fill: { color: C.gray }, line: { color: C.gray } });
s.addText("Studies show >50% of treated patients experience recurrence without regular maintenance therapy.", {
x: 0.3, y: 4.85, w: 9.4, h: 0.35, fontSize: 10.5, color: C.coral, italic: true, align: "center",
});
}
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
// SLIDE 16 β Systemic Links
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
{
const s = lightSlide(pres);
addHeader(s, pres, "Systemic Links of Periodontal Disease", "The mouthβbody connection");
addFooter(s, pres);
const links = [
{
title: "Diabetes Mellitus",
color: C.coral,
desc: "Bidirectional relationship. Uncontrolled diabetes worsens periodontitis (AGE accumulation, impaired neutrophil function). Treating periodontitis can reduce HbA1c by ~0.4%.",
},
{
title: "Cardiovascular Disease",
color: C.midBlue,
desc: "Periodontal bacteria (P. gingivalis) found in atheromatous plaques. Chronic inflammation elevates CRP, IL-6, fibrinogen β independent CVD risk factors.",
},
{
title: "Adverse Pregnancy Outcomes",
color: C.teal,
desc: "Periodontal disease linked to pre-eclampsia, preterm birth, and low birth weight. PGE2 and cytokines may trigger premature labor.",
},
{
title: "Respiratory Disease",
color: C.gold,
desc: "Aspiration of periodontal pathogens may cause bacterial pneumonia, COPD exacerbations. Oral hygiene in ICU patients reduces ventilator-associated pneumonia.",
},
{
title: "Rheumatoid Arthritis",
color: "8A4A7A",
desc: "P. gingivalis citrullination of proteins may trigger anti-CCP antibodies. Shared immune pathways (Th17, IL-17) link both conditions.",
},
{
title: "Alzheimer's Disease",
color: "4A4A8A",
desc: "Emerging evidence: P. gingivalis found in Alzheimer's brains. Gingipain toxins detected in CSF; may contribute to neuroinflammation.",
},
];
const cols = 3;
links.forEach((lk, i) => {
const col = i % cols;
const row = Math.floor(i / cols);
const x = 0.28 + col * 3.2;
const y = 1.08 + row * 1.88;
s.addShape(pres.ShapeType.rect, { x, y, w: 3.05, h: 0.42, fill: { color: lk.color }, line: { color: lk.color } });
s.addText(lk.title, { x, y, w: 3.05, h: 0.42, fontSize: 11.5, bold: true, color: C.white, align: "center", valign: "middle" });
s.addShape(pres.ShapeType.rect, { x, y: y + 0.42, w: 3.05, h: 1.38, fill: { color: "EEF3F8" }, line: { color: "C0CCDC" } });
s.addText(lk.desc, { x: x + 0.1, y: y + 0.46, w: 2.85, h: 1.28, fontSize: 10.5, color: C.darkGray, valign: "top" });
});
}
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
// SLIDE 17 β Key Takeaways (Conclusion)
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
{
const s = darkSlide(pres);
s.addShape(pres.ShapeType.rect, { x: 7.0, y: 0, w: 3.0, h: 5.625, fill: { color: C.midBlue }, line: { color: C.midBlue } });
s.addShape(pres.ShapeType.rect, { x: 9.6, y: 0, w: 0.4, h: 5.625, fill: { color: C.coral }, line: { color: C.coral } });
s.addText("KEY\nTAKEAWAYS", {
x: 0.45, y: 0.25, w: 6.4, h: 1.1,
fontSize: 34, bold: true, color: C.white, align: "left", charSpacing: 3,
});
s.addShape(pres.ShapeType.rect, { x: 0.45, y: 1.38, w: 4.0, h: 0.06, fill: { color: C.coral } });
const takeaways = [
"Periodontal disease is the #1 cause of tooth loss β largely preventable",
"A dysbiotic subgingival microbiome drives a destructive host response",
"2017 AAP-EFP classification uses Stages (IβIV) + Grades (AβC)",
"Early diagnosis with probing, CAL & radiographs is essential",
"Non-surgical SRP remains the gold standard first-line treatment",
"Periodontal disease has proven systemic links β it is a whole-body disease",
"Lifelong supportive periodontal therapy (SPT) prevents recurrence",
];
s.addText(
takeaways.map((t, i) => ({
text: t,
options: { bullet: true, breakLine: i < takeaways.length - 1, fontSize: 12.5, color: C.white },
})),
{ x: 0.45, y: 1.55, w: 6.35, h: 3.7, valign: "top" }
);
s.addText("\"Periodontal health is a window to systemic health.\"", {
x: 0.45, y: 5.2, w: 6.35, h: 0.35,
fontSize: 11, color: C.lightText, italic: true, align: "left",
});
}
// βββ Write file βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
const outputPath = "/home/daytona/workspace/periodontal-ppt/Periodontal_Disease.pptx";
pres.writeFile({ fileName: outputPath })
.then(() => console.log("β
Saved:", outputPath))
.catch(err => { console.error("β Error:", err); process.exit(1); });
cd /home/daytona/workspace/periodontal-ppt && node create_pptx.js 2>&1
ls -lh /home/daytona/workspace/periodontal-ppt/Periodontal_Disease.pptx
Periodontal Disease
Presentation Β· PPTX
| # | Slide | Design |
|---|---|---|
| 1 | Title | Full-width dark navy with coral accent stripe, bold typographic title |
| 2 | What is the Periodontium? | 4 colored component boxes (Gingiva, PDL, Cementum, Alveolar Bone) |
| 3 | Definition & Epidemiology | Definition panel + 3 stat boxes (#1, 47%, 70%) |
| 4 | Pathogenesis | 5-step cascade flowchart with numbered circles |
| 5 | Gingivitis vs Periodontitis | Side-by-side comparison table with "vs" badge |
| 6 | Clinical Photo | Dark split layout - feature list left, clinical image right |
| 7 | 2017 AAP-EFP Classification | 3 category columns with items |
| 8 | Stages I-IV | Color-coded data table (CAL, pocket depth, bone loss, tooth loss) |
| 9 | Grades A, B, C | 3 column cards with risk criteria |
| 10 | Microbiology | Red complex panel (dark) + other pathogens panel |
| 11 | Risk Factors | 8-box 2x4 grid with color-coded headers |
| 12 | Clinical Features | Split Gingivitis / Periodontitis bullet columns |
| 13 | Diagnosis | 4-column tool cards (probing, X-ray, CAL, indices) |
| 14 | Phase 1 Treatment | 5-step non-surgical flowchart |
| 15 | Phase 2 & 3 Treatment | Side-by-side surgical vs maintenance panels |
| 16 | Systemic Links | 6-box grid (Diabetes, CVD, Pregnancy, Respiratory, RA, Alzheimer's) |
| 17 | Key Takeaways | Dark closing slide, 7 bullet takeaways with coral quote |