{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "ischaemic-stroke",
  "title": "Ischaemic stroke",
  "description": "An ischaemic stroke of the left middle cerebral artery on the brain: the frontal, parietal and temporal lobes it supplies, with aphasia, weakness and field loss, from the hyperacute window through swelling to a healed cavity, with the scans and scores at each stage. Model licensed CC BY 4.0.",
  "registryDependencies": [
    "@organui/disease-viewer",
    "@organui/brain"
  ],
  "files": [
    {
      "path": "registry/base-nova/ischaemic-stroke/ischaemic-stroke.tsx",
      "content": "import { diseaseModel, type Disease } from \"@/components/disease-model\"\nimport {\n  DiseaseViewer,\n  type DiseaseViewerProps,\n} from \"@/components/disease-viewer\"\nimport { brainModel } from \"@/components/brain\"\n\n// An ischaemic stroke of the left middle cerebral artery territory: an\n// embolus, here from atrial fibrillation, blocks the artery, and the lateral\n// frontal, parietal and temporal lobes it supplies lose their blood.\nexport const ischaemicStroke: Disease = {\n  name: \"Ischaemic stroke\",\n  code: \"I63.4\",\n  summary:\n    \"A clot blocks the left middle cerebral artery. A core of brain dies within minutes; the penumbra around it can be saved if the artery is reopened in time.\",\n  scales: [\n    {\n      id: \"brain\",\n      label: \"Brain\",\n      model: brainModel,\n      defaultView: \"Left lateral\",\n      findings: {\n        \"left-frontal\": {\n          affected: true,\n          description:\n            \"The lateral motor cortex: the right face and arm are weakest. An M1 occlusion also cuts off the deep branches to the internal capsule, so the leg is weak too. Broca's area is here, so speech becomes effortful and broken (expressive aphasia).\",\n        },\n        \"left-parietal\": {\n          affected: true,\n          description:\n            \"The sensory cortex: touch and position sense are lost on the right side. Damage to the optic radiations below it adds a right-sided field loss.\",\n        },\n        \"left-temporal\": {\n          affected: true,\n          description:\n            \"Wernicke's area: speech stays fluent but makes little sense and understanding fails (receptive aphasia). With the parietal loss, a right homonymous hemianopia.\",\n        },\n        \"left-occipital\": {\n          affected: false,\n          description:\n            \"Supplied by the posterior cerebral artery and spared, so the visual cortex itself works.\",\n        },\n        \"right-frontal\": {\n          affected: false,\n          description:\n            \"The other hemisphere is spared. A right MCA stroke would weaken the left side and cause neglect of the left of space instead of aphasia.\",\n        },\n        cerebellum: {\n          affected: false,\n          description:\n            \"The posterior circulation is spared, so coordination is intact; on the weak side, weakness limits testing it.\",\n        },\n        pons: {\n          affected: false,\n          description:\n            \"The brainstem is spared, so the patient is awake and breathing normally.\",\n        },\n        \"left-lateral-ventricle\": {\n          affected: false,\n          description:\n            \"Normal in the first hours; swelling compresses it later.\",\n        },\n      },\n    },\n  ],\n  stages: [\n    {\n      id: \"hyperacute\",\n      label: \"Hyperacute\",\n      summary:\n        \"Up to 24 hours. Time is brain: thrombolysis within 4.5 hours and thrombectomy up to 24 hours reopen the artery and save the penumbra.\",\n    },\n    {\n      id: \"acute\",\n      label: \"Acute\",\n      summary:\n        \"Days 2–7. The infarct is complete. Swelling peaks around days 3–5, and the risks are aspiration, a second stroke and, in large infarcts, brain shift.\",\n      findings: {\n        brain: {\n          \"left-frontal\": {\n            affected: true,\n            description:\n              \"Infarcted and swollen. Swallowing is often impaired, so nothing by mouth until a swallow screen is passed.\",\n          },\n          \"left-lateral-ventricle\": {\n            affected: true,\n            description:\n              \"Squeezed by the swelling around it. A large MCA infarct can push the midline across (malignant oedema), which needs decompressive surgery.\",\n          },\n        },\n      },\n      investigations: [\n        { name: \"CT head\", result: \"Left MCA hypodensity\", flag: \"abnormal\" },\n        { name: \"NIHSS\", result: \"12\", flag: \"high\" },\n        { name: \"Swallow screen\", result: \"Failed\", flag: \"abnormal\" },\n        { name: \"Carotid Doppler\", result: \"No stenosis\" },\n      ],\n    },\n    {\n      id: \"chronic\",\n      label: \"Chronic\",\n      summary:\n        \"Months later. The dead tissue has gone and rehabilitation retrains what survives; anticoagulation prevents the next embolus.\",\n      findings: {\n        brain: {\n          \"left-frontal\": {\n            affected: true,\n            description:\n              \"Replaced by a fluid-filled cavity (encephalomalacia). Neighbouring cortex takes over some movement and speech with therapy.\",\n          },\n          \"left-parietal\": {\n            affected: true,\n            description:\n              \"Gliosis and tissue loss; sensation often recovers less than movement.\",\n          },\n          \"left-lateral-ventricle\": {\n            affected: true,\n            description:\n              \"Enlarged towards the lost tissue (ex vacuo dilatation), the opposite of the acute swelling.\",\n          },\n        },\n      },\n      investigations: [\n        {\n          name: \"Modified Rankin Scale\",\n          result: \"2, slight disability\",\n          flag: \"high\",\n        },\n        { name: \"MRI\", result: \"Encephalomalacia\", flag: \"abnormal\" },\n        { name: \"ECG\", result: \"Atrial fibrillation\", flag: \"abnormal\" },\n        { name: \"Anticoagulation\", result: \"Started\" },\n      ],\n    },\n  ],\n  investigations: [\n    { name: \"NIHSS\", result: \"16\", flag: \"high\" },\n    { name: \"CT head\", result: \"No bleed\" },\n    { name: \"CT angiogram\", result: \"Left M1 occlusion\", flag: \"abnormal\" },\n    { name: \"Glucose\", result: \"Normal\" },\n    { name: \"ECG\", result: \"Atrial fibrillation\", flag: \"abnormal\" },\n  ],\n}\n\n/** The brain in the first hours, the stage the viewer opens on. */\nexport const ischaemicStrokeModel = diseaseModel(ischaemicStroke)\n\nexport type IschaemicStrokeProps = Omit<DiseaseViewerProps, \"disease\">\n\nexport function IschaemicStroke(props: IschaemicStrokeProps) {\n  return <DiseaseViewer disease={ischaemicStroke} {...props} />\n}\n",
      "type": "registry:component"
    }
  ],
  "docs": "Ischaemic stroke docs: https://organui.com/docs/components/ischaemic-stroke. It reuses the brain model, licensed CC BY 4.0 (https://dbarchive.biosciencedbc.jp/en/bodyparts3d/lic.html); keep the viewer's credit visible. Educational, not for diagnosis.",
  "categories": [
    "disease",
    "nervous"
  ],
  "type": "registry:component"
}