Skip to main content

PrenatalFlowsheet

ComplexSpecialty<co-prenatal-flowsheet>

PrenatalFlowsheet tracks every prenatal visit in one table, gestational age, weight, blood pressure, urine, fundal height and fetal heart rate, with flags for hypertension, size and dates mismatch and abnormal heart rate.

import { PrenatalFlowsheet } from 'health-components';

Examples​

Severe Range​

Storybook

Usage​

<PrenatalFlowsheet header={{ edd: "01/14/2027", eddBy: "8w US", gp: "G2 P1001" }} visits={[{ date: "10/09/2026", ga: [26, 3], wt: 71.4, sbp: 118, dbp: 74, protein: "neg", glucose: "neg", fh: 26, fhr: 148 }]} />

When to use​

  • Obstetric and midwifery prenatal visits from the first visit to delivery.

When not to use​

  • Labor: a labor flowsheet and fetal monitoring strip.
  • Postpartum visits.

Variants and states​

VariantWhat it is
headerEDD and how it was set, G/P, blood type, rubella, GBS and pre-pregnancy BMI.
risk badgesWarning badges for risks such as advanced maternal age or prior preterm birth.
BP flagsHigh above 139/89; severe range 160/110 or more turns the row red and shows an error Alert with the treatment window; 140/90 after 20 weeks shows a warning Alert.
size and datesFundal height more than 2 cm away from weeks after 20 weeks gets a badge.
FHRRange 110 to 160 bpm; below 100 or above 180 is critical.
urineNegative, trace, then 1+ warning and 2+ or more danger.
not yetFundal height before 20 weeks and Doppler before about 10 weeks read "Not yet".

Clinical values​

Every number goes through the shared clinical value rules (CareOS.fmt and ClinicalValue from the clinical-values card): tabular digits, the unit always shown, a fixed precision per measure, the reference range in the tooltip, and H, L or critical flags. Medication amounts follow the ISMP dose style through fmt.doseNumber: rounded to the stated precision, then shown with no trailing zero (5 mg, never 5.0 mg) and a leading zero (0.5 mL). The specialty measures this card adds sit in CareOS.specialty.MEAS with their precision: maternal weight 1 decimal kg, BP whole mmHg, fundal height whole cm, FHR whole bpm, GA as weeks and days. Ranges in the previews are sample values for the design system, not clinical guidance; a real deployment passes its own.

Accessibility​

  • Gestational age has a spoken label in weeks and days.
  • Critical rows have a red background and flags in words, never colour alone.
  • The table scrolls sideways on small screens instead of squashing.

Do and don't​

  • Do: Show GA on every row.
  • Do: Repeat a severe-range BP and act within the window.
  • Don't: Hide trace protein as normal.
  • Don't: Compare fundal height before 20 weeks.

Props​

PropTypeDefaultDescription
headerPrenatalHeader{}{edd, eddBy, gp, blood, rubella, gbs, bmi, risks}
visitsReadonlyArray<PrenatalVisit>[]Visits, oldest first
titlestring'Prenatal flowsheet'Card title
subtitlestringnoneLine under the title
readOnlybooleanfalseHides Add Visit
onAddVisit() => voidnoneAdd Visit action
rangeContextRangeContextId'pregnancy' 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-prenatal-flowsheet>. 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-prenatal-flowsheet title="…" subtitle="…" [header]="header" (co-add-visit)="onAddVisit($event.detail)"></co-prenatal-flowsheet>
KindNameDescription
property / JSON attributeheader{edd, eddBy, gp, blood, rubella, gbs, bmi, risks}; default {}
property / JSON attributevisitsVisits, oldest first; default []
attributetitleCard title; default 'Prenatal flowsheet'
attributesubtitleLine under the title; default none
attributeread-only / readOnlyHides Add Visit; default false
attributerange-context / rangeContextWhich shared reference range flags use; the lab range on a result still wins; default 'pregnancy' when no global context is set
attributedefault-checked / defaultChecked
property / JSON attributedefault-value / defaultValue
attributeauto-focus / autoFocus
eventco-add-visitAdd Visit action; default none (React: onAddVisit)