Clinical Commander

All dossiers
ophtho.acute-conjunctivitis.core.v1

Acute conjunctivitis (viral / bacterial / allergic, with red-flag red-eye routing)

general_internal_medicineacutesubacuteadultpediatricacuteoutpatientinpatient

ACUTE-CONJUNCTIVITIS engine with a mandatory sight-threatening red-eye routing layer. Core deliverable = viral/bacterial/allergic/gonococcal/chlamydial/neonatal subtype discrimination + antibiotic stewardship (most acute infective conjunctivitis is self-limited) + the red-flag screen that says "this is NOT simple conjunctivitis". Keratitis, anterior uveitis, acute angle-closure glaucoma, and scleritis are RECOGNISED then ROUTED OUT by engine_id (ophtho.acute-red-eye.core.v1, ophtho.keratitis.core.v1, ophtho.uveitis.core.v1, ophtho.acute-angle-closure-glaucoma.core.v1) — not re-authored here. Contact-lens red eye is keratitis-until-excluded: discontinue lens, NEVER patch. RxCUIs validated live against RxNav 2026-05-17: erythromycin 4053, ceftriaxone 2193, azithromycin 18631, doxycycline 3640, olopatadine 135391, ketotifen 6146, polymyxin B 8536, trimethoprim 10829, moxifloxacin 139462. Polymyxin B–trimethoprim and topical-steroid/lavage/discontinue-lens entries are flagged non_pharm (no single fabricated combination-product code); component ingredient RxCUIs are cited where confident, omitted rather than invented otherwise. The AAO Conjunctivitis PPP was updated as "Conjunctivitis PPP 2023" and republished in Ophthalmology 2024 (literature searched 2022-03 / 2023-06; freely available aao.org & aaojournal.org S0161-6420(24)00009-5). The 2024 republication is not separately PMID-resolvable in the PubMed MCP this session, so the citable stable identifier remains the Varu 2018 PPP PMID 30366797; substance (judicious antibiotics, systemic gonococcal/chlamydial Rx, contact-lens keratitis vigilance, VKC cyclosporine 0.1%) is confirmed unchanged via WebSearch — flagged for next-session PMID re-confirmation. Bayesian linkage (pre-test viral/bacterial/allergic priors by feature+season+age; LR+/LR− for the discriminators — early-morning glued eye, itch, preauricular node, hyperacute purulent discharge — per Rietveld BMJ 2004; T_treat/T_observe antibiotic-stewardship thresholds; bidirectional cross-dossier 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 derm.cellulitis.core.v1). Effect sizes (≥5): Sheikh Cochrane 2012 early clinical-remission RR 1.36 (95% CI 1.15-1.61), late RR 1.21 (95% CI 1.10-1.33), 41% placebo resolved by d6-10; Sheikh Cochrane 2000 NNT ≈ 5 for clinical remission; Rietveld BMJ 2004 bacterial prevalence movable 32% → 4% or 77% by the 3-item rule (AUROC 0.74, 95% CI 0.63-0.80); Everitt BMJ 2006 duration of moderate symptoms 4.8 d (no abx) vs 3.3 d immediate (RR 0.7) vs 3.9 d delayed, immediate-prescribing reattendance OR 185.4 for antibiotic use; Liu Cochrane 2022 PVP-I symptom-resolution RR 1.15 (95% CI 1.07-1.24), sign-resolution RR 3.19 (95% CI 2.29-4.45); contact-lens microbial-keratitis incidence ~1.8-2.44 per 10,000 wearers vs 0.26-0.36 per 10,000 overall (Seal 1999), ~5-10x extended-wear risk; viral ≈ 80% of all acute conjunctivitis, adenovirus 65-90% of viral (Liu Cochrane 2022).

