PartogramChart
ComplexED & periop
<co-partogram-chart>PartogramChart plots cervical dilation and head descent against hours of active labor, with the WHO alert line (1 cm per hour) and action line 4 hours to its right, and an hourly row of fetal heart rate and contractions.
import { PartogramChart } from 'health-components';
Examples
Showcase
Action Line Crossed
Empty
Usage
<PartogramChart dilation={[[0,4],[2,6],[4,8]]} descent={[[0,4],[4,2]]} fhr={fhr} />
When to use
- Monitoring progress of active labor.
When not to use
- Latent phase before 4 cm. Second stage pushing timing: a timer.
Variants and states
| Variant | What it is |
|---|---|
| normal progress | Dilation left of the alert line. |
| alert crossed | Points between the lines. |
| action crossed | Red alert naming the hour and dilation. |
| descent | Fifths palpable as circles on a dashed line. |
| FHR and contractions | Hourly row, flagged. |
| empty | No exams yet. |
Accessibility
- The chart has an aria-label listing every exam; FHR and contractions are also a table.
- Lines are labelled Alert and Action in text, not only colour.
Do and don't
- Do: Plot every exam at its real hour.
- Don't: Treat the chart as a diagnosis; it prompts review.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
dilation * | PartogramPoint[] | — | Cervical exams as [hours, cm]; required |
descent | PartogramPoint[] | [] | Head descent as [hours, fifths palpable 0 to 5] |
fhr | PartogramPoint[] | [] | Fetal heart rate as [hours, bpm] |
contractions | PartogramPoint[] | [] | Contractions as [hours, per 10 min] |
hours | number | 12 | Hours on the x axis |
subtitle | string | 'Active phase, alert line at 1 cm per hour, action line 4 hours to the right' | Line under the title |
rangeContext | RangeContextId | 'ed' when no global context is set | Which shared reference range flags use; the lab range on a result still wins |
Also accepts native attributes, including defaultChecked, defaultValue, autoFocus, plus className and event handlers on the root element.
Angular, Vue and HTML
Register the elements once (Angular guide), then use <co-partogram-chart>. Attributes take strings; arrays and objects are set as properties (Angular [prop], Vue :prop) or as JSON attributes. Callbacks are DOM events with the value in event.detail.
Angular template
<co-partogram-chart hours="…" subtitle="…" [dilation]="dilation"></co-partogram-chart>
| Kind | Name | Description |
|---|---|---|
| property / JSON attribute | dilation | Cervical exams as [hours, cm]; required |
| property / JSON attribute | descent | Head descent as [hours, fifths palpable 0 to 5]; default [] |
| property / JSON attribute | fhr | Fetal heart rate as [hours, bpm]; default [] |
| property / JSON attribute | contractions | Contractions as [hours, per 10 min]; default [] |
| attribute | hours | Hours on the x axis; default 12 |
| attribute | subtitle | Line under the title; default 'Active phase, alert line at 1 cm per hour, action line 4 hours to the right' |
| attribute | range-context / rangeContext | Which shared reference range flags use; the lab range on a result still wins; default 'ed' when no global context is set |
| attribute | default-checked / defaultChecked | |
| property / JSON attribute | default-value / defaultValue | |
| attribute | auto-focus / autoFocus |