An infection of the middle ear behind the eardrum, usually in a child under five after a cold. It is painful, but most settle within three days without antibiotics.
Installation
bunx shadcn@4.22.1 add @organui/acute-otitis-mediaThis adds acute-otitis-media.tsx, the disease's data and component, to your components directory. It is built on the disease viewer and reuses the models of the ear, which install with it.
Usage
import { AcuteOtitisMedia } from "@/components/acute-otitis-media"
export function AcuteOtitisMediaDemo() {
return <AcuteOtitisMedia />
}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; the timeline under the model shows them in order, with the events along the way.
- Acute
"acute"· Days 1–3Ear pain and fever a few days into a cold; a toddler pulls at the ear, cries and sleeps badly. Pain relief is the main treatment, and most get better within three days.
- Pain relief: Paracetamol or ibuprofen, or anaesthetic ear drops if the drum is intact, and a review if the child is not better in three days or is getting worse.
- Antibiotics when needed: Amoxicillin for five to seven days for a child who is systemically unwell, under two with both ears infected, or with discharge; otherwise often a prescription to collect only if it is no better in a few days.
Affects 2 structures of the ear.
- Glue ear
"glue-ear"· Weeks afterThe infection settles, but fluid often stays behind the drum for weeks (otitis media with effusion). There is no pain, only muffled hearing. In most children it clears within three months on its own.
- Watchful waiting (3 months): A hearing test, then a recheck after three months. Antibiotics and decongestants do not help.
- Grommets: Small tubes through the drum let air in, for glue ear in both ears lasting over three months with hearing loss; hearing aids are the alternative.
Affects 2 structures of the ear.
- Or Perforated
"perforated"· Days 1–3The pressure bursts the eardrum: the pain eases suddenly and pus runs from the ear. Most small tears heal within a few weeks.
- Keep it dry: Antibiotics, as discharge is a reason for them, and no swimming until the drum has healed. A tear still open after six weeks needs an ear, nose and throat review.
Affects 2 structures of the ear.
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 AcuteOtitisMediaProps from the same file as AcuteOtitisMedia.
| Prop | Type | Default | Description |
|---|---|---|---|
scale | "ear" | — | Control the scale shown. |
defaultScale | "ear" | "ear" | Choose the scale shown first. |
onScaleChange | (scale: string) => void | — | Receive the scale a reader chooses. |
stage | "acute" | "glue-ear" | "perforated" | — | Control the stage shown. |
defaultStage | "acute" | "glue-ear" | "perforated" | "acute" | 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 scales, findings and investigations beside the model. |
timeline | boolean | true | Show the course under the model, with its events and a play button. A disease with one stage has none. |
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.
- Ear: Z-Anatomy (CC BY-SA 4.0), based in part on BodyParts3D, © The Database Center for Life Science (CC BY-SA 2.1 Japan). Adapted by OrganUI., CC BY-SA 4.0.
Educational, not for diagnosis or clinical decisions. The findings summarise typical disease; individual patients differ.