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.
Installation
bunx shadcn@4.22.1 add @organui/benign-prostatic-hyperplasiaThis adds benign-prostatic-hyperplasia.tsx, the disease's data and component, to your components directory. It is built on the disease viewer and reuses the models of the prostate and bladder, which install with it.
Usage
import { BenignProstaticHyperplasia } from "@/components/benign-prostatic-hyperplasia"
export function BenignProstaticHyperplasiaDemo() {
return <BenignProstaticHyperplasia />
}Every structure is a finding: affected structures are amber and spared ones muted. Select one, in 3D or in the panel, to read what the disease does there.
Course
Set stage or defaultStage to one of these. Each stage changes which structures are affected and the investigations to expect.
- Symptoms
"symptoms"Lower urinary tract symptoms that bother the patient. Lifestyle changes, then an alpha blocker, a 5-alpha reductase inhibitor or both.
Affects 3 structures of the prostate and 3 structures of the bladder.
- Chronic retention
"chronic-retention"The bladder never empties fully. It stretches painlessly, leaks by overflow, and the pressure inside it backs up to the kidneys.
Affects 3 structures of the prostate and 5 structures of the bladder.
- Acute retention
"acute-retention"Suddenly unable to pass urine, with a painful, full bladder. Constipation, anticholinergics or alcohol often trigger it; a catheter brings instant relief.
Affects 3 structures of the prostate and 3 structures of the bladder.
Scales
Set scale or defaultScale to show the disease on another model. Each has its own structure IDs, so the viewer clears the selection when the scale changes.
Without Panel
Hide the panel to place the model in your own layout, and choose the scale and stage with props.
Controlled
Drive the stage, scale and selection from your own state, such as a patient's timeline.
API Reference
Import BenignProstaticHyperplasiaProps from the same file as BenignProstaticHyperplasia.
| Prop | Type | Default | Description |
|---|---|---|---|
scale | "prostate" | "bladder" | — | Control the scale shown. |
defaultScale | "prostate" | "bladder" | "prostate" | Choose the scale shown first. |
onScaleChange | (scale: string) => void | — | Receive the scale a reader chooses. |
stage | "symptoms" | "chronic-retention" | "acute-retention" | — | Control the stage shown. |
defaultStage | "symptoms" | "chronic-retention" | "acute-retention" | "symptoms" | Choose the stage shown first. |
onStageChange | (stage: string) => void | — | Receive the stage a reader chooses. |
selectedId | string | null | null | Control the selected structure ID. |
onSelectionChange | (id: string | null) => void | — | Receive selections from the model and the panel. |
panel | boolean | true | Show the stages, scales, findings and investigations beside the model. |
className | string | — | Set the layout of the model and the panel. |
Other props, such as visibility, controls, defaultView and ref, go to the organ viewer.
Models and licences
The component code is MIT. Each model keeps its own licence, and the viewer shows its credit; see Licences before hiding it.
- Prostate: BodyParts3D / Anatomography, © The Database Center for Life Science. CC BY-SA 2.1 Japan. Adapted by OrganUI., CC BY-SA 2.1 JP.
- Bladder: BodyParts3D, © The Database Center for Life Science licensed under CC Attribution-Share Alike 2.1 Japan, CC BY-SA 2.1 JP.
Educational, not for diagnosis or clinical decisions. The findings summarise typical disease; individual patients differ.