PACUScore
ComplexED & periop
<co-pacu-score>PACUScore scores recovery with the modified Aldrete scale (activity, respiration, circulation, consciousness, oxygen saturation; 0 to 2 each, total out of 10) and shows when the patient meets phase I discharge criteria.
import { PACUScore } from 'health-components';
Examples
Showcase
Ready
Not Ready Item At Zero
Not Scored
Signed
Usage
<PACUScore name="bay3" history={earlier} onChange={saveScore} />
When to use
- PACU nursing on arrival and every 15 minutes until discharge.
When not to use
- Phase II or home readiness (PADSS): a separate score.
Variants and states
| Variant | What it is |
|---|---|
| not scored | Total says Not scored. |
| incomplete | Some items answered. |
| not ready | Complete with total under 9 or any 0. |
| ready | Total 9 or 10, no 0: green Meets discharge criteria. |
| history | Earlier scores by time. |
| readOnly | Locked review. |
Accessibility
- Each criterion is a fieldset with a legend; options are native radios with the score number in the label.
- Total and readiness are a live region.
Do and don't
- Do: Score at fixed intervals and keep the history.
- Don't: Discharge on the total alone if any item is 0.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
values | AldreteValues | uncontrolled | Item scores (controlled) |
defaultValues | AldreteValues | {} | Initial item scores (uncontrolled), 0 | 1 | 2 each |
history | PACUHistoryRow[] | [] | Earlier scores by time |
name | string | a generated unique prefix | Radio group name prefix when several are on a page |
readOnly | boolean | false | Locked review |
subtitle | string | none | Line under the title |
onChange | (values: AldreteValues) => void | none | Called with every item score when one changes |
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, autoFocus, plus className and event handlers on the root element.
Angular, Vue and HTML
Register the elements once (Angular guide), then use <co-pacu-score>. 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-pacu-score name="…" read-only [values]="values" (co-change)="onChange($event.detail)"></co-pacu-score>
| Kind | Name | Description |
|---|---|---|
| property / JSON attribute | values | Item scores (controlled); default uncontrolled |
| property / JSON attribute | default-values / defaultValues | Initial item scores (uncontrolled), 0 | 1 | 2 each; default {} |
| property / JSON attribute | history | Earlier scores by time; default [] |
| attribute | name | Radio group name prefix when several are on a page; default a generated unique prefix |
| attribute | read-only / readOnly | Locked review; default false |
| 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 | |
| attribute | auto-focus / autoFocus | |
| event | co-change | Called with every item score when one changes; default none (React: onChange) |