FetalMonitorStrip
ComplexED & periop
<co-fetal-monitor-strip>FetalMonitorStrip is a display placeholder for the cardiotocography feed: fetal heart rate above, uterine activity below, on the standard grid, with an approximate baseline and the category the clinician assigned.
import { FetalMonitorStrip } from 'health-components';
Examples
Showcase
Signal Loss
Disconnected
Usage
<FetalMonitorStrip fhr={feed.fhr} toco={feed.toco} category="I" categoryBy="T. Ruiz RN 14:10" />
When to use
- Central monitoring and the labor room screen, next to the board.
When not to use
- Interpreting the tracing: the component does not classify it.
Variants and states
| Variant | What it is |
|---|---|
| live | Streaming, green Live tag. |
| paused | Amber Paused tag. |
| signal loss | Gaps in the line plus a Signal loss tag. |
| category | I, II or III with who assigned it; otherwise Category not assigned. |
| disconnected | Empty state. |
Accessibility
- The tracing has an aria-label with the approximate baseline and signal loss.
- States are words in tags.
Do and don't
- Do: Say this is a display copy.
- Don't: Compute a category automatically from this display.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
fhr | Array<number | null> | [] | FHR samples in bpm, oldest first; null for signal loss |
toco | Array<number | null> | [] | Uterine activity samples in mmHg; null for signal loss |
state | FetalMonitorState | 'live' when data exists, else 'disconnected' | 'live' | 'paused' | 'disconnected' |
category | FHRCategory | none (Category not assigned) | Tracing category assigned by the clinician |
categoryBy | string | none | Who assigned the category and when |
room | string | 'L&D' | Room named in the disconnected state |
subtitle | string | none | 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-fetal-monitor-strip>. 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-fetal-monitor-strip state="…" category="…" [fhr]="fhr"></co-fetal-monitor-strip>
| Kind | Name | Description |
|---|---|---|
| property / JSON attribute | fhr | FHR samples in bpm, oldest first; null for signal loss; default [] |
| property / JSON attribute | toco | Uterine activity samples in mmHg; null for signal loss; default [] |
| attribute | state | 'live' | 'paused' | 'disconnected'; default 'live' when data exists, else 'disconnected' |
| attribute | category | Tracing category assigned by the clinician; default none (Category not assigned) |
| attribute | category-by / categoryBy | Who assigned the category and when; default none |
| attribute | room | Room named in the disconnected state; default 'L&D' |
| attribute | subtitle | Line under the title; default none |
| 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 |