Clinical Commander

All dossiers
ophtho.uveitis.core.v1

Uveitis (anterior / intermediate / posterior / panuveitis)

general_internal_medicineacutesubacutechronicadultpediatricacuteoutpatientinpatient

SUN-anatomic-classified uveitis engine (anterior/intermediate/posterior/pan). The over-arching guardrail — encoded in the regimen Step 1 gate, contraindication_rules, and a severity_trigger — is that treatable infectious causes (syphilis the "great masquerader", TB, herpetic, toxoplasma, CMV) are excluded or pathogen-directed-treated BEFORE or ALONGSIDE corticosteroid/immunosuppression (AAO IMT guidance 2017/2018; Sharma Int J STD AIDS 2024). Vision-threatening look-alikes and systemic-disease engines are recognised then routed OUT by engine_id, not re-authored: ophtho.acute-red-eye.core.v1 (triage), ophtho.acute-angle-closure-glaucoma.core.v1 (mimic + uveitic-glaucoma complication), rheum.spondyloarthropathy.core.v1 (HLA-B27), id.syphilis.core.v1, id.tuberculosis.core.v1. RxCUIs are well-established RxNorm identifiers for the cited agents (prednisolone ophthalmic 8638, prednisone 8640, cyclopentolate 3263, atropine ophthalmic 1223, methotrexate 6851, mycophenolate mofetil 6049, adalimumab 327361, aciclovir 281, valaciclovir 39542); flagged for next-session live RxNav re-confirmation per the research bundle. Periocular/intravitreal triamcinolone, dexamethasone implant, fluocinolone implant, vitreous biopsy, and the syphilis/TB pre-immunosuppression decision gate are encoded as non_pharm procedure/decision entries. SUN 2005 classification + SUN 2021 Classification Criteria are document-style standards; both carry stable PMIDs (16196117, 33848532, 34459962). AAO/Ocular-Immunology IMT guidance is cited via primary_guideline text (currency re-checked via WebSearch 2026-05-17 — no superseding uveitis-specific PPP). All 16 evidence.pmids are real and verified via PubMed this session. Bayesian linkage — pretest priors by SUN pattern (unilateral-acute-nongranulomatous → HLA-B27/HSV; bilateral-granulomatous → sarcoid/TB/VKH; posterior-focal → toxoplasma; posterior in immunocompromised → CMV/syphilis; elderly steroid-refractory → intraocular lymphoma), LRs for hypopyon / granulomatous KPs / HLA-B27 / ACE-chest-CT, the treat-infection-before-immunosuppress threshold, and bidirectional cross-engine routing edges by engine_id — is documented in the co-located _design-brief.md + _research-bundle.md; first-class TS LR fields remain schema-blocked (same constraint as the gold-template engine). Effect sizes (≥5): SYCAMORE paediatric JIA-uveitis adalimumab treatment-failure HR 0.25 (95% CI 0.12–0.49) (Ramanan NEJM 2017, PMID 28445659); VISUAL II adalimumab time-to-treatment-failure HR 0.57 (95% CI 0.39–0.84) (Nguyen/Jaffe Lancet 2016, PMID 27542302), integrated VISUAL I/II HR 0.56/0.52 (PMID 30015528); FAST posterior-uveitis/panuveitis methotrexate vs mycophenolate treatment success 74.4% vs 55.3%, OR 2.35 (95% CI 1.16–4.90) (Rathinam JAMA 2019, PMID 31503307), FAST pilot 69% vs 47% (PMID 24917273); POINT uveitic-ME central-subfield-thickness reduction ≈46% (implant) / ≈39% (IVT) vs ≈23% (periocular) at 8 weeks, with intravitreal IOP≥24 HR ≈2.5 (PMID 30269924); MUST fluocinolone implant cataract HR 3.0 and glaucoma HR 3.0 / ~4-fold IOP elevation vs systemic therapy (PMID 26298718, 23601801); JIA-uveitis prevalence 20.1%, 88.7% within 4 y of arthritis onset, mostly asymptomatic (Grassi J Rheumatol 2007, PMID 17343317).

