A benign tumour of the pituitary. Its effects come from what it makes, what it squeezes out of the normal gland, and what it presses on as it grows.
Installation
bunx shadcn@4.22.1 add @organui/pituitary-adenomaThis adds pituitary-adenoma.tsx, the disease's data and component, to your components directory. It is built on the disease viewer and reuses the models of the pituitary, which install with it.
Usage
import { PituitaryAdenoma } from "@/components/pituitary-adenoma"
export function PituitaryAdenomaDemo() {
return <PituitaryAdenoma />
}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.
- Micro
"microadenoma"Under 1 cm, confined to the sella. Check the hormones once, and repeat the MRI to see whether it grows.
Affects 1 structure of the pituitary.
- Macro
"macroadenoma"Over 1 cm and growing up out of the sella. It presses on the optic chiasm and on the normal gland, which fails one hormone at a time.
Affects 3 structures of the pituitary.
- Apoplexy
"apoplexy"The tumour suddenly bleeds or dies: thunderclap headache, vomiting, loss of vision and double vision. Give hydrocortisone first; surgery decompresses it.
Affects 3 structures of the pituitary.
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 PituitaryAdenomaProps from the same file as PituitaryAdenoma.
| Prop | Type | Default | Description |
|---|---|---|---|
scale | "pituitary" | — | Control the scale shown. |
defaultScale | "pituitary" | "pituitary" | Choose the scale shown first. |
onScaleChange | (scale: string) => void | — | Receive the scale a reader chooses. |
stage | "microadenoma" | "macroadenoma" | "apoplexy" | — | Control the stage shown. |
defaultStage | "microadenoma" | "macroadenoma" | "apoplexy" | "microadenoma" | 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.
- Pituitary: BodyParts3D / Anatomography, © The Database Center for Life Science. CC BY-SA 2.1 Japan. Adapted by OrganUI., CC BY-SA 2.1 JP.
Educational, not for diagnosis or clinical decisions. The findings summarise typical disease; individual patients differ.