Skip to main content

AnesthesiaRecord

ComplexED & periop<co-anesthesia-record>

AnesthesiaRecord is the intraoperative record: vitals every 5 minutes as a trend and a grid, case events, medications given, airway details and fluid totals.

import { AnesthesiaRecord } from 'health-components';

Examples​

Showcase​

Storybook

Signed MAC​

Storybook

Usage​

<AnesthesiaRecord times={times} vitals={vitals} meds={meds} airway={airway} totals={{ fluids: 1200, ebl: 150, urine: 220 }} />

When to use​

  • During and after a case, by the anesthesia provider.

When not to use​

  • PACU vitals: VitalsPanel.

Variants and states​

VariantWhat it is
in progressAdd Event and Give Medication actions.
flagged cellsOut-of-range values in red with H, L, HH or LL.
not recordedn/r in a cell.
eventsDashed lines labelled Induction, Incision.
controlled drugsC-II tag on fentanyl and similar.
alertCritical event banner, such as hypotension.
signedLocked.
no airwayAirway not documented, such as MAC cases.

Accessibility​

  • Grid has a caption and row headers; each value has a range title.
  • Chart has an aria-label with the heart rate series.

Do and don't​

  • Do: Record dose units every time.
  • Don't: Write trailing zeros like 2.0 mg.

Props​

PropTypeDefaultDescription
times *string[]—Column times 'HH:MM', usually every 5 minutes; required
vitals *AnesthesiaVitals—Vitals aligned to `times`; required
eventsAnesthesiaEvent[][]Case events
medsAnesthesiaMed[][]Medications given
airwayAnesthesiaAirwaynone (Airway not documented)Airway
totalsAnesthesiaTotals{}Fluid totals in mL
alert{ title: string; body: string }noneCritical event banner {title, body}
readOnlybooleanfalseSigned record: no actions
subtitlestringnoneLine under the title
onAddEvent() => voidnoneCalled by Add Event
onGiveMedication() => voidnoneCalled by Give Medication
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-anesthesia-record>. 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-anesthesia-record read-only subtitle="…" [times]="times" (co-add-event)="onAddEvent($event.detail)"></co-anesthesia-record>
KindNameDescription
property / JSON attributetimesColumn times 'HH:MM', usually every 5 minutes; required
property / JSON attributevitalsVitals aligned to `times`; required
property / JSON attributeeventsCase events; default []
property / JSON attributemedsMedications given; default []
property / JSON attributeairwayAirway; default none (Airway not documented)
property / JSON attributetotalsFluid totals in mL; default {}
property / JSON attributealertCritical event banner {title, body}; default none
attributeread-only / readOnlySigned record: no actions; default false
attributesubtitleLine under the title; default none
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
eventco-add-eventCalled by Add Event; default none (React: onAddEvent)
eventco-give-medicationCalled by Give Medication; default none (React: onGiveMedication)