Skip to main content

WoundCareDoc

ComplexInpatient nursing<co-wound-care-doc>

WoundCareDoc documents one wound: site, stage and cause, length, width and depth in cm with computed area and change since first measure, tissue mix, exudate, treatment and the measurement history.

import { WoundCareDoc } from 'health-components';

Examples​

Healing​

Storybook

Worsening​

Storybook

Unstageable Read Only​

Storybook

Usage​

<WoundCareDoc wound={sacrum} history={measurements} onSave={save} />

When to use​

  • Pressure injuries, surgical wounds, diabetic foot ulcers, venous ulcers.

When not to use​

  • Risk only, no wound: BradenScore.
  • Body location picking: BodyMap.

Variants and states​

VariantWhat it is
editableInputs for L, W, D; area updates as you type.
healingArea change negative, shown green.
worseningArea change positive, shown red; Stage 4 or Unstageable shows red stage badge.
hospital-acquiredRed badge.
tissue checkWarns when percentages do not add to 100.
readOnlyValues only.

Accessibility​

  • Inputs are labelled with their unit.
  • Tissue bar has an aria-label listing each tissue and percent.
  • Area change has a sign character, not only colour.

Do and don't​

  • Do: Measure head-to-toe for length and side-to-side for width every time.
  • Don't: Compare areas taken with different methods.

Props​

PropTypeDefaultDescription
wound *Wound—The wound; required
historyWoundHistoryEntry[][]Measurement history, oldest first
readOnlybooleanfalseView only
onSave(current: WoundMeasure) => void—Called with the current assessment on Save wound assessment
onAddPhoto() => voidnoneCalled on Add photo
titlestring'Wound Care'Card title
subtitlestringnonePatient line
rangeContextRangeContextId'inpatient' when no global context is setWhich shared reference range flags use

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-wound-care-doc>. 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-wound-care-doc read-only title="…" [wound]="wound" (co-save)="onSave($event.detail)"></co-wound-care-doc>
KindNameDescription
property / JSON attributewoundThe wound; required
property / JSON attributehistoryMeasurement history, oldest first; default []
attributeread-only / readOnlyView only; default false
attributetitleCard title; default 'Wound Care'
attributesubtitlePatient line; default none
attributerange-context / rangeContextWhich shared reference range flags use; default 'inpatient' when no global context is set
attributedefault-checked / defaultChecked
property / JSON attributedefault-value / defaultValue
attributeauto-focus / autoFocus
eventco-saveCalled with the current assessment on Save wound assessment (React: onSave)
eventco-add-photoCalled on Add photo; default none (React: onAddPhoto)