Entry points (5)

  • symptom
    Painful, photophobic red eye with blurred vision, circumcorneal (ciliary) injection ± constricted/irregular pupil — acute anterior uveitis/iritis, the commonest presentation (SUN Jabs Am J Ophthalmol 2005)
    painful_photophobic_red_eye_with_blurred_vision
  • symptom
    Floaters and painless visual blurring with little/no external injection — intermediate (vitritis/snowballs) or posterior uveitis (chorioretinitis) until proven otherwise (SUN 2021 Classification Criteria)
    floaters_painless_blurring_no_injection
  • symptom
    Hypopyon or recurrent acute non-granulomatous anterior uveitis — HLA-B27 spondyloarthropathy spectrum / Behçet pattern (SUN 2021; AAO uveitis guidance)
    hypopyon_or_recurrent_acute_anterior_uveitis
  • problem_list
    Known HLA-B27 spondyloarthropathy / sarcoidosis / Behçet / JIA, or an at-risk child needing asymptomatic-uveitis screening slit-lamp (Grassi J Rheumatol 2007 — JIA uveitis 20% prevalence, 88.7% within 4 y of arthritis onset)
    known_systemic_association_or_jia_child
  • history
    Immunocompromised / HIV with visual symptoms — CMV retinitis, syphilitic or atypical infectious posterior uveitis (Sharma Int J STD AIDS 2024 — ocular syphilis the "great masquerader")
    immunocompromised_with_visual_symptoms

Required inputs (17)

  • anatomic_class_anterior_intermediate_posterior_panrequired
    symptom • used at ENTRY
    Primary site of inflammation (anterior vs intermediate vs posterior vs pan) is the SUN-defined organising axis that selects the cause list, the work-up, and the treatment route (Jabs Am J Ophthalmol 2005; SUN 2021)
  • laterality_and_chronicityrequired
    symptom • used at ENTRY
    Unilateral-acute-recurrent → HLA-B27/HSV pattern; bilateral-chronic-insidious → sarcoid/TB/VKH/JIA pattern — laterality + chronicity reframe the pretest priors (SUN 2021 Classification Criteria)
  • granulomatous_vs_nongranulomatous_kprequired
    symptom • used at CONTEXT
    Mutton-fat (granulomatous) keratic precipitates / iris nodules raise sarcoid/TB/VKH/sympathetic prior; fine non-granulomatous KPs favour HLA-B27/HSV — strongest single morphological pivot (SUN 2021; AAO uveitis guidance)
  • hypopyon_presentrequired
    symptom • used at CONTEXT
    Mobile hypopyon → HLA-B27 acute anterior uveitis or Behçet; immobile/with retinitis → endophthalmitis route-out — drives infectious-vs-immune branch (SUN 2021 Behçet criteria)
  • pain_photophobia_vs_painlessrequired
    symptom • used at CONTEXT
    Pain + photophobia + ciliary injection localises anterior; painless floaters localise intermediate/posterior — also the pivot vs conjunctivitis (no pain/photophobia/vision loss) (SUN Jabs 2005)
  • systemic_review_spa_sarcoid_behcet_ibdrequired
    history • used at CONTEXT
    Back pain/enthesitis (SpA), cough/erythema nodosum/lymphadenopathy (sarcoid), oral/genital ulcers (Behçet), GI symptoms (IBD) targets the systemic-association screen (SUN 2021; AAO uveitis guidance)
  • infectious_exposure_tb_syphilis_hsv_toxorequired
    history • used at CONTEXT
    TB/endemic exposure, syphilis/STI risk, prior HSV/VZV, toxoplasma/CMV risk — the treatable-infectious screen that MUST precede or accompany immunosuppression (Sharma Int J STD AIDS 2024; AAO IMT guidance 2017/2018)
  • vision_threatening_red_flagsrequired
    symptom • used at RED_FLAGS
    Profound/sudden vision loss, fixed mid-dilated pupil + cloudy cornea (angle closure), corneal infiltrate (keratitis), boring pain + scleral tenderness (scleritis), post-procedure/endogenous endophthalmitis → route OUT by engine_id (SUN 2021; AAO)
  • intraocular_pressurerequired
    imaging • used at RED_FLAGS
    High IOP → uveitic glaucoma / angle-closure differentiation; low IOP → ciliary shutdown/hypotony — both are management-altering and route-relevant (MUST IOP/glaucoma Friedman Ophthalmology 2013)
  • pediatric_jia_status
    history • used at CONTEXT
    JIA-associated anterior uveitis is typically ASYMPTOMATIC and chronic — needs scheduled screening slit-lamp regardless of symptoms (Grassi J Rheumatol 2007; Ramanan NEJM 2017 SYCAMORE)
  • pregnancy
    demographic • used at TREATMENT
    Methotrexate and mycophenolate are teratogenic and contraindicated in pregnancy — gates the steroid-sparing arm (FAST Rathinam JAMA 2019)
  • syphilis_serology_treponemalrequired
    lab • used at INITIAL_WORKUP
    Treponemal + non-treponemal serology in essentially all non-trivial/posterior/recurrent uveitis — syphilis is the great masquerader and is curable with pathogen-directed therapy (Sharma Int J STD AIDS 2024)
  • igra_or_tst_tbrequired
    lab • used at INITIAL_WORKUP
    IGRA/TST for TB uveitis and as the mandatory pre-biologic / pre-immunosuppression latent-TB screen (AAO IMT guidance — anti-TNF needs TB screen; VISUAL trials)
  • ace_and_chest_imaging_sarcoid
    lab • used at BRANCHING_WORKUP
    Serum ACE + chest X-ray/CT for sarcoid-associated granulomatous uveitis (bilateral granulomatous pattern raises this prior) (SUN 2021 sarcoid criteria)
  • hla_b27
    lab • used at BRANCHING_WORKUP
    HLA-B27 in unilateral acute non-granulomatous anterior uveitis — strong association with the spondyloarthropathy spectrum and recurrence risk; routes to rheum.spondyloarthropathy.core.v1 (SUN 2021 HLA-B27 AAU criteria)
  • oct_macula_for_cme
    imaging • used at BRANCHING_WORKUP
    OCT for cystoid macular oedema — the leading cause of uveitic visual loss and the monitored treatment target (POINT Thorne Ophthalmology 2018)
  • cbc_lft_renal_before_antimetabolite
    lab • used at TREATMENT
    Baseline CBC/LFT/renal before and during methotrexate/mycophenolate (elevated LFTs the most common AE in FAST) and for biologic safety (FAST Rathinam JAMA 2019)

