{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "acute-angle-closure-glaucoma",
  "title": "Acute angle-closure glaucoma",
  "description": "Acute angle-closure glaucoma on the eye: pupil block bowing the iris over the drainage angle, the hazy cornea and the threatened optic nerve, then laser iridotomy or, if late, a cupped nerve, with eye pressure, acuity and gonioscopy at each stage. Model licensed CC BY-SA 2.1 JP.",
  "registryDependencies": [
    "@organui/disease-viewer",
    "@organui/eye"
  ],
  "files": [
    {
      "path": "registry/base-nova/acute-angle-closure-glaucoma/acute-angle-closure-glaucoma.tsx",
      "content": "import { diseaseModel, type Disease } from \"@/components/disease-model\"\nimport {\n  DiseaseViewer,\n  type DiseaseViewerProps,\n} from \"@/components/disease-viewer\"\nimport { eyeModel } from \"@/components/eye\"\n\n// Acute angle-closure glaucoma: in a crowded eye the iris blocks the\n// drainage angle, pressure soars within hours, and the optic nerve is lost\n// unless it comes down.\nexport const acuteAngleClosureGlaucoma: Disease = {\n  name: \"Acute angle-closure glaucoma\",\n  code: \"H40.2\",\n  summary:\n    \"The iris bows forward and closes the angle where aqueous drains. Pressure in the eye climbs within hours, threatening the optic nerve: an emergency.\",\n  scales: [\n    {\n      id: \"eye\",\n      label: \"Eye\",\n      model: eyeModel,\n      findings: {\n        iris: {\n          affected: true,\n          description:\n            \"In dim light the pupil half-dilates and the iris presses on the lens. Aqueous builds up behind it and pushes it forward against the drainage angle (pupil block).\",\n        },\n        \"anterior-chamber\": {\n          affected: true,\n          description:\n            \"Shallow, with its angle closed: aqueous cannot reach the trabecular meshwork, so pressure rises to 50–70 mmHg.\",\n        },\n        cornea: {\n          affected: true,\n          description:\n            \"Waterlogged by the pressure and hazy: blurred vision and coloured haloes around lights, in a red, painful eye with vomiting.\",\n        },\n        lens: {\n          affected: true,\n          description:\n            \"Thick and sitting forward in an older or long-sighted eye, it crowds the angle in the first place. Removing it with cataract surgery deepens the angle for good.\",\n        },\n        \"optic-nerve\": {\n          affected: false,\n          description:\n            \"Still healthy, but sustained pressure damages it within hours to days. Bringing the pressure down saves it.\",\n        },\n        retina: {\n          affected: false,\n          description:\n            \"Not involved, though pressure on the optic nerve head reduces its blood supply.\",\n        },\n      },\n    },\n  ],\n  stages: [\n    {\n      id: \"attack\",\n      label: \"Attack\",\n      summary:\n        \"Hours old. Lower the pressure now: acetazolamide, pressure-lowering drops and pilocarpine to pull the iris away from the angle, then laser.\",\n    },\n    {\n      id: \"iridotomy\",\n      label: \"Iridotomy\",\n      summary:\n        \"The attack is over. A laser hole in the peripheral iris lets aqueous bypass the pupil, the iris flattens and the angle reopens. The other eye is treated too.\",\n      findings: {\n        eye: {\n          iris: {\n            affected: true,\n            description:\n              \"Has a small laser hole near its root, so aqueous flows straight to the angle and pupil block cannot recur.\",\n          },\n          \"anterior-chamber\": {\n            affected: false,\n            description:\n              \"Deeper, with the angle open again on gonioscopy; aqueous drains and pressure is normal.\",\n          },\n          cornea: {\n            affected: false,\n            description: \"Clear again once the pressure has come down.\",\n          },\n        },\n      },\n      investigations: [\n        { name: \"Eye pressure\", result: \"16 mmHg\" },\n        { name: \"Gonioscopy\", result: \"Open angle\" },\n        { name: \"Visual acuity\", result: \"6/9\" },\n        { name: \"Fellow eye\", result: \"Laser iridotomy\" },\n      ],\n    },\n    {\n      id: \"glaucomatous\",\n      label: \"Damaged\",\n      summary:\n        \"Treatment came late. The angle has scarred shut in places and the optic nerve is damaged; the lost vision does not return.\",\n      findings: {\n        eye: {\n          \"optic-nerve\": {\n            affected: true,\n            description:\n              \"Cupped and pale where nerve fibres died under the pressure, with matching gaps in the visual field. Drops or surgery protect what is left.\",\n          },\n          \"anterior-chamber\": {\n            affected: true,\n            description:\n              \"The iris has stuck to the angle in places (synechiae), so drainage stays poor despite the laser hole.\",\n          },\n          iris: {\n            affected: true,\n            description:\n              \"The laser hole is open, but the attack left patches of atrophy and stuck the iris root to the angle (peripheral anterior synechiae).\",\n          },\n          cornea: {\n            affected: false,\n            description:\n              \"Clear: the pressure is raised but rises slowly, so the eye is quiet and the damage goes unnoticed.\",\n          },\n        },\n      },\n      investigations: [\n        { name: \"Eye pressure\", result: \"28 mmHg\", flag: \"high\" },\n        { name: \"Optic disc\", result: \"Cup-disc ratio 0.8\", flag: \"abnormal\" },\n        { name: \"Visual field\", result: \"Arcuate defect\", flag: \"abnormal\" },\n        { name: \"Gonioscopy\", result: \"Synechial closure\", flag: \"abnormal\" },\n      ],\n    },\n  ],\n  investigations: [\n    { name: \"Eye pressure\", result: \"58 mmHg\", flag: \"high\" },\n    { name: \"Visual acuity\", result: \"6/36\", flag: \"low\" },\n    { name: \"Pupil\", result: \"Fixed, mid-dilated\", flag: \"abnormal\" },\n    { name: \"Gonioscopy\", result: \"Closed angle\", flag: \"abnormal\" },\n  ],\n}\n\n/** The eye during the attack, the stage the viewer opens on. */\nexport const acuteAngleClosureGlaucomaModel = diseaseModel(\n  acuteAngleClosureGlaucoma\n)\n\nexport type AcuteAngleClosureGlaucomaProps = Omit<DiseaseViewerProps, \"disease\">\n\nexport function AcuteAngleClosureGlaucoma(\n  props: AcuteAngleClosureGlaucomaProps\n) {\n  return <DiseaseViewer disease={acuteAngleClosureGlaucoma} {...props} />\n}\n",
      "type": "registry:component"
    }
  ],
  "docs": "Acute angle-closure glaucoma docs: https://organui.com/docs/components/acute-angle-closure-glaucoma. It reuses the eye model, licensed CC BY-SA 2.1 JP (https://creativecommons.org/licenses/by-sa/2.1/jp/deed.en); keep the viewer's credit visible. Educational, not for diagnosis.",
  "categories": [
    "disease",
    "senses"
  ],
  "type": "registry:component"
}