A clot on a ruptured plaque blocks a coronary artery and the heart muscle it supplies dies. Every minute until the artery is reopened costs muscle.
Installation
bunx shadcn@4.22.1 add @organui/myocardial-infarctionThis adds myocardial-infarction.tsx, the disease's data and component, to your components directory. It is built on the disease viewer and reuses the models of the heart, which install with it.
Usage
import { MyocardialInfarction } from "@/components/myocardial-infarction"
export function MyocardialInfarctionDemo() {
return <MyocardialInfarction />
}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.
- Occlusion
"occlusion"The first hours. ST elevation on the ECG means the artery is blocked; reopen it with PCI within 120 minutes of diagnosis.
Affects 3 structures of the heart.
- Acute
"acute"Days 1 to 7. Dead muscle is soft while white cells clear it, and the wall is weakest from day 3 to day 7.
Affects 3 structures of the heart.
- Healed
"healed"From about six weeks. Collagen scar has replaced the muscle; treatment protects the rest of the heart and prevents the next event.
Affects 3 structures of the heart.
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 MyocardialInfarctionProps from the same file as MyocardialInfarction.
| Prop | Type | Default | Description |
|---|---|---|---|
scale | "heart" | — | Control the scale shown. |
defaultScale | "heart" | "heart" | Choose the scale shown first. |
onScaleChange | (scale: string) => void | — | Receive the scale a reader chooses. |
stage | "occlusion" | "acute" | "healed" | — | Control the stage shown. |
defaultStage | "occlusion" | "acute" | "healed" | "occlusion" | 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.
- Heart: BodyParts3D, © The Database Center for Life Science licensed under CC Attribution 4.0 International, CC BY 4.0.
Educational, not for diagnosis or clinical decisions. The findings summarise typical disease; individual patients differ.