{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "benign-prostatic-hyperplasia",
  "title": "Benign prostatic hyperplasia",
  "description": "Benign prostatic hyperplasia on the prostate and the bladder: the gland narrowing the urethra, the bladder thickening to push past it, then chronic retention backing up to the kidneys or acute retention, with symptom scores, flow and residual volumes at each stage. Models licensed CC BY-SA 2.1 JP (prostate and bladder).",
  "registryDependencies": [
    "@organui/disease-viewer",
    "@organui/prostate",
    "@organui/bladder"
  ],
  "files": [
    {
      "path": "registry/base-nova/benign-prostatic-hyperplasia/benign-prostatic-hyperplasia.tsx",
      "content": "import { diseaseModel, type Disease } from \"@/components/disease-model\"\nimport {\n  DiseaseViewer,\n  type DiseaseViewerProps,\n} from \"@/components/disease-viewer\"\nimport { bladderModel } from \"@/components/bladder\"\nimport { prostateModel } from \"@/components/prostate\"\n\n// Benign prostatic hyperplasia on the prostate, where the gland grows around\n// the urethra, and on the bladder, which pays for the obstruction.\nexport const benignProstaticHyperplasia: Disease = {\n  name: \"Benign prostatic hyperplasia\",\n  code: \"N40\",\n  summary:\n    \"The prostate's inner zone enlarges with age and squeezes the urethra running through it. The bladder works harder to empty, and in the end may fail.\",\n  scales: [\n    {\n      id: \"prostate\",\n      label: \"Prostate\",\n      model: prostateModel,\n      defaultView: \"Lateral\",\n      findings: {\n        prostate: {\n          affected: true,\n          description:\n            \"Nodules of glands and muscle grow in the transition zone around the urethra, driven by dihydrotestosterone. Symptoms depend on how it narrows the urethra more than on its size.\",\n        },\n        urethra: {\n          affected: true,\n          description:\n            \"The prostatic urethra is compressed: hesitancy, a weak stream and dribbling at the end. Alpha blockers relax the muscle around it.\",\n        },\n        \"urinary-bladder\": {\n          affected: true,\n          description:\n            \"Pushes against the obstruction and becomes overactive: frequency, urgency and getting up at night to pass urine.\",\n        },\n        rectum: {\n          affected: false,\n          description:\n            \"The gland is felt through its wall: smooth, firm and enlarged. A hard, irregular gland suggests cancer, which arises in the outer zone.\",\n        },\n        \"seminal-vesicles\": {\n          affected: false,\n          description:\n            \"Not involved. 5-alpha reductase inhibitors, which shrink the gland over months, can reduce ejaculate volume and libido.\",\n        },\n      },\n    },\n    {\n      id: \"bladder\",\n      label: \"Bladder\",\n      model: bladderModel,\n      findings: {\n        \"urinary-bladder\": {\n          affected: true,\n          description:\n            \"The detrusor muscle thickens to push past the obstruction, and its wall becomes ridged (trabeculated).\",\n        },\n        prostate: {\n          affected: true,\n          description:\n            \"Enlarged and bulging up into the bladder base, which can act like a valve over the outlet.\",\n        },\n        urethra: {\n          affected: true,\n          description: \"Narrowed where it passes through the prostate.\",\n        },\n        \"right-ureter\": {\n          affected: false,\n          description:\n            \"Drains normally while the bladder can still empty at low pressure.\",\n        },\n        \"left-ureter\": {\n          affected: false,\n          description:\n            \"Drains normally while the bladder can still empty at low pressure.\",\n        },\n      },\n    },\n  ],\n  stages: [\n    {\n      id: \"symptoms\",\n      label: \"Symptoms\",\n      summary:\n        \"Lower urinary tract symptoms that bother the patient. Lifestyle changes, then an alpha blocker, a 5-alpha reductase inhibitor or both.\",\n    },\n    {\n      id: \"chronic-retention\",\n      label: \"Chronic retention\",\n      summary:\n        \"The bladder never empties fully. It stretches painlessly, leaks by overflow, and the pressure inside it backs up to the kidneys.\",\n      findings: {\n        bladder: {\n          \"urinary-bladder\": {\n            affected: true,\n            description:\n              \"Thick-walled and trabeculated, and distended with a large residual volume after voiding. The high pressure inside it leaks out by overflow, often at night.\",\n          },\n          \"right-ureter\": {\n            affected: true,\n            description:\n              \"High pressure in the bladder stops urine draining, so the ureter and kidney dilate (hydroureteronephrosis) and kidney function falls.\",\n          },\n          \"left-ureter\": {\n            affected: true,\n            description:\n              \"Dilated like the right; both kidneys suffer, so creatinine rises. A catheter, then surgery, relieves it.\",\n          },\n        },\n      },\n      investigations: [\n        { name: \"Post-void residual\", result: \"650 mL\", flag: \"high\" },\n        { name: \"Creatinine\", result: \"Raised\", flag: \"high\" },\n        {\n          name: \"Ultrasound\",\n          result: \"Bilateral hydronephrosis\",\n          flag: \"abnormal\",\n        },\n        { name: \"PSA\", result: \"Mildly raised\", flag: \"high\" },\n      ],\n    },\n    {\n      id: \"acute-retention\",\n      label: \"Acute retention\",\n      summary:\n        \"Suddenly unable to pass urine, with a painful, full bladder. Constipation, anticholinergics or alcohol often trigger it; a catheter brings instant relief.\",\n      findings: {\n        prostate: {\n          urethra: {\n            affected: true,\n            description:\n              \"Closed off completely. A catheter is passed through it; a trial without catheter follows after an alpha blocker.\",\n          },\n          \"urinary-bladder\": {\n            affected: true,\n            description:\n              \"Painfully distended above the pubic bone. Transurethral resection of the prostate (TURP) prevents it happening again.\",\n          },\n        },\n      },\n      investigations: [\n        { name: \"Bladder scan\", result: \"900 mL\", flag: \"high\" },\n        { name: \"Creatinine\", result: \"Normal\" },\n        { name: \"Urine dipstick\", result: \"Normal\" },\n      ],\n    },\n  ],\n  investigations: [\n    { name: \"IPSS\", result: \"19 of 35\", flag: \"high\" },\n    { name: \"Flow rate (Qmax)\", result: \"8 mL/s\", flag: \"low\" },\n    { name: \"Post-void residual\", result: \"120 mL\", flag: \"high\" },\n    { name: \"PSA\", result: \"Mildly raised\", flag: \"high\" },\n  ],\n}\n\n/** The prostate with symptoms, the scale and stage the viewer opens on. */\nexport const benignProstaticHyperplasiaModel = diseaseModel(\n  benignProstaticHyperplasia\n)\n\nexport type BenignProstaticHyperplasiaProps = Omit<\n  DiseaseViewerProps,\n  \"disease\"\n>\n\nexport function BenignProstaticHyperplasia(\n  props: BenignProstaticHyperplasiaProps\n) {\n  return <DiseaseViewer disease={benignProstaticHyperplasia} {...props} />\n}\n",
      "type": "registry:component"
    }
  ],
  "docs": "Benign prostatic hyperplasia docs: https://organui.com/docs/components/benign-prostatic-hyperplasia. It reuses the prostate model, licensed CC BY-SA 2.1 JP (https://creativecommons.org/licenses/by-sa/2.1/jp/deed.en) and the bladder 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",
    "reproductive"
  ],
  "type": "registry:component"
}