Skip to main content

EDTrackingBoard

ComplexED & periop<co-ed-tracking-board>

EDTrackingBoard is the emergency department whiteboard: every patient with ESI acuity, room, chief complaint, wait against the ESI target, status, provider and nurse, last vitals and safety flags.

import { EDTrackingBoard } from 'health-components';

Examples​

Showcase​

Storybook

Wall Board​

Storybook

My Patients​

Storybook

Empty​

Storybook

ESI Badges​

Storybook

Usage​

<EDTrackingBoard patients={edPatients} currentProvider="Dr. Priya Raman" />
<ESIBadge level={2} showLabel />

When to use​

  • The main ED view for charge nurses, providers and techs.
  • A wall display in the department (use density compact).

When not to use​

  • One patient: PatientBanner. Inpatient bed boards: a census table.

Variants and states​

VariantWhat it is
fullSummary tiles, filter, table with last vitals.
compactdensity compact hides the vitals column for wall boards.
ESI 1 rowRed row and ringed ESI 1 tag.
over targetWaiting patients past the ESI wait target get a red "Over N min target" tag.
lobbyNo room yet shows Lobby.
flagsSepsis, Stroke, STEMI, Trauma, Isolation, Fall Risk, Behavioral, Interpreter.
filtersAll, Waiting, Boarding, My patients.
emptyNo patients, or none matching the filter.

Accessibility​

  • Table has a caption; rows sort by ESI then wait, so screen readers hear the sickest first.
  • ESI tags say "ESI 2" in words, and the tooltip names the level.
  • Wait over target is a text tag, not colour alone.

Do and don't​

  • Do: Keep the board sorted by acuity.
  • Do: Show who owns each patient.
  • Don't: Hide patients without a room.
  • Don't: Use colour alone for acuity.

Props​

PropTypeDefaultDescription
patients *EDPatient[]—Patients in the department; required
waitTargetsPartial<Record<ESILevel, number>>{1: 0, 2: 10, 3: 30, 4: 60, 5: 120}Wait targets in minutes per ESI level
currentProviderstringnoneProvider name for the My patients filter
densityEDDensity'comfortable''comfortable' | 'compact' (hides the vitals column, for wall boards)
filterEDFilteruncontrolledFilter (controlled): 'all' | 'waiting' | 'boarding' | 'mine'
defaultFilterEDFilter'all'Initial filter (uncontrolled)
onFilterChange(filter: EDFilter) => voidnoneCalled with the new filter
summarybooleantrueShows the summary tiles
readOnlybooleanfalseHides the Quick Register action
onQuickRegister() => voidnoneCalled by Quick Register
titlestring'ED Tracking Board'Card title
subtitlestringnoneLine 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-ed-tracking-board>. 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-ed-tracking-board current-provider="…" density="…" [patients]="patients" (co-filter-change)="onFilterChange($event.detail)"></co-ed-tracking-board>
KindNameDescription
property / JSON attributepatientsPatients in the department; required
property / JSON attributewait-targets / waitTargetsWait targets in minutes per ESI level; default {1: 0, 2: 10, 3: 30, 4: 60, 5: 120}
attributecurrent-provider / currentProviderProvider name for the My patients filter; default none
attributedensity'comfortable' | 'compact' (hides the vitals column, for wall boards); default 'comfortable'
attributefilterFilter (controlled): 'all' | 'waiting' | 'boarding' | 'mine'; default uncontrolled
attributedefault-filter / defaultFilterInitial filter (uncontrolled); default 'all'
attributesummaryShows the summary tiles; default true
attributeread-only / readOnlyHides the Quick Register action; default false
attributetitleCard title; default 'ED Tracking Board'
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-filter-changeCalled with the new filter; default none (React: onFilterChange)
eventco-quick-registerCalled by Quick Register; default none (React: onQuickRegister)