Skip to main content

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​

Storybook

Action Line Crossed​

Storybook

Empty​

Storybook

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​

VariantWhat it is
normal progressDilation left of the alert line.
alert crossedPoints between the lines.
action crossedRed alert naming the hour and dilation.
descentFifths palpable as circles on a dashed line.
FHR and contractionsHourly row, flagged.
emptyNo 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​

PropTypeDefaultDescription
dilation *PartogramPoint[]—Cervical exams as [hours, cm]; required
descentPartogramPoint[][]Head descent as [hours, fifths palpable 0 to 5]
fhrPartogramPoint[][]Fetal heart rate as [hours, bpm]
contractionsPartogramPoint[][]Contractions as [hours, per 10 min]
hoursnumber12Hours on the x axis
subtitlestring'Active phase, alert line at 1 cm per hour, action line 4 hours to the right'Line under the title
rangeContextRangeContextId'ed' when no global context is setWhich 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>
KindNameDescription
property / JSON attributedilationCervical exams as [hours, cm]; required
property / JSON attributedescentHead descent as [hours, fifths palpable 0 to 5]; default []
property / JSON attributefhrFetal heart rate as [hours, bpm]; default []
property / JSON attributecontractionsContractions as [hours, per 10 min]; default []
attributehoursHours on the x axis; default 12
attributesubtitleLine under the title; default 'Active phase, alert line at 1 cm per hour, action line 4 hours to the right'
attributerange-context / rangeContextWhich shared reference range flags use; the lab range on a result still wins; default 'ed' when no global context is set
attributedefault-checked / defaultChecked
property / JSON attributedefault-value / defaultValue
attributeauto-focus / autoFocus