FallRiskScore
ComplexInpatient nursing
<co-fall-risk-score>FallRiskScore is the Morse Fall Scale: six items, automatic total and the risk band with the precautions it calls for.
import { FallRiskScore } from 'health-components';
Examples
High Risk
Moderate Risk
Low Risk Read Only
Incomplete
Usage
<FallRiskScore defaultValues={{ history: 1, secondary: 1, aid: 1, iv: 1, gait: 2, mental: 0 }} previous={{ total: 35, when: "yesterday 20:00" }} />
When to use
- Adult inpatient fall screen on admission, each shift and after a change or a fall.
When not to use
- Children: use a pediatric tool (Humpty Dumpty) through ScoreForm-style items.
Variants and states
| Variant | What it is |
|---|---|
| incomplete | Shows how many items are scored; no total or band. |
| Low (0 to 24) | Green band, standard precautions. |
| Moderate (25 to 44) | Amber band. |
| High (45+) | Red band with bed alarm, low bed, rounding. |
| previous | Last total shown under the result. |
| readOnly | Options not selectable. |
Accessibility
- Each item is a radiogroup; options show their points.
- Total and band are in a polite live region.
Do and don't
- Do: Pass
bandwhen the site uses different cut-offs (for example 25 to 50 and 51+). - Don't: Show a band before every item is scored.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
defaultValues | Record<string, number> | {} | Option index per item (uncontrolled), keyed by item id: history, secondary, aid, iv, gait, mental |
values | Record<string, number> | uncontrolled | Option index per item (controlled) |
band | (total: number) => NursingScoreBand | morseBand (0-24 low, 25-44 moderate, 45+ high) | Cut-offs, total to band |
title | string | 'Morse Fall Scale' | Card title |
previous | NursingPreviousScore | none | Last score |
readOnly | boolean | false | |
onChange | (values: Record<string, number>) => void | — | Called with all answers after each pick |
subtitle | string | — | Patient line |
rangeContext | RangeContextId | 'inpatient' when no global context is set | Which shared reference range flags use |
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-fall-risk-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-fall-risk-score title="…" read-only [defaultValues]="defaultValues" (co-change)="onChange($event.detail)"></co-fall-risk-score>
| Kind | Name | Description |
|---|---|---|
| property / JSON attribute | default-values / defaultValues | Option index per item (uncontrolled), keyed by item id: history, secondary, aid, iv, gait, mental; default {} |
| property / JSON attribute | values | Option index per item (controlled); default uncontrolled |
| attribute | title | Card title; default 'Morse Fall Scale' |
| property / JSON attribute | previous | Last score; default none |
| attribute | read-only / readOnly | default false |
| attribute | subtitle | Patient line |
| attribute | range-context / rangeContext | Which shared reference range flags use; default 'inpatient' when no global context is set |
| attribute | default-checked / defaultChecked | |
| attribute | auto-focus / autoFocus | |
| property (function) | band | Cut-offs, total to band; default morseBand (0-24 low, 25-44 moderate, 45+ high) |
| event | co-change | Called with all answers after each pick (React: onChange) |