Entry points (6)

  • symptom
    Acute red eye with discharge or crusting/glued lids — the conjunctivitis presentation; subtype not yet assigned (Azari JAMA 2013; AAO Conjunctivitis PPP, Varu 2018)
    acute_red_eye_with_discharge
  • symptom
    Bilateral itchy, watery, chemotic eyes ± seasonality / atopy — allergic conjunctivitis entry (Azari JAMA 2013 — itch is the most consistent allergic sign)
    bilateral_itchy_watery_eyes
  • symptom
    Unilateral (then fellow-eye) watery red eye, follicular reaction, tender preauricular node — adenoviral / EKC entry, infection-control flag (Liu Cochrane 2022; AAO PPP Varu 2018)
    unilateral_watery_red_eye_with_preauricular_node
  • symptom
    HYPERACUTE copious purulent discharge over hours with marked lid edema — gonococcal conjunctivitis (ophthalmic emergency, corneal-perforation risk) (CDC STI 2021; Azari JAMA 2013)
    hyperacute_copious_purulent_discharge
  • demographic
    Neonate (≤28 days) with conjunctivitis/discharge — ophthalmia neonatorum (gonococcal/chlamydial/chemical), systemic-Rx pathway (CDC STI 2021; AAO PPP Varu 2018)
    neonate_under_28_days_with_conjunctivitis
  • history
    Contact-lens wearer with an acute red eye — elevated microbial-keratitis prior; conjunctivitis is a diagnosis of exclusion here (Seal Cont Lens Anterior Eye 1999; Truong Eye Contact Lens 2018)
    contact_lens_wearer_with_red_eye

Required inputs (16)

  • discharge_characterrequired
    symptom • used at CONTEXT
    Watery → viral; mucopurulent/glued lids → bacterial; hyperacute copious purulent → gonococcal emergency; ropy/mucoid → allergic — the single highest-yield subtype discriminator (Azari JAMA 2013; Rietveld BMJ 2004)
  • itch_dominancerequired
    symptom • used at CONTEXT
    Itch is the most consistent sign of ALLERGIC conjunctivitis and argues AGAINST a bacterial cause (Rietveld BMJ 2004 — itch lowers bacterial probability; Azari JAMA 2013)
  • morning_glued_eyelidsrequired
    symptom • used at CONTEXT
    Bilateral lids glued on waking is the strongest single positive predictor of a bacterial cause (Rietveld BMJ 2004 — early-morning glued eye raises bacterial probability)
  • laterality_and_spreadrequired
    symptom • used at CONTEXT
    Unilateral→fellow-eye spread + watery favors adenoviral; strictly bilateral itchy favors allergic; persistent unilateral favors chlamydial/atypical (Azari JAMA 2013; AAO PPP Varu 2018)
  • preauricular_lymphadenopathyrequired
    symptom • used at CONTEXT
    A tender preauricular node strongly favors viral (esp. adenoviral/EKC) or gonococcal/chlamydial over simple bacterial/allergic (Azari JAMA 2013)
  • contact_lens_userequired
    history • used at CONTEXT
    Contact-lens wear raises the microbial-keratitis prior ~5-10x and changes the pathogen spectrum (Pseudomonas); a contact-lens red eye is keratitis until excluded — never patch, urgent referral (Seal 1999; Truong 2018)
  • ocular_pain_severityrequired
    symptom • used at RED_FLAGS
    Significant/deep pain is a RED FLAG against simple conjunctivitis (grittiness is expected; true pain → keratitis/uveitis/scleritis/angle-closure) — route OUT (AAO PPP Varu 2018; Azari JAMA 2013)
  • photophobiarequired
    symptom • used at RED_FLAGS
    True photophobia suggests corneal involvement or anterior uveitis, not conjunctivitis — route OUT to keratitis/uveitis (AAO PPP Varu 2018)
  • visual_acuity_changerequired
    symptom • used at RED_FLAGS
    Reduced visual acuity not clearing with a blink is a RED FLAG — conjunctivitis does not reduce acuity; route OUT to sight-threatening red-eye pathway (AAO PPP Varu 2018; Azari JAMA 2013)
  • ciliary_flush_or_corneal_opacityrequired
    symptom • used at RED_FLAGS
    Ciliary/limbal (perilimbal) flush, corneal opacity/infiltrate, fixed or irregular pupil → keratitis / uveitis / angle-closure; route OUT — NOT managed here (AAO PPP Varu 2018)
  • sexual_history_or_genital_symptoms
    history • used at CONTEXT
    Sexually active adult / concurrent urethritis-cervicitis or partner STI → gonococcal or chlamydial conjunctivitis (systemic Rx + partner treatment + STI workup) (CDC STI 2021; Azari JAMA 2013)
  • neonate_age_days
    demographic • used at CONTEXT
    Age in days stratifies ophthalmia neonatorum etiology and Rx (chemical day 1; gonococcal days 2-5; chlamydial days 5-14) — systemic, not topical-only (CDC STI 2021)
  • immunocompromise
    history • used at CONTEXT
    Atypical/severe presentation, herpetic risk, and lower referral threshold; avoid empiric steroids without ophthalmology (AAO PPP Varu 2018)
  • pregnancy
    history • used at TREATMENT
    Antibiotic-safety gating for chlamydial conjunctivitis (doxycycline contraindicated in pregnancy → azithromycin; CDC STI 2021)
  • recent_sick_contact_or_institutional_exposure
    history • used at CONTEXT
    Adenoviral/EKC is highly contagious — sick contact / school / clinic / military exposure drives infection-control measures and the outbreak severity trigger (Hamada J Hosp Infect 2008; Liu Cochrane 2022)
  • fluorescein_corneal_staining
    symptom • used at INITIAL_WORKUP
    Fluorescein staining (dendrite → HSV; diffuse punctate/ulcer → keratitis) gates the steroid-avoidance and route-out decisions; pseudodendrite vs true dendrite pivot (AAO PPP Varu 2018)