12-phase flow (12)

  1. 1FRAME
    Frame as SUN-classified intraocular inflammation by anatomic site; state that vision-threatening look-alikes (angle closure, keratitis, scleritis, endophthalmitis, intraocular-lymphoma masquerade) and the systemic-disease engines are recognised and routed OUT by engine_id, not re-authored here. Establish the over-arching guardrail: treatable infectious causes are excluded before / alongside immunosuppression (AAO IMT guidance 2017/2018; Sharma Int J STD AIDS 2024).
    advance: uveitis scope + SUN frame confirmed; not-this-engine concerns route-mapped by engine_id
  2. 2ENTRY
    Recognise the presentation and assign the SUN anatomic class (anterior/intermediate/posterior/pan), laterality, and chronicity up front — these select the cause list and the work-up (Jabs Am J Ophthalmol 2005; SUN 2021 Classification Criteria).
    inputs: anatomic_class_anterior_intermediate_posterior_pan, laterality_and_chronicity
    actions: workup.acute_red_eye
    advance: entry trigger present; SUN class + laterality + chronicity recorded
  3. 3CONTEXT
    Pattern + association substrate: granulomatous vs non-granulomatous KP morphology, hypopyon, pain/photophobia vs painless, systemic review (SpA/sarcoid/Behçet/IBD), infectious exposure (TB/syphilis/HSV/toxo/CMV), paediatric JIA status. This phase builds the Bayesian pretest map by SUN pattern (SUN 2021; AAO uveitis guidance).
    inputs: granulomatous_vs_nongranulomatous_kp, hypopyon_present, pain_photophobia_vs_painless, systemic_review_spa_sarcoid_behcet_ibd, infectious_exposure_tb_syphilis_hsv_toxo, pediatric_jia_status
    actions: workup.lymphadenopathy
    advance: SUN pattern + systemic/infectious pretest priors assigned
  4. 4RED_FLAGS
    Screen vision-threatening look-alikes and route OUT by engine_id: fixed mid-dilated pupil + cloudy cornea + high IOP → ophtho.acute-angle-closure-glaucoma.core.v1; corneal infiltrate/dendrite → keratitis; boring pain + scleral tenderness → scleritis; post-procedure/endogenous hypopyon with retinitis → endophthalmitis (sight-threatening, vitreous tap + intravitreal antibiotics — not managed here). Capture IOP (uveitic-glaucoma surveillance starts now).
    inputs: vision_threatening_red_flags, intraocular_pressure
    actions: workup.acute_vision_loss
    advance: vision-threatening mimics screened; routed OUT by engine_id if positive; IOP recorded
  5. 5INITIAL_WORKUP
    TARGETED (not shotgun) work-up driven by SUN pattern. Near-universal in non-trivial/recurrent/posterior disease: treponemal + non-treponemal syphilis serology and IGRA/TST (the treatable-infectious + pre-immunosuppression screen). Slit-lamp SUN grading of anterior-chamber cells/flare and vitreous haze; dilated fundus for chorioretinal lesions/vasculitis (Sharma 2024; AAO IMT guidance; SUN Jabs 2005).
    inputs: syphilis_serology_treponemal, igra_or_tst_tb
    actions: panel.cbc, panel.inflammation
    advance: SUN grading documented; syphilis + TB screen sent; infectious guardrail activated
  6. 6BRANCHING_WORKUP
    Pattern-directed cascade: unilateral-acute-non-granulomatous → HLA-B27 (→ rheum.spondyloarthropathy.core.v1); bilateral-granulomatous → ACE + chest CT (sarcoid), QuantiFERON + chest imaging (TB → id.tuberculosis.core.v1); posterior focal retinochoroiditis → toxoplasma serology; posterior necrotising retinitis in immunocompromised → CMV/HSV-VZV; positive syphilis serology → id.syphilis.core.v1. OCT macula for CME; consider diagnostic vitrectomy/aqueous tap if masquerade (intraocular lymphoma in the elderly) suspected (SUN 2021; Sharma 2024).
    inputs: ace_and_chest_imaging_sarcoid, hla_b27, oct_macula_for_cme
    actions: workup.lymphadenopathy, panel.cmp
    advance: cause-specific tests resolved or masquerade/infection routed by engine_id
  7. 7DIFFERENTIAL
    Terminal differential with named pivots: HLA-B27 acute anterior uveitis (unilateral, recurrent, fibrinous, hypopyon, +HLA-B27 pivot) vs HSV/VZV anterior (sectoral iris atrophy + raised IOP + corneal scar pivot) vs sarcoid (bilateral granulomatous mutton-fat KP + hilar adenopathy pivot) vs Behçet (hypopyon + retinal vasculitis + oral/genital ulcers pivot) vs JIA (asymptomatic chronic paediatric anterior, band keratopathy pivot) vs toxoplasma (focal retinochoroiditis adjacent to old scar pivot) vs syphilis/TB (any pattern — serology/IGRA pivot) vs intraocular lymphoma (elderly, vitreous cells, steroid-refractory — vitreous biopsy pivot). Distinguish from conjunctivitis / angle closure / keratitis / scleritis / endophthalmitis (SUN 2021 Classification Criteria).
    advance: single best uveitic diagnosis selected (or infectious/masquerade routed); infection status known before immunosuppression
  8. 8RISK_STRATIFICATION
    Sight-threat stratification: anatomic site (posterior/pan > intermediate > anterior risk), CME on OCT, optic-nerve/macular involvement, hypotony, uveitic glaucoma, bilaterality, paediatric JIA (high silent-complication burden — Grassi 2007). Posterior/pan and chronic non-infectious sight-threatening disease escalate the treatment tier. Systemic-toxicity calculators support the inpatient infectious-uveitis subset.
    inputs: oct_macula_for_cme, intraocular_pressure
    actions: calc.news2
    advance: sight-threat tier + site-specific treatment route assigned
  9. 9TREATMENT
    Tiered, infection-gated treatment: (1) INFECTIOUS — pathogen-directed therapy first (aciclovir/valaciclovir for HSV/VZV; pyrimethamine-sulfadiazine/co-trimoxazole for toxoplasma; pen-G/route to id.syphilis.core.v1; route TB to id.tuberculosis.core.v1) — corticosteroid only with antimicrobial cover; (2) NON-INFECTIOUS ANTERIOR — topical prednisolone acetate 1% with taper + cycloplegic (cyclopentolate/atropine) to relieve ciliary spasm and prevent posterior synechiae; (3) escalate sight-threatening intermediate/posterior/pan — periocular/intravitreal triamcinolone or dexamethasone implant, or systemic prednisone; (4) CHRONIC non-infectious steroid-dependent → steroid-sparing antimetabolite (methotrexate/mycophenolate; methotrexate favoured for posterior/pan in FAST) and biologic (adalimumab) for refractory/sight-threatening — TB/HBV/syphilis screened FIRST. Gate teratogens in pregnancy (FAST JAMA 2019; VISUAL Lancet 2016; POINT Ophthalmology 2018; SYCAMORE NEJM 2017).
    inputs: pregnancy, cbc_lft_renal_before_antimetabolite, igra_or_tst_tb
    advance: infection excluded/treated; site-appropriate anti-inflammatory tier started; steroid-sparing plan set if chronic non-infectious
  10. 10DISPOSITION
    Isolated mild non-granulomatous anterior uveitis → outpatient ophthalmology with topical therapy + 1-week review. Sight-threatening posterior/pan, hypopyon with systemic Behçet, infectious posterior uveitis needing IV therapy, or paediatric severe JIA uveitis → urgent uveitis-specialist referral ± admission (e.g., IV antimicrobial/IV methylprednisolone). Suspected endophthalmitis/angle-closure/lymphoma masquerade → route OUT by engine_id same-day (SUN 2021; AAO).
    inputs: vision_threatening_red_flags
    advance: disposition documented; specialist referral/admission/route-out actioned
  11. 11MONITORING
    Active-inflammation monitoring on the SUN scale: serial anterior-chamber cell/flare and vitreous-haze grading to "inactive"; IOP at every visit (steroid-response AND uveitic glaucoma — implant carries ~4-fold IOP risk and ~3-fold glaucoma in MUST, Friedman 2013 / MUST 2015); OCT for CME response (POINT). Steroid-sparing safety: CBC/LFT/renal on antimetabolites (FAST — LFT elevation the commonest AE); biologic infection vigilance. Counsel that corticosteroid taper is gradual to avoid rebound.
    inputs: oct_macula_for_cme, cbc_lft_renal_before_antimetabolite, intraocular_pressure
    actions: panel.cmp
    advance: inflammation trending to inactive on SUN grading; IOP/CME/IMT-safety surveillance running
  12. 12FOLLOWUP
    Chronic-disease arc (the deep tail of this engine): structured corticosteroid-sparing taper to ≤7.5 mg prednisone with sustained inactivity (FAST endpoint); long-term antimetabolite/biologic continuation with periodic CBC/LFT/renal + biologic infection surveillance; recurrence counselling and rapid-access pathway for HLA-B27 recurrent AAU; complication surveillance and management routing — uveitic glaucoma (→ ophtho.acute-angle-closure-glaucoma.core.v1 for secondary glaucoma), cataract, band keratopathy, persistent CME, hypotony; PAEDIATRIC JIA asymptomatic-uveitis screening slit-lamp schedule by ANA/age/subtype with early methotrexate/adalimumab (Grassi J Rheumatol 2007; Wennink Acta Ophthalmol 2022 — earlier IMT improved outcomes; Ramanan NEJM 2017). Co-manage the systemic association via its engine_id.
    inputs: pediatric_jia_status, systemic_review_spa_sarcoid_behcet_ibd
    advance: steroid-sparing maintenance + complication-surveillance + paediatric screening plan documented; systemic association co-managed by engine_id