Vrana shotha (inflammation, cellulitis) in surgery create a poster
Vrana Shotha Ayurvedic surgery inflammation cellulitis symptoms causes treatment Shalya Tantra
Vranashotha Ayurveda definition hetu lakshana chikitsa panchakarma shotha types dosha
mkdir -p /home/daytona/workspace/vrana-shotha-poster && ls /home/daytona/workspace/vrana-shotha-poster/
~/vrana-shotha-poster/create_poster.js
const pptxgen = require("pptxgenjs");
let pres = new pptxgen();
pres.layout = "LAYOUT_WIDE"; // 13.3" x 7.5" — poster format
pres.title = "Vrana Shotha – Inflammation / Cellulitis in Surgery";
let slide = pres.addSlide();
// ─── BACKGROUND ───────────────────────────────────────────────
// Deep teal/forest green – Ayurvedic surgical tone
slide.addShape(pres.shapes.RECTANGLE, {
x: 0, y: 0, w: 13.3, h: 7.5,
fill: { color: "0D3B3E" }, line: { type: "none" }
});
// Decorative subtle diagonal stripe overlay (top-right accent)
slide.addShape(pres.shapes.RECTANGLE, {
x: 9.5, y: 0, w: 3.8, h: 7.5,
fill: { color: "0F4A50", transparency: 40 }, line: { type: "none" }
});
// ─── HEADER BAR ───────────────────────────────────────────────
slide.addShape(pres.shapes.RECTANGLE, {
x: 0, y: 0, w: 13.3, h: 1.25,
fill: { color: "C8891A" }, line: { type: "none" }
});
// Sanskrit / Title
slide.addText([
{ text: "VRANA SHOTHA", options: { bold: true, fontSize: 28, color: "FFFFFF", charSpacing: 4 } },
{ text: " (व्रण शोथ)", options: { bold: false, fontSize: 20, color: "FFF0CC" } }
], {
x: 0.35, y: 0.08, w: 9.5, h: 0.6,
align: "left", valign: "middle", margin: 0
});
slide.addText("Inflammation & Cellulitis in Shalya Tantra (Surgery)", {
x: 0.35, y: 0.65, w: 9.5, h: 0.45,
fontSize: 13, color: "FFF0CC", italic: true, align: "left", margin: 0
});
// Ayurvedic emblem text (right of header)
slide.addText("🌿 Shalya Tantra", {
x: 10.5, y: 0.25, w: 2.5, h: 0.65,
fontSize: 15, color: "0D3B3E", bold: true, align: "center", valign: "middle", margin: 0
});
// ─── SECTION 1: DEFINITION ────────────────────────────────────
slide.addShape(pres.shapes.RECTANGLE, {
x: 0.25, y: 1.4, w: 4.05, h: 1.6,
fill: { color: "1A5C63" }, line: { color: "C8891A", pt: 1.5 }
});
slide.addText("DEFINITION", {
x: 0.3, y: 1.38, w: 1.8, h: 0.35,
fontSize: 9, bold: true, color: "C8891A", charSpacing: 2, align: "left", margin: 0
});
slide.addText([
{ text: "Vrana Shotha", options: { bold: true, italic: true, color: "F5D98E" } },
{ text: " is a localized inflammatory swelling (Shotha/Shopha/Shvayathu) occurring in or around a wound (Vrana).", options: { color: "E8F4F5" } },
{ text: "\n\nShotha = derived from Sanskrit root ", options: { color: "D0E8EA", breakLine: false } },
{ text: "\"Shu\"", options: { bold: true, color: "F5D98E" } },
{ text: " (spreading rapidly) + Baahulyakatva (abnormal elevation).", options: { color: "D0E8EA" } }
], {
x: 0.35, y: 1.72, w: 3.88, h: 1.2,
fontSize: 9.5, valign: "top", align: "left", margin: [2, 6, 2, 6]
});
// ─── SECTION 2: DOSHA TYPES ───────────────────────────────────
slide.addShape(pres.shapes.RECTANGLE, {
x: 0.25, y: 3.15, w: 4.05, h: 3.0,
fill: { color: "1A5C63" }, line: { color: "C8891A", pt: 1.5 }
});
slide.addText("TYPES – DOSHA CLASSIFICATION (9 Types)", {
x: 0.3, y: 3.13, w: 3.9, h: 0.35,
fontSize: 9, bold: true, color: "C8891A", charSpacing: 2, align: "left", margin: 0
});
const doshaTypes = [
["Vataja Shotha", "Vata predominant – Pain, dark/blackish swelling, variable shape, moves on pressure"],
["Pittaja Shotha", "Pitta predominant – Red, hot, burning, suppurates quickly → pus formation"],
["Kaphaja Shotha", "Kapha predominant – White, cold, stable, firm, slow to mature"],
["Sannipataja", "All three doshas – Mixed features, severe presentation"],
["Raktaja Shotha", "Blood vitiation – Bright red, tender, prone to ulceration"],
["Abhighataja", "Traumatic – Due to injury, follows Vrana (wound)"],
];
doshaTypes.forEach(([name, desc], i) => {
const yBase = 3.5 + i * 0.43;
slide.addShape(pres.shapes.RECTANGLE, {
x: 0.35, y: yBase, w: 3.8, h: 0.38,
fill: { color: i % 2 === 0 ? "0F4A50" : "0D3B3E" }, line: { type: "none" }
});
slide.addText([
{ text: `${name}: `, options: { bold: true, color: "F5D98E", fontSize: 8.5 } },
{ text: desc, options: { color: "D9ECEE", fontSize: 8 } }
], {
x: 0.4, y: yBase + 0.02, w: 3.7, h: 0.35,
valign: "middle", align: "left", margin: [0, 4, 0, 4]
});
});
// ─── SECTION 3: HETU (CAUSES) ─────────────────────────────────
slide.addShape(pres.shapes.RECTANGLE, {
x: 4.55, y: 1.4, w: 4.0, h: 2.2,
fill: { color: "1A5C63" }, line: { color: "C8891A", pt: 1.5 }
});
slide.addText("HETU – CAUSATIVE FACTORS", {
x: 4.6, y: 1.38, w: 3.8, h: 0.35,
fontSize: 9, bold: true, color: "C8891A", charSpacing: 2, align: "left", margin: 0
});
const causes = [
"Abhighata (trauma / injury)",
"Krimi (microbial infection – bacteria)",
"Visha (toxins / foreign body)",
"Dushta Vrana (infected wound)",
"Improper wound care / hygiene",
"Immunocompromised state",
"Lymphatic obstruction",
];
slide.addText(causes.map((c, i) => ({
text: `${c}${i < causes.length - 1 ? "\n" : ""}`,
options: { bullet: { type: "bullet", characterCode: "25B6", color: "C8891A" }, color: "E2F2F3", fontSize: 9 }
})), {
x: 4.62, y: 1.72, w: 3.82, h: 1.8,
valign: "top", align: "left", margin: [2, 6, 2, 6]
});
// ─── SECTION 4: LAKSHANA (CLINICAL FEATURES) ──────────────────
slide.addShape(pres.shapes.RECTANGLE, {
x: 4.55, y: 3.75, w: 4.0, h: 2.4,
fill: { color: "1A5C63" }, line: { color: "C8891A", pt: 1.5 }
});
slide.addText("LAKSHANA – CARDINAL FEATURES (Panchakarma of Shotha)", {
x: 4.6, y: 3.73, w: 3.9, h: 0.35,
fontSize: 8.5, bold: true, color: "C8891A", charSpacing: 1, align: "left", margin: 0
});
const signs = [
["Shotha", "Swelling / Tumor (Tumor)"],
["Ruja / Vedana", "Pain / Tenderness (Dolor)"],
["Daha", "Burning / Heat (Calor)"],
["Raktatva / Shyavata", "Redness (Rubor)"],
["Karyahani", "Loss of Function (Functio Laesa)"],
["Jwara", "Fever – systemic response"],
["Paka / Srava", "Suppuration / Pus discharge"],
];
signs.forEach(([ayur, modern], i) => {
const yBase = 4.1 + i * 0.3;
slide.addText([
{ text: `${ayur} `, options: { bold: true, color: "F5D98E", fontSize: 8.5 } },
{ text: `→ ${modern}`, options: { color: "D9ECEE", fontSize: 8.5 } }
], {
x: 4.62, y: yBase, w: 3.82, h: 0.28,
valign: "middle", align: "left", margin: [0, 4, 0, 4]
});
if (i < signs.length - 1) {
slide.addShape(pres.shapes.LINE, {
x: 4.65, y: yBase + 0.27, w: 3.7, h: 0,
line: { color: "1F6D74", pt: 0.5 }
});
}
});
// ─── SECTION 5: CHIKITSA (TREATMENT) ─────────────────────────
slide.addShape(pres.shapes.RECTANGLE, {
x: 8.8, y: 1.4, w: 4.2, h: 4.75,
fill: { color: "1A5C63" }, line: { color: "C8891A", pt: 1.5 }
});
slide.addText("CHIKITSA – MANAGEMENT (Saptopakrama)", {
x: 8.85, y: 1.38, w: 4.1, h: 0.35,
fontSize: 9, bold: true, color: "C8891A", charSpacing: 2, align: "left", margin: 0
});
// Apakwa (Immature) vs Pakwa (Mature)
slide.addShape(pres.shapes.RECTANGLE, {
x: 8.9, y: 1.75, w: 1.95, h: 0.32,
fill: { color: "C8891A" }, line: { type: "none" }
});
slide.addText("APAKWA (Immature)", {
x: 8.9, y: 1.75, w: 1.95, h: 0.32,
fontSize: 8.5, bold: true, color: "0D3B3E", align: "center", valign: "middle", margin: 0
});
slide.addShape(pres.shapes.RECTANGLE, {
x: 10.95, y: 1.75, w: 1.95, h: 0.32,
fill: { color: "E05C2E" }, line: { type: "none" }
});
slide.addText("PAKWA (Mature/Abscess)", {
x: 10.95, y: 1.75, w: 1.95, h: 0.32,
fontSize: 8.5, bold: true, color: "FFFFFF", align: "center", valign: "middle", margin: 0
});
const apakwaItems = [
"Upanaha Sweda (poultice/fomentation)",
"Lepa (herbal paste – Haridra, Nimba)",
"Langhan (fasting / light diet)",
"Pachana (digestive therapy – Trikatu)",
"Vamana / Virechana (shodhana)",
"Oral: Amrita, Guduchi, Punarnava kwatha",
];
const pakwaItems = [
"Vrana Visravana (incision & drainage)",
"Shastra karma (surgical excision)",
"Kshara karma (caustic application)",
"Agni karma (cauterisation)",
"Wound irrigation with Panchavalkala",
"Systemic antibiotics (Staphylococcus / Streptococcus)",
];
apakwaItems.forEach((item, i) => {
slide.addText([
{ text: "• ", options: { color: "C8891A", bold: true } },
{ text: item, options: { color: "E2F2F3", fontSize: 8.5 } }
], {
x: 8.9, y: 2.1 + i * 0.3, w: 1.9, h: 0.28,
valign: "top", align: "left", margin: [0, 3, 0, 3]
});
});
pakwaItems.forEach((item, i) => {
slide.addText([
{ text: "• ", options: { color: "E05C2E", bold: true } },
{ text: item, options: { color: "E2F2F3", fontSize: 8.5 } }
], {
x: 10.95, y: 2.1 + i * 0.3, w: 1.95, h: 0.28,
valign: "top", align: "left", margin: [0, 3, 0, 3]
});
});
// Modern antibiotics box
slide.addShape(pres.shapes.RECTANGLE, {
x: 8.9, y: 3.95, w: 4.0, h: 0.22,
fill: { color: "0A2D30" }, line: { type: "none" }
});
slide.addText("MODERN ANTIBIOTICS (Cellulitis)", {
x: 8.9, y: 3.95, w: 4.0, h: 0.22,
fontSize: 8.5, bold: true, color: "C8891A", align: "center", valign: "middle", margin: 0
});
const antibiotics = [
"1st line: Penicillin / 1st-gen Cephalosporins (Cephalexin)",
"MRSA risk: Vancomycin IV / Clindamycin PO",
"Penicillin allergy: Clindamycin or Fluoroquinolone",
"Outpatient: mild → oral antibiotics + elevation + rest",
"Inpatient: IV antibiotics if worsening / febrile / MRSA risk",
];
antibiotics.forEach((item, i) => {
slide.addText([
{ text: "▸ ", options: { color: "C8891A", bold: true } },
{ text: item, options: { color: "D9ECEE", fontSize: 8.5 } }
], {
x: 8.9, y: 4.18 + i * 0.27, w: 4.0, h: 0.25,
valign: "top", align: "left", margin: [0, 3, 0, 3]
});
});
// ─── SHOTHA SAMPRAPTI FLOWCHART ────────────────────────────────
// A simple horizontal flow below the left & middle sections
slide.addShape(pres.shapes.RECTANGLE, {
x: 0.25, y: 6.28, w: 12.8, h: 0.95,
fill: { color: "0A2D30" }, line: { color: "C8891A", pt: 1 }
});
slide.addText("SAMPRAPTI (Pathogenesis Flow)", {
x: 0.35, y: 6.27, w: 3.5, h: 0.25,
fontSize: 8, bold: true, color: "C8891A", align: "left", margin: 0
});
const flow = [
"Nidana\n(Causative Factor)",
"Dosha Prakopa\n(Dosha Vitiation)",
"Sthana Samshraya\n(Localisation in Vrana)",
"Vrana Shotha\n(Inflammatory Swelling)",
"Paka\n(Suppuration)",
"Visrava / Shaman\n(Drainage / Resolution)",
];
const flowColors = ["C8891A", "E05C2E", "B85CC8", "D44B4B", "3EA8B8", "3EB877"];
flow.forEach((step, i) => {
const xPos = 0.4 + i * 2.13;
slide.addShape(pres.shapes.ROUNDED_RECTANGLE, {
x: xPos, y: 6.53, w: 1.95, h: 0.6,
fill: { color: flowColors[i] }, line: { type: "none" }, rectRadius: 0.08
});
slide.addText(step, {
x: xPos, y: 6.53, w: 1.95, h: 0.6,
fontSize: 7.5, bold: false, color: "FFFFFF", align: "center", valign: "middle", margin: 0
});
if (i < flow.length - 1) {
slide.addText("→", {
x: xPos + 1.95, y: 6.72, w: 0.18, h: 0.2,
fontSize: 12, bold: true, color: "C8891A", align: "center", valign: "middle", margin: 0
});
}
});
// ─── FOOTER ───────────────────────────────────────────────────
slide.addShape(pres.shapes.RECTANGLE, {
x: 0, y: 7.28, w: 13.3, h: 0.22,
fill: { color: "C8891A" }, line: { type: "none" }
});
slide.addText(
"Ref: Sushruta Samhita (Shotha Nidana), Current Surgical Therapy 14e, Mulholland & Greenfield's Surgery 7e | Shalya Tantra – Ayurvedic Surgery",
{
x: 0.2, y: 7.28, w: 13.0, h: 0.22,
fontSize: 6.5, color: "0D3B3E", align: "center", valign: "middle", margin: 0
}
);
// ─── WRITE FILE ───────────────────────────────────────────────
pres.writeFile({ fileName: "/home/daytona/workspace/vrana-shotha-poster/Vrana_Shotha_Poster.pptx" })
.then(() => console.log("✅ Poster saved: /home/daytona/workspace/vrana-shotha-poster/Vrana_Shotha_Poster.pptx"))
.catch(err => { console.error("Error:", err); process.exit(1); });
cd /home/daytona/workspace/vrana-shotha-poster && node create_poster.js
ls -lh /home/daytona/workspace/vrana-shotha-poster/
Vrana Shotha Poster
Presentation · PPTX
| Section | Content |
|---|---|
| Definition | Vrana Shotha — Sanskrit etymology, meaning localized inflammatory swelling in/around a wound (Vrana) |
| Types (Dosha Classification) | All 9 types — Vataja, Pittaja, Kaphaja, Sannipataja, Raktaja, Abhighataja with clinical features |
| Hetu (Causes) | Abhighata (trauma), Krimi (infection), Visha (toxins), Dushta Vrana, immunocompromised state, etc. |
| Lakshana (Cardinal Signs) | Shotha, Ruja, Daha, Raktatva, Karyahani, Jwara, Paka — correlated to Celsus' 5 cardinal signs |
| Chikitsa (Treatment) | Apakwa (immature) vs Pakwa (mature/abscess) approaches + modern antibiotic protocols |
| Samprapti Flowchart | Nidana → Dosha Prakopa → Sthana Samshraya → Vrana Shotha → Paka → Visrava/Resolution |
| References | Sushruta Samhita, Current Surgical Therapy 14e, Mulholland & Greenfield's Surgery 7e |
Epilepsy drugs in easy in all information