12-phase flow (12)

  1. 1FRAME
    Frame as ACUTE CONJUNCTIVITIS subtyping (viral vs bacterial vs allergic) layered on a mandatory sight-threatening-red-eye screen. Most acute infective conjunctivitis is self-limited (Sheikh Cochrane 2012; Everitt BMJ 2006), so the engine is a discriminator + antibiotic-stewardship + red-flag-routing tool. Gonococcal/chlamydial/neonatal/contact-lens cases are NOT simple conjunctivitis and are escalated. Keratitis, uveitis, angle-closure, scleritis are recognised then routed OUT by engine_id.
    advance: conjunctivitis scope confirmed; not-this-engine sight-threatening concerns routed by engine_id
  2. 2ENTRY
    Recognise the entry pattern: undifferentiated red eye + discharge, vs bilateral itchy (allergic), vs unilateral watery + preauricular node (adenoviral/EKC), vs hyperacute copious purulent (gonococcal emergency), vs neonate (ophthalmia neonatorum), vs contact-lens wearer (keratitis-until-excluded).
    advance: entry pattern captured; emergency/neonatal/contact-lens flags raised early
  3. 3CONTEXT
    Build the subtype prior: discharge character (watery/mucopurulent/hyperacute-purulent/ropy), itch dominance, morning glued lids, laterality + fellow-eye spread, tender preauricular node, contact-lens use, sexual/STI history, neonate age in days, immunocompromise, institutional/sick-contact exposure. This phase assigns the pre-test viral-vs-bacterial-vs-allergic probability (Rietveld BMJ 2004; Azari JAMA 2013).
    inputs: discharge_character, itch_dominance, morning_glued_eyelids, laterality_and_spread, preauricular_lymphadenopathy, contact_lens_use, sexual_history_or_genital_symptoms, neonate_age_days, immunocompromise, recent_sick_contact_or_institutional_exposure
    actions: workup.lymphadenopathy
    advance: subtype pre-test prior assigned (viral / bacterial-nongono / gonococcal / chlamydial / allergic)
  4. 4RED_FLAGS
    MANDATORY sight-threatening screen — this is the core safety layer. Significant deep pain, true photophobia, reduced visual acuity, ciliary/limbal flush, corneal opacity/infiltrate, fixed/irregular pupil, hard globe + haloes, or hyperacute copious purulent discharge → this is NOT simple conjunctivitis. Route OUT by engine_id: ophtho.acute-red-eye.core.v1 (triage), ophtho.keratitis.core.v1, ophtho.uveitis.core.v1, ophtho.acute-angle-closure-glaucoma.core.v1 (protocol.angle_closure). Gonococcal/contact-lens/neonatal fire same-day ophthalmology.
    inputs: ocular_pain_severity, photophobia, visual_acuity_change, ciliary_flush_or_corneal_opacity, hyperacute_copious_purulent_discharge, contact_lens_use
    actions: workup.acute_red_eye, workup.acute_vision_loss, protocol.angle_closure
    advance: sight-threatening red flags screened and routed by engine_id if positive; if positive this engine does NOT manage onward
  5. 5INITIAL_WORKUP
    Conjunctivitis is largely a clinical diagnosis (AAO PPP Varu 2018) — no routine culture for typical presentations (Sheikh Cochrane 2012). DO swab/culture + Gram stain + NAAT for: hyperacute purulent (gonococcal — Gram-negative intracellular diplococci), suspected chlamydial, neonatal ophthalmia, severe/refractory, contact-lens or immunocompromised. Fluorescein to detect corneal involvement / HSV dendrite (steroid-avoidance gate). Systemic inflammatory panels only if systemic illness/sepsis concern.
    inputs: fluorescein_corneal_staining
    actions: panel.inflammation
    advance: clinical subtype confirmed; targeted micro sent only for emergency/atypical/neonatal/contact-lens cases; corneal involvement assessed
  6. 6BRANCHING_WORKUP
    Subtype decision tree: hyperacute purulent + Gram-negative diplococci → gonococcal (systemic ceftriaxone + ophthalmology emergency, exclude keratitis); chronic follicular + sexually active / neonate day 5-14 → chlamydial (systemic azithromycin/doxycycline + partner Rx + STI workup); watery + follicular + preauricular node + sick contact → adenoviral/EKC (supportive + strict infection control, watch SEIs); bilateral itch + chemosis + atopy → allergic (antihistamine/mast-cell stabilizer); mucopurulent + glued lids, no red flags → non-gonococcal bacterial (delayed/short topical antibiotic or supportive). Contact-lens or fluorescein-positive → route to ophtho.keratitis.core.v1.
    inputs: discharge_character, fluorescein_corneal_staining
    actions: workup.acute_red_eye
    advance: single conjunctivitis subtype assigned OR routed OUT to keratitis/uveitis/angle-closure by engine_id
  7. 7DIFFERENTIAL
    Terminal differential with pivot findings — within conjunctivitis: bacterial (glued lids + mucopurulent + no itch pivot — Rietveld BMJ 2004) vs viral/adenoviral (watery + preauricular node + fellow-eye spread + sick contact pivot) vs gonococcal (hyperacute copious purulent + rapid corneal threat pivot) vs chlamydial (chronic follicular + STI/neonate pivot) vs allergic (itch + bilateral + chemosis + seasonality pivot). Against look-alikes: keratitis (pain + photophobia + fluorescein staining + contact-lens pivot → route OUT), anterior uveitis (ciliary flush + photophobia + cells/flare + miotic pupil pivot → route OUT), acute angle-closure glaucoma (severe pain + haloes + fixed mid-dilated pupil + hard globe pivot → protocol.angle_closure / route OUT), scleritis (deep boring pain + violaceous non-blanching scleral injection pivot → route OUT).
    advance: single best conjunctivitis subtype selected, or sight-threatening alternative assigned + routed by engine_id
  8. 8RISK_STRATIFICATION
    Stratify by sight-threat and contagion: LOW (typical viral/allergic/non-gonococcal bacterial, no red flag) → supportive/stewardship outpatient; HIGH-CONTAGION (adenoviral/EKC, esp. institutional exposure) → infection-control escalation; EMERGENCY (gonococcal-hyperacute, contact-lens keratitis suspicion, neonatal ophthalmia, herpetic) → same-day/urgent ophthalmology + systemic Rx. Systemic-toxicity overlay (neonatal sepsis, disseminated gonococcal) → qSOFA/SIRS screen.
    inputs: hyperacute_copious_purulent_discharge, contact_lens_use
    actions: calc.qsofa, calc.sirs
    advance: sight-threat + contagion tier assigned; emergency tier triggers ophthalmology + systemic pathway
  9. 9TREATMENT
    Subtype-stratified, stewardship-first: (1) VIRAL/adenoviral → supportive (cool compress, lubricants, hygiene), NO antibiotic, strict infection control; (2) NON-GONOCOCCAL BACTERIAL → most self-limited (Sheikh Cochrane 2012 — 41% placebo resolved by d6-10); delayed or short topical antibiotic shortens symptom duration (Everitt BMJ 2006); (3) GONOCOCCAL → systemic ceftriaxone 1 g IM single dose + saline lavage + EMERGENCY ophthalmology (corneal-perforation risk) + treat for chlamydia + STI/partner workup (CDC STI 2021); (4) CHLAMYDIAL → systemic azithromycin or doxycycline + partner Rx + STI workup (CDC STI 2021); (5) ALLERGIC → allergen avoidance + topical antihistamine/mast-cell stabilizer (olopatadine/ketotifen) ± short topical steroid ONLY with ophthalmology (HSV/IOP/cataract risk); (6) contact-lens → discontinue lens, NEVER patch, route to ophtho.keratitis.core.v1. Antibiotic-safety gating: pregnancy/pediatric → azithromycin not doxycycline for chlamydia; avoid steroids if HSV dendrite or undifferentiated.
    inputs: discharge_character, pregnancy, contact_lens_use
    advance: subtype-appropriate plan started; antibiotics withheld/delayed for typical infective; emergency cases on systemic Rx + ophthalmology
  10. 10DISPOSITION
    LOW-risk typical conjunctivitis → discharge with self-care, return precautions, work/school guidance; HIGH-contagion adenoviral/EKC → discharge with strict isolation/hygiene + outbreak control (notify institution); EMERGENCY (gonococcal, contact-lens keratitis, neonatal ophthalmia, herpetic, any red flag) → same-day ophthalmology / admit and route OUT by engine_id (ophtho.acute-red-eye / keratitis / uveitis / angle-closure). Neonatal gonococcal ophthalmia → admit, IV ceftriaxone, pediatrics.
    inputs: hyperacute_copious_purulent_discharge, visual_acuity_change
    advance: disposition documented; emergency/neonatal cases escalated and routed; contagion control communicated
  11. 11MONITORING
    Typical infective conjunctivitis: expect improvement within 5-7 d (Sheikh Cochrane 2012 — 65% placebo improved by d2-5 in earlier edition); if NOT improving or worsening at 48-72 h reassess for wrong subtype, red flag, or look-alike (keratitis/uveitis) and re-screen — do not silently continue. Adenoviral/EKC: watch for subepithelial infiltrates / pseudomembrane / vision drop (Liu Cochrane 2022) → ophthalmology. Gonococcal: daily corneal exam until clear (perforation risk). Allergic: reassess steroid course IOP/HSV if used.
    inputs: visual_acuity_change, ciliary_flush_or_corneal_opacity
    actions: workup.acute_vision_loss
    advance: objective improvement by 5-7 d OR re-evaluation/route-out triggered for non-response or new red flag
  12. 12FOLLOWUP
    Stewardship + contagion + chronicity: counsel natural history and antibiotic-stewardship rationale (Everitt BMJ 2006 — immediate prescribing increases re-attendance and antibiotic belief); hygiene/return-to-activity guidance (adenoviral sheds ~10-14 d); ensure gonococcal/chlamydial partner treatment + STI follow-up + reporting; recurrent/chronic or treatment-refractory conjunctivitis → ophthalmology (chronic chlamydial, atopic/vernal keratoconjunctivitis, mucous membrane pemphigoid, or ocular surface malignancy mimic — AAO PPP Varu 2018); vernal/atopic → long-term ophthalmology (cyclosporine 0.1% per updated PPP).
    inputs: sexual_history_or_genital_symptoms
    advance: natural-history + hygiene counselling done; STI partner/follow-up arranged; chronic/refractory referred to ophthalmology