1younng syndrome poster presentation
What kind of poster would you like for Young Syndrome?
Young syndrome azoospermia bronchiectasis
Young syndrome clinical features diagnosis management review 2024
https://www.ncbi.nlm.nih.gov/books/NBK539867
PMID: 36196705
ls /home/daytona/workspace/ 2>/dev/null || echo "workspace empty or not found"
mkdir -p /home/daytona/workspace/young-syndrome-poster
~/young-syndrome-poster/create_poster.js
const pptxgen = require("pptxgenjs");
const pres = new pptxgen();
// Academic conference poster — use LAYOUT_WIDE (13.3" x 7.5") rotated to portrait-like wide format
// We'll use LAYOUT_WIDE as a landscape poster (common conference format)
pres.layout = "LAYOUT_WIDE";
// Color palette — deep navy dominates, teal accent, gold highlights
const C = {
navy: "0D2B45", // dominant bg for header/footer
teal: "0F7173", // section headers
gold: "F4A523", // accent/icon color
white: "FFFFFF",
light: "EAF4F4", // section bg
midBg: "D6EAF8", // alternate section
darkText:"1A1A2E",
mutedText:"3D5A80",
border: "0F7173",
};
const slide = pres.addSlide();
// ── BACKGROUND ──────────────────────────────────────────────
slide.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: 13.3, h: 7.5,
fill: { color: C.white },
line: { color: C.white },
});
// ── HEADER BAND ─────────────────────────────────────────────
slide.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: 13.3, h: 1.2,
fill: { color: C.navy },
line: { color: C.navy },
});
// Gold accent bar
slide.addShape(pres.ShapeType.rect, {
x: 0, y: 1.2, w: 13.3, h: 0.07,
fill: { color: C.gold },
line: { color: C.gold },
});
// Title
slide.addText("YOUNG SYNDROME", {
x: 0.35, y: 0.05, w: 12.6, h: 0.6,
fontSize: 36, bold: true, color: C.white,
fontFace: "Calibri", align: "center",
charSpacing: 4,
});
// Subtitle
slide.addText("Sinusitis-Infertility Syndrome | A Rare Inherited Triad", {
x: 0.35, y: 0.66, w: 12.6, h: 0.38,
fontSize: 14, bold: false, color: C.gold,
fontFace: "Calibri", align: "center",
italic: true,
});
// ── AUTHORS / INSTITUTION LINE ──────────────────────────────
slide.addText("Academic Poster Presentation • Department of Respiratory Medicine & Urology • 2026", {
x: 0.35, y: 1.25, w: 12.6, h: 0.22,
fontSize: 9, color: C.mutedText, fontFace: "Calibri", align: "center",
italic: true,
});
// ── COLUMN LAYOUT ───────────────────────────────────────────
// Three columns: col1 x=0.15 w=3.8 | col2 x=4.15 w=5.0 | col3 x=9.3 w=3.85
// All sections from y=1.55 to y=7.35
// Helper: section header
function sectionHeader(slide, pres, x, y, w, title, color) {
slide.addShape(pres.ShapeType.rect, {
x, y, w, h: 0.32,
fill: { color: color || C.teal },
line: { color: color || C.teal },
rectRadius: 0.04,
});
slide.addText(title, {
x: x + 0.08, y: y + 0.03, w: w - 0.16, h: 0.26,
fontSize: 10.5, bold: true, color: C.white,
fontFace: "Calibri", align: "left", margin: 0,
});
}
// Helper: content box
function contentBox(slide, pres, x, y, w, h, bgColor) {
slide.addShape(pres.ShapeType.rect, {
x, y, w, h,
fill: { color: bgColor || C.light },
line: { color: "CBD5E0", size: 0.5 },
rectRadius: 0.04,
});
}
// ══════════════════════════════════════════════════════
// COLUMN 1 — Left (x=0.15, w=3.9)
// ══════════════════════════════════════════════════════
const C1X = 0.15, C1W = 3.9;
// 1. INTRODUCTION
sectionHeader(slide, pres, C1X, 1.55, C1W, "📋 INTRODUCTION", C.navy);
contentBox(slide, pres, C1X, 1.88, C1W, 1.25, C.light);
slide.addText([
{ text: "Young Syndrome", options: { bold: true } },
{ text: " (also called ", options: {} },
{ text: "sinusitis-infertility syndrome", options: { italic: true } },
{ text: ") is a rare inherited condition first described in 1970 by D.A. Young. It is characterized by a classic triad:", options: {} },
], {
x: C1X + 0.12, y: 1.9, w: C1W - 0.24, h: 0.38,
fontSize: 9.5, fontFace: "Calibri", color: C.darkText,
});
// Triad boxes
const triadY = 2.3;
const boxes = [
{ label: "Bronchiectasis", sub: "Lower lobe predominant", icon: "🫁" },
{ label: "Sinusitis", sub: "Chronic / recurrent", icon: "👃" },
{ label: "Azoospermia", sub: "Obstructive type", icon: "♂" },
];
boxes.forEach((b, i) => {
const bx = C1X + 0.1 + i * 1.26;
slide.addShape(pres.ShapeType.rect, {
x: bx, y: triadY, w: 1.2, h: 0.72,
fill: { color: C.teal }, line: { color: C.teal }, rectRadius: 0.06,
});
slide.addText(b.icon, {
x: bx, y: triadY + 0.02, w: 1.2, h: 0.28,
fontSize: 14, align: "center", fontFace: "Calibri",
});
slide.addText(b.label, {
x: bx, y: triadY + 0.28, w: 1.2, h: 0.2,
fontSize: 8, bold: true, color: C.white,
align: "center", fontFace: "Calibri",
});
slide.addText(b.sub, {
x: bx, y: triadY + 0.48, w: 1.2, h: 0.18,
fontSize: 7, color: C.gold,
align: "center", fontFace: "Calibri",
});
});
// 2. EPIDEMIOLOGY
sectionHeader(slide, pres, C1X, 3.15, C1W, "🌍 EPIDEMIOLOGY & ETIOLOGY", C.teal);
contentBox(slide, pres, C1X, 3.48, C1W, 1.2, "F0FFF4");
slide.addText([
{ text: "• ", options: {} }, { text: "Rare", options: { bold: true } }, { text: ": Primarily affects males; presents in 2nd–4th decade\n", options: {} },
{ text: "• ", options: {} }, { text: "Genetic basis", options: { bold: true } }, { text: ": Exact gene unknown; autosomal inheritance suspected\n", options: {} },
{ text: "• ", options: {} }, { text: "Mercury hypothesis", options: { bold: true } }, { text: ": Incidence declined after mercury (calomel) restrictions in teething powders in 1950s–60s\n", options: {} },
{ text: "• ", options: {} }, { text: "Prevalence", options: { bold: true } }, { text: ": Less common now vs. mid-20th century", options: {} },
], {
x: C1X + 0.1, y: 3.5, w: C1W - 0.2, h: 1.14,
fontSize: 9, fontFace: "Calibri", color: C.darkText, lineSpacingMultiple: 1.2,
});
// 3. PATHOPHYSIOLOGY
sectionHeader(slide, pres, C1X, 4.72, C1W, "⚙️ PATHOPHYSIOLOGY", C.teal);
contentBox(slide, pres, C1X, 5.05, C1W, 1.1, C.light);
slide.addText([
{ text: "• Not fully elucidated\n", options: {} },
{ text: "• ", options: {} }, { text: "Abnormal mucus viscosity", options: { bold: true } }, { text: " → impaired mucociliary clearance\n", options: {} },
{ text: "• Lungs are structurally normal at birth; thick viscous secretions cause damage over time\n", options: {} },
{ text: "• Ciliary ultrastructure is ", options: {} }, { text: "normal", options: { bold: true } }, { text: " (unlike Kartagener/PCD)\n", options: {} },
{ text: "• Epididymal obstruction by inspissated secretions → obstructive azoospermia", options: {} },
], {
x: C1X + 0.1, y: 5.07, w: C1W - 0.2, h: 1.05,
fontSize: 9, fontFace: "Calibri", color: C.darkText, lineSpacingMultiple: 1.2,
});
// 4. PROGNOSIS
sectionHeader(slide, pres, C1X, 6.19, C1W, "📈 PROGNOSIS", C.navy);
contentBox(slide, pres, C1X, 6.52, C1W, 0.74, "FFF8E7");
slide.addText([
{ text: "• Normal life expectancy in most cases\n", options: {} },
{ text: "• Lung function decline is ", options: {} }, { text: "slower than CF", options: { bold: true, color: "27AE60" } }, { text: "\n", options: {} },
{ text: "• Repeated sinopulmonary infections reduce quality of life\n", options: {} },
{ text: "• Lung function variation is independent of age at diagnosis", options: {} },
], {
x: C1X + 0.1, y: 6.54, w: C1W - 0.2, h: 0.68,
fontSize: 9, fontFace: "Calibri", color: C.darkText, lineSpacingMultiple: 1.2,
});
// ══════════════════════════════════════════════════════
// COLUMN 2 — Centre (x=4.2, w=4.95)
// ══════════════════════════════════════════════════════
const C2X = 4.2, C2W = 4.95;
// 5. CLINICAL FEATURES
sectionHeader(slide, pres, C2X, 1.55, C2W, "🩺 CLINICAL FEATURES", C.navy);
contentBox(slide, pres, C2X, 1.88, C2W, 2.0, C.light);
// Sub-headers inside clinical features
const clinSections = [
{
title: "Respiratory",
color: "1A6B8A",
items: ["Chronic productive cough", "Recurrent lower respiratory infections", "Bronchiectasis (lower lobe predominant)", "Mild obstructive airways disease on PFTs", "Hyperinflated lungs on CXR"],
},
{
title: "ENT",
color: "8E44AD",
items: ["Chronic rhinosinusitis", "Nasal polyps", "Recurrent sinusitis; frontal & maxillary sinus opacification"],
},
{
title: "Reproductive",
color: C.teal,
items: ["Obstructive azoospermia", "Palpable epididymis & vas deferens (present)", "Normal testicular size & spermatogenesis", "Male infertility — primary presenting complaint in young adults"],
},
];
let clinY = 1.9;
clinSections.forEach(sec => {
slide.addText(sec.title.toUpperCase(), {
x: C2X + 0.1, y: clinY, w: 0.8, h: 0.18,
fontSize: 7.5, bold: true, color: sec.color, fontFace: "Calibri",
});
clinY += 0.18;
sec.items.forEach(item => {
slide.addText("▸ " + item, {
x: C2X + 0.18, y: clinY, w: C2W - 0.3, h: 0.17,
fontSize: 8.5, fontFace: "Calibri", color: C.darkText,
});
clinY += 0.17;
});
clinY += 0.04;
});
// 6. DIAGNOSIS
sectionHeader(slide, pres, C2X, 3.93, C2W, "🔬 DIAGNOSIS", C.teal);
contentBox(slide, pres, C2X, 4.26, C2W, 1.52, "EBF5FB");
// Diagnostic criteria table-like
const diagRows = [
{ test: "Clinical Triad", detail: "Bronchiectasis + Chronic sinusitis + Obstructive azoospermia" },
{ test: "Sweat Chloride Test", detail: "NEGATIVE — rules out cystic fibrosis (CF)" },
{ test: "Ciliary Function", detail: "NORMAL — rules out PCD / Kartagener syndrome" },
{ test: "Semen Analysis", detail: "Azoospermia with normal FSH & normal testicular size" },
{ test: "CT Chest", detail: "Cystic bronchiectasis; lower lobe predominance" },
{ test: "Sinus X-ray / CT", detail: "Central opacification of maxillary & frontal sinuses" },
{ test: "Genetic Testing", detail: "Homozygosity / compound heterozygosity (if available)" },
];
diagRows.forEach((row, i) => {
const rowY = 4.28 + i * 0.2;
const rowBg = i % 2 === 0 ? "D6EAF8" : "EBF5FB";
slide.addShape(pres.ShapeType.rect, {
x: C2X + 0.08, y: rowY, w: C2W - 0.16, h: 0.19,
fill: { color: rowBg }, line: { color: "BDC3C7", size: 0.3 },
});
slide.addText(row.test, {
x: C2X + 0.1, y: rowY + 0.01, w: 1.45, h: 0.17,
fontSize: 8, bold: true, fontFace: "Calibri", color: C.navy,
});
slide.addText(row.detail, {
x: C2X + 1.58, y: rowY + 0.01, w: C2W - 1.7, h: 0.17,
fontSize: 8, fontFace: "Calibri", color: C.darkText,
});
});
// 7. DIFFERENTIAL DIAGNOSIS
sectionHeader(slide, pres, C2X, 5.82, C2W, "⚖️ DIFFERENTIAL DIAGNOSIS", C.teal);
contentBox(slide, pres, C2X, 6.15, C2W, 1.12, "FFF0F0");
const diffDx = [
{ dx: "Cystic Fibrosis", diff: "Normal sweat chloride; no pancreatic insufficiency in Young Syndrome" },
{ dx: "PCD / Kartagener Syndrome", diff: "Ciliary ultrastructure is NORMAL in Young Syndrome; situs inversus absent" },
{ dx: "Idiopathic Bronchiectasis", diff: "No epididymal obstruction / azoospermia" },
];
diffDx.forEach((d, i) => {
slide.addText([
{ text: "◆ " + d.dx + ": ", options: { bold: true, color: "C0392B" } },
{ text: d.diff, options: { color: C.darkText } },
], {
x: C2X + 0.1, y: 6.17 + i * 0.34, w: C2W - 0.2, h: 0.3,
fontSize: 8.5, fontFace: "Calibri",
});
});
// ══════════════════════════════════════════════════════
// COLUMN 3 — Right (x=9.3, w=3.85)
// ══════════════════════════════════════════════════════
const C3X = 9.3, C3W = 3.85;
// 8. MANAGEMENT
sectionHeader(slide, pres, C3X, 1.55, C3W, "💊 MANAGEMENT", C.navy);
contentBox(slide, pres, C3X, 1.88, C3W, 2.6, C.light);
const mgmtSections = [
{
title: "Pulmonary",
color: "1A6B8A",
items: [
"Antibiotics for bacterial exacerbations",
"Inhaled albuterol (bronchodilation)",
"Hypertonic saline (airway clearance)",
"Chest physiotherapy & postural drainage",
"Smoking cessation (paramount)",
"Influenza & pneumococcal vaccination",
],
},
{
title: "Sinus",
color: "8E44AD",
items: [
"Nasal saline irrigation",
"Intranasal corticosteroids",
"Functional endoscopic sinus surgery (FESS) if severe",
],
},
{
title: "Fertility",
color: C.teal,
items: [
"Epididymal sperm aspiration (PESA/MESA)",
"Assisted reproductive techniques (ART/ICSI)",
"Genetic counselling before fertility treatment",
"Sperm retrieved from epididymis — normal morphology",
],
},
];
let mgmtY = 1.9;
mgmtSections.forEach(sec => {
slide.addText(sec.title.toUpperCase(), {
x: C3X + 0.1, y: mgmtY, w: 3.5, h: 0.18,
fontSize: 7.5, bold: true, color: sec.color, fontFace: "Calibri",
});
mgmtY += 0.18;
sec.items.forEach(item => {
slide.addText("▸ " + item, {
x: C3X + 0.18, y: mgmtY, w: C3W - 0.3, h: 0.17,
fontSize: 8.5, fontFace: "Calibri", color: C.darkText,
});
mgmtY += 0.17;
});
mgmtY += 0.05;
});
// 9. KEY COMPARISONS TABLE
sectionHeader(slide, pres, C3X, 4.52, C3W, "📊 COMPARISON WITH MIMICS", C.teal);
contentBox(slide, pres, C3X, 4.85, C3W, 1.42, "EBF5FB");
// Table header
const tblHdrY = 4.87;
const cols = [
{ label: "Feature", x: C3X + 0.08, w: 1.1 },
{ label: "Young", x: C3X + 1.2, w: 0.8 },
{ label: "CF", x: C3X + 2.02, w: 0.7 },
{ label: "PCD", x: C3X + 2.74, w: 0.9 },
];
cols.forEach(c => {
slide.addShape(pres.ShapeType.rect, {
x: c.x, y: tblHdrY, w: c.w, h: 0.2,
fill: { color: C.navy }, line: { color: C.navy },
});
slide.addText(c.label, {
x: c.x + 0.02, y: tblHdrY + 0.01, w: c.w - 0.04, h: 0.18,
fontSize: 7.5, bold: true, color: C.white, fontFace: "Calibri", align: "center",
});
});
const tblRows = [
["Sweat Cl⁻", "Normal", "High", "Normal"],
["Cilia", "Normal", "Normal", "Abnormal"],
["Situs inversus","Absent", "Absent", "50% present"],
["Male fertility","Infertile","Infertile","Infertile"],
["GI symptoms", "Absent", "Present","Absent"],
["Pancreas", "Normal", "Affected","Normal"],
];
tblRows.forEach((row, ri) => {
const ry = tblHdrY + 0.21 + ri * 0.19;
const bg = ri % 2 === 0 ? "D6EAF8" : "EBF5FB";
cols.forEach((c, ci) => {
slide.addShape(pres.ShapeType.rect, {
x: c.x, y: ry, w: c.w, h: 0.18,
fill: { color: bg }, line: { color: "BDC3C7", size: 0.3 },
});
const val = row[ci];
const isYoungNormal = ci === 1 && val === "Normal";
slide.addText(val, {
x: c.x + 0.02, y: ry + 0.01, w: c.w - 0.04, h: 0.16,
fontSize: 7.5, fontFace: "Calibri", align: "center",
color: isYoungNormal ? "27AE60" : (ci === 0 ? C.navy : C.darkText),
bold: ci === 0,
});
});
});
// 10. KEY PEARLS
sectionHeader(slide, pres, C3X, 6.31, C3W, "💡 CLINICAL PEARLS", C.gold.replace("#",""));
// Fix: use gold as bg properly
slide.addShape(pres.ShapeType.rect, {
x: C3X, y: 6.31, w: C3W, h: 0.32,
fill: { color: C.gold }, line: { color: C.gold }, rectRadius: 0.04,
});
slide.addText("💡 CLINICAL PEARLS", {
x: C3X + 0.08, y: 6.34, w: C3W - 0.16, h: 0.26,
fontSize: 10.5, bold: true, color: C.navy, fontFace: "Calibri", align: "left", margin: 0,
});
contentBox(slide, pres, C3X, 6.64, C3W, 0.7, "FFFACD");
slide.addText([
{ text: "★ ", options: { color: C.gold, bold: true } },
{ text: "No cure — management mirrors CF protocols\n", options: {} },
{ text: "★ ", options: { color: C.gold, bold: true } },
{ text: "Diagnosis often delayed by years — high index of suspicion in young men with infertility + chest symptoms\n", options: {} },
{ text: "★ ", options: { color: C.gold, bold: true } },
{ text: "Sperm retrieval is feasible — reproductive prognosis is not hopeless", options: {} },
], {
x: C3X + 0.1, y: 6.66, w: C3W - 0.2, h: 0.64,
fontSize: 8.5, fontFace: "Calibri", color: C.darkText, lineSpacingMultiple: 1.25,
});
// ── FOOTER ──────────────────────────────────────────────────
slide.addShape(pres.ShapeType.rect, {
x: 0, y: 7.28, w: 13.3, h: 0.22,
fill: { color: C.navy }, line: { color: C.navy },
});
slide.addText(
"References: StatPearls (Mohammed & Jan, 2023) • Cihanbeylerden & Kurt, Eur Rev Med Pharmacol Sci 2022 • Murray & Nadel Respiratory Medicine • Smith & Tanagho General Urology",
{
x: 0.2, y: 7.29, w: 13.0, h: 0.19,
fontSize: 6.5, color: "AABBC8", fontFace: "Calibri", align: "center",
}
);
// Save
pres.writeFile({ fileName: "/home/daytona/workspace/young-syndrome-poster/Young_Syndrome_Poster.pptx" })
.then(() => console.log("✅ Poster saved successfully."))
.catch(err => console.error("❌ Error:", err));