Skip to main content

RPMReadingChart

ComplexQuality and care programs<co-rpm-reading-chart>

RPMReadingChart shows remote-monitoring readings against an alert line, reading days toward 99454 and interactive minutes toward 99457.

import { RPMReadingChart } from 'health-components';

Examples​

Billing Met​

Storybook

Usage​

<RPMReadingChart device="BP cuff, Omron" readings={week} high={140} days={18} minutes={14} />

When to use​

  • RPM enrollment review and monthly billing check.

When not to use​

  • Office vitals: VitalsPanel.

Variants and states​

VariantWhat it is
daysGreen at 16 or more.
alertOut-of-range note.
minutesProgress to 20.

Accessibility​

  • Chart has full aria text.

Do and don't​

  • Do: Show billing thresholds as progress.
  • Don't: Bill with fewer than 16 days.

Props​

PropTypeDefaultDescription
readings *ReadonlyArray<RPMReading>—Array<[label, value]>; required
metricstringnoneChart caption and start of its accessible summary ("Systolic (mmHg), last 7 readings")
devicestringnoneDevice and context line under the title
titlestring"Remote monitoring"Card title
highnumbernoneAlert line: readings at or above it are red
lownumbernoneReadings at or below it are amber
maxnumberautoTop of the chart scale
days *number—Reading days this month (16 needed for 99454); required
minutesnumber0Interactive minutes this month (20 needed for 99457)
alertstringnoneOut-of-range note shown as a warning Alert
flatbooleanfalseBorder instead of shadow
paddingCardPadding'default''default' | 'compact' (10px) | 'none' (edge-to-edge tables)
footerReactNodenoneFooter content
asElementType'section'Root tag name

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-rpm-reading-chart>. 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-rpm-reading-chart metric="…" device="…" [readings]="readings"></co-rpm-reading-chart>
KindNameDescription
property / JSON attributereadingsArray<[label, value]>; required
attributemetricChart caption and start of its accessible summary ("Systolic (mmHg), last 7 readings"); default none
attributedeviceDevice and context line under the title; default none
attributetitleCard title; default "Remote monitoring"
attributehighAlert line: readings at or above it are red; default none
attributelowReadings at or below it are amber; default none
attributemaxTop of the chart scale; default auto
attributedaysReading days this month (16 needed for 99454); required
attributeminutesInteractive minutes this month (20 needed for 99457); default 0
attributealertOut-of-range note shown as a warning Alert; default none
attributedefault-checked / defaultChecked
property / JSON attributedefault-value / defaultValue
attributeauto-focus / autoFocus
attributeflatBorder instead of shadow; default false
attributepadding'default' | 'compact' (10px) | 'none' (edge-to-edge tables); default 'default'
property / JSON attributeasRoot tag name; default 'section'
slotfooterFooter content; default none Plain text also works as the `footer` attribute.