give me detailed flowchart of posterior uveitis, few ideas such as with vitritis without vitritis , primary site of lesion retina choroid, solitory or multifocal, infectious non infectious, bilateral unilateral, retinitis choroiditis chorioretinitis retinochoroiditis neuroretinitis, with all examples
ls /home/daytona/workspace/ 2>/dev/null || echo "workspace empty or missing"
.../posterior-uveitis-flowchart/posterior_uveitis_flowchart.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Posterior Uveitis - Detailed Diagnostic Flowchart</title>
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', Arial, sans-serif; background: #f0f4f8; color: #1a1a2e; }
.page-title {
text-align: center;
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
color: white;
padding: 24px 20px 20px;
}
.page-title h1 { font-size: 26px; letter-spacing: 1px; margin-bottom: 6px; }
.page-title p { font-size: 13px; opacity: 0.75; }
.flowchart { padding: 30px 20px; max-width: 1600px; margin: 0 auto; }
/* === ROOT NODE === */
.root-box {
background: linear-gradient(135deg, #e63946, #c1121f);
color: white;
border-radius: 12px;
padding: 16px 30px;
text-align: center;
font-size: 20px;
font-weight: 700;
width: 320px;
margin: 0 auto 10px;
box-shadow: 0 6px 20px rgba(198,18,31,0.35);
letter-spacing: 0.5px;
}
/* === CONNECTOR LINES === */
.v-line { width: 3px; background: #666; height: 22px; margin: 0 auto; }
.v-line-short { width: 3px; background: #aaa; height: 14px; margin: 0 auto; }
.h-divider { border: none; border-top: 2px dashed #bbb; margin: 8px 0; }
/* LEVEL 1 - VITRITIS branches */
.level1-row {
display: flex;
justify-content: center;
gap: 40px;
margin: 0 auto;
position: relative;
}
.level1-row::before {
content: '';
position: absolute;
top: 0;
left: calc(50% - 200px);
width: 400px;
height: 3px;
background: #666;
}
.branch-col { display: flex; flex-direction: column; align-items: center; }
/* VITRITIS BOXES */
.vitritis-yes {
background: linear-gradient(135deg, #e07b39, #c25e20);
color: white;
border-radius: 10px;
padding: 12px 24px;
font-size: 15px;
font-weight: 700;
text-align: center;
width: 210px;
box-shadow: 0 4px 14px rgba(194,94,32,0.3);
}
.vitritis-no {
background: linear-gradient(135deg, #457b9d, #1d3557);
color: white;
border-radius: 10px;
padding: 12px 24px;
font-size: 15px;
font-weight: 700;
text-align: center;
width: 210px;
box-shadow: 0 4px 14px rgba(29,53,87,0.3);
}
/* === SECTION CONTAINERS === */
.section { margin: 30px 0; }
/* PRIMARY SITE BOXES */
.site-row { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin: 10px auto; }
.site-box {
border-radius: 10px;
padding: 10px 20px;
font-size: 14px;
font-weight: 700;
text-align: center;
min-width: 150px;
border: 3px solid transparent;
}
.site-retina { background: #fff3e0; border-color: #e07b39; color: #b85c00; }
.site-choroid { background: #e3f2fd; border-color: #1976d2; color: #0d47a1; }
.site-both { background: #f3e5f5; border-color: #7b1fa2; color: #4a148c; }
/* PATTERN BOXES */
.pattern-row { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin: 8px auto; }
.pattern-box {
background: white;
border-radius: 8px;
padding: 8px 16px;
font-size: 13px;
font-weight: 600;
border-left: 5px solid #888;
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
min-width: 120px;
text-align: center;
}
.pattern-focal { border-color: #43a047; }
.pattern-multi { border-color: #fb8c00; }
.pattern-geographic { border-color: #8e24aa; }
.pattern-diffuse { border-color: #e53935; }
/* === MAIN GRID === */
.main-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 24px;
margin: 20px 0;
}
/* BIG CARDS */
.big-card {
background: white;
border-radius: 14px;
box-shadow: 0 4px 16px rgba(0,0,0,0.10);
overflow: hidden;
}
.big-card-header {
padding: 12px 18px;
font-size: 15px;
font-weight: 700;
color: white;
letter-spacing: 0.3px;
}
.hdr-infectious { background: linear-gradient(135deg, #d32f2f, #b71c1c); }
.hdr-noninfectious { background: linear-gradient(135deg, #1565c0, #0d47a1); }
.hdr-bilateral { background: linear-gradient(135deg, #2e7d32, #1b5e20); }
.hdr-unilateral { background: linear-gradient(135deg, #6a1b9a, #4a148c); }
.hdr-entity { background: linear-gradient(135deg, #00695c, #004d40); }
.big-card-body { padding: 14px 18px; }
/* SUB-CATEGORY within card */
.sub-cat {
margin-bottom: 14px;
padding-bottom: 12px;
border-bottom: 1px dashed #e0e0e0;
}
.sub-cat:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.sub-cat-title {
font-size: 13px;
font-weight: 700;
margin-bottom: 6px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.sub-cat-title.retinal { color: #e07b39; }
.sub-cat-title.choroidal { color: #1976d2; }
.sub-cat-title.combined { color: #7b1fa2; }
.sub-cat-title.neuro { color: #00695c; }
.sub-cat-title.vascular { color: #c62828; }
/* DISEASE PILLS */
.pill-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
padding: 4px 10px;
border-radius: 20px;
font-size: 12px;
font-weight: 600;
white-space: nowrap;
display: flex;
align-items: center;
gap: 4px;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.pill-retinitis { background: #fff3e0; color: #e65100; border: 1.5px solid #ffb74d; }
.pill-retinitis .pill-dot { background: #e65100; }
.pill-choroiditis { background: #e3f2fd; color: #0d47a1; border: 1.5px solid #64b5f6; }
.pill-choroiditis .pill-dot { background: #1976d2; }
.pill-combined { background: #f3e5f5; color: #6a1b9a; border: 1.5px solid #ce93d8; }
.pill-combined .pill-dot { background: #7b1fa2; }
.pill-neuro { background: #e0f2f1; color: #004d40; border: 1.5px solid #80cbc4; }
.pill-neuro .pill-dot { background: #00897b; }
.pill-vascular { background: #fce4ec; color: #880e4f; border: 1.5px solid #f48fb1; }
.pill-vascular .pill-dot { background: #c2185b; }
/* === ENTITY EXPLANATION CARDS === */
.entity-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
gap: 16px;
margin: 20px 0;
}
.entity-card {
background: white;
border-radius: 12px;
box-shadow: 0 3px 12px rgba(0,0,0,0.09);
overflow: hidden;
}
.entity-card-header {
padding: 10px 14px;
font-size: 14px;
font-weight: 700;
color: white;
}
.entity-retinitis { background: linear-gradient(135deg, #e65100, #bf360c); }
.entity-choroiditis { background: linear-gradient(135deg, #1565c0, #0d47a1); }
.entity-chorioretinitis { background: linear-gradient(135deg, #6a1b9a, #4a148c); }
.entity-retinochoroiditis { background: linear-gradient(135deg, #827717, #f57f17); }
.entity-neuroretinitis { background: linear-gradient(135deg, #00695c, #004d40); }
.entity-vasculitis { background: linear-gradient(135deg, #b71c1c, #880e4f); }
.entity-card-body { padding: 12px 14px; }
.entity-def { font-size: 12.5px; color: #333; margin-bottom: 8px; line-height: 1.5; }
.entity-examples { font-size: 12px; color: #555; }
.entity-examples strong { color: #222; }
.entity-vitritis {
display: inline-block;
padding: 2px 8px;
border-radius: 10px;
font-size: 11px;
font-weight: 700;
margin-top: 6px;
}
.vitritis-present { background: #fff3e0; color: #e65100; border: 1px solid #ffb74d; }
.vitritis-absent { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.vitritis-variable { background: #ede7f6; color: #4527a0; border: 1px solid #b39ddb; }
/* === LEGEND === */
.legend {
background: white;
border-radius: 12px;
padding: 16px 20px;
margin: 20px 0;
box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}
.legend h3 { font-size: 14px; margin-bottom: 10px; color: #333; }
.legend-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; }
.legend-item { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.legend-swatch { width: 14px; height: 14px; border-radius: 3px; flex-shrink: 0; }
/* === LATERALITY SECTION === */
.laterality-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 24px;
margin: 20px 0;
}
/* === KEY SIGNS TABLE === */
.signs-table { width: 100%; border-collapse: collapse; font-size: 12.5px; margin-top: 8px; }
.signs-table th { background: #37474f; color: white; padding: 8px 10px; text-align: left; }
.signs-table td { padding: 7px 10px; border-bottom: 1px solid #eceff1; vertical-align: top; }
.signs-table tr:nth-child(even) td { background: #f9fbe7; }
.signs-table tr:hover td { background: #e8f5e9; }
/* LABEL BADGE */
.label-badge {
display: inline-block;
padding: 3px 10px;
border-radius: 20px;
font-size: 11px;
font-weight: 700;
margin-bottom: 8px;
}
.badge-step { background: #37474f; color: white; }
/* COLOR CLUE BOX */
.color-clue-row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin: 8px 0; }
.color-clue {
padding: 8px 16px;
border-radius: 8px;
font-size: 12.5px;
font-weight: 600;
text-align: center;
min-width: 130px;
}
.clue-white { background: #fafafa; border: 2px solid #bdbdbd; color: #424242; }
.clue-yellow { background: #fff9c4; border: 2px solid #f9a825; color: #e65100; }
.clue-pigmented { background: #efebe9; border: 2px solid #795548; color: #3e2723; }
/* STEP FLOW ARROW */
.flow-arrow { text-align: center; font-size: 22px; color: #888; margin: 4px 0; }
@media (max-width: 900px) {
.main-grid, .laterality-grid { grid-template-columns: 1fr; }
.level1-row { flex-direction: column; align-items: center; gap: 20px; }
.level1-row::before { display: none; }
}
@media print {
body { background: white; }
.big-card, .entity-card, .legend { box-shadow: none; border: 1px solid #ddd; }
}
</style>
</head>
<body>
<div class="page-title">
<h1>POSTERIOR UVEITIS — Comprehensive Diagnostic Flowchart</h1>
<p>Source: Kanski's Clinical Ophthalmology 10th Ed. | Wills Eye Manual | Firestein & Kelley's Textbook of Rheumatology</p>
</div>
<div class="flowchart">
<!-- ====================== ROOT ====================== -->
<div class="root-box">POSTERIOR UVEITIS</div>
<div class="v-line"></div>
<!-- DEFINITION STRIP -->
<div style="text-align:center; background:#fff8f0; border:2px solid #e07b39; border-radius:10px; padding:10px 20px; max-width:700px; margin:0 auto 10px; font-size:13px; color:#555; line-height:1.6;">
<strong style="color:#c25e20;">Definition:</strong> Encompasses retinitis, choroiditis, retinal vasculitis, neuroretinitis.<br>
Inflammation primarily posterior to the vitreous base — retina, choroid, or both.
</div>
<div class="v-line"></div>
<!-- ====================== STEP 1: VITRITIS ====================== -->
<div style="text-align:center; margin-bottom:6px;">
<span class="label-badge badge-step">STEP 1 — VITRITIS?</span>
</div>
<div class="v-line-short"></div>
<div style="display:flex; justify-content:center; align-items:flex-start; gap:0; position:relative; max-width:700px; margin:0 auto;">
<!-- horizontal connector -->
<div style="position:absolute; top:0; left:50%; transform:translateX(-50%); width:360px; height:3px; background:#666; top:0;"></div>
</div>
<!-- VITRITIS SPLIT -->
<div style="display:flex; justify-content:center; gap:80px; margin:0 auto 6px;">
<div class="branch-col">
<div style="width:3px; height:20px; background:#666; margin:0 auto;"></div>
<div class="vitritis-yes">WITH VITRITIS<br><span style="font-size:11px; font-weight:400; opacity:0.9">(Vitreous cells present)</span></div>
<div style="width:3px; height:14px; background:#e07b39; margin:0 auto;"></div>
<div style="background:#fff3e0; border:2px solid #e07b39; border-radius:8px; padding:8px 12px; font-size:12px; color:#b85c00; max-width:200px; text-align:center;">
<strong>Suggests retinal primary</strong><br>Retinitis, Retinochoroiditis, ARN, Neuroretinitis
</div>
</div>
<div style="width:3px; height:60px; background:#666; align-self:flex-start; margin-top:20px;"></div>
<div class="branch-col">
<div style="width:3px; height:20px; background:#666; margin:0 auto;"></div>
<div class="vitritis-no">WITHOUT VITRITIS<br><span style="font-size:11px; font-weight:400; opacity:0.9">(Vitreous clear)</span></div>
<div style="width:3px; height:14px; background:#457b9d; margin:0 auto;"></div>
<div style="background:#e3f2fd; border:2px solid #457b9d; border-radius:8px; padding:8px 12px; font-size:12px; color:#0d47a1; max-width:200px; text-align:center;">
<strong>Suggests choroidal primary</strong><br>Choroiditis, PORN, White dot syndromes
</div>
</div>
</div>
<div class="v-line" style="height:30px;"></div>
<!-- ====================== STEP 2: PRIMARY SITE ====================== -->
<div style="text-align:center; margin-bottom:6px;">
<span class="label-badge badge-step">STEP 2 — PRIMARY SITE OF LESION</span>
</div>
<div style="background:white; border-radius:12px; padding:14px 20px; max-width:800px; margin:8px auto; box-shadow:0 3px 12px rgba(0,0,0,0.08);">
<div class="color-clue-row">
<div class="color-clue clue-white">⬜ WHITE lesions<br><span style="font-size:11px; font-weight:400;">= Usually RETINAL<br>(full-thickness opacity)</span></div>
<div class="color-clue clue-yellow">🟡 YELLOW lesions<br><span style="font-size:11px; font-weight:400;">= Usually CHOROIDAL<br>(seen through RPE)</span></div>
<div class="color-clue clue-pigmented">🟫 PIGMENTED lesions<br><span style="font-size:11px; font-weight:400;">= Long-standing / healed<br>(chorioretinal scar)</span></div>
</div>
<div class="site-row" style="margin-top:10px;">
<div class="site-box site-retina">RETINA<br><span style="font-size:11px; font-weight:400;">Retinitis<br>Retinochoroiditis</span></div>
<div class="site-box site-choroid">CHOROID<br><span style="font-size:11px; font-weight:400;">Choroiditis<br>Chorioretinitis</span></div>
<div class="site-box site-both">RETINA + CHOROID<br><span style="font-size:11px; font-weight:400;">Concurrent involvement<br>Panuveitis overlap</span></div>
<div class="site-box" style="background:#e8f5e9; border-color:#2e7d32; color:#1b5e20;">OPTIC NERVE<br><span style="font-size:11px; font-weight:400;">Neuroretinitis<br>Papillitis</span></div>
<div class="site-box" style="background:#fce4ec; border-color:#c62828; color:#880e4f;">VESSELS<br><span style="font-size:11px; font-weight:400;">Retinal vasculitis<br>Periphlebitis / Arteritis</span></div>
</div>
</div>
<div class="v-line" style="height:24px;"></div>
<!-- ====================== STEP 3: PATTERN ====================== -->
<div style="text-align:center; margin-bottom:6px;">
<span class="label-badge badge-step">STEP 3 — DISTRIBUTION PATTERN</span>
</div>
<div style="background:white; border-radius:12px; padding:12px 20px; max-width:760px; margin:8px auto; box-shadow:0 3px 12px rgba(0,0,0,0.08);">
<div class="pattern-row">
<div class="pattern-box pattern-focal">FOCAL / SOLITARY<br><span style="font-size:11px; color:#555; font-weight:400;">Single lesion<br>Toxoplasma</span></div>
<div class="pattern-box pattern-multi">MULTIFOCAL<br><span style="font-size:11px; color:#555; font-weight:400;">Multiple discrete lesions<br>Sarcoid, Syphilis, MEWDS</span></div>
<div class="pattern-box pattern-geographic">GEOGRAPHIC<br><span style="font-size:11px; color:#555; font-weight:400;">Map-like<br>Serpiginous choroiditis</span></div>
<div class="pattern-box pattern-diffuse">DIFFUSE<br><span style="font-size:11px; color:#555; font-weight:400;">Widespread<br>CMV, ARN</span></div>
</div>
</div>
<div class="v-line" style="height:24px;"></div>
<!-- ====================== STEP 4: INFECTIOUS vs NON-INFECTIOUS ====================== -->
<div style="text-align:center; margin-bottom:8px;">
<span class="label-badge badge-step">STEP 4 — INFECTIOUS vs NON-INFECTIOUS</span>
</div>
<div class="main-grid">
<!-- INFECTIOUS CARD -->
<div class="big-card">
<div class="big-card-header hdr-infectious">🦠 INFECTIOUS POSTERIOR UVEITIS</div>
<div class="big-card-body">
<div class="sub-cat">
<div class="sub-cat-title retinal">RETINITIS (Primary Retinal)</div>
<div class="pill-row">
<span class="pill pill-retinitis"><span class="pill-dot"></span>Toxoplasma retinochoroiditis</span>
<span class="pill pill-retinitis"><span class="pill-dot"></span>CMV retinitis (immunocompromised)</span>
<span class="pill pill-retinitis"><span class="pill-dot"></span>Acute Retinal Necrosis (HSV/VZV)</span>
<span class="pill pill-retinitis"><span class="pill-dot"></span>PORN (VZV, HIV)</span>
<span class="pill pill-retinitis"><span class="pill-dot"></span>Candida retinitis</span>
<span class="pill pill-retinitis"><span class="pill-dot"></span>Syphilitic retinitis</span>
<span class="pill pill-retinitis"><span class="pill-dot"></span>TB retinitis</span>
</div>
</div>
<div class="sub-cat">
<div class="sub-cat-title choroidal">CHOROIDITIS (Primary Choroidal)</div>
<div class="pill-row">
<span class="pill pill-choroiditis"><span class="pill-dot"></span>Pneumocystis choroiditis</span>
<span class="pill pill-choroiditis"><span class="pill-dot"></span>Cryptococcal choroiditis</span>
<span class="pill pill-choroiditis"><span class="pill-dot"></span>Histoplasma chorioretinitis</span>
<span class="pill pill-choroiditis"><span class="pill-dot"></span>TB choroiditis</span>
</div>
</div>
<div class="sub-cat">
<div class="sub-cat-title combined">CHORIORETINITIS / RETINOCHOROIDITIS</div>
<div class="pill-row">
<span class="pill pill-combined"><span class="pill-dot"></span>Toxoplasma (retinochoroiditis)</span>
<span class="pill pill-combined"><span class="pill-dot"></span>Congenital CMV / Rubella</span>
<span class="pill pill-combined"><span class="pill-dot"></span>Syphilis (chorioretinitis)</span>
<span class="pill pill-combined"><span class="pill-dot"></span>TB (multifocal choroiditis)</span>
<span class="pill pill-combined"><span class="pill-dot"></span>Onchocerciasis</span>
<span class="pill pill-combined"><span class="pill-dot"></span>Cysticercosis</span>
</div>
</div>
<div class="sub-cat">
<div class="sub-cat-title neuro">NEURORETINITIS</div>
<div class="pill-row">
<span class="pill pill-neuro"><span class="pill-dot"></span>Bartonella (cat-scratch disease)</span>
<span class="pill pill-neuro"><span class="pill-dot"></span>Lyme disease</span>
<span class="pill pill-neuro"><span class="pill-dot"></span>Toxocara canis (DUSN)</span>
<span class="pill pill-neuro"><span class="pill-dot"></span>Syphilis</span>
</div>
</div>
<div class="sub-cat">
<div class="sub-cat-title vascular">RETINAL VASCULITIS (Infectious)</div>
<div class="pill-row">
<span class="pill pill-vascular"><span class="pill-dot"></span>Syphilis</span>
<span class="pill pill-vascular"><span class="pill-dot"></span>TB</span>
<span class="pill pill-vascular"><span class="pill-dot"></span>Herpes (ARN - arteritis)</span>
<span class="pill pill-vascular"><span class="pill-dot"></span>HIV</span>
</div>
</div>
</div>
</div>
<!-- NON-INFECTIOUS CARD -->
<div class="big-card">
<div class="big-card-header hdr-noninfectious">🔵 NON-INFECTIOUS POSTERIOR UVEITIS</div>
<div class="big-card-body">
<div class="sub-cat">
<div class="sub-cat-title retinal">RETINITIS (Primary Retinal)</div>
<div class="pill-row">
<span class="pill pill-retinitis"><span class="pill-dot"></span>Behçet disease (occlusive vasculitis)</span>
<span class="pill pill-retinitis"><span class="pill-dot"></span>ARN-like (autoimmune)</span>
<span class="pill pill-retinitis"><span class="pill-dot"></span>Intraocular lymphoma (masquerade)</span>
</div>
</div>
<div class="sub-cat">
<div class="sub-cat-title choroidal">CHOROIDITIS - WHITE DOT SYNDROMES</div>
<div class="pill-row">
<span class="pill pill-choroiditis"><span class="pill-dot"></span>Multifocal choroiditis (MFC)</span>
<span class="pill pill-choroiditis"><span class="pill-dot"></span>Punctate inner choroidopathy (PIC)</span>
<span class="pill pill-choroiditis"><span class="pill-dot"></span>MEWDS (Multiple evanescent white dot)</span>
<span class="pill pill-choroiditis"><span class="pill-dot"></span>Acute posterior multifocal placoid (APMPPE)</span>
<span class="pill pill-choroiditis"><span class="pill-dot"></span>Serpiginous choroiditis</span>
<span class="pill pill-choroiditis"><span class="pill-dot"></span>Ocular histoplasmosis syndrome (OHS)</span>
</div>
</div>
<div class="sub-cat">
<div class="sub-cat-title combined">CHORIORETINITIS / RETINOCHOROIDITIS</div>
<div class="pill-row">
<span class="pill pill-combined"><span class="pill-dot"></span>Birdshot chorioretinopathy (HLA-A29)</span>
<span class="pill pill-combined"><span class="pill-dot"></span>Sarcoidosis</span>
<span class="pill pill-combined"><span class="pill-dot"></span>Vogt-Koyanagi-Harada (VKH)</span>
<span class="pill pill-combined"><span class="pill-dot"></span>Sympathetic ophthalmia</span>
<span class="pill pill-combined"><span class="pill-dot"></span>Systemic lupus (SLE)</span>
</div>
</div>
<div class="sub-cat">
<div class="sub-cat-title neuro">NEURORETINITIS (Non-infectious)</div>
<div class="pill-row">
<span class="pill pill-neuro"><span class="pill-dot"></span>IRVAN syndrome</span>
<span class="pill pill-neuro"><span class="pill-dot"></span>Sarcoid neuroretinitis</span>
<span class="pill pill-neuro"><span class="pill-dot"></span>VKH (disc edema)</span>
</div>
</div>
<div class="sub-cat">
<div class="sub-cat-title vascular">RETINAL VASCULITIS (Non-infectious)</div>
<div class="pill-row">
<span class="pill pill-vascular"><span class="pill-dot"></span>Sarcoidosis (candlewax exudates)</span>
<span class="pill pill-vascular"><span class="pill-dot"></span>Eales disease (periphlebitis)</span>
<span class="pill pill-vascular"><span class="pill-dot"></span>Behçet (occlusive)</span>
<span class="pill pill-vascular"><span class="pill-dot"></span>Birdshot retinopathy</span>
<span class="pill pill-vascular"><span class="pill-dot"></span>Multiple sclerosis (periphlebitis)</span>
<span class="pill pill-vascular"><span class="pill-dot"></span>Susac syndrome</span>
<span class="pill pill-vascular"><span class="pill-dot"></span>Frosted branch angiitis</span>
<span class="pill pill-vascular"><span class="pill-dot"></span>Giant cell arteritis</span>
</div>
</div>
</div>
</div>
</div>
<div class="v-line" style="height:20px;"></div>
<!-- ====================== STEP 5: LATERALITY ====================== -->
<div style="text-align:center; margin-bottom:8px;">
<span class="label-badge badge-step">STEP 5 — LATERALITY (UNILATERAL vs BILATERAL)</span>
</div>
<div class="laterality-grid">
<div class="big-card">
<div class="big-card-header hdr-unilateral">UNILATERAL</div>
<div class="big-card-body">
<div class="sub-cat">
<div class="sub-cat-title retinal">Infectious</div>
<div class="pill-row">
<span class="pill pill-retinitis"><span class="pill-dot"></span>Toxoplasma retinochoroiditis</span>
<span class="pill pill-retinitis"><span class="pill-dot"></span>CMV retinitis (early)</span>
<span class="pill pill-retinitis"><span class="pill-dot"></span>ARN (often starts unilateral)</span>
<span class="pill pill-retinitis"><span class="pill-dot"></span>PORN</span>
</div>
</div>
<div class="sub-cat">
<div class="sub-cat-title choroidal">Non-infectious</div>
<div class="pill-row">
<span class="pill pill-choroiditis"><span class="pill-dot"></span>MEWDS</span>
<span class="pill pill-choroiditis"><span class="pill-dot"></span>PIC</span>
<span class="pill pill-choroiditis"><span class="pill-dot"></span>Eales disease</span>
<span class="pill pill-choroiditis"><span class="pill-dot"></span>Frosted branch angiitis</span>
</div>
</div>
<div class="sub-cat">
<div class="sub-cat-title neuro">Neuroretinitis</div>
<div class="pill-row">
<span class="pill pill-neuro"><span class="pill-dot"></span>Cat-scratch (Bartonella) - unilateral</span>
<span class="pill pill-neuro"><span class="pill-dot"></span>Toxocara / DUSN - unilateral</span>
</div>
</div>
</div>
</div>
<div class="big-card">
<div class="big-card-header hdr-bilateral">BILATERAL</div>
<div class="big-card-body">
<div class="sub-cat">
<div class="sub-cat-title retinal">Infectious</div>
<div class="pill-row">
<span class="pill pill-retinitis"><span class="pill-dot"></span>CMV retinitis (advanced HIV)</span>
<span class="pill pill-retinitis"><span class="pill-dot"></span>Bilateral ARN (33% become bilateral)</span>
<span class="pill pill-retinitis"><span class="pill-dot"></span>Syphilis</span>
<span class="pill pill-retinitis"><span class="pill-dot"></span>TB</span>
</div>
</div>
<div class="sub-cat">
<div class="sub-cat-title choroidal">Non-infectious (typically bilateral)</div>
<div class="pill-row">
<span class="pill pill-choroiditis"><span class="pill-dot"></span>VKH syndrome</span>
<span class="pill pill-choroiditis"><span class="pill-dot"></span>Sympathetic ophthalmia</span>
<span class="pill pill-choroiditis"><span class="pill-dot"></span>Birdshot chorioretinopathy</span>
<span class="pill pill-choroiditis"><span class="pill-dot"></span>Sarcoidosis</span>
<span class="pill pill-choroiditis"><span class="pill-dot"></span>APMPPE</span>
<span class="pill pill-choroiditis"><span class="pill-dot"></span>Serpiginous choroiditis</span>
<span class="pill pill-choroiditis"><span class="pill-dot"></span>Multifocal choroiditis (MFC)</span>
</div>
</div>
<div class="sub-cat">
<div class="sub-cat-title neuro">Neuroretinitis / Vasculitis</div>
<div class="pill-row">
<span class="pill pill-neuro"><span class="pill-dot"></span>Behçet (bilateral occlusive vasculitis)</span>
<span class="pill pill-neuro"><span class="pill-dot"></span>Susac syndrome</span>
</div>
</div>
</div>
</div>
</div>
<div class="v-line" style="height:20px;"></div>
<!-- ====================== ENTITY CARDS ====================== -->
<div style="text-align:center; margin-bottom:10px;">
<span class="label-badge badge-step">STEP 6 — CLINICAL ENTITY DEFINITIONS WITH EXAMPLES</span>
</div>
<div class="entity-grid">
<!-- RETINITIS -->
<div class="entity-card">
<div class="entity-card-header entity-retinitis">RETINITIS</div>
<div class="entity-card-body">
<div class="entity-def">Primary inflammation of the retina. White, full-thickness opacification with indistinct borders due to surrounding edema. Overlying vitreous haze (vitritis) is usually present.</div>
<div class="entity-examples">
<strong>Classic sign:</strong> White retinal opacity, indistinct margins<br>
<strong>Infectious examples:</strong><br>
• CMV retinitis - granular white patches + hemorrhage ("pizza-pie")<br>
• Toxoplasma retinitis - "headlight in fog" focal dense whitening<br>
• ARN - peripheral necrotizing retinitis, rapid progression<br>
• PORN - deep retinal opacification, no vitritis, in HIV<br>
<strong>Non-infectious:</strong> Behçet (occlusive), intraocular lymphoma
</div>
<div>
<span class="entity-vitritis vitritis-present">Vitritis: Usually PRESENT</span>
<span class="entity-vitritis vitritis-absent" style="margin-left:4px;">PORN: Absent</span>
</div>
</div>
</div>
<!-- CHOROIDITIS -->
<div class="entity-card">
<div class="entity-card-header entity-choroiditis">CHOROIDITIS</div>
<div class="entity-card-body">
<div class="entity-def">Primary inflammation of the choroid. Yellow, deep lesions seen through the RPE. Vitreous is usually clear UNLESS secondary retinal spread occurs.</div>
<div class="entity-examples">
<strong>Classic sign:</strong> Round yellow nodule (deep to retina)<br>
<strong>White Dot Syndromes (multifocal):</strong><br>
• APMPPE - bilateral placoid sub-RPE lesions, young adults<br>
• MFC - multiple punched-out scars, myopic women<br>
• PIC - small punctate choroidal lesions, high myopes<br>
• MEWDS - unilateral, evanescent, outer retina / choroid<br>
• Serpiginous - geographic, peripapillary spread<br>
<strong>Infectious:</strong> Pneumocystis, Cryptococcus, Histoplasma
</div>
<div>
<span class="entity-vitritis vitritis-absent">Vitritis: Usually ABSENT</span>
<span class="entity-vitritis vitritis-variable" style="margin-left:4px;">MFC: Variable</span>
</div>
</div>
</div>
<!-- CHORIORETINITIS -->
<div class="entity-card">
<div class="entity-card-header entity-chorioretinitis">CHORIORETINITIS</div>
<div class="entity-card-body">
<div class="entity-def">Primary choroidal inflammation with SECONDARY spread to the overlying retina. Starts deep (yellow), extends superficially (white).</div>
<div class="entity-examples">
<strong>Classic examples:</strong><br>
• <strong>Birdshot chorioretinopathy</strong> - HLA-A29, bilateral cream-colored lesions radiating from disc, older adults, periphlebitis<br>
• <strong>Sarcoidosis</strong> - "candlewax drippings", bilateral, multifocal<br>
• <strong>VKH syndrome</strong> - bilateral exudative retinal detachment, granulomatous<br>
• <strong>Sympathetic ophthalmia</strong> - bilateral granulomatous after trauma<br>
• <strong>Histoplasma chorioretinitis</strong>
</div>
<div>
<span class="entity-vitritis vitritis-variable">Vitritis: Variable (choroid→retina)</span>
</div>
</div>
</div>
<!-- RETINOCHOROIDITIS -->
<div class="entity-card">
<div class="entity-card-header entity-retinochoroiditis">RETINOCHOROIDITIS</div>
<div class="entity-card-body">
<div class="entity-def">Primary retinal inflammation with SECONDARY choroidal spread. Starts superficially (white), extends deep (pigmented scar).</div>
<div class="entity-examples">
<strong>Prototype:</strong><br>
• <strong>Toxoplasma retinochoroiditis</strong> - focal white retinitis adjacent to pigmented chorioretinal scar ("satellite lesion") - MOST COMMON cause of focal retinitis<br>
• Active lesion: white fluffy spot next to old black scar<br>
• Congenital: bilateral macular scars<br>
• Acquired (immunocompetent): unilateral, single focus<br>
• CMV (congenital): bilateral retinochoroidal scarring<br>
• Syphilis (can present as both)
</div>
<div>
<span class="entity-vitritis vitritis-present">Vitritis: Usually PRESENT (dense over active lesion)</span>
</div>
</div>
</div>
<!-- NEURORETINITIS -->
<div class="entity-card">
<div class="entity-card-header entity-neuroretinitis">NEURORETINITIS</div>
<div class="entity-card-body">
<div class="entity-def">Optic disc edema (papillitis) PLUS peripapillary RNFL inflammation with macular star exudate (hard exudates in Henle's fiber layer = star pattern).</div>
<div class="entity-examples">
<strong>Classic triad:</strong> Disc swelling + Macular star + Vitritis<br>
<strong>Infectious (most common causes):</strong><br>
• <strong>Bartonella henselae</strong> (cat-scratch disease) - #1 cause, unilateral, stellate macular exudate, positive serology<br>
• <strong>Lyme disease</strong> (Borrelia burgdorferi)<br>
• <strong>Toxocara</strong> - DUSN, children, nematode<br>
• <strong>Syphilis</strong><br>
<strong>Non-infectious:</strong><br>
• IRVAN syndrome - disc aneurysms + neuroretinitis<br>
• Sarcoid neuroretinitis
</div>
<div>
<span class="entity-vitritis vitritis-variable">Vitritis: Variable</span>
</div>
</div>
</div>
<!-- RETINAL VASCULITIS -->
<div class="entity-card">
<div class="entity-card-header entity-vasculitis">RETINAL VASCULITIS</div>
<div class="entity-card-body">
<div class="entity-def">Perivascular cuffing (yellowish/grey-white sheathing) of retinal vessels. Veins more commonly affected (periphlebitis). May cause branch RVO/RAO.</div>
<div class="entity-examples">
<strong>Periphlebitis (veins):</strong><br>
• <strong>Sarcoidosis</strong> - "candlewax drippings" along veins<br>
• <strong>Eales disease</strong> - young men, peripheral periphlebitis, neovascularization<br>
• Multiple sclerosis<br>
• Birdshot retinopathy<br>
<strong>Arteritis (arteries):</strong><br>
• ARN (herpes), GCA, Polyarteritis nodosa, Churg-Strauss<br>
<strong>Both veins + arteries:</strong><br>
• <strong>Behçet disease</strong> - occlusive vasculitis, devastating<br>
• <strong>Susac syndrome</strong> - retinal + cochlear + CNS
</div>
<div>
<span class="entity-vitritis vitritis-variable">Vitritis: Variable</span>
</div>
</div>
</div>
</div>
<!-- ====================== KEY SIGNS TABLE ====================== -->
<div style="text-align:center; margin: 20px 0 8px;">
<span class="label-badge badge-step">QUICK REFERENCE — KEY DIFFERENTIATING FEATURES</span>
</div>
<div style="background:white; border-radius:12px; box-shadow:0 3px 12px rgba(0,0,0,0.08); overflow:hidden; margin-bottom:20px;">
<table class="signs-table">
<thead>
<tr>
<th>Disease</th>
<th>Entity Type</th>
<th>Laterality</th>
<th>Vitritis</th>
<th>Key Feature</th>
<th>Infectious?</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>Toxoplasma</strong></td>
<td>Retinochoroiditis</td>
<td>Unilateral</td>
<td>Dense, focal</td>
<td>"Headlight in fog"; satellite scar</td>
<td style="color:#c62828;">Yes (parasite)</td>
</tr>
<tr>
<td><strong>CMV</strong></td>
<td>Retinitis</td>
<td>Uni→Bilateral</td>
<td>Mild / Absent</td>
<td>"Pizza-pie" hemorrhagic granular; immunocompromised</td>
<td style="color:#c62828;">Yes (viral)</td>
</tr>
<tr>
<td><strong>ARN</strong></td>
<td>Necrotizing retinitis</td>
<td>Uni (33% bilateral)</td>
<td>Marked</td>
<td>Peripheral white patches; occlusive arteritis; VZV/HSV</td>
<td style="color:#c62828;">Yes (viral)</td>
</tr>
<tr>
<td><strong>PORN</strong></td>
<td>Outer retinitis</td>
<td>Bilateral</td>
<td>Absent</td>
<td>Deep opacification; spares vessels; severe HIV</td>
<td style="color:#c62828;">Yes (VZV)</td>
</tr>
<tr>
<td><strong>Bartonella</strong></td>
<td>Neuroretinitis</td>
<td>Unilateral</td>
<td>Mild</td>
<td>Macular star + disc edema; cat exposure</td>
<td style="color:#c62828;">Yes (bacterial)</td>
</tr>
<tr>
<td><strong>Syphilis</strong></td>
<td>Any pattern</td>
<td>Bilateral</td>
<td>Variable</td>
<td>"Great imitator"; vasculitis, retinitis, neuroretinitis</td>
<td style="color:#c62828;">Yes (bacterial)</td>
</tr>
<tr>
<td><strong>TB</strong></td>
<td>Choroiditis / Vasculitis</td>
<td>Bilateral</td>
<td>Variable</td>
<td>Choroidal tubercles; periphlebitis; systemic TB</td>
<td style="color:#c62828;">Yes (bacterial)</td>
</tr>
<tr>
<td><strong>Birdshot</strong></td>
<td>Chorioretinitis</td>
<td>Bilateral</td>
<td>Present</td>
<td>Cream-colored lesions; HLA-A29; periphlebitis</td>
<td style="color:#1565c0;">No (autoimmune)</td>
</tr>
<tr>
<td><strong>VKH</strong></td>
<td>Chorioretinitis</td>
<td>Bilateral</td>
<td>Present</td>
<td>Exudative RD; poliosis; tinnitus; sunset glow fundus</td>
<td style="color:#1565c0;">No (autoimmune)</td>
</tr>
<tr>
<td><strong>Sarcoidosis</strong></td>
<td>Chorioretinitis + Vasculitis</td>
<td>Bilateral</td>
<td>Present</td>
<td>Candlewax exudates; periphlebitis; disc granulomas</td>
<td style="color:#1565c0;">No (granulomatous)</td>
</tr>
<tr>
<td><strong>Behçet</strong></td>
<td>Occlusive vasculitis</td>
<td>Bilateral</td>
<td>Marked</td>
<td>Occlusive vasculitis; hypopyon; oral/genital ulcers</td>
<td style="color:#1565c0;">No (vasculitis)</td>
</tr>
<tr>
<td><strong>APMPPE</strong></td>
<td>Choroiditis</td>
<td>Bilateral</td>
<td>Mild</td>
<td>Placoid sub-RPE lesions; resolves spontaneously</td>
<td style="color:#1565c0;">No</td>
</tr>
<tr>
<td><strong>Serpiginous</strong></td>
<td>Choroiditis</td>
<td>Bilateral (asymm)</td>
<td>Absent</td>
<td>Geographic peripapillary spread; recurrent</td>
<td style="color:#1565c0;">No</td>
</tr>
<tr>
<td><strong>MEWDS</strong></td>
<td>Choroiditis / outer retina</td>
<td>Unilateral</td>
<td>Mild</td>
<td>Multiple evanescent white dots; young women; self-limiting</td>
<td style="color:#1565c0;">No</td>
</tr>
<tr>
<td><strong>Eales disease</strong></td>
<td>Retinal vasculitis</td>
<td>Bilateral</td>
<td>Present</td>
<td>Periphlebitis; peripheral neovascularization; young men</td>
<td style="color:#1565c0;">No (idiopathic)</td>
</tr>
<tr>
<td><strong>Sympathetic ophthalmia</strong></td>
<td>Chorioretinitis</td>
<td>Bilateral (post-trauma)</td>
<td>Present</td>
<td>Bilateral granulomatous after penetrating injury; Dalen-Fuchs nodules</td>
<td style="color:#1565c0;">No (autoimmune)</td>
</tr>
</tbody>
</table>
</div>
<!-- LEGEND -->
<div class="legend">
<h3>Color Legend</h3>
<div class="legend-grid">
<div class="legend-item"><div class="legend-swatch" style="background:#e65100;"></div><span>Retinitis (primary retinal)</span></div>
<div class="legend-item"><div class="legend-swatch" style="background:#1976d2;"></div><span>Choroiditis (primary choroidal)</span></div>
<div class="legend-item"><div class="legend-swatch" style="background:#7b1fa2;"></div><span>Chorioretinitis / Retinochoroiditis (combined)</span></div>
<div class="legend-item"><div class="legend-swatch" style="background:#00897b;"></div><span>Neuroretinitis (disc + RNFL)</span></div>
<div class="legend-item"><div class="legend-swatch" style="background:#c2185b;"></div><span>Retinal vasculitis</span></div>
<div class="legend-item"><div class="legend-swatch" style="background:#d32f2f;"></div><span>Infectious etiology</span></div>
<div class="legend-item"><div class="legend-swatch" style="background:#1565c0;"></div><span>Non-infectious / autoimmune etiology</span></div>
</div>
</div>
<div style="text-align:center; font-size:11px; color:#999; padding:12px 0 20px;">
Sources: Kanski's Clinical Ophthalmology 10th Ed. | Wills Eye Manual | Firestein & Kelley's Textbook of Rheumatology | Henry's Clinical Diagnosis
</div>
</div>
</body>
</html>
posterior uveitis flowchart
HTML File · HTML
| Feature | WITH Vitritis | WITHOUT Vitritis |
|---|---|---|
| Suggests | Primary retinal disease | Primary choroidal disease |
| Entities | Retinitis, Retinochoroiditis, ARN, Neuroretinitis | Choroiditis, PORN, White dot syndromes |
| Examples | Toxoplasma ("headlight in fog"), ARN | PORN, Serpiginous, MEWDS, PIC |
| Pattern | Meaning | Examples |
|---|---|---|
| Focal / Solitary | Single lesion | Toxoplasma (classic) |
| Multifocal | Multiple discrete lesions | Sarcoid, Syphilis, Birdshot, MEWDS |
| Geographic | Map-like, irregular | Serpiginous choroiditis |
| Diffuse | Widespread | CMV retinitis, ARN, PORN |
| Entity Type | Disease | Key Notes |
|---|---|---|
| Retinitis | Toxoplasma retinochoroiditis | Most common identifiable focal retinitis; satellite scar |
| Retinitis | CMV retinitis | Pizza-pie pattern; immunocompromised (HIV) |
| Retinitis | ARN (HSV/VZV) | Peripheral necrotizing; marked vitritis; occlusive arteritis |
| Retinitis | PORN (VZV) | No vitritis; deep opacification; severe HIV |
| Retinitis | Candida retinitis | Fluffy yellow-white preretinal lesions; IV drug use |
| Choroiditis | Pneumocystis choroiditis | Bilateral yellow choroidal lesions; AIDS |
| Choroiditis | Cryptococcal choroiditis | Immunocompromised |
| Chorioretinitis | Histoplasma | "Punched-out" peripapillary scars; endemic |
| Chorioretinitis | Syphilis | "Great imitator" - any pattern; bilateral |
| Chorioretinitis | TB | Choroidal tubercles; periphlebitis |
| Neuroretinitis | Bartonella (cat-scratch) | #1 cause of neuroretinitis; macular star + disc edema; unilateral |
| Neuroretinitis | Lyme disease | Varied posterior uveitis |
| Neuroretinitis | Toxocara/DUSN | Children; nematode; unilateral; optic nerve swelling |
| Vasculitis | Syphilis / TB / ARN | Any vessel type |
| Entity Type | Disease | Key Notes |
|---|---|---|
| Choroiditis - White Dot | APMPPE | Bilateral placoid sub-RPE; young adults; self-limiting |
| Choroiditis - White Dot | Serpiginous | Geographic peripapillary; recurrent; bilateral asymmetric |
| Choroiditis - White Dot | MEWDS | Unilateral; evanescent; young women |
| Choroiditis - White Dot | MFC (Multifocal choroiditis) | Punched-out scars; myopic women; bilateral |
| Choroiditis - White Dot | PIC (Punctate inner choroidopathy) | Small punctate; high myopes |
| Chorioretinitis | Birdshot chorioretinopathy | HLA-A29; cream-colored lesions radiating from disc; bilateral; periphlebitis |
| Chorioretinitis | VKH syndrome | Bilateral exudative RD; poliosis; tinnitus; sunset glow fundus |
| Chorioretinitis | Sympathetic ophthalmia | Bilateral granulomatous; post penetrating trauma; Dalen-Fuchs nodules |
| Chorioretinitis | Sarcoidosis | Candlewax drippings; disc granulomas; bilateral |
| Retinal vasculitis | Eales disease | Peripheral periphlebitis; neovascularization; young men |
| Retinal vasculitis | Behçet disease | Occlusive; bilateral; hypopyon; oral/genital ulcers |
| Retinal vasculitis | Susac syndrome | Arterial; bilateral; cochlear + CNS involvement |
| Retinal vasculitis | Frosted branch angiitis | Dramatic sheathing of all vessels |
| Neuroretinitis | IRVAN | Disc aneurysms + macular star; non-infectious |
| UNILATERAL | BILATERAL (typical) |
|---|---|
| Toxoplasma retinochoroiditis | VKH syndrome |
| CMV (early) | Sympathetic ophthalmia |
| ARN (often starts uni) | Birdshot chorioretinopathy (HLA-A29) |
| PORN | Sarcoidosis |
| Bartonella neuroretinitis | APMPPE, Serpiginous, MFC |
| Toxocara / DUSN | Behçet, Susac |
| MEWDS, PIC | CMV (advanced AIDS), Syphilis, TB |
| Entity | Primary Site | Secondary Spread | Vitritis | Prototype |
|---|---|---|---|---|
| Retinitis | Retina | None | Present (usually) | CMV, ARN, Toxoplasma |
| Choroiditis | Choroid | None | Absent (usually) | APMPPE, Serpiginous, MEWDS |
| Chorioretinitis | Choroid | → Retina (secondary) | Variable | Birdshot, VKH, Sarcoid |
| Retinochoroiditis | Retina | → Choroid (secondary) | Present, dense | Toxoplasma (over active lesion) |
| Neuroretinitis | Optic disc + RNFL | Macular star exudate | Variable | Bartonella, IRVAN |
| Retinal vasculitis | Vessel walls | Surrounding retina | Variable | Eales, Behçet, Sarcoid |
Key textbook pearl (Wills Eye Manual): "Retinochoroiditis = primarily retinal with secondary choroidal involvement. Chorioretinitis = primarily choroidal with secondary retinal involvement." Active lesion color gives the primary site - white = retina, yellow = choroid.
give me a single flowchart for above
~/posterior-uveitis-flowchart/single_flowchart.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Posterior Uveitis – Single Flowchart</title>
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: #f5f7fa; font-family: 'Segoe UI', Arial, sans-serif; }
svg { display: block; margin: 0 auto; }
.page-wrap { padding: 16px; }
h2 {
text-align: center;
font-size: 15px;
color: #555;
margin-top: 6px;
font-weight: 400;
letter-spacing: 0.3px;
}
</style>
</head>
<body>
<div class="page-wrap">
<svg id="fc" xmlns="http://www.w3.org/2000/svg" width="2000" height="3100" viewBox="0 0 2000 3100">
<defs>
<marker id="arr" markerWidth="8" markerHeight="8" refX="6" refY="3" orient="auto">
<path d="M0,0 L0,6 L8,3 z" fill="#555"/>
</marker>
<marker id="arr-red" markerWidth="8" markerHeight="8" refX="6" refY="3" orient="auto">
<path d="M0,0 L0,6 L8,3 z" fill="#c62828"/>
</marker>
<marker id="arr-blue" markerWidth="8" markerHeight="8" refX="6" refY="3" orient="auto">
<path d="M0,0 L0,6 L8,3 z" fill="#1565c0"/>
</marker>
<marker id="arr-grn" markerWidth="8" markerHeight="8" refX="6" refY="3" orient="auto">
<path d="M0,0 L0,6 L8,3 z" fill="#2e7d32"/>
</marker>
<filter id="shadow" x="-5%" y="-5%" width="110%" height="115%">
<feDropShadow dx="1" dy="2" stdDeviation="2" flood-color="#00000022"/>
</filter>
</defs>
<!-- ═══════════════════════════════════ BACKGROUND ═══════════════════════════════════ -->
<rect width="2000" height="3100" fill="#f5f7fa"/>
<!-- ═══════════════════════════════════ ROOT ═══════════════════════════════════ -->
<!-- ROOT BOX -->
<rect x="700" y="30" width="600" height="64" rx="14" fill="#b71c1c" filter="url(#shadow)"/>
<text x="1000" y="55" text-anchor="middle" font-size="22" font-weight="700" fill="white">POSTERIOR UVEITIS</text>
<text x="1000" y="78" text-anchor="middle" font-size="13" fill="#ffcdd2">Retinitis · Choroiditis · Vasculitis · Neuroretinitis</text>
<!-- down arrow -->
<line x1="1000" y1="94" x2="1000" y2="128" stroke="#555" stroke-width="2.5" marker-end="url(#arr)"/>
<!-- ═══════════════════════════════════ STEP 1: VITRITIS ═══════════════════════════════════ -->
<rect x="840" y="130" width="320" height="40" rx="8" fill="#37474f"/>
<text x="1000" y="155" text-anchor="middle" font-size="14" font-weight="700" fill="white">STEP 1 — VITRITIS?</text>
<!-- branch lines left and right -->
<!-- horizontal bar -->
<line x1="400" y1="194" x2="1600" y2="194" stroke="#555" stroke-width="2"/>
<!-- down from centre to bar -->
<line x1="1000" y1="170" x2="1000" y2="194" stroke="#555" stroke-width="2"/>
<!-- down from left end -->
<line x1="400" y1="194" x2="400" y2="222" stroke="#e65100" stroke-width="2" marker-end="url(#arr)"/>
<!-- down from right end -->
<line x1="1600" y1="194" x2="1600" y2="222" stroke="#1565c0" stroke-width="2" marker-end="url(#arr-blue)"/>
<!-- WITH VITRITIS BOX -->
<rect x="200" y="224" width="400" height="58" rx="10" fill="#e65100" filter="url(#shadow)"/>
<text x="400" y="248" text-anchor="middle" font-size="15" font-weight="700" fill="white">WITH VITRITIS</text>
<text x="400" y="268" text-anchor="middle" font-size="12" fill="#ffe0b2">Suggests PRIMARY RETINAL disease</text>
<!-- WITHOUT VITRITIS BOX -->
<rect x="1400" y="224" width="400" height="58" rx="10" fill="#1565c0" filter="url(#shadow)"/>
<text x="1600" y="248" text-anchor="middle" font-size="15" font-weight="700" fill="white">WITHOUT VITRITIS</text>
<text x="1600" y="268" text-anchor="middle" font-size="12" fill="#bbdefb">Suggests PRIMARY CHOROIDAL disease</text>
<!-- ═══════════════════════════════════ STEP 2: LESION COLOUR CLUE ═══════════════════════════════════ -->
<!-- down from vitritis boxes to colour clue row -->
<line x1="400" y1="282" x2="400" y2="316" stroke="#e65100" stroke-width="2" marker-end="url(#arr)"/>
<line x1="1600" y1="282" x2="1600" y2="316" stroke="#1565c0" stroke-width="2" marker-end="url(#arr-blue)"/>
<!-- COLOUR CLUE: WHITE = RETINAL -->
<rect x="160" y="318" width="480" height="48" rx="8" fill="#fff3e0" stroke="#e65100" stroke-width="2"/>
<text x="400" y="338" text-anchor="middle" font-size="13" font-weight="700" fill="#bf360c">⬜ WHITE lesion = RETINAL</text>
<text x="400" y="356" text-anchor="middle" font-size="11.5" fill="#6d4c41">Full-thickness opacification · indistinct margins</text>
<!-- COLOUR CLUE: YELLOW = CHOROIDAL -->
<rect x="1360" y="318" width="480" height="48" rx="8" fill="#fff9c4" stroke="#f9a825" stroke-width="2"/>
<text x="1600" y="338" text-anchor="middle" font-size="13" font-weight="700" fill="#e65100">🟡 YELLOW lesion = CHOROIDAL</text>
<text x="1600" y="356" text-anchor="middle" font-size="11.5" fill="#6d4c41">Deep · seen through RPE · round nodule</text>
<!-- STEP 2 LABEL in centre -->
<rect x="820" y="318" width="360" height="48" rx="8" fill="#546e7a"/>
<text x="1000" y="338" text-anchor="middle" font-size="13" font-weight="700" fill="white">STEP 2 — PRIMARY SITE</text>
<text x="1000" y="356" text-anchor="middle" font-size="11" fill="#cfd8dc">🟫 Pigmented = healed scar (old disease)</text>
<!-- ═══════════════════════════════════ STEP 3: PATTERN ═══════════════════════════════════ -->
<line x1="1000" y1="366" x2="1000" y2="398" stroke="#555" stroke-width="2" marker-end="url(#arr)"/>
<rect x="810" y="400" width="380" height="40" rx="8" fill="#37474f"/>
<text x="1000" y="425" text-anchor="middle" font-size="14" font-weight="700" fill="white">STEP 3 — DISTRIBUTION PATTERN</text>
<line x1="1000" y1="440" x2="1000" y2="458" stroke="#555" stroke-width="2"/>
<!-- horizontal bar -->
<line x1="260" y1="458" x2="1740" y2="458" stroke="#555" stroke-width="1.5"/>
<!-- 4 verticals -->
<line x1="300" y1="458" x2="300" y2="484" stroke="#555" stroke-width="1.5" marker-end="url(#arr)"/>
<line x1="690" y1="458" x2="690" y2="484" stroke="#555" stroke-width="1.5" marker-end="url(#arr)"/>
<line x1="1310" y1="458" x2="1310" y2="484" stroke="#555" stroke-width="1.5" marker-end="url(#arr)"/>
<line x1="1700" y1="458" x2="1700" y2="484" stroke="#555" stroke-width="1.5" marker-end="url(#arr)"/>
<!-- FOCAL -->
<rect x="170" y="486" width="260" height="52" rx="8" fill="white" stroke="#43a047" stroke-width="2.5"/>
<text x="300" y="506" text-anchor="middle" font-size="13" font-weight="700" fill="#2e7d32">FOCAL / SOLITARY</text>
<text x="300" y="524" text-anchor="middle" font-size="11" fill="#555">Single lesion</text>
<text x="300" y="537" text-anchor="middle" font-size="10.5" fill="#888">Toxoplasma (classic)</text>
<!-- MULTIFOCAL -->
<rect x="560" y="486" width="260" height="52" rx="8" fill="white" stroke="#fb8c00" stroke-width="2.5"/>
<text x="690" y="506" text-anchor="middle" font-size="13" font-weight="700" fill="#e65100">MULTIFOCAL</text>
<text x="690" y="524" text-anchor="middle" font-size="11" fill="#555">Multiple discrete lesions</text>
<text x="690" y="537" text-anchor="middle" font-size="10.5" fill="#888">Sarcoid · Syphilis · MEWDS</text>
<!-- GEOGRAPHIC -->
<rect x="1180" y="486" width="260" height="52" rx="8" fill="white" stroke="#8e24aa" stroke-width="2.5"/>
<text x="1310" y="506" text-anchor="middle" font-size="13" font-weight="700" fill="#6a1b9a">GEOGRAPHIC</text>
<text x="1310" y="524" text-anchor="middle" font-size="11" fill="#555">Map-like spread</text>
<text x="1310" y="537" text-anchor="middle" font-size="10.5" fill="#888">Serpiginous choroiditis</text>
<!-- DIFFUSE -->
<rect x="1570" y="486" width="260" height="52" rx="8" fill="white" stroke="#e53935" stroke-width="2.5"/>
<text x="1700" y="506" text-anchor="middle" font-size="13" font-weight="700" fill="#c62828">DIFFUSE</text>
<text x="1700" y="524" text-anchor="middle" font-size="11" fill="#555">Widespread retina</text>
<text x="1700" y="537" text-anchor="middle" font-size="10.5" fill="#888">CMV · ARN · PORN</text>
<!-- ═══════════════════════════════════ STEP 4: INFECTIOUS vs NON-INFECTIOUS ═══════════════════════════════════ -->
<line x1="1000" y1="538" x2="1000" y2="572" stroke="#555" stroke-width="2" marker-end="url(#arr)"/>
<rect x="790" y="574" width="420" height="40" rx="8" fill="#37474f"/>
<text x="1000" y="599" text-anchor="middle" font-size="14" font-weight="700" fill="white">STEP 4 — INFECTIOUS vs NON-INFECTIOUS</text>
<!-- big horizontal split line -->
<line x1="1000" y1="614" x2="1000" y2="640" stroke="#555" stroke-width="2"/>
<line x1="200" y1="640" x2="1800" y2="640" stroke="#555" stroke-width="2"/>
<line x1="200" y1="640" x2="200" y2="668" stroke="#c62828" stroke-width="2.5" marker-end="url(#arr-red)"/>
<line x1="1800" y1="640" x2="1800" y2="668" stroke="#1565c0" stroke-width="2.5" marker-end="url(#arr-blue)"/>
<!-- ════ INFECTIOUS HEADER ════ -->
<rect x="30" y="670" width="935" height="46" rx="10" fill="#c62828" filter="url(#shadow)"/>
<text x="497" y="689" text-anchor="middle" font-size="16" font-weight="700" fill="white">🦠 INFECTIOUS POSTERIOR UVEITIS</text>
<text x="497" y="708" text-anchor="middle" font-size="12" fill="#ffcdd2">Bacterial · Viral · Parasitic · Fungal</text>
<!-- ════ NON-INFECTIOUS HEADER ════ -->
<rect x="1035" y="670" width="935" height="46" rx="10" fill="#1565c0" filter="url(#shadow)"/>
<text x="1502" y="689" text-anchor="middle" font-size="16" font-weight="700" fill="white">🔵 NON-INFECTIOUS POSTERIOR UVEITIS</text>
<text x="1502" y="708" text-anchor="middle" font-size="12" fill="#bbdefb">Autoimmune · Granulomatous · Idiopathic</text>
<!-- ─────────────────────────────── INFECTIOUS COLUMNS ─────────────────────────────── -->
<!-- 3 columns under infectious: Retinitis | Choroiditis | Chorioretinitis+Neuroretinitis+Vasculitis -->
<!-- column lines from infectious header -->
<line x1="200" y1="716" x2="200" y2="748" stroke="#c62828" stroke-width="2"/>
<line x1="497" y1="716" x2="497" y2="748" stroke="#c62828" stroke-width="2"/>
<line x1="795" y1="716" x2="795" y2="748" stroke="#c62828" stroke-width="2"/>
<line x1="100" y1="748" x2="900" y2="748" stroke="#c62828" stroke-width="1.5"/>
<line x1="150" y1="748" x2="150" y2="776" stroke="#c62828" stroke-width="1.5" marker-end="url(#arr-red)"/>
<line x1="497" y1="748" x2="497" y2="776" stroke="#c62828" stroke-width="1.5" marker-end="url(#arr-red)"/>
<line x1="845" y1="748" x2="845" y2="776" stroke="#c62828" stroke-width="1.5" marker-end="url(#arr-red)"/>
<!-- ── INFECTIOUS RETINITIS BOX ── -->
<rect x="30" y="778" width="930" height="220" rx="10" fill="white" stroke="#e65100" stroke-width="2" filter="url(#shadow)"/>
<!-- Header strip -->
<rect x="30" y="778" width="930" height="36" rx="10" fill="#e65100"/>
<rect x="30" y="800" width="930" height="14" fill="#e65100"/>
<text x="495" y="801" text-anchor="middle" font-size="14" font-weight="700" fill="white">RETINITIS (Primary Retinal · White lesion · Vitritis present)</text>
<!-- Toxoplasma -->
<rect x="48" y="824" width="275" height="158" rx="8" fill="#fff8f0" stroke="#e65100" stroke-width="1.5"/>
<text x="185" y="842" text-anchor="middle" font-size="12.5" font-weight="700" fill="#bf360c">Toxoplasma Retinochoroiditis</text>
<text x="185" y="859" text-anchor="middle" font-size="11" fill="#555">Most common identifiable</text>
<text x="185" y="874" text-anchor="middle" font-size="11" fill="#555">focal retinitis</text>
<text x="185" y="892" text-anchor="middle" font-size="11" fill="#444">• "Headlight in fog"</text>
<text x="185" y="907" text-anchor="middle" font-size="11" fill="#444">• Focal dense vitritis</text>
<text x="185" y="922" text-anchor="middle" font-size="11" fill="#444">• Adjacent pigmented scar</text>
<text x="185" y="937" text-anchor="middle" font-size="11" fill="#444"> (satellite lesion)</text>
<text x="185" y="956" text-anchor="middle" font-size="10.5" fill="#888" font-style="italic">Unilateral · Focal</text>
<text x="185" y="971" text-anchor="middle" font-size="10.5" fill="#e65100" font-weight="700">→ RETINOCHOROIDITIS</text>
<!-- CMV -->
<rect x="343" y="824" width="275" height="158" rx="8" fill="#fff8f0" stroke="#e65100" stroke-width="1.5"/>
<text x="480" y="842" text-anchor="middle" font-size="12.5" font-weight="700" fill="#bf360c">CMV Retinitis</text>
<text x="480" y="859" text-anchor="middle" font-size="11" fill="#555">Immunocompromised (HIV/AIDS)</text>
<text x="480" y="877" text-anchor="middle" font-size="11" fill="#444">• "Pizza-pie" fundus</text>
<text x="480" y="892" text-anchor="middle" font-size="11" fill="#444">• Granular + hemorrhagic</text>
<text x="480" y="907" text-anchor="middle" font-size="11" fill="#444">• Vitritis: mild</text>
<text x="480" y="922" text-anchor="middle" font-size="11" fill="#444">• Frosted branch angiitis 20%</text>
<text x="480" y="937" text-anchor="middle" font-size="10.5" fill="#888" font-style="italic">Uni → Bilateral · Diffuse</text>
<text x="480" y="956" text-anchor="middle" font-size="10.5" fill="#e65100" font-weight="700">→ RETINITIS</text>
<!-- ARN / PORN -->
<rect x="638" y="824" width="304" height="158" rx="8" fill="#fff8f0" stroke="#e65100" stroke-width="1.5"/>
<text x="790" y="842" text-anchor="middle" font-size="12.5" font-weight="700" fill="#bf360c">ARN / PORN (Herpes)</text>
<text x="790" y="857" text-anchor="middle" font-size="11" fill="#555">HSV/VZV (ARN) · VZV/HIV (PORN)</text>
<text x="790" y="875" text-anchor="middle" font-size="11" fill="#444">ARN: peripheral white patches</text>
<text x="790" y="890" text-anchor="middle" font-size="11" fill="#444"> marked vitritis · occlusive arteritis</text>
<text x="790" y="905" text-anchor="middle" font-size="11" fill="#444">PORN: deep opacification</text>
<text x="790" y="920" text-anchor="middle" font-size="11" fill="#444"> NO vitritis · spares vessels</text>
<text x="790" y="935" text-anchor="middle" font-size="11" fill="#444"> rapid progression (days)</text>
<text x="790" y="954" text-anchor="middle" font-size="10.5" fill="#888" font-style="italic">ARN: Unilateral (33% bilateral)</text>
<text x="790" y="971" text-anchor="middle" font-size="10.5" fill="#e65100" font-weight="700">→ RETINITIS (necrotizing)</text>
<!-- ── INFECTIOUS CHOROIDITIS BOX ── -->
<rect x="30" y="1010" width="930" height="168" rx="10" fill="white" stroke="#1976d2" stroke-width="2" filter="url(#shadow)"/>
<rect x="30" y="1010" width="930" height="36" rx="10" fill="#1976d2"/>
<rect x="30" y="1032" width="930" height="14" fill="#1976d2"/>
<text x="495" y="1033" text-anchor="middle" font-size="14" font-weight="700" fill="white">CHOROIDITIS (Primary Choroidal · Yellow lesion · Vitritis absent)</text>
<rect x="48" y="1056" width="275" height="106" rx="8" fill="#e3f2fd" stroke="#1976d2" stroke-width="1.5"/>
<text x="185" y="1073" text-anchor="middle" font-size="12.5" font-weight="700" fill="#0d47a1">Pneumocystis Choroiditis</text>
<text x="185" y="1091" text-anchor="middle" font-size="11" fill="#444">• Bilateral creamy yellow lesions</text>
<text x="185" y="1106" text-anchor="middle" font-size="11" fill="#444">• No vitritis</text>
<text x="185" y="1121" text-anchor="middle" font-size="11" fill="#444">• AIDS (CD4 < 50)</text>
<text x="185" y="1150" text-anchor="middle" font-size="10.5" fill="#888" font-style="italic">Bilateral · Multifocal</text>
<rect x="343" y="1056" width="275" height="106" rx="8" fill="#e3f2fd" stroke="#1976d2" stroke-width="1.5"/>
<text x="480" y="1073" text-anchor="middle" font-size="12.5" font-weight="700" fill="#0d47a1">Cryptococcal Choroiditis</text>
<text x="480" y="1091" text-anchor="middle" font-size="11" fill="#444">• Deep yellow choroidal lesions</text>
<text x="480" y="1106" text-anchor="middle" font-size="11" fill="#444">• Immunocompromised</text>
<text x="480" y="1121" text-anchor="middle" font-size="11" fill="#444">• Associated meningitis</text>
<text x="480" y="1150" text-anchor="middle" font-size="10.5" fill="#888" font-style="italic">Bilateral · Multifocal</text>
<rect x="638" y="1056" width="304" height="106" rx="8" fill="#e3f2fd" stroke="#1976d2" stroke-width="1.5"/>
<text x="790" y="1073" text-anchor="middle" font-size="12.5" font-weight="700" fill="#0d47a1">TB Choroiditis</text>
<text x="790" y="1091" text-anchor="middle" font-size="11" fill="#444">• Choroidal tubercles (multifocal)</text>
<text x="790" y="1106" text-anchor="middle" font-size="11" fill="#444">• Yellow-white deep lesions</text>
<text x="790" y="1121" text-anchor="middle" font-size="11" fill="#444">• ± periphlebitis</text>
<text x="790" y="1150" text-anchor="middle" font-size="10.5" fill="#888" font-style="italic">Bilateral · Multifocal</text>
<!-- ── INFECTIOUS RETINOCHOROIDITIS / NEURORETINITIS / VASCULITIS ── -->
<rect x="30" y="1190" width="930" height="200" rx="10" fill="white" stroke="#7b1fa2" stroke-width="2" filter="url(#shadow)"/>
<rect x="30" y="1190" width="930" height="36" rx="10" fill="#7b1fa2"/>
<rect x="30" y="1212" width="930" height="14" fill="#7b1fa2"/>
<text x="495" y="1213" text-anchor="middle" font-size="14" font-weight="700" fill="white">CHORIORETINITIS · NEURORETINITIS · VASCULITIS (Infectious)</text>
<!-- Syphilis -->
<rect x="48" y="1236" width="275" height="138" rx="8" fill="#f3e5f5" stroke="#7b1fa2" stroke-width="1.5"/>
<text x="185" y="1254" text-anchor="middle" font-size="12.5" font-weight="700" fill="#4a148c">Syphilis ("Great Imitator")</text>
<text x="185" y="1272" text-anchor="middle" font-size="11" fill="#444">• Any pattern of posterior uveitis</text>
<text x="185" y="1287" text-anchor="middle" font-size="11" fill="#444">• Retinitis / chorioretinitis</text>
<text x="185" y="1302" text-anchor="middle" font-size="11" fill="#444">• Retinal vasculitis</text>
<text x="185" y="1317" text-anchor="middle" font-size="11" fill="#444">• Neuroretinitis</text>
<text x="185" y="1362" text-anchor="middle" font-size="10.5" fill="#888" font-style="italic">Bilateral · Multifocal</text>
<!-- Bartonella Neuroretinitis -->
<rect x="343" y="1236" width="275" height="138" rx="8" fill="#e0f2f1" stroke="#00897b" stroke-width="1.5"/>
<text x="480" y="1254" text-anchor="middle" font-size="12.5" font-weight="700" fill="#004d40">Bartonella (Cat-Scratch)</text>
<text x="480" y="1270" text-anchor="middle" font-size="11" fill="#555">#1 cause of Neuroretinitis</text>
<text x="480" y="1288" text-anchor="middle" font-size="11" fill="#444">• Disc edema</text>
<text x="480" y="1303" text-anchor="middle" font-size="11" fill="#444">• Macular STAR exudate</text>
<text x="480" y="1318" text-anchor="middle" font-size="11" fill="#444">• Stellate pattern in Henle's layer</text>
<text x="480" y="1333" text-anchor="middle" font-size="11" fill="#444">• Cat exposure history</text>
<text x="480" y="1362" text-anchor="middle" font-size="10.5" fill="#888" font-style="italic">Unilateral · Focal</text>
<text x="480" y="1374" text-anchor="middle" font-size="10.5" fill="#00897b" font-weight="700">→ NEURORETINITIS</text>
<!-- DUSN / Toxocara -->
<rect x="638" y="1236" width="304" height="138" rx="8" fill="#e0f2f1" stroke="#00897b" stroke-width="1.5"/>
<text x="790" y="1254" text-anchor="middle" font-size="12.5" font-weight="700" fill="#004d40">Toxocara / DUSN</text>
<text x="790" y="1270" text-anchor="middle" font-size="11" fill="#555">Diffuse Unilateral Subacute Neuroretinitis</text>
<text x="790" y="1288" text-anchor="middle" font-size="11" fill="#444">• Nematode migration</text>
<text x="790" y="1303" text-anchor="middle" font-size="11" fill="#444">• Children / young adults</text>
<text x="790" y="1318" text-anchor="middle" font-size="11" fill="#444">• Optic nerve swelling</text>
<text x="790" y="1333" text-anchor="middle" font-size="11" fill="#444">• Gray-white retinal lesions</text>
<text x="790" y="1348" text-anchor="middle" font-size="11" fill="#444">• → Optic atrophy (late)</text>
<text x="790" y="1362" text-anchor="middle" font-size="10.5" fill="#888" font-style="italic">Unilateral</text>
<text x="790" y="1374" text-anchor="middle" font-size="10.5" fill="#00897b" font-weight="700">→ NEURORETINITIS</text>
<!-- ─────────────────────────────── NON-INFECTIOUS COLUMNS ─────────────────────────────── -->
<!-- column lines from non-infectious header -->
<line x1="1200" y1="716" x2="1200" y2="748" stroke="#1565c0" stroke-width="2"/>
<line x1="1497" y1="716" x2="1497" y2="748" stroke="#1565c0" stroke-width="2"/>
<line x1="1795" y1="716" x2="1795" y2="748" stroke="#1565c0" stroke-width="2"/>
<line x1="1100" y1="748" x2="1900" y2="748" stroke="#1565c0" stroke-width="1.5"/>
<line x1="1150" y1="748" x2="1150" y2="776" stroke="#1565c0" stroke-width="1.5" marker-end="url(#arr-blue)"/>
<line x1="1497" y1="748" x2="1497" y2="776" stroke="#1565c0" stroke-width="1.5" marker-end="url(#arr-blue)"/>
<line x1="1845" y1="748" x2="1845" y2="776" stroke="#1565c0" stroke-width="1.5" marker-end="url(#arr-blue)"/>
<!-- ── NON-INFECT WHITE DOT SYNDROMES (CHOROIDITIS) ── -->
<rect x="1035" y="778" width="930" height="220" rx="10" fill="white" stroke="#1976d2" stroke-width="2" filter="url(#shadow)"/>
<rect x="1035" y="778" width="930" height="36" rx="10" fill="#1976d2"/>
<rect x="1035" y="800" width="930" height="14" fill="#1976d2"/>
<text x="1500" y="801" text-anchor="middle" font-size="14" font-weight="700" fill="white">WHITE DOT SYNDROMES (Primary Choroidal · No/Mild Vitritis)</text>
<!-- APMPPE -->
<rect x="1050" y="824" width="210" height="158" rx="8" fill="#e3f2fd" stroke="#1976d2" stroke-width="1.5"/>
<text x="1155" y="842" text-anchor="middle" font-size="12" font-weight="700" fill="#0d47a1">APMPPE</text>
<text x="1155" y="857" text-anchor="middle" font-size="10" fill="#555">Acute Post. Multifocal</text>
<text x="1155" y="870" text-anchor="middle" font-size="10" fill="#555">Placoid Pigment Epith.</text>
<text x="1155" y="888" text-anchor="middle" font-size="11" fill="#444">• Bilateral placoid lesions</text>
<text x="1155" y="903" text-anchor="middle" font-size="11" fill="#444">• Post-viral, young adults</text>
<text x="1155" y="918" text-anchor="middle" font-size="11" fill="#444">• Self-limiting</text>
<text x="1155" y="956" text-anchor="middle" font-size="10.5" fill="#888" font-style="italic">Bilateral · Multifocal</text>
<!-- MEWDS -->
<rect x="1270" y="824" width="210" height="158" rx="8" fill="#e3f2fd" stroke="#1976d2" stroke-width="1.5"/>
<text x="1375" y="842" text-anchor="middle" font-size="12" font-weight="700" fill="#0d47a1">MEWDS</text>
<text x="1375" y="857" text-anchor="middle" font-size="10" fill="#555">Multiple Evanescent</text>
<text x="1375" y="870" text-anchor="middle" font-size="10" fill="#555">White Dot Syndrome</text>
<text x="1375" y="888" text-anchor="middle" font-size="11" fill="#444">• Outer retina / choroid</text>
<text x="1375" y="903" text-anchor="middle" font-size="11" fill="#444">• Young myopic women</text>
<text x="1375" y="918" text-anchor="middle" font-size="11" fill="#444">• Evanescent; self-resolving</text>
<text x="1375" y="956" text-anchor="middle" font-size="10.5" fill="#888" font-style="italic">UNILATERAL · Multifocal</text>
<!-- Serpiginous -->
<rect x="1490" y="824" width="210" height="158" rx="8" fill="#e3f2fd" stroke="#1976d2" stroke-width="1.5"/>
<text x="1595" y="842" text-anchor="middle" font-size="12" font-weight="700" fill="#0d47a1">Serpiginous</text>
<text x="1595" y="857" text-anchor="middle" font-size="10" fill="#555">Choroiditis</text>
<text x="1595" y="875" text-anchor="middle" font-size="11" fill="#444">• Geographic map-like</text>
<text x="1595" y="890" text-anchor="middle" font-size="11" fill="#444">• Peripapillary start</text>
<text x="1595" y="905" text-anchor="middle" font-size="11" fill="#444">• Recurrent; no vitritis</text>
<text x="1595" y="920" text-anchor="middle" font-size="11" fill="#444">• Bilateral (asymmetric)</text>
<text x="1595" y="956" text-anchor="middle" font-size="10.5" fill="#888" font-style="italic">Bilateral · Geographic</text>
<!-- MFC / PIC -->
<rect x="1710" y="824" width="240" height="158" rx="8" fill="#e3f2fd" stroke="#1976d2" stroke-width="1.5"/>
<text x="1830" y="842" text-anchor="middle" font-size="12" font-weight="700" fill="#0d47a1">MFC / PIC</text>
<text x="1830" y="858" text-anchor="middle" font-size="10" fill="#555">Multifocal Choroiditis /</text>
<text x="1830" y="871" text-anchor="middle" font-size="10" fill="#555">Punctate Inner Choroidopathy</text>
<text x="1830" y="889" text-anchor="middle" font-size="11" fill="#444">MFC: punched-out scars</text>
<text x="1830" y="904" text-anchor="middle" font-size="11" fill="#444">PIC: small punctate</text>
<text x="1830" y="919" text-anchor="middle" font-size="11" fill="#444">Both: myopic women</text>
<text x="1830" y="956" text-anchor="middle" font-size="10.5" fill="#888" font-style="italic">Bilateral · Multifocal</text>
<!-- ── NON-INFECT CHORIORETINITIS ── -->
<rect x="1035" y="1010" width="930" height="188" rx="10" fill="white" stroke="#7b1fa2" stroke-width="2" filter="url(#shadow)"/>
<rect x="1035" y="1010" width="930" height="36" rx="10" fill="#7b1fa2"/>
<rect x="1035" y="1032" width="930" height="14" fill="#7b1fa2"/>
<text x="1500" y="1033" text-anchor="middle" font-size="14" font-weight="700" fill="white">CHORIORETINITIS / RETINOCHOROIDITIS (Non-infectious)</text>
<!-- Birdshot -->
<rect x="1050" y="1056" width="275" height="126" rx="8" fill="#f3e5f5" stroke="#7b1fa2" stroke-width="1.5"/>
<text x="1188" y="1074" text-anchor="middle" font-size="12.5" font-weight="700" fill="#4a148c">Birdshot Chorioretinopathy</text>
<text x="1188" y="1092" text-anchor="middle" font-size="11" fill="#444">• HLA-A29 (strongly associated)</text>
<text x="1188" y="1107" text-anchor="middle" font-size="11" fill="#444">• Cream lesions radiating from disc</text>
<text x="1188" y="1122" text-anchor="middle" font-size="11" fill="#444">• Bilateral periphlebitis</text>
<text x="1188" y="1137" text-anchor="middle" font-size="11" fill="#444">• Older adults (50s)</text>
<text x="1188" y="1170" text-anchor="middle" font-size="10.5" fill="#888" font-style="italic">Bilateral · Multifocal · Chorioretinitis</text>
<!-- VKH -->
<rect x="1345" y="1056" width="305" height="126" rx="8" fill="#f3e5f5" stroke="#7b1fa2" stroke-width="1.5"/>
<text x="1497" y="1074" text-anchor="middle" font-size="12.5" font-weight="700" fill="#4a148c">VKH Syndrome</text>
<text x="1497" y="1092" text-anchor="middle" font-size="11" fill="#444">• Bilateral exudative RD</text>
<text x="1497" y="1107" text-anchor="middle" font-size="11" fill="#444">• Granulomatous (mutton-fat KPs)</text>
<text x="1497" y="1122" text-anchor="middle" font-size="11" fill="#444">• Poliosis, tinnitus, vitiligo</text>
<text x="1497" y="1137" text-anchor="middle" font-size="11" fill="#444">• Sunset-glow fundus (late)</text>
<text x="1497" y="1170" text-anchor="middle" font-size="10.5" fill="#888" font-style="italic">Bilateral · Diffuse · Chorioretinitis</text>
<!-- Sympathetic Ophthalmia -->
<rect x="1670" y="1056" width="280" height="126" rx="8" fill="#f3e5f5" stroke="#7b1fa2" stroke-width="1.5"/>
<text x="1810" y="1074" text-anchor="middle" font-size="12.5" font-weight="700" fill="#4a148c">Sympathetic Ophthalmia</text>
<text x="1810" y="1092" text-anchor="middle" font-size="11" fill="#444">• Post-penetrating trauma / surgery</text>
<text x="1810" y="1107" text-anchor="middle" font-size="11" fill="#444">• Bilateral granulomatous</text>
<text x="1810" y="1122" text-anchor="middle" font-size="11" fill="#444">• Dalen-Fuchs nodules (RPE)</text>
<text x="1810" y="1137" text-anchor="middle" font-size="11" fill="#444">• Exciting + sympathizing eye</text>
<text x="1810" y="1170" text-anchor="middle" font-size="10.5" fill="#888" font-style="italic">Bilateral · Post-traumatic</text>
<!-- ── NON-INFECT RETINAL VASCULITIS + NEURORETINITIS ── -->
<rect x="1035" y="1210" width="930" height="180" rx="10" fill="white" stroke="#c62828" stroke-width="2" filter="url(#shadow)"/>
<rect x="1035" y="1210" width="930" height="36" rx="10" fill="#c62828"/>
<rect x="1035" y="1232" width="930" height="14" fill="#c62828"/>
<text x="1500" y="1233" text-anchor="middle" font-size="14" font-weight="700" fill="white">RETINAL VASCULITIS + NEURORETINITIS (Non-infectious)</text>
<!-- Sarcoidosis -->
<rect x="1050" y="1256" width="220" height="118" rx="8" fill="#fce4ec" stroke="#c62828" stroke-width="1.5"/>
<text x="1160" y="1274" text-anchor="middle" font-size="12.5" font-weight="700" fill="#880e4f">Sarcoidosis</text>
<text x="1160" y="1292" text-anchor="middle" font-size="11" fill="#444">• "Candlewax drippings"</text>
<text x="1160" y="1307" text-anchor="middle" font-size="11" fill="#444">• Periphlebitis</text>
<text x="1160" y="1322" text-anchor="middle" font-size="11" fill="#444">• Disc granulomas</text>
<text x="1160" y="1355" text-anchor="middle" font-size="10.5" fill="#888" font-style="italic">Bilateral</text>
<!-- Eales -->
<rect x="1285" y="1256" width="220" height="118" rx="8" fill="#fce4ec" stroke="#c62828" stroke-width="1.5"/>
<text x="1395" y="1274" text-anchor="middle" font-size="12.5" font-weight="700" fill="#880e4f">Eales Disease</text>
<text x="1395" y="1292" text-anchor="middle" font-size="11" fill="#444">• Peripheral periphlebitis</text>
<text x="1395" y="1307" text-anchor="middle" font-size="11" fill="#444">• Neovascularization</text>
<text x="1395" y="1322" text-anchor="middle" font-size="11" fill="#444">• Young men; idiopathic</text>
<text x="1395" y="1355" text-anchor="middle" font-size="10.5" fill="#888" font-style="italic">Bilateral · Periphlebitis</text>
<!-- Behcet -->
<rect x="1520" y="1256" width="220" height="118" rx="8" fill="#fce4ec" stroke="#c62828" stroke-width="1.5"/>
<text x="1630" y="1274" text-anchor="middle" font-size="12.5" font-weight="700" fill="#880e4f">Behçet Disease</text>
<text x="1630" y="1292" text-anchor="middle" font-size="11" fill="#444">• Occlusive vasculitis</text>
<text x="1630" y="1307" text-anchor="middle" font-size="11" fill="#444">• Bilateral; devastating</text>
<text x="1630" y="1322" text-anchor="middle" font-size="11" fill="#444">• Oral/genital ulcers</text>
<text x="1630" y="1355" text-anchor="middle" font-size="10.5" fill="#888" font-style="italic">Bilateral · Occlusive</text>
<!-- IRVAN -->
<rect x="1755" y="1256" width="200" height="118" rx="8" fill="#e0f2f1" stroke="#00897b" stroke-width="1.5"/>
<text x="1855" y="1274" text-anchor="middle" font-size="12.5" font-weight="700" fill="#004d40">IRVAN</text>
<text x="1855" y="1289" text-anchor="middle" font-size="10.5" fill="#555">Idiopathic Retinal Vasculitis</text>
<text x="1855" y="1301" text-anchor="middle" font-size="10.5" fill="#555">Aneurysms Neuroretinitis</text>
<text x="1855" y="1319" text-anchor="middle" font-size="11" fill="#444">• Disc aneurysms</text>
<text x="1855" y="1334" text-anchor="middle" font-size="11" fill="#444">• Macular star</text>
<text x="1855" y="1355" text-anchor="middle" font-size="10.5" fill="#888" font-style="italic">→ NEURORETINITIS</text>
<!-- ═══════════════════════════════════ STEP 5: LATERALITY ═══════════════════════════════════ -->
<line x1="1000" y1="1400" x2="1000" y2="1432" stroke="#555" stroke-width="2" marker-end="url(#arr)"/>
<!-- connect both sides to step5 -->
<line x1="495" y1="1390" x2="495" y2="1432" stroke="#555" stroke-width="1.5"/>
<line x1="495" y1="1432" x2="1000" y2="1432" stroke="#555" stroke-width="1.5"/>
<line x1="1505" y1="1390" x2="1505" y2="1432" stroke="#555" stroke-width="1.5"/>
<line x1="1505" y1="1432" x2="1000" y2="1432" stroke="#555" stroke-width="1.5"/>
<rect x="790" y="1434" width="420" height="40" rx="8" fill="#37474f"/>
<text x="1000" y="1459" text-anchor="middle" font-size="14" font-weight="700" fill="white">STEP 5 — LATERALITY</text>
<line x1="1000" y1="1474" x2="1000" y2="1498" stroke="#555" stroke-width="2"/>
<line x1="380" y1="1498" x2="1620" y2="1498" stroke="#555" stroke-width="2"/>
<line x1="380" y1="1498" x2="380" y2="1524" stroke="#6a1b9a" stroke-width="2.5" marker-end="url(#arr)"/>
<line x1="1620" y1="1498" x2="1620" y2="1524" stroke="#2e7d32" stroke-width="2.5" marker-end="url(#arr-grn)"/>
<!-- UNILATERAL -->
<rect x="80" y="1526" width="600" height="200" rx="10" fill="white" stroke="#6a1b9a" stroke-width="2" filter="url(#shadow)"/>
<rect x="80" y="1526" width="600" height="38" rx="10" fill="#6a1b9a"/>
<rect x="80" y="1550" width="600" height="14" fill="#6a1b9a"/>
<text x="380" y="1550" text-anchor="middle" font-size="15" font-weight="700" fill="white">UNILATERAL</text>
<text x="180" y="1582" text-anchor="start" font-size="12" fill="#333">• Toxoplasma retinochoroiditis</text>
<text x="180" y="1598" text-anchor="start" font-size="12" fill="#333">• CMV retinitis (early)</text>
<text x="180" y="1614" text-anchor="start" font-size="12" fill="#333">• ARN (often starts unilateral)</text>
<text x="180" y="1630" text-anchor="start" font-size="12" fill="#333">• PORN (can be bilateral)</text>
<text x="180" y="1646" text-anchor="start" font-size="12" fill="#333">• Bartonella neuroretinitis</text>
<text x="180" y="1662" text-anchor="start" font-size="12" fill="#333">• Toxocara / DUSN</text>
<text x="180" y="1678" text-anchor="start" font-size="12" fill="#333">• MEWDS · PIC · Eales (unilateral onset)</text>
<text x="180" y="1694" text-anchor="start" font-size="12" fill="#333">• Frosted branch angiitis</text>
<text x="180" y="1710" text-anchor="start" font-size="12" fill="#333">• Intraocular lymphoma (can be unilateral)</text>
<!-- BILATERAL -->
<rect x="1320" y="1526" width="600" height="200" rx="10" fill="white" stroke="#2e7d32" stroke-width="2" filter="url(#shadow)"/>
<rect x="1320" y="1526" width="600" height="38" rx="10" fill="#2e7d32"/>
<rect x="1320" y="1550" width="600" height="14" fill="#2e7d32"/>
<text x="1620" y="1550" text-anchor="middle" font-size="15" font-weight="700" fill="white">BILATERAL (typical)</text>
<text x="1420" y="1582" text-anchor="start" font-size="12" fill="#333">• VKH syndrome</text>
<text x="1420" y="1598" text-anchor="start" font-size="12" fill="#333">• Sympathetic ophthalmia (post-trauma)</text>
<text x="1420" y="1614" text-anchor="start" font-size="12" fill="#333">• Birdshot chorioretinopathy (HLA-A29)</text>
<text x="1420" y="1630" text-anchor="start" font-size="12" fill="#333">• Sarcoidosis</text>
<text x="1420" y="1646" text-anchor="start" font-size="12" fill="#333">• APMPPE · Serpiginous · MFC</text>
<text x="1420" y="1662" text-anchor="start" font-size="12" fill="#333">• Behçet (occlusive vasculitis)</text>
<text x="1420" y="1678" text-anchor="start" font-size="12" fill="#333">• Susac syndrome</text>
<text x="1420" y="1694" text-anchor="start" font-size="12" fill="#333">• CMV retinitis (advanced AIDS)</text>
<text x="1420" y="1710" text-anchor="start" font-size="12" fill="#333">• Syphilis · TB</text>
<!-- ═══════════════════════════════════ STEP 6: ENTITY DEFINITIONS ═══════════════════════════════════ -->
<line x1="1000" y1="1726" x2="1000" y2="1760" stroke="#555" stroke-width="2" marker-end="url(#arr)"/>
<rect x="770" y="1762" width="460" height="40" rx="8" fill="#37474f"/>
<text x="1000" y="1787" text-anchor="middle" font-size="14" font-weight="700" fill="white">STEP 6 — CLINICAL ENTITY DEFINITIONS</text>
<line x1="1000" y1="1802" x2="1000" y2="1830" stroke="#555" stroke-width="2"/>
<!-- horizontal spanning all 6 entities -->
<line x1="166" y1="1830" x2="1833" y2="1830" stroke="#555" stroke-width="2"/>
<!-- 6 verticals -->
<line x1="166" y1="1830" x2="166" y2="1858" stroke="#555" stroke-width="1.5" marker-end="url(#arr)"/>
<line x1="499" y1="1830" x2="499" y2="1858" stroke="#555" stroke-width="1.5" marker-end="url(#arr)"/>
<line x1="666" y1="1830" x2="666" y2="1858" stroke="#555" stroke-width="1.5" marker-end="url(#arr)"/>
<line x1="999" y1="1830" x2="999" y2="1858" stroke="#555" stroke-width="1.5" marker-end="url(#arr)"/>
<line x1="1333" y1="1830" x2="1333" y2="1858" stroke="#555" stroke-width="1.5" marker-end="url(#arr)"/>
<line x1="1666" y1="1830" x2="1666" y2="1858" stroke="#555" stroke-width="1.5" marker-end="url(#arr)"/>
<line x1="1833" y1="1830" x2="1833" y2="1858" stroke="#555" stroke-width="1.5" marker-end="url(#arr)"/>
<!-- ── ENTITY 1: RETINITIS ── -->
<rect x="30" y="1860" width="300" height="230" rx="10" fill="white" stroke="#e65100" stroke-width="2.5" filter="url(#shadow)"/>
<rect x="30" y="1860" width="300" height="38" rx="10" fill="#e65100"/>
<rect x="30" y="1884" width="300" height="14" fill="#e65100"/>
<text x="180" y="1884" text-anchor="middle" font-size="14" font-weight="700" fill="white">RETINITIS</text>
<text x="180" y="1910" text-anchor="middle" font-size="12" font-weight="700" fill="#555">Primary: RETINA</text>
<text x="180" y="1928" text-anchor="middle" font-size="11" fill="#444">White, full-thickness opacity</text>
<text x="180" y="1943" text-anchor="middle" font-size="11" fill="#444">Indistinct margins (edema)</text>
<text x="50" y="1963" font-size="12" font-weight="700" fill="#e65100">Vitritis: PRESENT</text>
<text x="50" y="1980" font-size="11" fill="#444">Infectious examples:</text>
<text x="50" y="1996" font-size="11" fill="#444">• CMV retinitis (pizza-pie)</text>
<text x="50" y="2011" font-size="11" fill="#444">• ARN (herpes, peripheral)</text>
<text x="50" y="2026" font-size="11" fill="#444">• Toxoplasma (focal, white)</text>
<text x="50" y="2042" font-size="11" fill="#888" font-style="italic">PORN: vitritis ABSENT</text>
<text x="50" y="2058" font-size="11" fill="#444">Non-infectious:</text>
<text x="50" y="2073" font-size="11" fill="#444">• Behçet (occlusive)</text>
<!-- ── ENTITY 2: CHOROIDITIS ── -->
<rect x="346" y="1860" width="300" height="230" rx="10" fill="white" stroke="#1976d2" stroke-width="2.5" filter="url(#shadow)"/>
<rect x="346" y="1860" width="300" height="38" rx="10" fill="#1976d2"/>
<rect x="346" y="1884" width="300" height="14" fill="#1976d2"/>
<text x="496" y="1884" text-anchor="middle" font-size="14" font-weight="700" fill="white">CHOROIDITIS</text>
<text x="496" y="1910" text-anchor="middle" font-size="12" font-weight="700" fill="#555">Primary: CHOROID</text>
<text x="496" y="1928" text-anchor="middle" font-size="11" fill="#444">Yellow, deep to retina</text>
<text x="496" y="1943" text-anchor="middle" font-size="11" fill="#444">Round nodule; seen through RPE</text>
<text x="366" y="1963" font-size="12" font-weight="700" fill="#1976d2">Vitritis: ABSENT</text>
<text x="366" y="1980" font-size="11" fill="#444">White dot syndromes:</text>
<text x="366" y="1996" font-size="11" fill="#444">• APMPPE (bilateral placoid)</text>
<text x="366" y="2011" font-size="11" fill="#444">• MEWDS (unilateral, evanescent)</text>
<text x="366" y="2026" font-size="11" fill="#444">• MFC / PIC (punched-out)</text>
<text x="366" y="2042" font-size="11" fill="#444">• Serpiginous (geographic)</text>
<text x="366" y="2058" font-size="11" fill="#444">Infectious:</text>
<text x="366" y="2073" font-size="11" fill="#444">• Pneumocystis · Cryptococcus</text>
<!-- ── ENTITY 3: CHORIORETINITIS ── -->
<rect x="662" y="1860" width="300" height="230" rx="10" fill="white" stroke="#7b1fa2" stroke-width="2.5" filter="url(#shadow)"/>
<rect x="662" y="1860" width="300" height="38" rx="10" fill="#7b1fa2"/>
<rect x="662" y="1884" width="300" height="14" fill="#7b1fa2"/>
<text x="812" y="1884" text-anchor="middle" font-size="13" font-weight="700" fill="white">CHORIORETINITIS</text>
<text x="812" y="1910" text-anchor="middle" font-size="12" font-weight="700" fill="#555">Choroid → secondary Retina</text>
<text x="812" y="1928" text-anchor="middle" font-size="11" fill="#444">Starts deep (yellow)</text>
<text x="812" y="1943" text-anchor="middle" font-size="11" fill="#444">Extends to retina (white)</text>
<text x="682" y="1963" font-size="12" font-weight="700" fill="#7b1fa2">Vitritis: VARIABLE</text>
<text x="682" y="1980" font-size="11" fill="#444">• Birdshot chorioretinopathy</text>
<text x="682" y="1996" font-size="11" fill="#444"> (HLA-A29, cream lesions)</text>
<text x="682" y="2012" font-size="11" fill="#444">• VKH (exudative RD)</text>
<text x="682" y="2027" font-size="11" fill="#444">• Sympathetic ophthalmia</text>
<text x="682" y="2042" font-size="11" fill="#444">• Sarcoidosis</text>
<text x="682" y="2058" font-size="11" fill="#444">• Histoplasma (infectious)</text>
<text x="682" y="2073" font-size="11" fill="#888" font-style="italic">Typically BILATERAL</text>
<!-- ── ENTITY 4: RETINOCHOROIDITIS ── -->
<rect x="978" y="1860" width="310" height="230" rx="10" fill="white" stroke="#f57f17" stroke-width="2.5" filter="url(#shadow)"/>
<rect x="978" y="1860" width="310" height="38" rx="10" fill="#f57f17"/>
<rect x="978" y="1884" width="310" height="14" fill="#f57f17"/>
<text x="1133" y="1884" text-anchor="middle" font-size="13" font-weight="700" fill="white">RETINOCHOROIDITIS</text>
<text x="1133" y="1910" text-anchor="middle" font-size="12" font-weight="700" fill="#555">Retina → secondary Choroid</text>
<text x="1133" y="1928" text-anchor="middle" font-size="11" fill="#444">Starts superficially (white)</text>
<text x="1133" y="1943" text-anchor="middle" font-size="11" fill="#444">Heals with pigmented scar</text>
<text x="998" y="1963" font-size="12" font-weight="700" fill="#e65100">Vitritis: PRESENT (dense)</text>
<text x="998" y="1980" font-size="11" fill="#444">Prototype:</text>
<text x="998" y="1996" font-size="11" fill="#444">• Toxoplasma retinochoroiditis</text>
<text x="998" y="2012" font-size="11" fill="#888" font-style="italic"> "Headlight in fog"</text>
<text x="998" y="2028" font-size="11" fill="#444"> White lesion + adjacent old scar</text>
<text x="998" y="2043" font-size="11" fill="#444"> = "satellite lesion"</text>
<text x="998" y="2058" font-size="11" fill="#444">• Congenital CMV</text>
<text x="998" y="2073" font-size="11" fill="#888" font-style="italic">Typically UNILATERAL</text>
<!-- ── ENTITY 5: NEURORETINITIS ── -->
<rect x="1304" y="1860" width="310" height="230" rx="10" fill="white" stroke="#00897b" stroke-width="2.5" filter="url(#shadow)"/>
<rect x="1304" y="1860" width="310" height="38" rx="10" fill="#00897b"/>
<rect x="1304" y="1884" width="310" height="14" fill="#00897b"/>
<text x="1459" y="1884" text-anchor="middle" font-size="13" font-weight="700" fill="white">NEURORETINITIS</text>
<text x="1459" y="1910" text-anchor="middle" font-size="12" font-weight="700" fill="#555">Disc + RNFL + Macular star</text>
<text x="1459" y="1928" text-anchor="middle" font-size="11" fill="#444">Optic disc edema (papillitis)</text>
<text x="1459" y="1943" text-anchor="middle" font-size="11" fill="#444">Macular STAR (Henle's layer)</text>
<text x="1324" y="1963" font-size="12" font-weight="700" fill="#00897b">Vitritis: VARIABLE</text>
<text x="1324" y="1980" font-size="11" fill="#444">Infectious (#1 Bartonella):</text>
<text x="1324" y="1996" font-size="11" fill="#444">• Cat-scratch (Bartonella henselae)</text>
<text x="1324" y="2012" font-size="11" fill="#444">• Lyme disease (Borrelia)</text>
<text x="1324" y="2027" font-size="11" fill="#444">• Toxocara / DUSN (nematode)</text>
<text x="1324" y="2042" font-size="11" fill="#444">• Syphilis</text>
<text x="1324" y="2058" font-size="11" fill="#444">Non-infectious:</text>
<text x="1324" y="2073" font-size="11" fill="#444">• IRVAN · Sarcoid</text>
<!-- ── ENTITY 6: RETINAL VASCULITIS ── -->
<rect x="1630" y="1860" width="330" height="230" rx="10" fill="white" stroke="#c62828" stroke-width="2.5" filter="url(#shadow)"/>
<rect x="1630" y="1860" width="330" height="38" rx="10" fill="#c62828"/>
<rect x="1630" y="1884" width="330" height="14" fill="#c62828"/>
<text x="1795" y="1884" text-anchor="middle" font-size="13" font-weight="700" fill="white">RETINAL VASCULITIS</text>
<text x="1795" y="1910" text-anchor="middle" font-size="12" font-weight="700" fill="#555">Perivascular sheathing</text>
<text x="1795" y="1928" text-anchor="middle" font-size="11" fill="#444">Veins > arteries affected</text>
<text x="1795" y="1943" text-anchor="middle" font-size="11" fill="#444">Branch RVO/RAO may occur</text>
<text x="1650" y="1963" font-size="12" font-weight="700" fill="#c62828">Vitritis: VARIABLE</text>
<text x="1650" y="1980" font-size="11" fill="#444">Periphlebitis (veins):</text>
<text x="1650" y="1996" font-size="11" fill="#444">• Sarcoid (candlewax) · Eales</text>
<text x="1650" y="2012" font-size="11" fill="#444">• Birdshot · MS</text>
<text x="1650" y="2027" font-size="11" fill="#444">Arteritis (arteries):</text>
<text x="1650" y="2043" font-size="11" fill="#444">• ARN · GCA · Churg-Strauss</text>
<text x="1650" y="2058" font-size="11" fill="#444">Both veins+arteries:</text>
<text x="1650" y="2073" font-size="11" fill="#444">• Behçet · Susac syndrome</text>
<!-- ═══════════════════════════════════ QUICK REFERENCE TABLE ═══════════════════════════════════ -->
<line x1="1000" y1="2090" x2="1000" y2="2124" stroke="#555" stroke-width="2" marker-end="url(#arr)"/>
<rect x="700" y="2126" width="600" height="40" rx="8" fill="#263238"/>
<text x="1000" y="2151" text-anchor="middle" font-size="14" font-weight="700" fill="white">QUICK REFERENCE — KEY DIFFERENTIATORS</text>
<!-- TABLE HEADER -->
<rect x="30" y="2176" width="1940" height="36" rx="4" fill="#455a64"/>
<text x="155" y="2199" text-anchor="middle" font-size="13" font-weight="700" fill="white">Disease</text>
<text x="435" y="2199" text-anchor="middle" font-size="13" font-weight="700" fill="white">Entity Type</text>
<text x="660" y="2199" text-anchor="middle" font-size="13" font-weight="700" fill="white">Laterality</text>
<text x="840" y="2199" text-anchor="middle" font-size="13" font-weight="700" fill="white">Vitritis</text>
<text x="1230" y="2199" text-anchor="middle" font-size="13" font-weight="700" fill="white">Pathognomonic / Key Feature</text>
<text x="1780" y="2199" text-anchor="middle" font-size="13" font-weight="700" fill="white">Infective?</text>
<!-- column lines -->
<line x1="280" y1="2176" x2="280" y2="3050" stroke="#cfd8dc" stroke-width="1"/>
<line x1="590" y1="2176" x2="590" y2="3050" stroke="#cfd8dc" stroke-width="1"/>
<line x1="740" y1="2176" x2="740" y2="3050" stroke="#cfd8dc" stroke-width="1"/>
<line x1="930" y1="2176" x2="930" y2="3050" stroke="#cfd8dc" stroke-width="1"/>
<line x1="1700" y1="2176" x2="1700" y2="3050" stroke="#cfd8dc" stroke-width="1"/>
<!-- rows -->
<!-- row helper macro — alternating fills -->
<!-- Row 1 -->
<rect x="30" y="2212" width="1940" height="30" fill="#fafafa"/>
<text x="155" y="2232" text-anchor="middle" font-size="12" font-weight="700" fill="#bf360c">Toxoplasma</text>
<text x="435" y="2232" text-anchor="middle" font-size="12" fill="#333">Retinochoroiditis</text>
<text x="660" y="2232" text-anchor="middle" font-size="12" fill="#333">Unilateral</text>
<text x="840" y="2232" text-anchor="middle" font-size="12" fill="#e65100">Dense focal</text>
<text x="1310" y="2232" text-anchor="middle" font-size="12" fill="#333">"Headlight in fog"; white lesion + adjacent pigmented satellite scar</text>
<text x="1780" y="2232" text-anchor="middle" font-size="12" fill="#c62828" font-weight="700">Yes (parasite)</text>
<!-- Row 2 -->
<rect x="30" y="2242" width="1940" height="30" fill="#f1f8e9"/>
<text x="155" y="2262" text-anchor="middle" font-size="12" font-weight="700" fill="#bf360c">CMV Retinitis</text>
<text x="435" y="2262" text-anchor="middle" font-size="12" fill="#333">Retinitis</text>
<text x="660" y="2262" text-anchor="middle" font-size="12" fill="#333">Uni → Bilateral</text>
<text x="840" y="2262" text-anchor="middle" font-size="12" fill="#2e7d32">Mild</text>
<text x="1310" y="2262" text-anchor="middle" font-size="12" fill="#333">"Pizza-pie" granular hemorrhagic patches; immunocompromised (CD4 <50)</text>
<text x="1780" y="2262" text-anchor="middle" font-size="12" fill="#c62828" font-weight="700">Yes (viral)</text>
<!-- Row 3 -->
<rect x="30" y="2272" width="1940" height="30" fill="#fafafa"/>
<text x="155" y="2292" text-anchor="middle" font-size="12" font-weight="700" fill="#bf360c">ARN</text>
<text x="435" y="2292" text-anchor="middle" font-size="12" fill="#333">Necrotizing retinitis</text>
<text x="660" y="2292" text-anchor="middle" font-size="12" fill="#333">Uni (33% bilateral)</text>
<text x="840" y="2292" text-anchor="middle" font-size="12" fill="#e65100">Marked</text>
<text x="1310" y="2292" text-anchor="middle" font-size="12" fill="#333">Peripheral white patches; occlusive arteritis; rapid; HSV/VZV</text>
<text x="1780" y="2292" text-anchor="middle" font-size="12" fill="#c62828" font-weight="700">Yes (viral)</text>
<!-- Row 4 -->
<rect x="30" y="2302" width="1940" height="30" fill="#f1f8e9"/>
<text x="155" y="2322" text-anchor="middle" font-size="12" font-weight="700" fill="#bf360c">PORN</text>
<text x="435" y="2322" text-anchor="middle" font-size="12" fill="#333">Outer retinitis</text>
<text x="660" y="2322" text-anchor="middle" font-size="12" fill="#333">Bilateral</text>
<text x="840" y="2322" text-anchor="middle" font-size="12" fill="#2e7d32">ABSENT</text>
<text x="1310" y="2322" text-anchor="middle" font-size="12" fill="#333">Deep opacification; spares vessels; clear vitreous; severe HIV; VZV</text>
<text x="1780" y="2322" text-anchor="middle" font-size="12" fill="#c62828" font-weight="700">Yes (VZV)</text>
<!-- Row 5 -->
<rect x="30" y="2332" width="1940" height="30" fill="#fafafa"/>
<text x="155" y="2352" text-anchor="middle" font-size="12" font-weight="700" fill="#004d40">Bartonella</text>
<text x="435" y="2352" text-anchor="middle" font-size="12" fill="#333">Neuroretinitis</text>
<text x="660" y="2352" text-anchor="middle" font-size="12" fill="#333">Unilateral</text>
<text x="840" y="2352" text-anchor="middle" font-size="12" fill="#888">Mild</text>
<text x="1310" y="2352" text-anchor="middle" font-size="12" fill="#333">Disc edema + macular STAR; #1 cause of neuroretinitis; cat exposure</text>
<text x="1780" y="2352" text-anchor="middle" font-size="12" fill="#c62828" font-weight="700">Yes (bacterial)</text>
<!-- Row 6 -->
<rect x="30" y="2362" width="1940" height="30" fill="#f1f8e9"/>
<text x="155" y="2382" text-anchor="middle" font-size="12" font-weight="700" fill="#c62828">Syphilis</text>
<text x="435" y="2382" text-anchor="middle" font-size="12" fill="#333">Any pattern</text>
<text x="660" y="2382" text-anchor="middle" font-size="12" fill="#333">Bilateral</text>
<text x="840" y="2382" text-anchor="middle" font-size="12" fill="#888">Variable</text>
<text x="1310" y="2382" text-anchor="middle" font-size="12" fill="#333">"Great imitator"; retinitis / chorioretinitis / vasculitis / neuroretinitis</text>
<text x="1780" y="2382" text-anchor="middle" font-size="12" fill="#c62828" font-weight="700">Yes (bacterial)</text>
<!-- Row 7 -->
<rect x="30" y="2392" width="1940" height="30" fill="#fafafa"/>
<text x="155" y="2412" text-anchor="middle" font-size="12" font-weight="700" fill="#c62828">TB</text>
<text x="435" y="2412" text-anchor="middle" font-size="12" fill="#333">Choroiditis / vasculitis</text>
<text x="660" y="2412" text-anchor="middle" font-size="12" fill="#333">Bilateral</text>
<text x="840" y="2412" text-anchor="middle" font-size="12" fill="#888">Variable</text>
<text x="1310" y="2412" text-anchor="middle" font-size="12" fill="#333">Choroidal tubercles; periphlebitis; systemic TB signs</text>
<text x="1780" y="2412" text-anchor="middle" font-size="12" fill="#c62828" font-weight="700">Yes (bacterial)</text>
<!-- Row 8 -->
<rect x="30" y="2422" width="1940" height="30" fill="#f1f8e9"/>
<text x="155" y="2442" text-anchor="middle" font-size="12" font-weight="700" fill="#4a148c">Birdshot</text>
<text x="435" y="2442" text-anchor="middle" font-size="12" fill="#333">Chorioretinitis</text>
<text x="660" y="2442" text-anchor="middle" font-size="12" fill="#333">Bilateral</text>
<text x="840" y="2442" text-anchor="middle" font-size="12" fill="#e65100">Present</text>
<text x="1310" y="2442" text-anchor="middle" font-size="12" fill="#333">Cream-colored lesions radiating from disc; HLA-A29; periphlebitis</text>
<text x="1780" y="2442" text-anchor="middle" font-size="12" fill="#1565c0" font-weight="700">No (autoimmune)</text>
<!-- Row 9 -->
<rect x="30" y="2452" width="1940" height="30" fill="#fafafa"/>
<text x="155" y="2472" text-anchor="middle" font-size="12" font-weight="700" fill="#4a148c">VKH</text>
<text x="435" y="2472" text-anchor="middle" font-size="12" fill="#333">Chorioretinitis</text>
<text x="660" y="2472" text-anchor="middle" font-size="12" fill="#333">Bilateral</text>
<text x="840" y="2472" text-anchor="middle" font-size="12" fill="#e65100">Present</text>
<text x="1310" y="2472" text-anchor="middle" font-size="12" fill="#333">Exudative RD; sunset glow fundus; poliosis; tinnitus; vitiligo</text>
<text x="1780" y="2472" text-anchor="middle" font-size="12" fill="#1565c0" font-weight="700">No (autoimmune)</text>
<!-- Row 10 -->
<rect x="30" y="2482" width="1940" height="30" fill="#f1f8e9"/>
<text x="155" y="2502" text-anchor="middle" font-size="12" font-weight="700" fill="#4a148c">Sympathetic Ophthal.</text>
<text x="435" y="2502" text-anchor="middle" font-size="12" fill="#333">Chorioretinitis</text>
<text x="660" y="2502" text-anchor="middle" font-size="12" fill="#333">Bilateral (post-trauma)</text>
<text x="840" y="2502" text-anchor="middle" font-size="12" fill="#e65100">Present</text>
<text x="1310" y="2502" text-anchor="middle" font-size="12" fill="#333">Bilateral granulomatous uveitis; Dalen-Fuchs nodules; penetrating injury</text>
<text x="1780" y="2502" text-anchor="middle" font-size="12" fill="#1565c0" font-weight="700">No (autoimmune)</text>
<!-- Row 11 -->
<rect x="30" y="2512" width="1940" height="30" fill="#fafafa"/>
<text x="155" y="2532" text-anchor="middle" font-size="12" font-weight="700" fill="#1565c0">Sarcoidosis</text>
<text x="435" y="2532" text-anchor="middle" font-size="12" fill="#333">Chorioretinitis + Vasculitis</text>
<text x="660" y="2532" text-anchor="middle" font-size="12" fill="#333">Bilateral</text>
<text x="840" y="2532" text-anchor="middle" font-size="12" fill="#e65100">Present</text>
<text x="1310" y="2532" text-anchor="middle" font-size="12" fill="#333">"Candlewax drippings"; periphlebitis; disc granulomas; ACE elevated</text>
<text x="1780" y="2532" text-anchor="middle" font-size="12" fill="#1565c0" font-weight="700">No (granulomatous)</text>
<!-- Row 12 -->
<rect x="30" y="2542" width="1940" height="30" fill="#f1f8e9"/>
<text x="155" y="2562" text-anchor="middle" font-size="12" font-weight="700" fill="#c62828">Behçet</text>
<text x="435" y="2562" text-anchor="middle" font-size="12" fill="#333">Occlusive vasculitis</text>
<text x="660" y="2562" text-anchor="middle" font-size="12" fill="#333">Bilateral</text>
<text x="840" y="2562" text-anchor="middle" font-size="12" fill="#e65100">Marked</text>
<text x="1310" y="2562" text-anchor="middle" font-size="12" fill="#333">Occlusive vasculitis; hypopyon; oral/genital ulcers; devastating prognosis</text>
<text x="1780" y="2562" text-anchor="middle" font-size="12" fill="#1565c0" font-weight="700">No (vasculitis)</text>
<!-- Row 13 -->
<rect x="30" y="2572" width="1940" height="30" fill="#fafafa"/>
<text x="155" y="2592" text-anchor="middle" font-size="12" font-weight="700" fill="#1976d2">APMPPE</text>
<text x="435" y="2592" text-anchor="middle" font-size="12" fill="#333">Choroiditis</text>
<text x="660" y="2592" text-anchor="middle" font-size="12" fill="#333">Bilateral</text>
<text x="840" y="2592" text-anchor="middle" font-size="12" fill="#2e7d32">Mild</text>
<text x="1310" y="2592" text-anchor="middle" font-size="12" fill="#333">Bilateral placoid sub-RPE lesions; post-viral; self-limiting; young adults</text>
<text x="1780" y="2592" text-anchor="middle" font-size="12" fill="#1565c0" font-weight="700">No</text>
<!-- Row 14 -->
<rect x="30" y="2602" width="1940" height="30" fill="#f1f8e9"/>
<text x="155" y="2622" text-anchor="middle" font-size="12" font-weight="700" fill="#1976d2">Serpiginous</text>
<text x="435" y="2622" text-anchor="middle" font-size="12" fill="#333">Choroiditis</text>
<text x="660" y="2622" text-anchor="middle" font-size="12" fill="#333">Bilateral (asymm.)</text>
<text x="840" y="2622" text-anchor="middle" font-size="12" fill="#2e7d32">ABSENT</text>
<text x="1310" y="2622" text-anchor="middle" font-size="12" fill="#333">Geographic peripapillary spread; recurrent; no vitritis</text>
<text x="1780" y="2622" text-anchor="middle" font-size="12" fill="#1565c0" font-weight="700">No</text>
<!-- Row 15 -->
<rect x="30" y="2632" width="1940" height="30" fill="#fafafa"/>
<text x="155" y="2652" text-anchor="middle" font-size="12" font-weight="700" fill="#1976d2">MEWDS</text>
<text x="435" y="2652" text-anchor="middle" font-size="12" fill="#333">Choroiditis/outer retina</text>
<text x="660" y="2652" text-anchor="middle" font-size="12" fill="#333">UNILATERAL</text>
<text x="840" y="2652" text-anchor="middle" font-size="12" fill="#2e7d32">Mild</text>
<text x="1310" y="2652" text-anchor="middle" font-size="12" fill="#333">Multiple evanescent white dots; young myopic women; self-resolving</text>
<text x="1780" y="2652" text-anchor="middle" font-size="12" fill="#1565c0" font-weight="700">No</text>
<!-- Row 16 -->
<rect x="30" y="2662" width="1940" height="30" fill="#f1f8e9"/>
<text x="155" y="2682" text-anchor="middle" font-size="12" font-weight="700" fill="#c62828">Eales Disease</text>
<text x="435" y="2682" text-anchor="middle" font-size="12" fill="#333">Retinal vasculitis</text>
<text x="660" y="2682" text-anchor="middle" font-size="12" fill="#333">Bilateral</text>
<text x="840" y="2682" text-anchor="middle" font-size="12" fill="#e65100">Present</text>
<text x="1310" y="2682" text-anchor="middle" font-size="12" fill="#333">Peripheral periphlebitis; neovascularization; vitreous hemorrhage; young men</text>
<text x="1780" y="2682" text-anchor="middle" font-size="12" fill="#1565c0" font-weight="700">No (idiopathic)</text>
<!-- Row 17 -->
<rect x="30" y="2692" width="1940" height="30" fill="#fafafa"/>
<text x="155" y="2712" text-anchor="middle" font-size="12" font-weight="700" fill="#c62828">Susac Syndrome</text>
<text x="435" y="2712" text-anchor="middle" font-size="12" fill="#333">Arterial vasculitis</text>
<text x="660" y="2712" text-anchor="middle" font-size="12" fill="#333">Bilateral</text>
<text x="840" y="2712" text-anchor="middle" font-size="12" fill="#888">Variable</text>
<text x="1310" y="2712" text-anchor="middle" font-size="12" fill="#333">Retinal artery occlusions + sensorineural hearing loss + encephalopathy</text>
<text x="1780" y="2712" text-anchor="middle" font-size="12" fill="#1565c0" font-weight="700">No (autoimmune)</text>
<!-- Row 18 -->
<rect x="30" y="2722" width="1940" height="30" fill="#f1f8e9"/>
<text x="155" y="2742" text-anchor="middle" font-size="12" font-weight="700" fill="#004d40">IRVAN</text>
<text x="435" y="2742" text-anchor="middle" font-size="12" fill="#333">Neuroretinitis</text>
<text x="660" y="2742" text-anchor="middle" font-size="12" fill="#333">Bilateral</text>
<text x="840" y="2742" text-anchor="middle" font-size="12" fill="#888">Variable</text>
<text x="1310" y="2742" text-anchor="middle" font-size="12" fill="#333">Disc aneurysms + macular star exudate; arteritis; exudative retinopathy</text>
<text x="1780" y="2742" text-anchor="middle" font-size="12" fill="#1565c0" font-weight="700">No (idiopathic)</text>
<!-- table bottom border -->
<rect x="30" y="2752" width="1940" height="2" fill="#546e7a"/>
<!-- ═══════════════════════════════════ LEGEND ═══════════════════════════════════ -->
<rect x="30" y="2768" width="1940" height="72" rx="10" fill="#eceff1"/>
<text x="1000" y="2792" text-anchor="middle" font-size="13" font-weight="700" fill="#37474f">LEGEND</text>
<rect x="60" y="2804" width="14" height="14" rx="3" fill="#e65100"/>
<text x="82" y="2816" font-size="12" fill="#333">Retinitis (primary retinal)</text>
<rect x="290" y="2804" width="14" height="14" rx="3" fill="#1976d2"/>
<text x="312" y="2816" font-size="12" fill="#333">Choroiditis (primary choroidal)</text>
<rect x="570" y="2804" width="14" height="14" rx="3" fill="#7b1fa2"/>
<text x="592" y="2816" font-size="12" fill="#333">Chorioretinitis / Retinochoroiditis</text>
<rect x="860" y="2804" width="14" height="14" rx="3" fill="#00897b"/>
<text x="882" y="2816" font-size="12" fill="#333">Neuroretinitis</text>
<rect x="1060" y="2804" width="14" height="14" rx="3" fill="#c62828"/>
<text x="1082" y="2816" font-size="12" fill="#333">Retinal Vasculitis</text>
<rect x="1270" y="2804" width="14" height="14" rx="3" fill="#c62828"/>
<text x="1292" y="2816" font-size="12" fill="#333">Infectious etiology</text>
<rect x="1480" y="2804" width="14" height="14" rx="3" fill="#1565c0"/>
<text x="1502" y="2816" font-size="12" fill="#333">Non-infectious / autoimmune</text>
<rect x="1760" y="2804" width="14" height="14" rx="3" fill="#43a047"/>
<text x="1782" y="2816" font-size="12" fill="#333">Focal pattern</text>
<!-- footer -->
<text x="1000" y="2870" text-anchor="middle" font-size="11" fill="#90a4ae">
Sources: Kanski's Clinical Ophthalmology 10th Ed. | Wills Eye Manual | Firestein & Kelley's Textbook of Rheumatology
</text>
<text x="1000" y="2888" text-anchor="middle" font-size="11" fill="#90a4ae">
ARN = Acute Retinal Necrosis · PORN = Progressive Outer Retinal Necrosis · VKH = Vogt-Koyanagi-Harada · IRVAN = Idiopathic Retinal Vasculitis Aneurysms Neuroretinitis
</text>
<text x="1000" y="2906" text-anchor="middle" font-size="11" fill="#90a4ae">
APMPPE = Acute Post. Multifocal Placoid Pigment Epitheliopathy · MEWDS = Multiple Evanescent White Dot Syndrome · MFC = Multifocal Choroiditis · PIC = Punctate Inner Choroidopathy
</text>
<text x="1000" y="2924" text-anchor="middle" font-size="11" fill="#90a4ae">
DUSN = Diffuse Unilateral Subacute Neuroretinitis · GCA = Giant Cell Arteritis · RD = Retinal Detachment · RPE = Retinal Pigment Epithelium
</text>
</svg>
<h2>Posterior Uveitis — Single Unified Flowchart | Kanski's Clinical Ophthalmology 10th Ed. | Wills Eye Manual</h2>
</div>
</body>
</html>
ls -lh /home/daytona/workspace/posterior-uveitis-flowchart/
single flowchart
HTML File · HTML
POSTERIOR UVEITIS (root)
│
STEP 1 — VITRITIS?
├──── WITH VITRITIS ──────────────────────── WITHOUT VITRITIS
│ (Primary retinal, white lesion) (Primary choroidal, yellow lesion)
│
STEP 2 — PRIMARY SITE (colour clue boxes)
│
STEP 3 — DISTRIBUTION PATTERN
├── FOCAL/SOLITARY ├── MULTIFOCAL ├── GEOGRAPHIC └── DIFFUSE
│
STEP 4 — INFECTIOUS vs NON-INFECTIOUS (two parallel columns)
┌────────────────────────────┐ ┌────────────────────────────────┐
│ INFECTIOUS │ │ NON-INFECTIOUS │
│ • Retinitis │ │ • White dot syndromes │
│ (Toxoplasma, CMV, │ │ (APMPPE, MEWDS, Serpiginous, │
│ ARN, PORN) │ │ MFC, PIC) │
│ • Choroiditis │ │ • Chorioretinitis │
│ (PCP, Crypto, TB) │ │ (Birdshot, VKH, Sympathetic) │
│ • Neuroretinitis │ │ • Vasculitis + Neuroretinitis │
│ (Bartonella, DUSN) │ │ (Sarcoid, Eales, Behçet, │
│ • Vasculitis (Syphilis) │ │ IRVAN) │
└────────────────────────────┘ └────────────────────────────────┘
│
STEP 5 — LATERALITY
├── UNILATERAL BILATERAL
│ (Toxoplasma, CMV early, (VKH, Birdshot, Sarcoid,
│ ARN, Bartonella, DUSN, Sympathetic, Behçet, Susac,
│ MEWDS, PIC) APMPPE, Serpiginous, TB, Syphilis)
│
STEP 6 — ENTITY DEFINITIONS (6 boxes side by side)
RETINITIS | CHOROIDITIS | CHORIORETINITIS | RETINOCHOROIDITIS | NEURORETINITIS | VASCULITIS
│
QUICK REFERENCE TABLE (18-disease comparison)
Disease | Entity | Laterality | Vitritis | Key Feature | Infectious?
hml file is not opening, give me text format and photo
python3 << 'EOF' import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import matplotlib.patches as mpatches from matplotlib.patches import FancyBboxPatch, FancyArrowPatch import numpy as np fig, ax = plt.subplots(figsize=(28, 52)) ax.set_xlim(0, 28) ax.set_ylim(0, 52) ax.axis('off') fig.patch.set_facecolor('#f5f7fa') ax.set_facecolor('#f5f7fa') def box(ax, x, y, w, h, text, facecolor, textcolor='white', fontsize=9, bold=True, radius=0.3, lines=None, linecolors=None): bp = FancyBboxPatch((x, y), w, h, boxstyle=f"round,pad=0.05,rounding_size={radius}", facecolor=facecolor, edgecolor='#cccccc', linewidth=0.8, zorder=3) ax.add_patch(bp) if lines: total = len(lines) step = h / (total + 1) for i, (ln, lc) in enumerate(zip(lines, linecolors or ['white']*total)): fw = 'bold' if bold and i == 0 else 'normal' ax.text(x + w/2, y + h - (i+1)*step, ln, ha='center', va='center', fontsize=fontsize if i > 0 else fontsize+0.5, color=lc, fontweight=fw, zorder=4, wrap=True) else: ax.text(x + w/2, y + h/2, text, ha='center', va='center', fontsize=fontsize, color=textcolor, fontweight='bold' if bold else 'normal', zorder=4, multialignment='center') def arrow(ax, x1, y1, x2, y2, color='#444444'): ax.annotate('', xy=(x2, y2), xytext=(x1, y1), arrowprops=dict(arrowstyle='->', color=color, lw=1.5), zorder=2) def hline(ax, x1, x2, y, color='#555555'): ax.plot([x1, x2], [y, y], color=color, lw=1.5, zorder=2) def vline(ax, x, y1, y2, color='#555555'): ax.plot([x, x], [y1, y2], color=color, lw=1.5, zorder=2) # ─── TITLE ─── box(ax, 8, 49.8, 12, 1.8, 'POSTERIOR UVEITIS\nRetinitis · Choroiditis · Vasculitis · Neuroretinitis', '#b71c1c', fontsize=13) arrow(ax, 14, 49.8, 14, 49.2) # ─── STEP 1: VITRITIS ─── box(ax, 10, 48.4, 8, 0.9, 'STEP 1 — VITRITIS?', '#37474f', fontsize=10) vline(ax, 14, 48.4, 48.0) hline(ax, 5, 23, 48.0) vline(ax, 5, 48.0, 47.6) vline(ax, 23, 48.0, 47.6) box(ax, 2, 46.2, 6.5, 1.5, 'WITH VITRITIS\n(Primary RETINAL disease)\nWhite lesion · Vitritis present', '#e65100', fontsize=8.5) box(ax, 19.5, 46.2, 6.5, 1.5, 'WITHOUT VITRITIS\n(Primary CHOROIDAL disease)\nYellow lesion · Clear vitreous', '#1565c0', fontsize=8.5) arrow(ax, 14, 46.2, 14, 45.7) # ─── STEP 2: SITE & COLOUR ─── box(ax, 9, 44.8, 10, 1.0, 'STEP 2 — PRIMARY SITE / LESION COLOUR', '#546e7a', fontsize=9) # colour clues row box(ax, 0.3, 43.3, 8.5, 1.0, '⬜ WHITE = RETINAL\nFull-thickness opacity · indistinct margins', '#fff3e0', textcolor='#bf360c', fontsize=8, bold=False) box(ax, 9.75, 43.3, 8.5, 1.0, '🟡 YELLOW = CHOROIDAL\nDeep · round nodule · seen through RPE', '#fff9c4', textcolor='#e65100', fontsize=8, bold=False) box(ax, 19.2, 43.3, 8.5, 1.0, '🟫 PIGMENTED = HEALED SCAR\nLong-standing · old chorioretinal damage', '#efebe9', textcolor='#4e342e', fontsize=8, bold=False) arrow(ax, 14, 43.3, 14, 42.8) # ─── STEP 3: PATTERN ─── box(ax, 9, 42.0, 10, 0.9, 'STEP 3 — DISTRIBUTION PATTERN', '#37474f', fontsize=9) vline(ax, 14, 42.0, 41.7) hline(ax, 3.5, 24.5, 41.7) for xp in [3.5, 10, 18, 24.5]: vline(ax, xp, 41.7, 41.4) box(ax, 1.0, 40.0, 5.5, 1.5, 'FOCAL / SOLITARY\nSingle lesion\nToxoplasma (classic)', '#f9fbe7', textcolor='#2e7d32', fontsize=8, bold=False) box(ax, 7.3, 40.0, 5.5, 1.5, 'MULTIFOCAL\nMultiple discrete\nSarcoid · Syphilis · MEWDS', '#fff8e1', textcolor='#e65100', fontsize=8, bold=False) box(ax, 15.2, 40.0, 5.5, 1.5, 'GEOGRAPHIC\nMap-like spread\nSerpiginous choroiditis', '#f3e5f5', textcolor='#6a1b9a', fontsize=8, bold=False) box(ax, 21.8, 40.0, 5.5, 1.5, 'DIFFUSE\nWidespread retina\nCMV · ARN · PORN', '#ffebee', textcolor='#c62828', fontsize=8, bold=False) arrow(ax, 14, 40.0, 14, 39.4) # ─── STEP 4: INFECTIOUS vs NON-INFECTIOUS ─── box(ax, 8, 38.6, 12, 0.9, 'STEP 4 — INFECTIOUS vs NON-INFECTIOUS', '#37474f', fontsize=9) vline(ax, 14, 38.6, 38.2) hline(ax, 1, 27, 38.2) vline(ax, 1, 38.2, 37.8) vline(ax, 27, 38.2, 37.8) # ── INFECTIOUS COLUMN (left) ── box(ax, 0.2, 37.0, 13.3, 0.9, '🦠 INFECTIOUS POSTERIOR UVEITIS', '#c62828', fontsize=10) # Retinitis sub-header box(ax, 0.2, 35.7, 13.3, 0.8, 'RETINITIS (Primary Retinal · Vitritis PRESENT)', '#e65100', fontsize=8.5) # 3 disease sub-boxes box(ax, 0.2, 33.2, 4.1, 2.6, '', '#fff8f0', lines=['Toxoplasma', 'Retinochoroiditis', '─────────────', '"Headlight in fog"', 'Focal white + vitritis', 'Adjacent pigment scar', '(satellite lesion)', 'Unilateral · FOCAL'], linecolors=['#bf360c','#bf360c','#ccc','#333','#333','#333','#333','#888'], fontsize=7.5, bold=False) box(ax, 4.6, 33.2, 4.1, 2.6, '', '#fff8f0', lines=['CMV Retinitis', '(immunocompromised)', '─────────────', '"Pizza-pie" fundus', 'Granular + hemorrhage', 'Vitritis: MILD', 'Frosted branch angiitis', 'Uni→Bilateral · Diffuse'], linecolors=['#bf360c','#555','#ccc','#333','#333','#333','#333','#888'], fontsize=7.5, bold=False) box(ax, 9.1, 33.2, 4.3, 2.6, '', '#fff8f0', lines=['ARN / PORN (Herpes)', 'HSV/VZV (ARN), VZV (PORN)', '─────────────', 'ARN: peripheral necrosis', 'Marked vitritis; arteritis', 'PORN: NO vitritis', 'Deep opacification; HIV', 'ARN: Uni (33% bilateral)'], linecolors=['#bf360c','#555','#ccc','#333','#333','#333','#333','#888'], fontsize=7.5, bold=False) # Choroiditis sub-header box(ax, 0.2, 32.4, 13.3, 0.8, 'CHOROIDITIS (Primary Choroidal · Vitritis ABSENT)', '#1976d2', fontsize=8.5) box(ax, 0.2, 30.7, 4.1, 1.8, '', '#e3f2fd', lines=['Pneumocystis', 'Choroiditis', '─────', 'Bilateral yellow lesions', 'No vitritis · AIDS (CD4<50)', 'Bilateral · Multifocal'], linecolors=['#0d47a1','#555','#ccc','#333','#333','#888'], fontsize=7.5, bold=False) box(ax, 4.6, 30.7, 4.1, 1.8, '', '#e3f2fd', lines=['Cryptococcal', 'Choroiditis', '─────', 'Deep yellow lesions', 'Immunocompromised', 'Bilateral · Multifocal'], linecolors=['#0d47a1','#555','#ccc','#333','#333','#888'], fontsize=7.5, bold=False) box(ax, 9.1, 30.7, 4.3, 1.8, '', '#e3f2fd', lines=['TB Choroiditis', '', '─────', 'Choroidal tubercles', 'Yellow-white deep lesions', 'Bilateral · ± Periphlebitis'], linecolors=['#0d47a1','#555','#ccc','#333','#333','#888'], fontsize=7.5, bold=False) # Neuroretinitis (infectious) box(ax, 0.2, 29.9, 13.3, 0.8, 'NEURORETINITIS + CHORIORETINITIS (Infectious)', '#7b1fa2', fontsize=8.5) box(ax, 0.2, 28.0, 4.1, 2.0, '', '#e0f2f1', lines=['Bartonella', '(Cat-scratch)', '─────────────', '#1 cause of neuroretinitis', 'Disc edema + Macular STAR', 'Stellate in Henle\'s layer', 'Cat exposure', 'Unilateral'], linecolors=['#004d40','#555','#ccc','#333','#333','#333','#333','#888'], fontsize=7.5, bold=False) box(ax, 4.6, 28.0, 4.1, 2.0, '', '#e0f2f1', lines=['Toxocara / DUSN', 'Nematode', '─────────────', 'Children / young adults', 'Optic nerve swelling', 'Gray-white retinal lesions', '→ Optic atrophy (late)', 'Unilateral'], linecolors=['#004d40','#555','#ccc','#333','#333','#333','#333','#888'], fontsize=7.5, bold=False) box(ax, 9.1, 28.0, 4.3, 2.0, '', '#f3e5f5', lines=['Syphilis', '"Great Imitator"', '─────────────', 'Any pattern of PU', 'Retinitis / Chorioretinitis', 'Vasculitis / Neuroretinitis', 'Must exclude in ALL PU', 'Bilateral · Multifocal'], linecolors=['#4a148c','#555','#ccc','#333','#333','#333','#333','#888'], fontsize=7.5, bold=False) # ── NON-INFECTIOUS COLUMN (right) ── box(ax, 14.5, 37.0, 13.3, 0.9, '🔵 NON-INFECTIOUS POSTERIOR UVEITIS', '#1565c0', fontsize=10) # White dot syndromes box(ax, 14.5, 35.7, 13.3, 0.8, 'WHITE DOT SYNDROMES (Choroiditis · Vitritis absent/mild)', '#1976d2', fontsize=8.5) box(ax, 14.5, 33.8, 3.1, 2.0, '', '#e3f2fd', lines=['APMPPE', '', 'Bilateral placoid', 'Sub-RPE lesions', 'Post-viral, young', 'Self-limiting'], linecolors=['#0d47a1','#555','#333','#333','#333','#888'], fontsize=7.5, bold=False) box(ax, 17.9, 33.8, 3.1, 2.0, '', '#e3f2fd', lines=['MEWDS', '', 'Outer retina/choroid', 'Young myopic women', 'Evanescent; self-resolves', 'UNILATERAL'], linecolors=['#0d47a1','#555','#333','#333','#333','#c62828'], fontsize=7.5, bold=False) box(ax, 21.3, 33.8, 3.1, 2.0, '', '#e3f2fd', lines=['Serpiginous', '', 'Geographic; peripapillary', 'Recurrent; no vitritis', 'Bilateral (asymmetric)', 'GEOGRAPHIC'], linecolors=['#0d47a1','#555','#333','#333','#333','#888'], fontsize=7.5, bold=False) box(ax, 24.5, 33.8, 3.2, 2.0, '', '#e3f2fd', lines=['MFC / PIC', '', 'MFC: punched-out scars', 'PIC: small punctate', 'Both: myopic women', 'Bilateral · Multifocal'], linecolors=['#0d47a1','#555','#333','#333','#333','#888'], fontsize=7.5, bold=False) # Chorioretinitis box(ax, 14.5, 33.0, 13.3, 0.8, 'CHORIORETINITIS / RETINOCHOROIDITIS (Non-infectious)', '#7b1fa2', fontsize=8.5) box(ax, 14.5, 30.9, 4.1, 2.2, '', '#f3e5f5', lines=['Birdshot', 'Chorioretinopathy', '─────────────', 'HLA-A29 (strongly assoc.)', 'Cream lesions from disc', 'Bilateral periphlebitis', 'Vitritis present', 'Bilateral · Multifocal'], linecolors=['#4a148c','#555','#ccc','#333','#333','#333','#333','#888'], fontsize=7.5, bold=False) box(ax, 18.9, 30.9, 4.1, 2.2, '', '#f3e5f5', lines=['VKH Syndrome', '', '─────────────', 'Bilateral exudative RD', 'Granulomatous (mutton-fat KPs)', 'Poliosis · tinnitus · vitiligo', 'Sunset-glow fundus (late)', 'Bilateral · Diffuse'], linecolors=['#4a148c','#555','#ccc','#333','#333','#333','#333','#888'], fontsize=7.5, bold=False) box(ax, 23.3, 30.9, 4.3, 2.2, '', '#f3e5f5', lines=['Sympathetic Ophthalmia', '', '─────────────', 'Post-penetrating trauma', 'Bilateral granulomatous', 'Dalen-Fuchs nodules (RPE)', 'Exciting + sympathizing eye', 'Bilateral'], linecolors=['#4a148c','#555','#ccc','#333','#333','#333','#333','#888'], fontsize=7.5, bold=False) # Vasculitis (non-infect) box(ax, 14.5, 30.1, 13.3, 0.8, 'RETINAL VASCULITIS + NEURORETINITIS (Non-infectious)', '#c62828', fontsize=8.5) box(ax, 14.5, 28.3, 3.1, 1.9, '', '#fce4ec', lines=['Sarcoidosis', '', '"Candlewax" periphlebitis', 'Disc granulomas', 'ACE elevated', 'Bilateral'], linecolors=['#880e4f','#555','#333','#333','#333','#888'], fontsize=7.5, bold=False) box(ax, 17.9, 28.3, 3.1, 1.9, '', '#fce4ec', lines=['Eales Disease', '', 'Peripheral periphlebitis', 'Neovascularization', 'Young men; idiopathic', 'Bilateral'], linecolors=['#880e4f','#555','#333','#333','#333','#888'], fontsize=7.5, bold=False) box(ax, 21.3, 28.3, 3.1, 1.9, '', '#fce4ec', lines=['Behçet Disease', '', 'Occlusive vasculitis', 'Oral/genital ulcers', 'Bilateral; devastating', 'Bilateral'], linecolors=['#880e4f','#555','#333','#333','#333','#888'], fontsize=7.5, bold=False) box(ax, 24.5, 28.3, 3.2, 1.9, '', '#e0f2f1', lines=['IRVAN', '', 'Disc aneurysms', 'Macular star', 'Arteritis', 'Neuroretinitis'], linecolors=['#004d40','#555','#333','#333','#333','#888'], fontsize=7.5, bold=False) # ─── STEP 5: LATERALITY ─── arrow(ax, 14, 28.0, 14, 27.4) box(ax, 9, 26.6, 10, 0.9, 'STEP 5 — LATERALITY', '#37474f', fontsize=9) vline(ax, 14, 26.6, 26.2) hline(ax, 4.5, 23.5, 26.2) vline(ax, 4.5, 26.2, 25.9) vline(ax, 23.5, 26.2, 25.9) box(ax, 0.2, 23.2, 8.5, 2.8, '', '#ede7f6', lines=['UNILATERAL', '', '• Toxoplasma retinochoroiditis', '• CMV retinitis (early)', '• ARN (often starts unilateral)', '• PORN', '• Bartonella neuroretinitis', '• Toxocara / DUSN', '• MEWDS · PIC', '• Frosted branch angiitis'], linecolors=['#4a148c','#555','#333','#333','#333','#333','#333','#333','#333','#333'], fontsize=8, bold=False) box(ax, 19.3, 23.2, 8.5, 2.8, '', '#e8f5e9', lines=['BILATERAL (typical)', '', '• VKH syndrome', '• Sympathetic ophthalmia', '• Birdshot chorioretinopathy', '• Sarcoidosis', '• APMPPE · Serpiginous · MFC', '• Behçet · Susac syndrome', '• CMV retinitis (advanced AIDS)', '• Syphilis · TB'], linecolors=['#2e7d32','#555','#333','#333','#333','#333','#333','#333','#333','#333'], fontsize=8, bold=False) # ─── STEP 6: ENTITY DEFINITIONS ─── arrow(ax, 14, 23.2, 14, 22.6) box(ax, 7.5, 21.8, 13, 0.9, 'STEP 6 — CLINICAL ENTITY DEFINITIONS', '#37474f', fontsize=9) vline(ax, 14, 21.8, 21.4) hline(ax, 1.2, 26.8, 21.4) for xp in [1.2, 5.8, 10.4, 14.3, 18.8, 23.3]: vline(ax, xp, 21.4, 21.1) ew = 4.3 eg = 0.2 ex_start = 0.3 for i, (title, body_lines, col, tcol) in enumerate([ ('RETINITIS', [ 'Primary: RETINA', 'White full-thickness opacity', 'Indistinct margins (edema)', 'Vitritis: PRESENT', '• CMV (pizza-pie)', '• ARN (peripheral)', '• Toxoplasma (focal)', 'PORN: vitritis ABSENT'], '#fff3e0', '#bf360c'), ('CHOROIDITIS', [ 'Primary: CHOROID', 'Yellow nodule deep to retina', 'Seen through RPE', 'Vitritis: ABSENT', '• APMPPE (bilateral)', '• MEWDS (unilateral)', '• MFC / PIC', '• Serpiginous (geographic)'], '#e3f2fd', '#0d47a1'), ('CHORIORETINITIS', [ 'Choroid → secondary Retina', 'Starts deep (yellow)', 'Extends to retina (white)', 'Vitritis: VARIABLE', '• Birdshot (HLA-A29)', '• VKH (exudative RD)', '• Sympathetic ophthalmia', '• Sarcoidosis'], '#f3e5f5', '#4a148c'), ('RETINOCHOROIDITIS', [ 'Retina → secondary Choroid', 'Starts superficial (white)', 'Heals: pigmented scar', 'Vitritis: PRESENT (dense)', '• Toxoplasma (prototype)', ' "Headlight in fog"', ' satellite scar', '• Congenital CMV'], '#fff8e1', '#e65100'), ('NEURORETINITIS', [ 'Disc + RNFL + Macula', 'Optic disc edema', 'Macular STAR exudate', 'Vitritis: VARIABLE', '• Bartonella (#1 cause)', '• Lyme disease', '• Toxocara / DUSN', '• IRVAN (non-infect)'], '#e0f2f1', '#004d40'), ('RETINAL VASCULITIS', [ 'Vessel wall inflammation', 'Veins > arteries affected', 'Perivascular sheathing', 'Vitritis: VARIABLE', '• Sarcoid (candlewax)', '• Eales (periphlebitis)', '• Behçet (occlusive)', '• Susac (arterial)'], '#fce4ec', '#880e4f'), ]): xi = ex_start + i * (ew + eg) bbox_col = col # header bp_h = FancyBboxPatch((xi, 20.5), ew, 0.7, boxstyle="round,pad=0.05,rounding_size=0.2", facecolor=tcol, edgecolor='none', zorder=3) ax.add_patch(bp_h) ax.text(xi + ew/2, 20.86, title, ha='center', va='center', fontsize=7.5, color='white', fontweight='bold', zorder=4) # body bp_b = FancyBboxPatch((xi, 17.8), ew, 2.7, boxstyle="round,pad=0.05,rounding_size=0.2", facecolor=bbox_col, edgecolor=tcol, linewidth=1, zorder=3) ax.add_patch(bp_b) for li, ln in enumerate(body_lines): fc = tcol if li == 3 else ('#444444' if li > 0 else '#222222') fw = 'bold' if li in [0, 3] else 'normal' ax.text(xi + 0.12, 20.3 - li*0.31, ln, ha='left', va='center', fontsize=7, color=fc, fontweight=fw, zorder=4) # ─── QUICK REFERENCE TABLE ─── arrow(ax, 14, 17.8, 14, 17.2) box(ax, 7, 16.4, 14, 0.9, 'QUICK REFERENCE TABLE', '#263238', fontsize=10) # table header th_y = 15.8 box(ax, 0.2, th_y, 28, 0.7, '', '#455a64', lines=['Disease | Entity Type | Lateral. | Vitritis | Key Feature | Infective?'], linecolors=['white'], fontsize=8.5, bold=True) rows = [ ('Toxoplasma','Retinochoroiditis','Unilateral','Dense focal','"Headlight in fog"; satellite scar','Yes (parasite)','#fff8f0'), ('CMV Retinitis','Retinitis','Uni→Bilateral','Mild','"Pizza-pie"; granular hemorrhagic; HIV/AIDS','Yes (viral)','#fafafa'), ('ARN','Necrotizing retinitis','Uni (33% bilat)','Marked','Peripheral white patches; occlusive arteritis; HSV/VZV','Yes (viral)','#fff8f0'), ('PORN','Outer retinitis','Bilateral','ABSENT','Deep opacification; spares vessels; clear vitreous; VZV/HIV','Yes (VZV)','#fafafa'), ('Bartonella','Neuroretinitis','Unilateral','Mild','Disc edema + macular STAR; cat exposure; #1 neuroretinitis','Yes (bacterial)','#fff8f0'), ('Syphilis','Any pattern','Bilateral','Variable','"Great imitator"; retinitis/chorioretinitis/vasculitis/neuroretinitis','Yes (bacterial)','#fafafa'), ('TB','Choroiditis/vasculitis','Bilateral','Variable','Choroidal tubercles; periphlebitis; systemic TB','Yes (bacterial)','#fff8f0'), ('Birdshot','Chorioretinitis','Bilateral','Present','Cream lesions radiating from disc; HLA-A29; periphlebitis','No (autoimmune)','#fafafa'), ('VKH','Chorioretinitis','Bilateral','Present','Bilateral exudative RD; sunset glow; poliosis; tinnitus','No (autoimmune)','#fff8f0'), ('Sympathetic ophthal.','Chorioretinitis','Bilateral','Present','Post-trauma bilateral granulomatous; Dalen-Fuchs nodules','No (autoimmune)','#fafafa'), ('Sarcoidosis','Chorioretinitis+Vasc','Bilateral','Present','Candlewax periphlebitis; disc granulomas; ACE elevated','No (granulom.)','#fff8f0'), ('Behçet','Occlusive vasculitis','Bilateral','Marked','Occlusive vasculitis; hypopyon; oral/genital ulcers','No (vasculitis)','#fafafa'), ('APMPPE','Choroiditis','Bilateral','Mild','Bilateral placoid sub-RPE; post-viral; self-limiting','No','#fff8f0'), ('Serpiginous','Choroiditis','Bilateral asymm.','ABSENT','Geographic peripapillary; recurrent; no vitritis','No','#fafafa'), ('MEWDS','Choroiditis','UNILATERAL','Mild','Multiple evanescent white dots; young myopic women','No','#fff8f0'), ('Eales Disease','Retinal vasculitis','Bilateral','Present','Peripheral periphlebitis; neovascularization; young men','No (idiopathic)','#fafafa'), ('Susac Syndrome','Arterial vasculitis','Bilateral','Variable','Retinal artery occlusions + hearing loss + encephalopathy','No (autoimmune)','#fff8f0'), ('IRVAN','Neuroretinitis','Bilateral','Variable','Disc aneurysms + macular star; arteritis; exudative retinopathy','No (idiopathic)','#fafafa'), ] rh = 0.52 for ri, (dis, ent, lat, vit, key, inf, bg) in enumerate(rows): ry = th_y - (ri+1)*rh box(ax, 0.2, ry, 28, rh-0.03, '', bg, lines=[f'{dis} | {ent} | {lat} | {vit} | {key} | {inf}'], linecolors=['#c62828' if 'Yes' in inf else '#1565c0'], fontsize=7.2, bold=False) # ─── LEGEND ─── leg_y = th_y - len(rows)*rh - 0.5 box(ax, 0.2, leg_y - 1.0, 27.6, 1.2, '', '#eceff1', lines=['LEGEND: ■ Orange=Retinitis ■ Blue=Choroiditis ■ Purple=Chorioretinitis ■ Teal=Neuroretinitis ■ Red=Vasculitis | Red text=Infectious Blue text=Non-infectious', 'ARN=Acute Retinal Necrosis · PORN=Progressive Outer Retinal Necrosis · VKH=Vogt-Koyanagi-Harada · IRVAN=Idiopathic Retinal Vasculitis Aneurysms Neuroretinitis · APMPPE=Acute Post. Multifocal Placoid Pigment Epitheliopathy', 'MEWDS=Multiple Evanescent White Dot Syndrome · MFC=Multifocal Choroiditis · PIC=Punctate Inner Choroidopathy · DUSN=Diffuse Unilateral Subacute Neuroretinitis', 'Source: Kanski\'s Clinical Ophthalmology 10th Ed. | Wills Eye Manual | Firestein & Kelley\'s Textbook of Rheumatology'], linecolors=['#37474f','#555555','#555555','#90a4ae'], fontsize=7, bold=False) plt.tight_layout(pad=0.5) plt.savefig('/home/daytona/workspace/posterior-uveitis-flowchart/posterior_uveitis_SINGLE.png', dpi=180, bbox_inches='tight', facecolor='#f5f7fa') print("Saved successfully") EOF
ls -lh /home/daytona/workspace/posterior-uveitis-flowchart/posterior_uveitis_SINGLE.png
what is paper 1,2,3 & 4 about in general
Which papers are you asking about?
what are the question expected in paper 4, and what are questions in community ophthalmiligy
Which exam or course are these papers from? · Which country / university system?
ms ophthalmology final exams mpmsu
MPMSU MS Ophthalmology final exam paper 1 2 3 4 syllabus pattern
MPMSU MS Ophthalmology Paper 4 recent advances community ophthalmology questions
https://www.mgumst.org/assets/syllabus_pdf/MSOphthalmology.p…
| Topic | Expected Questions |
|---|---|
| Refractive surgery | LASIK, LASEK, SMILE, PRK, ICL - procedures, indications, complications |
| Femtosecond laser | Femto-cataract surgery, FLACS |
| Anti-VEGF / Intravitreal injections | Bevacizumab, Ranibizumab, Aflibercept - AMD, DME, CRVO |
| Advanced glaucoma | Non-penetrating surgery, MIGS, drainage implants, neuroprotection, OCT in glaucoma |
| Component keratoplasty | DALK, DSAEK, DMEK - principles, advantages |
| Age-related macular degeneration | Recent management - anti-VEGF, photodynamic therapy |
| Retinopathy of Prematurity (ROP) | Screening, anti-VEGF vs laser, classification |
| Imaging advances | OCT angiography (OCTA), Fundus autofluorescence, wide-field imaging |
| Gene therapy | Leber congenital amaurosis, gene therapy for inherited retinal disease |
| Role of lasers | Nd-YAG, argon, diode, excimer - all uses |
| Stem cell therapy | Corneal, retinal applications |
| Low vision aids | Magnifiers, telescopes, electronic aids |
| Retinoblastoma | Systemic chemotherapy, intra-arterial chemo, focal consolidation |
| Subluxated lens / cataract | Management with CTR, glued IOL |
Q1 (20 marks):
Describe the various refractive surgery procedures for
myopia, hypermetropia and astigmatism.
Q2 (15 + 15 marks):
a) Role of laser in ophthalmology
b) Component keratoplasty (DSAEK / DALK)
Q3 (5 × 10 marks):
a) Femtosecond laser cataract surgery
b) Vision 20/20 initiative
c) Guidelines for eye camps for cataract surgery
d) Magnitude of blindness in India
e) Anti-VEGF therapy in AMD
| Rank | Topic |
|---|---|
| ⭐⭐⭐ | Anti-VEGF therapy (AMD, DME, ROP) |
| ⭐⭐⭐ | Recent advances in glaucoma management |
| ⭐⭐⭐ | Magnitude of blindness in India + NPCB |
| ⭐⭐⭐ | Refractive surgery (LASIK/SMILE) |
| ⭐⭐⭐ | ROP - classification and management |
| ⭐⭐ | Component keratoplasty |
| ⭐⭐ | Eye banking and corneal donation |
| ⭐⭐ | Femtosecond laser / FLACS |
| ⭐⭐ | Vision 2020 / Trachoma (SAFE) |
| ⭐⭐ | Gene therapy in retinal dystrophies |
all details ophthalmic instruments with photos to prepare for post graduate examination in ms ophthalmology exam
slit lamp biomicroscope ophthalmic instrument

This set of four clinical slit-lamp photographs (labeled a through d) demonstrates the behavior and aspiration kinetics of a cohesive ophthalmic viscosurgical device (OVD) during a simulated cataract surgery. The OVD is stained with fluorescein (bright green) to visualize its distribution within the anterior chamber of a porcine eye model. (a) At 3 seconds post-pump activation, the cohesive OVD forms a large, concentrated mass occupying the anterior chamber. (b) At 25 seconds, the OVD maintains a similar cohesive shape, showing resistance to wash-out. (c) A cross-sectional slit-beam view highlights the proximity of the phacoemulsification tip to the OVD mass. (d) By 90 seconds, the OVD volume is significantly reduced, with remaining material concentrated near the phaco tip, demonstrating that cohesive OVDs are aspirated rapidly and entirely once engaged by the instrument. This progression illustrates the surgical handling characteristics of cohesive OVDs, which provide space maintenance but are easily removed, offering less prolonged endothelial protection compared to dispersive types.

A clinical photograph illustrating a pediatric ophthalmic examination technique. A male physician, wearing a white coat, glasses, and a tie, is shown interacting with a young girl who is wearing corrective spectacles and being held by a parent. The clinician has a large, colorful plush doll with orange hair draped over his shoulders, serving as a distraction tool to build rapport and decrease patient anxiety during the physical assessment. He is gently holding the child's hand while engaging in playful interaction. The background shows clinical equipment, including a slit lamp biomicroscope, indicating an eye clinic setting. This image demonstrates the 'playful examination' principle in pediatrics, which is essential for ensuring cooperation during diagnostic procedures such as the red reflex test or visual acuity assessments in young children. The educational focus is on non-pharmacological behavioral management and communication strategies to facilitate a successful medical evaluation in a pediatric population.

A clinical photograph of a patient undergoing an ophthalmic examination using slit lamp biomicroscopy. The image captures the periocular region of a male patient wearing a surgical mask, illuminated by a cobalt blue filter (450–500 nm wavelength) in a darkened environment. The primary focus is on the ocular surface and anterior segment. Despite the application of the specific blue light source often used to excite fluorescence (e.g., during fluorescein staining), there is a notable absence of ocular fluorescence in this specific view. The photograph serves as a negative control or comparison point in clinical investigations involving drug-induced ocular fluorescence, such as that associated with Favipiravir treatment. The educational significance lies in demonstrating standard slit lamp biomicroscopic examination lighting and the visual baseline for the ocular surface under cobalt blue light when no fluorescent substances or specific disease-related luminescence are present.
direct ophthalmoscope fundus examination instrument

A clinical photograph illustrating the proper technique for direct ophthalmoscopy in a community health or low-resource setting. A healthcare provider is shown in close proximity to an elderly female patient with deeply wrinkled skin and a pigmented fundus. The provider is demonstrating the correct 'flight path' for visualizing the optic nerve, positioned on the horizontal plane at approximately 15 degrees temporal to the patient's right eye. The clinician holds a direct ophthalmoscope (specifically an Arclight device) in his right hand, using his right eye to examine the patient's right eye. His left hand is placed gently on the patient's forehead to stabilize the head and elevate the upper eyelid if necessary. The educational focus is on the physical positioning, equipment handling, and anatomical approach required to bring the optic disc and retinal vessels into view during a funduscopic examination. Relevant clinical concepts include screening for cataract, glaucoma, and macular disease through direct visualization of the posterior segment.

This educational illustration provides a historical and conceptual representation of the human fundus as seen through an early ophthalmoscope. The image features a circular field depicting a stylized retinal fundus with an orange-toned background and a radiating network of retinal vasculature. The vessels, rendered in varying shades of reddish-brown and dark brown, originate from a central anatomical focal point—the optic disc—which is highlighted by a distinct bluish-green hue. The branching pattern demonstrates the distribution of primary retinal arteries and veins across the posterior pole. Overlaid onto the anatomical features is a green silhouette portrait of Hermann von Helmholtz, the inventor of the ophthalmoscope, symbolizing the intersection of physiological optics and clinical examination. This comparison chart-style graphic illustrates the fundamental topography of the healthy retina, including the optic nerve head and the vascular arcades, serving as a pedagogical tool for understanding the history of ophthalmology and the basic landmarks of fundoscopy.

This clinical photograph illustrates a pediatric ophthalmology examination for Retinopathy of Prematurity (ROP) screening. The clinician, identified as an ophthalmology fellow in a white lab coat, is utilizing a head-mounted indirect ophthalmoscope with an integrated light source to visualize the internal structures of the infant's eye. The neonatal patient is positioned supine on a padded surface, with the head stabilized by an assistant's hand. To facilitate a clear view of the fundus, the ophthalmologist is using an eyelid speculum to keep the infant's eye open while holding a condensing lens (not fully visible) over the eye. The image demonstrates the standard technique for binocular indirect ophthalmoscopy (BIO) in a neonatal setting, which is critical for identifying peripheral retinal vascular abnormalities such as ridge formation, extraretinal fibrovascular proliferation, or 'plus disease' in premature infants. This modality is the traditional gold standard for ROP screening, allowing for a wide-field, three-dimensional view of the retina.
Goldmann applanation tonometer intraocular pressure measurement

A clinical photograph demonstrating the proper application of a Diaton® transpalpebral tonometer for measuring intraocular pressure (IOP). The image depicts the handheld device being applied to a patient in a supine or reclined position. The tonometer is held vertically, perpendicular to the ground, with the tip making contact with the skin of the superior eyelid at the level of the tarsal plate. The patient's eye is partially open, showing the sclera and iris, while the device is positioned above the lash line to avoid direct corneal contact. The clinician's hand is visible, stabilizing the device against the orbital rim or maxilla to ensure accuracy and minimize movement. This method of transpalpebral tonometry is an alternative to Goldmann applanation, as it allows for IOP measurement through the eyelid without anesthesia or contact with the cornea, making it useful in clinical scenarios where corneal contact is contraindicated or difficult.

A series of clinical photographs illustrating the use of the TapEye tonometer (TET) for intraocular pressure (IOP) measurement through the eyelid. Panel A (front view) shows the patient holding the device against the right orbit, using the index finger of the same hand to depress the measurement button. Panel B (lateral view) demonstrates the vertical orientation of the device, which is stabilized against the forehead and nose. Panel C provides a magnified lateral view showing the tonometer's probe tip in contact with the naturally closed upper eyelid. The probe is positioned approximately 1 to 3 mm superior to the lid margin, aligning with the corneal center. This method represents trans-palpebral tonometry, an alternative to Goldmann applanation tonometry (GAT) that does not require topical anesthesia or direct corneal contact. The educational focus is on proper device positioning, hand placement, and anatomical landmarks for non-invasive IOP monitoring.
indirect ophthalmoscope condensing lens retina examination

This clinical photograph illustrates a pediatric ophthalmology examination for Retinopathy of Prematurity (ROP) screening. The clinician, identified as an ophthalmology fellow in a white lab coat, is utilizing a head-mounted indirect ophthalmoscope with an integrated light source to visualize the internal structures of the infant's eye. The neonatal patient is positioned supine on a padded surface, with the head stabilized by an assistant's hand. To facilitate a clear view of the fundus, the ophthalmologist is using an eyelid speculum to keep the infant's eye open while holding a condensing lens (not fully visible) over the eye. The image demonstrates the standard technique for binocular indirect ophthalmoscopy (BIO) in a neonatal setting, which is critical for identifying peripheral retinal vascular abnormalities such as ridge formation, extraretinal fibrovascular proliferation, or 'plus disease' in premature infants. This modality is the traditional gold standard for ROP screening, allowing for a wide-field, three-dimensional view of the retina.

A clinical photograph depicting a pediatric ophthalmic examination and treatment session in a medical facility. An ophthalmologist is seen wearing a specialized head-mounted indirect ophthalmoscope or laser delivery system, equipped with an integrated light source and visible AV/data cables. The clinician is using a handheld condensing lens to perform an eye examination on an infant, who is lying on a padded surface and being stabilized by an assistant. The clinical context suggests a screening or treatment evaluation for Retinopathy of Prematurity (ROP), potentially involving peripheral retinal photocoagulation. The scene illustrates the technical setup required for neonatal ophthalmology, including the use of magnification, focused illumination, and specialized pediatric positioning. Key educational elements include the demonstration of indirect ophthalmoscopy technique and the management of neonatal retinal vascular diseases.
gonioscopy goniolens angle anterior chamber glaucoma

This clinical photograph displays a gonioscopy procedure focused on the anterior chamber angle of a human eye. The image captures a slit-lamp view through a goniolens, where a concentrated beam of light illuminates a segment of the iridocorneal angle. Within the illuminated region, the iris surface is visible, showing a reddish-brown color and granular texture. Critical findings include the presence of neovascularization, characterized by fine, irregular, and abnormal blood vessels traversing the iris and potentially extending into the trabecular meshwork. This presentation is indicative of neovascular glaucoma or rubeosis iridis. The surrounding area is primarily dark, creating a high-contrast view that highlights the anatomical landmarks such as the iris root and the angle structures. This visual is significant for illustrating secondary ocular manifestations of systemic ischemic conditions, such as diabetic retinopathy or central retinal vein occlusion, which lead to pathological angiogenesis in the anterior segment.

This clinical procedural image consists of two panels (A and B) demonstrating the intraoperative steps of Gonioscopy-Assisted Transluminal Trabeculotomy (GATT), a minimally invasive glaucoma surgery (MIGS). The view is obtained via an ab interno approach through a surgical goniolens, visualizing the nasal anterior chamber angle. Panel A shows the initial step where a 25-gauge needle is used to create a focal goniotomy, incising the trabecular meshwork to expose the underlying Schlemm's canal. Panel B illustrates the subsequent cannulation phase, where a 5-0 Prolene (polypropylene) suture wire is inserted through the goniotomy and advanced 360 degrees into the lumen of Schlemm's canal, guided by 23-gauge microforceps. Key anatomical landmarks visible include the clear cornea with surgical air bubbles, the pigmented trabecular meshwork band, and the iris periphery. This procedure is performed to reduce intraocular pressure by bypassing the primary site of aqueous outflow resistance.
retinoscope streak retinoscopy refraction

A clinical photograph illustrating a pediatric ophthalmic examination, specifically demonstrating the technique for 'wet' cycloplegic retinoscopy. A female medical professional in a white coat is shown in the left of the frame, holding a handheld retinoscope to her right eye. She is aiming the light through a trial frame fitted onto a young child positioned on the right. The practitioner uses her left hand to stabilize the trial frame on the child's face, ensuring proper alignment for refraction. The child is wearing a pink hooded garment. This procedure is typically performed after the administration of cycloplegic agents, such as cyclopentolate or tropicamide, to paralyze the ciliary muscle and prevent active accommodation, thereby allowing for an accurate objective measurement of the patient's refractive error. The background shows clinical supplies, including a lens trial set, indicating a professional optometric or ophthalmic setting.

This grayscale educational photograph demonstrates the 'motion streak' phenomenon, a key concept in visual psychophysics and neurobiology. The image features a human hand holding an Ace of Spades playing card, captured while moving in a rapid arcing motion. A distinct blurred trail, or motion streak, extends behind the path of the card, creating a curved, translucent visual index of the object's trajectory. This visual is used to illustrate form-motion integration within the human visual system, specifically the interaction between the ventral stream (the 'what' pathway, responsible for identifying the card's suit and rank) and the dorsal stream (the 'where/how' pathway, responsible for processing motion and spatial orientation). The phenomenon arises from retinal persistence, where the brain utilizes oriented blur to assist in the perception of fast-moving stimuli. This illustration is significant for medical and psychological studies focusing on visual perception, neurophysiology of the striate and extrastriate cortex, and the functional organization of parallel visual processing streams.
visual field perimetry Humphrey automated bowl

A comparison panel of diagnostic images and visual field plots for seven clinical participants (H1-H7). Each entry consists of an axial T1-weighted structural MRI scan and a corresponding automated perimetry report (adapted from Humphrey 30:2 threshold tests). In the MRI scans, black arrows indicate varying degrees of structural damage within the occipital lobe, specifically targeting the region around the calcarine sulcus. The lesions demonstrate heterogeneity in morphology and volume. The accompanying perimetry plots represent visual field deficits: solid black areas indicate dense scotomas (sensitivity <0.5%), while gray areas indicate partial loss (sensitivity <2%). Concentric rings on these circular plots mark 10-degree increments from the fixation point, covering the central 30 degrees of the visual field. A superimposed white circle in each plot identifies the specific location within the dense scotoma used for rehabilitation training. This visual summary illustrates the clinical correlation between posterior brain lesions and complex hemianopic or quadrantanopic visual field deficits in patients undergoing neuro-rehabilitation.

Educational panel combining Humphrey automated perimetry (HAP) and MRI findings in a case of optic nerve sheath meningioma (ONSM). Panel A displays a 30-2 visual field test result showing near-normal sensitivity thresholds (dB) and a Mean Deviation (MD) of 0.21 dB, representing complete resolution of a previous visual field defect following radiotherapy. Panels B and C are T2-weighted magnetic resonance images (MRI) in axial and sagittal planes, respectively. The axial view (B) demonstrates a persistent fusiform enlargement of the left optic nerve with characteristic tortuosity ('winding'). A green arrow points to a residual, well-defined mass with altered signal intensity located at the precanalicular portion of the distal optic nerve. The sagittal view (C) shows the longitudinal extent of the tumor along the optic nerve sheath. Despite the significant functional recovery shown in the visual field test, the imaging confirms only partial radiological regression of the tumor post-treatment. These images illustrate the potential dissociation between functional visual recovery and anatomical tumor volume reduction following intensity-modulated radiotherapy (IMRT).
OCT optical coherence tomography retinal scan optic nerve

Diagnostic optical coherence tomography (OCT) imaging of the optic nerve head and peripapillary region, presented as a side-by-side comparison between standard spectral-domain OCT (left) and enhanced depth imaging (EDI) OCT (right). Both panels include an infrared fundus photograph with a green reference line indicating the scan location and a corresponding cross-sectional B-scan. The primary finding is a peripapillary hyperreflective ovoid mass-like structure (PHOMS) located at the optic disc margin. This structure is characterized by a high-reflectivity signal situated superficial to the Bruch's membrane and beneath the retinal nerve fiber layer, appearing as an elevated, rounded protrusion. The EDI acquisition on the right provides superior visualization of the deeper choroidal architecture and the posterior border of the optic nerve excavation compared to the standard scan on the left, which exhibits more rapid signal attenuation in the deep tissues. These images are used to differentiate PHOMS from optic disc drusen and to evaluate anatomical variations of the optic disc head.

This diagnostic image displays three cross-sectional Optical Coherence Tomography (OCT) scans of the human retina and optic nerve head. The scans demonstrate diagnostic imaging of the posterior segment, focusing on the peripapillary region. Key clinical features include focal hyperreflectivity of the internal retinal layers, specifically involving the nerve fiber and ganglion cell layers, which indicates acute ischemic changes or cotton-wool spot formation. The optic nerve head exhibits varying degrees of contour distortion and elevation, most prominent in the middle scan where there is significant disc swelling or protrusion. Notably, the deeper retinal layers and the underlying macula appear relatively preserved without evidence of subretinal fluid or significant macular edema. Each panel includes a small fundus reference map on the left to indicate the orientation and specific location of the B-scan line. This visual material is intended for ophthalmology education regarding retinal vascular disorders and optic nerve pathology, emphasizing the correlation between structural elevation and altered reflectivity in acute clinical presentations.
fundus fluorescein angiography FFA retinal vascular imaging

Diagnostic Imaging: A series of six fundus fluorescein angiography (FFA) images of the left eye, capturing the arterial, venous, and late phases of retinal circulation. The images demonstrate the chronological transit of fluorescein dye through the retinal vasculature, emanating from the optic disc toward the macula and peripheral retina. Key findings include notable venous tortuosity across the vascular arcades. The initial frames show early arterial filling and the beginning of the laminar venous flow, while middle and late-phase images show full venous filling and diffuse staining of the optic disc. No obvious areas of capillary non-perfusion or retinal ischemia are visible in this specific series. The foveal avascular zone (FAZ) remains well-defined and dark throughout the sequences. This imaging series is used in ophthalmology to evaluate retinal perfusion, vascular integrity, and to screen for complications related to systemic diseases such as sickle cell retinopathy.

This diagnostic image is a Fundus Fluorescein Angiography (FFA) of the right eye, illustrating typical vascular findings associated with ocular inflammatory conditions such as periphlebitis. The image demonstrates widespread, diffuse hyperfluorescence across the posterior pole and mid-periphery. Key features include segmental perivenous hyperfluorescence, characterized by minimal vascular leakage and staining of the retinal vessel walls, particularly evident along the major vascular arcs. The vascular morphology shows increased permeability without frank neovascularization. This imaging is clinically significant for detecting active or chronic retinal vasculitis and perivenous sheathing, common in systemic conditions like Multiple Sclerosis. The background reveals a mottled fluorescence pattern, likely corresponding to mild vitreous haze or secondary retinal pigment epithelium changes. This visual is intended for intermediate to advanced medical learners focusing on ophthalmology and neuro-ophthalmology to understand the angiographic presentation of retinal inflammatory disease.

| Technique | Use |
|---|---|
| Diffuse illumination | General overview, lid/conjunctiva |
| Direct focal (optic section) | Corneal depth, lens opacities |
| Retro-illumination | Corneal scars, iris transillumination |
| Sclerotic scatter | Corneal edema, nebulae |
| Specular reflection | Endothelial cells |
| Indirect focal (proximal) | Subtle opacities |


| Lens | Field of View | Magnification | Use |
|---|---|---|---|
| 20D | 46° | 3.0x | Standard adult fundus |
| 28D | ~60° | 2.0x | Wide field, preterm screening |
| 30D | ~65° | 1.8x | Very wide field |
| 14D | 25° | 4.5x | More magnification |

| Ametropia | Reflex (at 1m) |
|---|---|
| Myopia > 1D | Against motion |
| Hyperopia | With motion |
| Myopia < 1D | With motion |
| Emmetropia | No motion |

| Lens | Mirrors | Contact | Type | Use |
|---|---|---|---|---|
| Zeiss 4-mirror goniolens | 4 | No coupling gel (saline) | Indirect | Narrow/dynamic gonioscopy |
| Goldmann 3-mirror | 3 | Methyl cellulose | Indirect | Gonioscopy + fundus |
| Goldmann 1-mirror | 1 | MC | Indirect | Dedicated gonioscopy |
| Koeppe lens | None (direct) | Saline | Direct | Children under GA |
| Barkan lens | None (direct) | Saline | Direct | Infants, congenital glaucoma |
| Grade | Width | Angle | Closure risk |
|---|---|---|---|
| 4 | 35-45° | Wide open | None |
| 3 | 25-35° | Open | None |
| 2 | 20° | Narrow | Possible |
| 1 | 10° | Very narrow | High |
| 0 | 0° | Closed | Angle closure |
| Index | Meaning |
|---|---|
| MD (Mean Deviation) | Average deviation from age-normal; negative = loss |
| PSD (Pattern Standard Deviation) | Focal vs. diffuse loss; high PSD = focal loss |
| GHT (Glaucoma Hemifield Test) | Outside normal limits / borderline / within normal |
| VFI (Visual Field Index) | % of normal visual field remaining |
| Foveal threshold | Central sensitivity |

| Application | Details |
|---|---|
| Macula | AMD (drusen, CNV, geographic atrophy), DME, ERM, macular hole, CSR |
| Glaucoma | RNFL thickness map, GCC, optic nerve head analysis |
| Retina | RD, schisis, vitreomacular traction |
| Optic nerve | Disc drusen, papilledema, glaucoma |
| Anterior segment | Angle width, corneal thickness, epithelial mapping |

| Phase | Time after injection | What is seen |
|---|---|---|
| Pre-arterial (choroidal flush) | 8-12 sec | Choroidal blush |
| Arterial | 10-15 sec | Arteries fill |
| Arteriovenous (capillary) | 15-20 sec | Laminar venous flow |
| Venous | 20-30 sec | Veins fill completely |
| Late (recirculation) | 5-10 min | Disc staining, leakage |
| Instrument | Principle | Key Use | Exam Viva Points |
|---|---|---|---|
| Slit lamp | Kohler illumination | Anterior segment | 6 illumination techniques |
| Direct ophthalmoscope | Purkinje images | Fundus (15x) | Invented by Helmholtz |
| Indirect ophthalmoscope | Real inverted aerial image | Wide-field fundus | Image inverted; 20D = 3x, 46° |
| Goldmann tonometer | Imbert-Fick law | Gold standard IOP | 3.06mm applanation |
| Schiotz tonometer | Indentation | Portable IOP | Affected by scleral rigidity |
| Goldmann 3-mirror | Mirror optics | Gonioscopy + fundus | 3 mirrors: 73°, 67°, 59° |
| Humphrey perimeter | Static automated | Glaucoma | MD, PSD, GHT, VFI |
| Goldmann perimeter | Kinetic | Neuro, RP | Isopters; I-V/1-4 notation |
| OCT | Near-IR interferometry | Retina, glaucoma | "Optical biopsy"; SD-OCT now standard |
| FFA | Fluorescein excitation | Vascular disease | 8-12 sec choroidal flush |
| Specular microscope | Endothelial reflection | CCT count | < 1000 → decompensation risk |
| Keratometer | Corneal reflection | Corneal power | First Purkinje image |
| Retinoscope | Retinal reflex | Objective refraction | With/against motion |
| Pachymeter | Ultrasound/optical | CCT | Adjusts IOP interpretation |
| Lensometer | Target focus | Spectacle power | Back-vertex power |
Viva tip for MS exam: For any instrument, be ready to answer - (1) inventor, (2) principle, (3) parts, (4) how you use it, (5) what it measures/what you see, (6) normal values, (7) clinical applications, (8) limitations/sources of error, (9) compare with alternative instruments.
how to approach a case of proptosis with explaining from history to diagnosis, negative and positive history with explaination of each points.
proptosis exophthalmos thyroid eye disease orbital

This diagnostic image is an axial MRI of the orbits demonstrating hallmark findings of thyroid eye disease (Graves' ophthalmopathy). The image reveals bilateral proptosis, characterized by the forward displacement of the globes beyond the anterior orbital rim. There is a significant increase in the volume of the retrobulbar orbital fat, indicated by red arrows, which appears hyperintense with a heterogeneous texture and subtle stranding, suggestive of inflammatory changes or edema. The extraocular muscles, specifically the medial recti, show moderate enlargement and appear to be encroaching upon the optic nerves bilaterally. The overall appearance highlights common pathophysiology in autoimmune orbital disease, where fat expansion and extraocular muscle hypertrophy contribute to increased intraorbital pressure and exophthalmos. This educational image is relevant for radiology and ophthalmology in diagnosing and assessing the severity of restrictive myopathy and orbital congestion.

This clinical comparison chart presents three sets (a, b, c) of pre- and post-operative facial photographs documenting the results of bilateral orbital decompression in patients with Graves' ophthalmopathy (thyroid eye disease). The 'before' images on the left consistently demonstrate significant proptosis (exophthalmos), characterized by ocular prominence, upper eyelid retraction, and excessive scleral show both superiorly and inferiorly. In case (a), there is also visible conjunctival injection and chemosis. The 'after' images on the right, taken 6 months to 2 years post-surgery, show a marked reduction in globe protrusion (measured between 3–5 mm reduction per eye). Key visual improvements include a normalized eyelid position with reduced retraction, decreased scleral exposure, and a more relaxed periocular skin appearance. These images illustrate the surgical management of Graves' ophthalmopathy to reduce orbital volume, protecting the ocular surface and improving aesthetic outcomes by resolving the 'staring' expression associated with the disease.

A comparison of pre-operative and 3-month post-operative clinical photographs and diagnostic imaging of a patient with thyroid eye disease (TED). The top row features axial CT scans of the orbits, demonstrating a significant reduction in orbital fat and proptosis; exophthalmos measurements decrease from 22.4 mm (right) and 21.5 mm (left) pre-operatively to 18.0 mm and 17.2 mm post-operatively. The middle row shows frontal clinical photographs, highlighting a notable improvement in upper eyelid retraction and a more natural eyelid position following surgical intervention. The bottom row displays lateral profile views, visually confirming the posterior displacement of the globes (reduction in proptosis) and decreased soft tissue volume in the periorbital and malar regions. This composite image serves to illustrate the anatomical and aesthetic outcomes of orbital fat decompression surgery, commonly managed within ophthalmology and oculoplastic surgery for Graves' ophthalmopathy.
orbital cellulitis proptosis periorbital swelling infection

A clinical photograph of a patient's right eye and periorbital region illustrating acute inflammatory changes. The image demonstrates significant periorbital edema, characterized by prominent swelling of both the upper and lower eyelids, which narrows the palpebral fissure. Diffuse erythema is visible across the eyelid skin, extending towards the malar and frontal regions. There is a perceptible forward protrusion of the globe, consistent with proptosis. Yellow arrows are used to annotate the areas of maximal soft tissue swelling and inflammation. These clinical signs are hallmark indicators of orbital or preseptal cellulitis, frequently associated with underlying sinusitis or odontogenic infection. The image is intended for medical education to aid in the visual recognition of ocular emergencies and the differentiation between preseptal and orbital involvement based on the presence of proptosis.

This composite educational graphic illustrates the clinical presentation, diagnosis, and post-operative recovery of a pediatric patient with a sinogenic rhinogenic orbital infection (SROI). Panel A is a clinical photograph showing acute right-sided periorbital cellulitis characterized by significant edema, erythema, and proptosis of the right eye, with the eyelids nearly swollen shut. Panel B is an axial computed tomography (CT) scan in a bone window, demonstrating bilateral ethmoid and sphenoid sinusitis. A white arrow points to opacification of the right ethmoid sinus, while a black arrow highlights a sub-periosteal abscess (SPA) along the medial orbital wall (lamina papyracea), displacing the medial rectus muscle. Panel C shows the patient 10 days post-surgery following endoscopic sinus surgery and external drainage; it demonstrates marked resolution of the inflammatory signs, with significantly reduced swelling and return of normal ocular positioning. This set illustrates Chandler stage 3 orbital complications and highlights the correlation between radiological findings (sub-periosteal abscess) and physical exam signs (proptosis and severe periorbital edema) in the context of acute sinusitis.
carotid cavernous fistula pulsatile proptosis conjunctival chemosis

A multi-panel figure illustrating the clinical and radiological findings of a carotid-cavernous fistula (CCF). Panel A (anterior clinical photograph) and Panel B (lateral clinical photograph) show severe left-sided proptosis, conjunctival injection, and chemosis with visible protrusion of the swollen conjunctiva between the eyelids. Panel C is an axial MRI scan showing significant dilatation of the left superior ophthalmic vein (SOV) compared to the contralateral side, reflecting increased venous pressure. Panel D is a digital subtraction angiogram (lateral view) demonstrating a dural CCF with anterior and posterior drainage, occurring in conjunction with an extracranial internal carotid artery (ICA) aneurysm. The images collectively demonstrate the classical triad of clinical signs (pulsatile proptosis, chemosis, and orbital bruit) alongside definitive neuroimaging used for the diagnosis of high-flow or dural vascular shunts within the cavernous sinus, highlighting the correlation between orbital venous hypertension and intracranial vascular pathology.

A multi-panel medical image illustrating the clinical and radiological presentation of a carotid-cavernous fistula (CCF). Panels A and B are external clinical photographs showing unilateral right-sided proptosis (exophthalmos) and significant conjunctival injection. Panel C demonstrates a limitation in lateral gaze in the right eye, accompanied by chemosis and prominent, engorged corkscrew episcleral vessels. Panels D and E are axial Magnetic Resonance Angiography (MRA) slices of the brain and orbits. In Panel D, an orange arrow points to a dilated and engorged right superior ophthalmic vein (SOV), a hallmark sign of retrograde venous flow. Panel E features a yellow arrowhead indicating abnormal enhancement near the right internal carotid artery, representing a vascular shunt within the cavernous sinus. This composite image is used for educational purposes to correlate external ophthalmic signs—such as pulsatile proptosis and conjunctival arterialization—with diagnostic neuroimaging findings in neuro-ophthalmology.
CT scan orbit axial coronal proptosis tumor mass

This diagnostic image set consists of a contrast-enhanced computed tomography (CT) scan of the orbits in axial (panels A and B) and coronal (panels C and D) planes. The scan demonstrates a well-defined, enhancing soft tissue mass located in the superior-medial (upper internal) aspect of the left orbit. In the axial sections, the lesion is situated adjacent to the medial rectus and superior oblique muscles, causing lateral displacement of the globe and resulting in non-axial proptosis. The coronal sections confirm the superior-medial positioning of the mass and illustrate its proximity to the ethmoid sinus wall and the left frontal sinus. The lesion shows significant contrast enhancement, suggesting a vascular etiology. Anatomical landmarks of the right orbit remain normal for comparison. This imaging is characteristic of an orbital vascular tumor, such as an intravascular papillary endothelial hyperplasia (Masson tumor), and illustrates the diagnostic approach to orbital masses causing globe displacement and impaired ocular motility.

Diagnostic imaging of a neonatal orbital teratoma presenting as severe proptosis. Panel A is an axial non-contrast CT scan of the orbits showing a large, heterogeneous, solid-and-cystic mass completely occupying the right orbital cavity. The mass causes significant expansion of the orbit and anterior displacement (proptosis) of the globe, which appears engulfed by the lesion. No obvious bony destruction or calcifications are visible at this level. Panel B is a coronal T2-weighted MRI of the head and orbits. The tumor is predominantly hyperintense relative to the extraocular muscles and orbital fat, indicating high water content or cystic components within the mass. The MRI highlights the mass effect on surrounding structures, demonstrating total displacement of the right globe and extraocular muscles compared to the normal contralateral left orbit. This imaging is characteristic of a benign but locally aggressive congenital orbital teratoma, illustrating its typical radiological presentation of mixed density/intensity and mass-occupying effect in a newborn.
"Since when have you noticed the eye coming forward? How did it start?"
| Dimension | What to ask | Significance |
|---|---|---|
| Duration | Weeks / months / years? | Acute = inflammatory/vascular; Chronic = neoplastic |
| Onset | Sudden / gradual / insidious? | Sudden = hemorrhage, fistula; Gradual = tumour |
| Progression | Getting worse / same / intermittent? | Progressive = tumour; Intermittent = vascular |
| Unilateral / Bilateral | One eye or both? | See below |
| Finding | Significance |
|---|---|
| Unilateral | Neoplasm, orbital cellulitis, pseudotumour, lacrimal gland tumour, CCF, dermoid |
| Bilateral | Thyroid eye disease (#1 cause of bilateral proptosis), lymphoma, bilateral metastasis, NF |
| Bilateral asymmetric | Thyroid eye disease often asymmetric |
Exam pearl: Thyroid eye disease is the most common cause of BOTH unilateral and bilateral proptosis in adults.
| Finding | Significance |
|---|---|
| Pulsatile + bruit | Carotid-cavernous fistula (CCF) - high flow |
| Pulsatile, no bruit | Transmission of CSF pulsations (orbital roof defect, meningocoele, NF-1) - "true pulsatile" |
| Non-pulsatile | All other causes |

| Finding | Significance |
|---|---|
| Reducible proptosis | Orbital varix (worse on bending down / Valsalva); venous malformation |
| Non-reducible | Neoplasm, cellulitis (firm, tense orbit) |
| Worse on lying down / Valsalva | Orbital varix - classic |
| Intermittent | Orbital varix, intermittent haemorrhage into dermoid cyst |
| Type of Pain | Significance |
|---|---|
| Severe acute pain + proptosis | Orbital cellulitis, mucormycosis (EMERGENCY), orbital haemorrhage |
| Pain on eye movement | Orbital pseudotumour, optic neuritis, thyroid eye disease (myositis) |
| Dull aching | Lacrimal gland tumour (adenoid cystic ca - typically painful), orbital tumour |
| Painless proptosis | Cavernous haemangioma, lymphoma, optic nerve glioma, dermoid cyst |
| Headache | Intracranial extension, raised ICP |
Exam pearl: Adenoid cystic carcinoma of lacrimal gland = painful proptosis with down-and-in displacement; most malignant lacrimal gland tumour.
| Finding | Significance |
|---|---|
| Diplopia present | Extraocular muscle involvement (thyroid myopathy, orbital tumour, pseudotumour, orbital floor fracture) |
| Thyroid eye disease | Inferior rectus involved first → vertical diplopia (difficulty looking up) |
| Horizontal diplopia | Medial rectus involvement |
| Gaze-evoked diplopia | Orbital varix, mass |
| No diplopia | Axial proptosis (intraconal mass), dermoid, early orbital tumour |
| Finding | Significance |
|---|---|
| Decreased VA | Optic nerve compression (thyroid - tight apex, glioma, meningioma) |
| Colour desaturation | Optic nerve compression |
| Visual field defect | Optic nerve / chiasmal compression |
| Transient visual loss | CCF, raised IOP, vascular lesion |
| Flashes / distortion | Choroidal folds (compressive lesion pushing globe) |
Negative history significance: No visual change with a large proptosis suggests the mass is not near the optic nerve (intraconal, but away from apex).
| Finding | Significance |
|---|---|
| Periorbital oedema + fever | Orbital cellulitis (preseptal vs. orbital) |
| Chemosis + corkscrew vessels | CCF, orbital varix |
| S-shaped deformity of upper lid | Lacrimal gland mass (lateral upper lid swelling) |
| Sinus discharge / nasal symptoms | Sinus tumour extending to orbit, nasal polyps, Wegener's |
| Past History | Significance |
|---|---|
| Previous trauma to head/orbit | Orbital haemorrhage, CCF (even delayed by days-weeks), traumatic optic neuropathy |
| Previous cancer (breast, lung, prostate, melanoma, renal) | Metastatic orbital disease - most common in adults with bilateral proptosis + bone destruction |
| Known thyroid disease / treatment for hyperthyroidism | Graves' orbitopathy (most common cause of proptosis in adults) |
| Previous surgery to orbit / paranasal sinuses | Post-surgical haematoma, recurrence |
| Diabetes mellitus / immunosuppression | Mucormycosis (EMERGENCY - rapidly fatal), Aspergillosis |
| Previous radiotherapy to head/neck | Radiation-induced fibrosis, secondary neoplasm |
| History of NF-1 (café-au-lait spots) | Sphenoid wing dysplasia → pulsatile proptosis; optic nerve glioma |
| Family History | Significance |
|---|---|
| Neurofibromatosis (NF-1) | Orbital neurofibromas, optic glioma |
| Thyroid disease in family | Graves' disease (autoimmune, familial clustering) |
| Retinoblastoma | Bilateral → consider orbital spread |
| Drug | Significance |
|---|---|
| Steroids (systemic) | Orbital fat prolapse, masking of infection |
| Thyroid medications | May precipitate or worsen thyroid eye disease |
| Anticoagulants | Orbital haemorrhage |
| Factor | Significance |
|---|---|
| Woodworking / furniture industry | Adenocarcinoma of sinuses (occupational carcinogen) |
| Smoking | Worsens Graves' orbitopathy significantly; also lung/sinus cancer |
| Immunosuppression (HIV, transplant) | Mucormycosis, lymphoma, fungal infections |
| Sign | Significance |
|---|---|
| Goitre (neck swelling) | Graves' / thyroid disease |
| Lymphadenopathy | Lymphoma, metastatic disease |
| Café-au-lait spots | NF-1 |
| Pallor | Leukaemia, lymphoma |
| Skin nodules | Metastases (melanoma, breast) |
| Breast mass | Metastatic breast carcinoma |
| Direction | Significance |
|---|---|
| Axial (straight forward) | Intraconal mass (cavernous haemangioma, optic nerve tumour, lymphoma) |
| Non-axial downward + outward | Lacrimal gland tumour (superomedial), frontal mucocoele |
| Non-axial downward + inward (nasal) | Lacrimal gland mass (lateral) |
| Non-axial upward | Maxillary sinus tumour, floor fracture |
| Pulsatile | CCF, orbital roof defect, NF-1 |
| Sign | Description | Disease |
|---|---|---|
| Lid retraction | Upper lid elevated, sclera visible above limbus | Thyroid eye disease |
| Lid lag (von Graefe's sign) | Upper lid lags behind globe on downgaze | Thyroid eye disease |
| Chemosis | Conjunctival oedema/swelling | Thyroid, CCF, cellulitis |
| S-shaped upper lid | Temporal fullness/mass | Lacrimal gland tumour |
| Periorbital oedema | Puffy lids | Cellulitis, thyroid |
| Proptosis + complete ptosis | Orbital apex syndrome | Metastasis, infection |
| Finding | Significance |
|---|---|
| Restricted elevation (IR involvement) | Thyroid eye disease (#1 muscle involved = inferior rectus) |
| Restriction on abduction (MR involvement) | Thyroid eye disease (MR = second most common) |
| All directions restricted (frozen globe) | Pseudotumour, advanced thyroid, rhabdomyosarcoma |
| Ophthalmoplegia with proptosis + pain | Orbital apex syndrome / cavernous sinus syndrome |
| Finding | Significance |
|---|---|
| Optic disc pallor / atrophy | Optic nerve compression (meningioma, glioma) |
| Disc oedema | Acute nerve compression, raised ICP |
| Choroidal folds | Mass compressing posterior globe (cavernous haemangioma, posterior scleritis) |
| Dilated, tortuous veins | Raised episcleral venous pressure (CCF, orbital varix) |
| Retinal haemorrhage | CCF, CRVO secondary to venous hypertension |

| CT Finding | Diagnosis |
|---|---|
| Intraconal well-defined oval mass | Cavernous haemangioma |
| Enlarged extraocular muscles (belly, sparing tendon) | Thyroid eye disease |
| Enlarged muscles with tendon involvement | Pseudotumour / myositis |
| Irregular bone destruction | Malignant tumour, metastasis |
| "Tram-track" calcification of optic nerve | Optic nerve sheath meningioma |
| Subperiosteal collection | Orbital abscess |
| Opacified sinuses + orbital extension | Sinusitis with orbital cellulitis |

| Test | Indication |
|---|---|
| TFT (TSH, T3, T4) | Mandatory in ALL cases of bilateral proptosis (Graves') |
| TSH receptor antibodies (TRAb) | Most specific for Graves' orbitopathy |
| FBC + ESR | Lymphoma, leukaemia, inflammatory |
| Serum ACE | Sarcoidosis |
| c-ANCA / p-ANCA | Wegener's granulomatosis |
| Blood culture | Orbital cellulitis |
| Blood glucose | Mucormycosis (diabetic ketoacidosis) |
| LDH + uric acid | Lymphoma |
| Serum PSA | Prostate metastasis in men |
| Tumour markers | Depending on systemic primary |
| Age | Most common cause |
|---|---|
| Infant / Neonate | Dermoid cyst, rhabdomyosarcoma, capillary haemangioma, teratoma |
| Child | Rhabdomyosarcoma (most common primary malignant orbital tumour in children), capillary haemangioma, optic glioma, orbital cellulitis |
| Young adult | Thyroid eye disease, orbital pseudotumour, capillary haemangioma, dermoid |
| Middle-aged adult | Thyroid eye disease, cavernous haemangioma, lymphoma, lacrimal gland tumour |
| Elderly | Lymphoma (#1 orbital tumour > 60 years), metastasis, lymphoplasmacytic |
AXIAL proptosis
→ Intraconal: Cavernous haemangioma, lymphoma, optic nerve tumour
UPWARD displacement
→ Floor fracture (blowout), maxillary sinus tumour
DOWNWARD + OUTWARD displacement
→ Lacrimal gland tumour, frontal sinus mucocoele
MEDIAL displacement
→ Ethmoid sinus tumour, ethmoid mucocoele
| Cause | Onset | Laterality | Pain | Pulsatile | Key Feature |
|---|---|---|---|---|---|
| Thyroid eye disease | Gradual | Bilateral (often) | Mild/none | No | Lid retraction, soft tissue signs, TFT positive |
| Orbital cellulitis | Acute | Unilateral | Severe | No | Fever, from sinusitis, child |
| Pseudotumour | Subacute | Unilateral | Moderate | No | Responds dramatically to steroids |
| Cavernous haemangioma | Gradual | Unilateral | None | No | Middle-aged women, axial, well-defined on CT |
| Lymphoma | Gradual | Uni/Bilateral | None | No | Salmon-pink conjunctival mass, > 60 yrs |
| CCF | Acute/subacute | Unilateral | Headache | Yes | Bruit, corkscrew vessels, IOP raised |
| Orbital varix | Intermittent | Unilateral | None | Yes (transmitted) | Worse on Valsalva, reducible |
| Lacrimal gland Ca | Gradual | Unilateral | Yes (ACCa) | No | S-shaped lid, down+in displacement |
| Optic nerve glioma | Gradual | Unilateral | None | No | Child with NF-1, visual loss, axial |
| Meningioma | Gradual | Unilateral | None | No | Adult female, tram-track calcification |
| Metastasis | Variable | Uni/Bilateral | Variable | No | History of cancer; enophthalmos if scirrhous breast |
| Rhabdomyosarcoma | Rapid | Unilateral | Mild | No | Child < 10 years, rapidly progressive |
| Mucormycosis | Acute, rapid | Unilateral | Severe | No | DM/immunocompromised, black eschar - EMERGENCY |
| Dermoid cyst | Gradual | Unilateral | None | No | Child, superotemporal, smooth, cystic on CT |
| Diagnosis | Management |
|---|---|
| Orbital cellulitis | IV antibiotics ± surgical drainage |
| Mucormycosis | Amphotericin B + radical surgical debridement (EMERGENCY) |
| Thyroid eye disease | TFT control, steroids, orbital radiotherapy, decompression |
| Pseudotumour | High-dose systemic steroids (diagnostic + therapeutic) |
| Cavernous haemangioma | Observation or surgical excision (lateral orbitotomy) |
| Lymphoma | Biopsy → chemo/radiotherapy |
| Rhabdomyosarcoma | Biopsy → chemo + radiotherapy (NOT surgery primarily) |
| CCF | Interventional radiology - coil embolisation |
| Lacrimal gland tumour | Pleomorphic adenoma = lateral orbitotomy + complete excision; ACCa = en bloc resection + adjuvant RT |
| Optic nerve glioma | Observation (NF-1); surgery/RT if vision threatened |
| Metastasis | Palliative RT, systemic chemotherapy |
When asked "How will you approach a case of proptosis?" - Structure your answer:
- Definition + normal values
- History: Onset, duration, laterality, pain, pulsation, reducibility, diplopia, vision, systemic
- Examination: VA, Hertel, direction, pulsation/bruit, lid signs, motility, IOP, fundus
- Investigations: CT orbit (first line), MRI, TFT, FBC, ESR, biopsy
- Differential diagnosis by age / by direction
- Management based on diagnosis
how to approach a case of ptosis with explaining from history to diagnosis, negative and positive history with explaination of each points.
ptosis drooping eyelid unilateral clinical photograph

This clinical photograph displays a front-on view of an elderly patient’s face, focusing on the orbital and nasal regions. The primary clinical finding is severe unilateral blepharoptosis (ptosis) of the left eye. The left upper eyelid is significantly drooping, almost entirely obscuring the globe and visual axis. This is accompanied by noticeable periocular edema and erythema, suggesting an inflammatory or infectious process. In contrast, the right eye remains fully open with a normal palpebral fissure width. The surrounding skin shows age-related changes, including deep rhytids and solar elastosis. The presence of ptosis in this context is clinically significant for diagnosing orbital complications associated with invasive fungal infections, such as mucormycosis, or other causes of orbital apex syndrome. The image serves as a clear educational example of acquired ptosis and periocular soft tissue swelling in an ophthalmic or infectious disease context.

This clinical photograph shows a close-up, frontal view of a pediatric patient's periorbital region, demonstrating unilateral congenital ptosis of the left upper eyelid (noted as the eye on the viewer's right). The affected eyelid displays significant drooping, with the superior eyelid margin positioned notably lower than the contralateral side, partially obscuring the visual axis and decreasing the vertical palpebral fissure height. In contrast, the patient's right eye (viewer's left) shows a normal eyelid position with the margin resting at the superior limbus. A compensatory eyebrow elevation is visible on the affected side, where the left brow is positioned slightly higher than the right, suggesting recruitment of the frontalis muscle to assist in eyelid elevation. The patient exhibits fair skin with prominent ephelides (freckles) across the malar and nasal regions. This image serves as a classic educational example of blepharoptosis, emphasizing the comparison between normal eyelid anatomy and pathological drooping, as well as the associated secondary forehead muscle compensation.

This composite medical image presents clinical and intraoperative views of a case involving blepharoptosis and an eyelid lesion. Figure A is a clinical photograph of a 17-year-old patient demonstrating unilateral ptosis of the right upper eyelid. The eyelid margin is notably lower than the left, covering the superior portion of the iris. Figure B provides an intraoperative surgical view of the same patient during ptosis repair. It reveals a translucent, round cystic lesion approximately 1 cm in diameter containing clear liquid, situated within the fibers of the levator palpebrae superioris muscle. The cyst appears well-circumscribed without obvious adherence to surrounding orbital tissues. These findings are clinically relevant to the differential diagnosis of congenital ptosis, identifying an apocrine hidrocystoma as a mechanical cause for the eyelid drooping. The image is suitable for medical education in ophthalmology, oculoplastics, and pathology, illustrating how a deep-seated eyelid cyst can manifest as eyelid malposition.
Horner syndrome ptosis miosis anisocoria

Clinical photograph showing a comparative view of a 37-year-old female patient's eyes (Figure 1a and 1b) demonstrating findings characteristic of Horner syndrome and its pharmacological testing. In Figure 1a (baseline), the patient exhibits left-sided blepharoptosis (drooping of the upper eyelid) and miosis (a smaller, constricted pupil) compared to the right eye, resulting in significant anisocoria. In Figure 1b, following the topical instillation of apraclonidine (0.5%), there is a visible reversal of these signs: the left eyelid ptosis has resolved, and the left pupil has dilated while the right pupil has slightly constricted (reversal of anisocoria). This 'apraclonidine test' result is diagnostic for Horner syndrome, reflecting the hypersensitivity of the denervated dilator muscle to alpha-adrenergic stimulation. This image is medically significant for illustrating the clinical presentation of sympathetic nerve pathway disruption and the objective results of diagnostic pupil testing in neuro-ophthalmology.

Two-panel clinical photograph demonstrating Horner’s syndrome in a patient. Panel A shows the patient's eyes at rest, highlighting a mild right-sided ptosis (drooping of the upper eyelid) and a subtle 'upside-down ptosis' (elevation of the right lower eyelid). Panel B provides a close-up view of the eyes with the upper eyelids manually retracted to reveal anisocoria; the right pupil (labeled R) is significantly smaller (miotic) compared to the left pupil (labeled L). The clinical findings illustrate the classic triad of sympathetic denervation: ptosis, miosis, and enophthalmos appearance due to narrowing of the palpebral fissure. This visual evidence supports a diagnosis of Horner’s syndrome, often associated with neurological or vascular pathology affecting the oculosympathetic pathway. The image serves as an educational tool for identifying autonomic ocular dysfunction in neurology and ophthalmology.
myasthenia gravis bilateral ptosis fatigable

This clinical photograph displays a close-up view of the periocular region of a patient, demonstrating bilateral blepharoptosis (drooping eyelids). The content type is a Clinical Photograph within the specialty of Neurology or Ophthalmology. The image shows asymmetrical involvement, with the left upper eyelid exhibiting a more severe degree of ptosis compared to the right, significantly obscuring the left pupil and reducing the vertical palpebral fissure height. This visual finding is a classic sign often associated with Myasthenia Gravis (MG). The skin shows normal texture and color for the patient's ethnicity, without obvious signs of local inflammation or edema. This image serves as a baseline for clinical assessment, specifically to be compared against post-intervention results such as an ice pack test or Tensilon test to evaluate for fatigable muscle weakness and diagnostic confirmation of neuromuscular junction disorders.

This clinical photograph consists of a side-by-side comparison (labeled A and B) demonstrating the pharmacological management of bilateral eyelid ptosis in a patient with Myasthenia Gravis (MG). Panel A (Baseline): Displays severe bilateral upper eyelid drooping, which obscures approximately 30-40% of the superior iris and limits the palpebral fissure width. The periorbital skin shows significant laxity and skin folds characteristic of chronic ptosis and aged skin. Panel B (Post-Treatment): Shows the same patient 30 minutes after the administration of oxymetazoline hydrochloride 0.1% ophthalmic solution. There is a notable elevation of both upper eyelids, resulting in increased exposure of the iris and sclera, with only 5-10% of the iris remaining covered. Educational Focus: The images illustrate the clinical efficacy of alpha-adrenergic agonists in stimulating Müller’s muscle (sympathetic smooth muscle) to improve eyelid elevation. This comparison highlights a non-surgical management option for symptomatic ptosis in patients with neuromuscular junction disorders or refractory weakness.
third nerve palsy complete ptosis dilated pupil down and out

Clinical photograph of a patient's face in two panels (A and B) demonstrating right-sided oculomotor nerve (third cranial nerve) palsy and bilateral periorbital lesions. Image A shows complete ptosis of the right eye with the upper eyelid fully closed. In image B, with the right eyelid manually elevated, the right eye exhibits a 'down and out' primary position, indicative of unopposed action from the superior oblique and lateral rectus muscles. The right pupil is visibly dilated (mydriasis) compared to the left, and is clinically non-reactive or slow-reacting. Both eyes feature yellowish, flat, slightly elevated plaques on the upper and lower eyelids, characteristic of xanthelasma palpebrarum. The left eye serves as a control, showing normal primary gaze alignment and pupil size. These findings are presented in the context of oculomotor dysfunction potentially associated with ischemic events or systemic conditions like patent foramen ovale (PFO).

This composite clinical photograph illustrates the hallmark signs of a left oculomotor nerve (third cranial nerve) palsy in a 24-year-old male. Panel A demonstrates significant left-sided ptosis (drooping upper eyelid) and impaired adduction of the left eye when the patient attempts a rightward gaze, resulting in a divergent ocular alignment. Panel B shows preserved abduction of the left eye, indicating intact sixth cranial nerve function. Panel C provides a close-up comparison of the pupils, revealing anisocoria with a dilated, non-reactive left pupil (mydriasis) compared to the right. The combination of ptosis, 'down and out' resting position or inability to adduct, and pupillary involvement is characteristic of complete third nerve paralysis, often associated with compression or intrinsic lesions of the oculomotor nerve. This visual record is educational for identifying neuro-ophthalmic manifestations of cranial nerve pathology, specifically differentiating between pupil-sparing and pupil-involved palsies.
congenital ptosis child levator function upper eyelid crease

This clinical photograph captures an intraoperative view of an external levator approach for congenital ptosis repair on a patient's upper eyelid. The surgical field demonstrates a horizontal eyelid crease incision, outlined by purple surgical marker ink. The incision has been deepened to expose the underlying anatomical structures, specifically the levator aponeurosis and preseptal tissues. A cotton-tipped applicator is utilized for gentle retraction and hemostasis within the triangular-shaped surgical pocket. Traction sutures are visible, extending from the eyelid margin to facilitate positioning and exposure. The surrounding periocular skin shows mild erythema consistent with surgical trauma, alongside natural signs of aging and freckling. This image serves as an educational resource for ophthalmology and oculoplastic surgery, illustrating the anterior surgical approach to the levator complex for the correction of blepharoptosis.

Clinical photographs in four panels (A-D) demonstrating pre-operative and post-operative outcomes of levator resection for congenital ptosis. Panels A and C show the pre-operative status of two different patients. Panel A illustrates mild unilateral ptosis of the left eye, where the upper eyelid margin covers a portion of the superior iris. Panel C demonstrates severe unilateral ptosis of the left eye with the eyelid margin obstructing the visual axis and covering the pupil. Panels B and D show the corresponding post-operative results. In Panel B, the left upper eyelid is elevated to a functional position, increasing the marginal reflex distance 1 (MRD1) and revealing a sliver of superior sclera. Panel D shows the correction of severe ptosis, with the eyelid margin now positioned above the pupil; visible surgical sutures and post-operative erythema are present along the newly defined eyelid crease. The collection serves to illustrate the surgical management of blepharoptosis and the objective assessment of eyelid height and symmetry in ophthalmic plastic surgery.
| Grade | Amount of ptosis | MRD1 |
|---|---|---|
| Mild | 1-2 mm | 3 mm |
| Moderate | 3 mm | 2 mm |
| Severe | ≥ 4 mm | 0-1 mm |
PTOSIS
├── NEUROGENIC
│ ├── 3rd nerve palsy (CN III) - complete/partial
│ ├── Horner syndrome (sympathetic - Müller's muscle)
│ └── Marcus Gunn jaw-winking (misdirected CN V)
├── MYOGENIC
│ ├── Congenital (levator myopathy)
│ ├── Myasthenia gravis (NMJ - neuromyopathic)
│ ├── Myotonic dystrophy
│ └── Progressive External Ophthalmoplegia (PEO)
├── APONEUROTIC (Involutional)
│ ├── Age-related (most common acquired ptosis)
│ └── Post-surgical / post-traumatic
└── MECHANICAL
├── Lid mass / tumour
├── Dermatochalasis
└── Scarring / cicatricial
| Dimension | Question | Significance |
|---|---|---|
| Age of onset | From birth / childhood / recently? | Congenital vs. acquired |
| Duration | Days / months / years? | Acute = neurogenic/vascular; Chronic = myogenic/aponeurotic |
| Onset | Sudden / gradual / insidious? | Sudden = CN III aneurysm (EMERGENCY); Gradual = myasthenia, aponeurotic |
| Laterality | One or both eyes? | Unilateral vs. bilateral |
| Progression | Worsening / static / fluctuating? | Fluctuating = myasthenia; Static = congenital; Progressive = neoplastic/myasthenia |
Exam pearl - Kanski: "Old photographs are invaluable when the history is ambiguous - they help determine whether ptosis is congenital or acquired."
| Pattern | Significance |
|---|---|
| Worse in the evening / after sustained activity | Myasthenia gravis (fatigable) - ptosis worsens as day progresses |
| Better in the morning, worse in evening | Myasthenia gravis |
| Constant throughout the day | Congenital, aponeurotic, mechanical, CN III palsy, Horner |
| Worse in cold / better in warmth | Myasthenia gravis (cold worsens NMJ transmission) |
| Variable hour to hour | Myasthenia gravis (pathognomonic) |
| Associated diplopia | Significance |
|---|---|
| Ptosis + horizontal/vertical diplopia + dilated pupil | Complete CN III palsy - EMERGENCY (posterior communicating artery aneurysm until proven otherwise) |
| Ptosis + diplopia, variable throughout day | Myasthenia gravis (NMJ - fatigable ophthalmoparesis) |
| Ptosis + diplopia + ophthalmoplegia (slowly progressive) | Chronic Progressive External Ophthalmoplegia (CPEO) - bilateral, symmetric, no diplopia usually due to slow onset |
| Ptosis + diplopia worse on upgaze | Thyroid eye disease (inferior rectus restriction) |
| No diplopia with ptosis | Congenital ptosis, aponeurotic ptosis, Horner (not full CN III), mechanical |
| Pupil finding | Significance |
|---|---|
| Ptosis + DILATED pupil (mydriasis) + "down and out" eye | CN III palsy - pupil INVOLVED = compressive (aneurysm, tumour) |
| Ptosis + SMALL pupil (miosis) + anhidrosis | Horner syndrome - sympathetic paresis (Müller's muscle) |
| Ptosis + NORMAL pupils | Myasthenia gravis, aponeurotic ptosis, congenital ptosis, mechanical |
| Ptosis + DILATED pupil, pupil SPARED | CN III palsy - pupil SPARED = ischaemic (diabetes, hypertension) |
Critical exam point: Ptosis + dilated, non-reactive pupil = POSTERIOR COMMUNICATING ARTERY ANEURYSM until proven otherwise. Neurosurgical EMERGENCY.
| Type of trauma | Significance |
|---|---|
| Head injury | Traumatic CN III palsy; also: carotid-cavernous fistula causing ptosis |
| Orbital / eyelid trauma | Traumatic levator dehiscence (aponeurotic ptosis) |
| Neck injury / surgery | Horner syndrome (cervical sympathetic chain) |
| Eye surgery (cataract, vitreoretinal) | Post-surgical aponeurotic ptosis (most common iatrogenic cause - from bridle suture, prolonged speculum use) |
| Birth forceps delivery | Congenital Horner syndrome / traumatic CN III |
| Symptom | Significance |
|---|---|
| Severe acute headache + ptosis + dilated pupil | Posterior communicating artery aneurysm - EMERGENCY |
| Limb weakness + ptosis | Myasthenia gravis (generalised), motor neuron disease |
| Swallowing / speech difficulty + ptosis | Myasthenia gravis (bulbar symptoms), brainstem stroke |
| Facial weakness + ptosis | Myasthenia gravis, Kearns-Sayre syndrome |
| Drooping of arm + ptosis in neck/apex | Pancoast tumour → Horner syndrome |
| Neck/arm pain + Horner | Carotid artery dissection (medical emergency) |
| Family history | Significance |
|---|---|
| Congenital ptosis in parents/siblings | Familial congenital ptosis (autosomal dominant) |
| Blepharophimosis syndrome | BPES Type I (AD, with premature ovarian failure - females infertile) |
| Myasthenia gravis | Autoimmune clustering |
| Myotonic dystrophy | AD - also watch for systemic features |
| Mitochondrial disease | Maternal inheritance in CPEO (mtDNA mutation) |
| Past History | Significance |
|---|---|
| Diabetes mellitus | Ischaemic CN III palsy (pupil SPARED typically) - most common cause of painful CN III palsy |
| Hypertension | Ischaemic CN III palsy |
| Previous cancer (lung, breast, lymphoma) | Metastatic CN III palsy, orbital metastasis, Lambert-Eaton (paraneoplastic) |
| Autoimmune disease (SLE, RA, thyroid) | Myasthenia gravis (associated with autoimmune conditions) |
| Thymoma | Myasthenia gravis (thymoma in 15% of MG cases) |
| Tuberculosis / sarcoidosis | Granulomatous lid lesion causing mechanical ptosis |
| Previous eye surgery | Aponeurotic ptosis (most common post-surgical cause) |
| Eyelid/orbital infection | Cicatricial/mechanical ptosis from scarring |
| Drug | Significance |
|---|---|
| D-penicillamine | Induces myasthenia gravis |
| Aminoglycosides | Worsen NMJ transmission - precipitate/worsen MG ptosis |
| Steroids (topical/systemic) | Mask MG; orbit fat hypertrophy causing mechanical |
| Botulinum toxin (cosmetic) | Iatrogenic ptosis (spread to levator) |
| Adrenaline/sympathomimetic eye drops | Temporarily improve Horner ptosis (useful in diagnosis) |
| System | Positive finding | Significance |
|---|---|---|
| Muscular | Easy fatigability, limb weakness, difficulty climbing stairs | Myasthenia gravis, CPEO, myotonic dystrophy |
| Respiratory | Dyspnoea, myasthenic crisis - respiratory failure | Myasthenia gravis (severe) |
| Cardiac | Heart block, arrhythmia | Kearns-Sayre syndrome (CPEO + cardiac block) |
| ENT | Nasal voice, difficulty swallowing | Myasthenia gravis (bulbar) |
| Skin | Café-au-lait, neurofibromata | NF-1 (plexiform neurofibroma → mechanical ptosis) |
| Thyroid | Heat intolerance, weight loss | Thyroid eye disease (coexists with MG, lid retraction > ptosis) |
| Neck lump | Cervical mass | Horner syndrome (cervical chain involved) |
| Arm pain/weakness (medial) | Pancoast tumour | Horner syndrome (apex lung tumour) |
| Sign | Significance |
|---|---|
| Neck mass | Horner (cervical lymph node, thyroid, carotid) |
| Chest signs | Pancoast tumour (Horner), thymoma (MG) |
| Generalised weakness / myotonia | Myasthenia gravis, myotonic dystrophy |
| Café-au-lait spots | NF-1 → plexiform neurofibroma |
| Pseudoptosis | Diagnosis |
|---|---|
| Contralateral lid RETRACTION mimics ipsilateral ptosis | Thyroid eye disease of the other eye |
| Ipsilateral HYPOTROPIA (eye down) → lid follows | Strabismus - ptosis disappears on covering normal eye |
| Small / absent eye (microphthalmos, phthisis, enucleation) | No globe support for lid |
| BROW PTOSIS (excess skin weighing brow down) | Elevate brow manually → fissure widens |
| DERMATOCHALASIS (overhanging skin) | Elevate skin manually |

| Measurement | Normal | Method |
|---|---|---|
| MRD1 (Margin Reflex Distance) | 4-5 mm | Distance from corneal reflex to upper lid margin |
| Palpebral fissure height | 8-12 mm (F), 7-10 mm (M) | Upper to lower lid margin at pupil |
| Upper lid crease | 8 mm (M), 10 mm (F) | Lid margin to crease in downgaze |
| Levator function (LF) | ≥ 15 mm (normal) | Downgaze to upgaze with brow fixed |
| Pre-tarsal show | 2-3 mm | Lid margin to skin fold |
≥ 15 mm = NORMAL (excellent)
12-14 mm = GOOD
5-11 mm = FAIR (moderate)
≤ 4 mm = POOR → indicates need for frontalis suspension
| Finding | Significance |
|---|---|
| Ptotic lid HIGHER than normal in downgaze | CONGENITAL ptosis (levator does not relax in downgaze - "lid lag in downgaze") |
| Ptotic lid LEVEL with or LOWER than normal in downgaze | ACQUIRED ptosis (aponeurotic, neurogenic) |
This single sign distinguishes congenital from acquired ptosis.
| Crease | Significance |
|---|---|
| Absent crease | Congenital ptosis (poor levator function) |
| High crease (>12 mm) | Aponeurotic/involutional ptosis (dehiscence causes crease to ride up) |
| Deep superior sulcus | Involutional/aponeurotic (fat atrophy + aponeurosis stretching) |
| Normal crease | Neurogenic or mechanical ptosis |

| Pupil finding | Diagnosis |
|---|---|
| Unilateral MIOSIS (small pupil) + ptosis (mild, ~2mm) | Horner syndrome |
| Anisocoria WORSE in dark | Horner (dilator paresis - can't dilate in dark) |
| Unilateral MYDRIASIS (large, non-reactive pupil) + complete ptosis | CN III palsy - compressive |
| Ptosis + normal pupils | Aponeurotic, congenital, mechanical, MG, Horner (after long-standing) |
| Reversal of anisocoria with apraclonidine drops | Horner syndrome confirmed |

| Finding | Significance |
|---|---|
| "Down and out" position + complete ptosis | CN III palsy (LR + SO intact) |
| Restriction of all movements (symmetric, bilateral) | CPEO, Myasthenia |
| Limitation upgaze + ptosis | CN III (SR), Myasthenia |
| Normal motility | Aponeurotic, congenital (usually), Horner (usually), mechanical |

| Sign | Significance |
|---|---|
| Eyelid mass / tumour | Mechanical ptosis - chalazion, neurofibroma, haemangioma, tumour |
| Lid scarring / trachoma changes | Cicatricial mechanical ptosis |
| Periorbital oedema | Mechanical from allergic/inflammatory cause |
| Enophthalmos | Horner syndrome appearance (not true enophthalmos) |
| Chin elevation / compensatory brow raising | Congenital / bilateral severe ptosis |
| Frontalis overaction (furrowed forehead) | Compensation for ptosis |
| Result | Significance |
|---|---|
| Good Bell's (+ve) = Globe rotates upward on lid closure | Safe for ptosis surgery |
| Poor Bell's (-ve) = Globe does not rotate up | HIGH RISK - exposure keratopathy after ptosis surgery |
Kanski: "A weak Bell phenomenon can result in exposure keratopathy after ptosis surgery."
| Test | Method | Positive Result | Significance |
|---|---|---|---|
| Ice pack test | Ice for 2 min on closed lid | Ptosis improves ≥ 2mm | Myasthenia gravis |
| Edrophonium (Tensilon) test | IV 10mg edrophonium | Ptosis improves within 60 sec | Myasthenia gravis |
| Apraclonidine 0.5% drops | Topical, both eyes | Ptosis improves + anisocoria reverses | Horner syndrome |
| Cocaine 4-10% drops | Topical | Normal eye dilates; Horner eye does NOT | Confirms Horner |
| Hydroxyamphetamine (1%) | After cocaine | Horner eye dilates | 3rd neuron intact (pre-ganglionic lesion); does NOT dilate = 3rd neuron Horner |
| Scan | Indication |
|---|---|
| CT/MRI orbit + brain | CN III palsy (rule out aneurysm, tumour), cavernous sinus, orbital mass |
| MRA / CTA | Posterior communicating artery aneurysm (CN III with pupil involvement - EMERGENCY) |
| CT chest | Thymoma (myasthenia), Pancoast tumour (Horner - apical lung) |
| MRI brachial plexus / neck | Horner with ipsilateral arm symptoms |
| CT neck | Cervical lymph node / carotid dissection (Horner) |
| Test | Indication |
|---|---|
| AChR antibodies (anti-acetylcholine receptor) | Myasthenia gravis (positive in 85% generalised, 50% ocular) |
| Anti-MuSK antibodies | Seronegative MG |
| Repetitive nerve stimulation / SFEMG | Myasthenia (decremental response) |
| Tensilon (Edrophonium) test | MG - clinical pharmacological test |
| TFT | Thyroid eye disease (coexisting lid retraction) |
| Blood glucose, HbA1c | Ischaemic CN III palsy |
| ANA, ESR | Autoimmune causes |
| Mitochondrial DNA analysis | CPEO (Kearns-Sayre) |
| Feature | CN III Palsy | Horner Syndrome | Myasthenia Gravis | Congenital Ptosis | Aponeurotic |
|---|---|---|---|---|---|
| Degree | Complete (severe) | Mild (1-2 mm) | Variable | Variable | Moderate-severe |
| Laterality | Unilateral | Unilateral | Bilateral (asymm) | Uni or bilateral | Usually bilateral |
| Pupil | Dilated (compressive) / Normal (ischaemic) | Miotic (small) | Normal | Normal | Normal |
| Motility | Down and out | Normal | Fatigable, variable | ± SR weakness | Normal |
| Variability | Constant | Constant | Variable (diurnal) | Constant | Worse in evening |
| Levator fn | Poor (CN III innervates it) | Good (Müller's only) | Variable | Poor | Good |
| Lid crease | Normal/high | Normal | Normal | Absent | HIGH (pathognomonic) |
| Downgaze | Lid level/low | Lid low | Variable | Lid higher than normal | Lid low |
| Key test | Neuroimaging | Apraclonidine | Ice pack / Tensilon | Old photos / age | History of surgery/age |
| Diagnosis | Management |
|---|---|
| Congenital ptosis - poor LF (≤ 4mm) | Frontalis suspension (fascia lata / synthetic) |
| Congenital ptosis - moderate LF (5-11mm) | Maximum levator resection |
| Congenital ptosis - good LF (≥ 12mm) | Levator resection or aponeurosis advancement |
| Marcus Gunn jaw-winking | Levator disinsertion + bilateral brow suspension |
| Aponeurotic (involutional) | Levator aponeurosis advancement (gold standard) |
| Mechanical (lid mass) | Treat underlying mass → ptosis resolves |
| Myasthenia gravis | Pyridostigmine (neostigmine) ± immunosuppression ± thymectomy |
| CN III palsy - aneurysm | Neurosurgical clipping / coil embolisation (EMERGENCY) |
| CN III palsy - ischaemic | Treat DM/HTN; usually resolves 3-6 months |
| Horner - Pancoast | Surgical / RT / chemotherapy for primary |
| CPEO / Kearns-Sayre | Frontalis suspension (no levator function) |
When asked: "How will you approach a case of ptosis?"