Acute red eye (undifferentiated triage)
TRIAGE-framed engine — the undifferentiated acute red eye front door. It OWNS the benign-vs-sight-threatening separation + routing; it does NOT re-author definitive management of any dangerous cause. Cross-engine routing by engine_id: ophtho.acute-conjunctivitis.core.v1 (benign conjunctivitis), ophtho.microbial-keratitis.core.v1 (keratitis incl. contact-lens/HSV), ophtho.uveitis.core.v1 (iritis/scleritis arm), ophtho.acute-angle-closure-glaucoma.core.v1 (AACG), ophtho.acute-vision-loss.core.v1 (endophthalmitis/CRAO vision-loss arm), ophtho.orbital-cellulitis.core.v1 (orbital cellulitis) — ≥5 routing edges, bidirectional carryover. Immediate-harm-prevention is the only therapy authored here: chemical-burn copious irrigation-FIRST, exam-only proparacaine (never dispensed), rigid-shield/NPO for suspected globe rupture, stop-contact-lens/never-patch, WITHHOLD-topical-steroid-until-HSV-and-microbial-keratitis-excluded, plus benign-cause symptomatic care (artificial tears, ketotifen for allergic, lid hygiene) and a systemic analgesia bridge; fortified/topical antimicrobials, cycloplegics, topical steroids, IOP-lowering cascades and intravitreal antibiotics are all routed OUT. RxCUIs are the well-established RxNorm ingredient identifiers for the only concrete drugs given at triage: acetaminophen 161 (analgesia bridge) and ketotifen 28889 (allergic-conjunctivitis first-line); flagged for live RxNav re-confirmation next session. Proparacaine, irrigation, shield, no-patch, withhold-steroid and route-out are non_pharm decision/protective gates (no fabricated rxcui). Bayesian linkage (pre-test priors across the full red-eye differential by setting; LR+/LR− for pain, reduced acuity, photophobia, ciliary flush, fixed/irregular pupil, corneal opacity, fluorescein uptake, raised IOP, contact-lens use, trauma; T_treat/T_route thresholds; ≥5 cross-engine routing edges by engine_id; benign-vs-dangerous pivot per look-alike pair) is documented in the co-located _design-brief.md + _research-bundle.md; first-class TS LR fields remain schema-blocked (same constraint as derm.cellulitis.core.v1). Effect sizes (≥5): mucopurulent discharge LR+ 2.1 (95% CI 1.7-2.6) and preauricular node LR+ 2.5-5.6 for the conjunctivitis pivot (Johnson JAMA 2022 PMID 35699701); contact-lens microbial-keratitis annualised incidence 1.9/10,000 daily-wear soft vs 19.5/10,000 overnight soft vs 25.4/10,000 overnight silicone-hydrogel, vision loss 0.6/10,000 wearers/yr (Stapleton Ophthalmology 2008 PMID 18538404); CL-associated keratitis annual incidence ~2-4/10,000, ~90% bacterial, permanent damage ~0.6/10,000/yr (Maier Dtsch Arztebl Int 2022 PMID 35912449); EVS — light-perception-only eyes gained 20/40 acuity 33% with immediate vitrectomy vs 11% with tap (PMID 7487614); HEDS acyclovir suppression cut HSV ocular recurrence to 19% vs 32% (rate ratio stromal 0.57, 95% CI 0.36-0.89; PMID 10922194); red eye is the commonest acute community ophthalmic presentation (~36.7% of minor-eye-scheme visits, Konstantakopoulou BMJ Open 2016 PMID 27515757). All 14 evidence.pmids are real, PubMed-verified red-eye triage anchors. Guideline freshness reconciled 2026-05-17: AAO PPP Conjunctivitis (2024), Bacterial Keratitis (2024), Anterior Uveitis (2023), Primary Angle Closure (2020) confirmed current; JAMA Rational Clinical Examination 2022 is the current best LR evidence for conjunctivitis discriminators; no superseding red-eye triage guideline as of retrieval date. Companion files mirror cellulitis-template depth.
Entry points (6)
- symptomAcute ocular redness ± discharge, the undifferentiated chief complaint — the highest-yield primary-care/ED ophthalmic triage decision (Johnson JAMA 2022 PMID 35699701; AAO PPP Conjunctivitis 2024)acute_red_eye_undifferentiated
- symptomRed eye with TRUE ocular pain (deep ache/boring vs gritty foreign-body) — pain is the strongest single danger discriminator vs benign conjunctivitis (Wills Eye Manual red-eye triage; AAFP Beaver Compr Ther 2001 PMID 11569323)red_eye_with_true_ocular_pain
- symptomRed eye with reduced visual acuity and/or photophobia — the danger triad with pain; sight-threatening until excluded (AAO PPP Bacterial Keratitis 2024; AAO PPP Anterior Uveitis 2023)red_eye_with_reduced_vision_or_photophobia
- historyContact-lens wearer with an acute painful red eye — microbial keratitis until proven otherwise; never patch, never empiric steroid (Stapleton Ophthalmology 2008 PMID 18538404; Maier Dtsch Arztebl Int 2022 PMID 35912449)contact_lens_wearer_red_eye
- historyRed eye after trauma or chemical/alkali splash — irrigate-first then assess for globe rupture/hyphema/chemical burn (Beal J Pediatr Health Care 2016 PMID 26948259)ocular_trauma_or_chemical_exposure
- problem_listAcute red painful eye after recent intraocular surgery or intravitreal injection — endophthalmitis until excluded (EVS Arch Ophthalmol 1995 PMID 7487614)post_intraocular_surgery_or_injection_red_eye
Required inputs (16)
- pain_characterrequiredsymptom • used at ENTRYTRUE ocular pain (deep ache/boring, photophobic) vs gritty/itchy foreign-body sensation is the single strongest benign-vs-dangerous pivot — itch favours allergic/viral conjunctivitis, deep pain favours keratitis/uveitis/scleritis/AACG (Wills Eye Manual; Beaver Compr Ther 2001 PMID 11569323)
- visual_acuity_changerequiredsymptom • used at ENTRYReduced/blurred acuity not clearing with blink is a danger sign that excludes uncomplicated conjunctivitis and mandates corneal/uveal/glaucoma/endophthalmitis work-up (AAO PPP Bacterial Keratitis 2024; Perumal NZ Med J 2011 PMID 21952383)
- photophobia_and_ciliary_flushrequiredsymptom • used at CONTEXTTrue photophobia + perilimbal ciliary (circumcorneal) injection indicates corneal/anterior-chamber pathology (keratitis, uveitis, AACG) rather than superficial conjunctival disease (AAO PPP Anterior Uveitis 2023)
- discharge_characterrequiredsymptom • used at CONTEXTWatery/serous → viral; mucopurulent → bacterial; stringy/ropy + itch → allergic — drives the benign-conjunctivitis arm and antibiotic-stewardship decision (Johnson JAMA 2022 PMID 35699701 — mucopurulent discharge LR+ 2.1 for bacterial)
- contact_lens_use_and_hygienerequiredhistory • used at CONTEXTContact-lens wear is THE dominant preventable microbial-keratitis risk; overnight wear escalates risk ~10-25× — converts a red eye into a sight-threat until keratitis excluded (Stapleton Ophthalmology 2008 PMID 18538404)
- trauma_or_chemical_exposurerequiredhistory • used at RED_FLAGSGlobe rupture / penetrating injury / chemical (esp. alkali) burn are immediate sight-threats; chemical exposure mandates irrigate-FIRST before any other step (Beal J Pediatr Health Care 2016 PMID 26948259)
- pupil_and_corneal_clarityrequiredsymptom • used at RED_FLAGSFixed mid-dilated pupil + cloudy/steamy cornea → acute angle-closure; small/irregular pupil + flush → uveitis; corneal opacity/infiltrate → keratitis — the core danger-exam triad (Wills Eye Manual red-eye triage)
- fluorescein_uptake_patternrequiredsymptom • used at INITIAL_WORKUPFluorescein staining: dendrite → HSV (do NOT give steroid); geographic/ulcerated infiltrate → microbial keratitis; diffuse punctate → dry eye/exposure; abrasion → uncomplicated (AAO PPP Bacterial Keratitis 2024; HEDS Ophthalmology 1994 PMID 7997323)
- intraocular_pressurerequiredvital • used at RED_FLAGSIOP markedly raised (often >40-50 mmHg) with a red painful eye + halos + fixed pupil = acute angle-closure glaucoma — a true ocular emergency routed OUT for immediate lowering (AAO PPP Primary Angle Closure 2020)
- proptosis_motility_lid_signsrequiredsymptom • used at RED_FLAGSProptosis, painful/restricted eye movement, lid erythema/edema → orbital cellulitis (vs preseptal) — vision- and life-threatening, IV antibiotics + imaging, routed OUT (Papier Am Fam Physician 2007 PMID 18217520)
- herpes_zoster_featureshistory • used at CONTEXTV1 dermatome vesicular rash + Hutchinson sign (nasociliary nasal-tip involvement) → herpes-zoster ophthalmicus; HZO/HSV alters work-up and contraindicates empiric steroid (HEDS Arch Ophthalmol 2000 PMID 10922194)
- immunocompromisehistory • used at CONTEXTImmunosuppression → atypical, fulminant, fungal/Acanthamoeba/HSV presentations; lowers the threshold for urgent ophthalmology and broadens the differential (Stapleton Eye 2011 PMID 22134592)
- pregnancydemographic • used at TREATMENTDrug-safety gating for any analgesic/antimicrobial started here and for routed definitive Rx (aminoglycoside/fluoroquinolone/tetracycline considerations) (AAO PPP Bacterial Keratitis 2024)
- recent_intraocular_surgery_or_injectionhistory • used at RED_FLAGSAcute red painful eye after cataract surgery / intravitreal injection / glaucoma surgery → post-procedural endophthalmitis — sight-threatening emergency routed OUT (EVS Arch Ophthalmol 1995 PMID 7487614)
- unilateral_vs_bilateral_and_contact_historysymptom • used at CONTEXTBilateral watery red eye with sick contacts and normal vision strongly favours benign viral conjunctivitis; strict unilateral painful red eye raises the dangerous prior (Johnson JAMA 2022 PMID 35699701 — contact with red-eye person LR+ 2.5 for viral)
- slit_lamp_or_orbital_ctimaging • used at BRANCHING_WORKUPSlit-lamp (anterior chamber cells/flare/hypopyon, infiltrate, hyphema) is the definitive triage tool; orbital CT when orbital cellulitis/occult rupture/foreign body suspected (AAO PPP Anterior Uveitis 2023; Papier Am Fam Physician 2007 PMID 18217520)
12-phase flow (12)
- 1FRAMEFrame the acute red eye as a TRIAGE problem: the dominant task is separating the ~80-95% benign self-limited red eye (conjunctivitis, subconjunctival hemorrhage, episcleritis, blepharitis, dry eye, pterygium) from the sight-threatening can't-miss set (microbial keratitis, anterior uveitis, scleritis, acute angle-closure glaucoma, endophthalmitis, orbital cellulitis, chemical burn, globe rupture, hyphema). This engine OWNS the triage + routing; definitive management of each dangerous cause is routed OUT by engine_id, not re-authored here (AAO PPP Conjunctivitis 2024; Wills Eye Manual red-eye triage).advance: triage scope confirmed; definitive-management concerns flagged for route-out by engine_id
- 2ENTRYCapture the undifferentiated red eye and immediately elicit the DANGER TRIAD up front: TRUE ocular pain (vs gritty/itch), visual-acuity change, photophobia. Any one positive moves the prior decisively toward the sight-threatening set and out of the uncomplicated-conjunctivitis lane (Beaver Compr Ther 2001 PMID 11569323; Perumal NZ Med J 2011 PMID 21952383).inputs: pain_character, visual_acuity_changeactions: workup.acute_red_eyeadvance: red-eye entry recognised; danger triad (pain/acuity/photophobia) screened
- 3CONTEXTBuild the triage prior: photophobia + ciliary flush; discharge character (watery=viral, mucopurulent=bacterial, ropy+itch=allergic); contact-lens wear & hygiene; laterality + sick contacts; zoster (V1/Hutchinson) features; immunocompromise. This phase assigns the pre-test probability across the full benign-vs-dangerous differential (Johnson JAMA 2022 PMID 35699701; Stapleton Ophthalmology 2008 PMID 18538404).inputs: photophobia_and_ciliary_flush, discharge_character, contact_lens_use_and_hygiene, unilateral_vs_bilateral_and_contact_history, herpes_zoster_features, immunocompromiseactions: workup.acute_red_eye, workup.lymphadenopathyadvance: pre-test differential prior assigned across benign + sight-threatening causes
- 4RED_FLAGSHard sight-threat / globe-emergency screen, each recognised then routed OUT by engine_id: (1) chemical/alkali splash → STOP and irrigate copiously FIRST (before vision/exam) then route; (2) globe rupture / penetrating trauma → shield, no pressure, route; (3) fixed mid-dilated pupil + steamy cornea + IOP↑ + halos → acute angle-closure (protocol.angle_closure) → ophtho.acute-angle-closure-glaucoma.core.v1; (4) contact-lens painful red eye + corneal infiltrate → microbial keratitis → ophtho.microbial-keratitis.core.v1; (5) proptosis/painful motility/lid signs → orbital cellulitis → ophtho.orbital-cellulitis.core.v1; (6) post-op/post-injection red painful eye + hypopyon → endophthalmitis → ophtho.acute-vision-loss.core.v1; (7) sudden painless visual loss with quiet/red eye → consider CRAO (protocol.crao). These are recognised here, NOT managed here.inputs: trauma_or_chemical_exposure, pupil_and_corneal_clarity, intraocular_pressure, proptosis_motility_lid_signs, recent_intraocular_surgery_or_injectionactions: protocol.angle_closure, protocol.crao, calc.qsofaadvance: all globe-emergency red flags screened and routed by engine_id if positive
- 5INITIAL_WORKUPStructured bedside triage exam: visual acuity (each eye, pinhole), penlight/slit-lamp injection pattern (diffuse conjunctival vs perilimbal ciliary flush), pupil, FLUORESCEIN under cobalt blue (dendrite=HSV → no steroid; ulcer/infiltrate=microbial keratitis; punctate=dry/exposure), IOP, lid eversion for foreign body. Bloods only when systemic/orbital/sepsis context (CBC/inflammation/CMP) — most benign red eye needs NO labs (AAO PPP Bacterial Keratitis 2024; HEDS Ophthalmology 1994 PMID 7997323).inputs: fluorescein_uptake_patternactions: panel.cbc, panel.inflammation, panel.cmpadvance: acuity + injection pattern + pupil + fluorescein + IOP documented; corneal/AC pathology screened
- 6BRANCHING_WORKUPTriage decision tree off the exam: corneal infiltrate/ulcer ± hypopyon → microbial keratitis arm (scrape/route); anterior-chamber cells/flare, small irregular pupil, ciliary flush → anterior uveitis arm; deep boring pain, violaceous non-blanching scleral vessels → scleritis arm; fixed pupil + IOP↑ → AACG arm; sectoral blanching injection, mild → episcleritis (benign); diffuse + discharge + normal acuity → conjunctivitis arm (benign); blood under conjunctiva, painless, normal vision → subconjunctival hemorrhage (benign); slit-lamp / orbital CT when occult rupture, foreign body, or orbital cellulitis suspected (Wills Eye Manual; AAO PPP Anterior Uveitis 2023).inputs: slit_lamp_or_orbital_ctactions: workup.acute_vision_loss, workup.acute_headacheadvance: single best diagnostic arm selected; dangerous arm routed by engine_id
- 7DIFFERENTIALTerminal red-eye differential with explicit pivot findings — BENIGN: viral conjunctivitis (bilateral watery + preauricular node + sick contact + normal vision pivot), bacterial conjunctivitis (mucopurulent + lids stuck pivot), allergic conjunctivitis (bilateral itch + ropy + atopy pivot), subconjunctival hemorrhage (painless flat blood + normal vision pivot), episcleritis (sectoral, blanches with phenylephrine, no photophobia pivot), blepharitis/dry eye (chronic gritty + lid-margin pivot), pterygium. SIGHT-THREATENING: microbial keratitis (contact-lens + corneal infiltrate + pain pivot), anterior uveitis (ciliary flush + AC cells + photophobia + miosis pivot), scleritis (severe boring pain + violaceous deep vessels not blanching pivot), acute angle-closure glaucoma (fixed mid-dilated pupil + IOP↑ + halos + headache/vomiting pivot), endophthalmitis (post-op/injection + hypopyon + rapid vision loss pivot), orbital cellulitis (proptosis + painful motility + fever pivot), chemical burn / globe rupture / hyphema (history + exam pivot). Co-existence flagged (e.g., keratitis with secondary uveitis).advance: best diagnosis selected; benign vs sight-threatening lane assigned; co-existence flagged
- 8RISK_STRATIFICATIONConvert exam into urgency tier driving disposition: TIER 1 same-hour ophthalmology emergency (AACG, chemical burn, globe rupture, endophthalmitis, microbial keratitis with central/large infiltrate, orbital cellulitis); TIER 2 same-day ophthalmology (anterior uveitis, scleritis, HSV/HZO keratitis, hyphema, contact-lens keratitis small peripheral); TIER 3 routine/self-care (viral/allergic conjunctivitis, subconjunctival hemorrhage, episcleritis, blepharitis, dry eye). qSOFA/NEWS2 only when systemic/orbital sepsis context (orbital cellulitis, septic endophthalmitis source) (Wills Eye Manual triage; Papier Am Fam Physician 2007 PMID 18217520).inputs: visual_acuity_change, intraocular_pressureactions: calc.qsofa, calc.news2advance: urgency tier assigned; route-out targets identified by engine_id
- 9TREATMENTTRIAGE engine — definitive treatment of each dangerous cause is ROUTED OUT, not authored here. What IS done here: (1) chemical burn → immediate copious irrigation to neutral pH (non-pharm, the only thing that must precede everything); (2) topical anaesthetic (proparacaine) for EXAM ONLY — never dispensed; (3) shield (no pressure) for suspected rupture; (4) stop contact-lens wear and never patch a contact-lens-associated red eye; (5) WITHHOLD topical steroids until HSV/microbial keratitis excluded; (6) symptomatic care for confirmed-benign causes (artificial tears, cool compress, antihistamine for allergic, lid hygiene for blepharitis); (7) systemic analgesia bridge for severe pain pending route-out. Antibiotic stewardship: most acute conjunctivitis is viral/self-limited — do NOT reflexively prescribe topical antibiotics (Johnson JAMA 2022 PMID 35699701; AAO PPP Conjunctivitis 2024).inputs: pregnancy, fluorescein_uptake_patternadvance: immediate-harm-prevention steps done (irrigation/shield/no-patch/withhold-steroid); definitive Rx routed by engine_id; benign-cause symptomatic plan started
- 10DISPOSITIONTier 1 → emergency same-hour ophthalmology + route by engine_id (AACG → ophtho.acute-angle-closure-glaucoma.core.v1; microbial keratitis → ophtho.microbial-keratitis.core.v1; endophthalmitis → ophtho.acute-vision-loss.core.v1; orbital cellulitis → ophtho.orbital-cellulitis.core.v1; chemical burn after irrigation → ophtho.microbial-keratitis.core.v1/ophthalmology). Tier 2 → same-day ophthalmology (uveitis → ophtho.uveitis.core.v1; scleritis; HSV keratitis). Tier 3 benign → primary-care self-care + explicit return precautions (any new pain, vision drop, photophobia → re-present). Document the eye-specific safety-net (Beaver Compr Ther 2001 PMID 11569323; Konstantakopoulou BMJ Open 2016 PMID 27515757).inputs: visual_acuity_changeadvance: disposition + route-out engine_id documented; benign cases given vision-specific return precautions
- 11MONITORINGFor benign causes retained here: re-evaluate at 48-72 h if not improving — any emergent pain, falling acuity, photophobia, or corneal change converts a presumed-benign red eye into a sight-threat and re-triggers RED_FLAGS routing. Counsel that viral conjunctivitis can worsen over the first 3-5 days before improving (prevents premature antibiotic escalation). Confirm route-out engines received carryover state for the dangerous cases (Johnson JAMA 2022 PMID 35699701; AAO PPP Conjunctivitis 2024).inputs: visual_acuity_change, pain_characteractions: workup.acute_red_eyeadvance: benign cause improving by 48-72 h OR re-triage triggered; route-out carryover confirmed
- 12FOLLOWUPBenign causes: education + return precautions are the core deliverable — explicit "RED-FLAG return": new true pain, any vision drop, severe photophobia, halos, contact-lens-associated symptoms → immediate re-present. Contact-lens hygiene counselling (no overnight wear, no tap-water/showering in lenses, replace case) — the dominant preventable microbial-keratitis driver (Stapleton Ophthalmology 2008 PMID 18538404). Allergic: allergen avoidance + mast-cell stabiliser bridge. Recurrent HSV: suppression decision routed to keratitis engine (HEDS Arch Ophthalmol 2000 PMID 10922194). For routed dangerous cases, ownership transfers to the receiving engine.inputs: contact_lens_use_and_hygieneadvance: return-precaution + prevention counselling documented; recurrent/HSV/contact-lens prevention routed if applicable