Skip to main content

QualityMeasureCard

ComplexQuality and care programs<co-quality-measure-card>

QualityMeasureCard shows one quality measure: rate, target (including inverse measures), numerator and denominator, and the gap list link.

import { QualityMeasureCard } from 'health-components';

Examples​

Dashboard​

Storybook

Below Target​

Storybook

Usage​

<QualityMeasureCard measure={{ name: "Controlling High Blood Pressure", id: "CMS165", numerator: 412, denominator: 560, target: 70 }} />

When to use​

  • MIPS and payer quality dashboards.

When not to use​

  • Single patient: CareGapRow.

Variants and states​

VariantWhat it is
meets / belowGreen or amber with icon.
inverseLower is better (CMS122).

Accessibility​

  • Rate and counts in text.

Do and don't​

  • Do: Name the data source and period.
  • Don't: Show a rate without counts.

Props​

PropTypeDefaultDescription
measure *QualityMeasureData—{name, id, period, numerator, denominator, exclusions?, target, inverse?, source?}; required
onViewGaps(measure: QualityMeasureData) => voidnoneCalled by the "View N patients with gaps" link
actionsReactNodenoneHeader actions (one primary at most)
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-quality-measure-card>. 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-quality-measure-card default-checked auto-focus [measure]="measure" (co-view-gaps)="onViewGaps($event.detail)"></co-quality-measure-card>
KindNameDescription
property / JSON attributemeasure{name, id, period, numerator, denominator, exclusions?, target, inverse?, source?}; required
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'
eventco-view-gapsCalled by the "View N patients with gaps" link; default none (React: onViewGaps)
slotactionsHeader actions (one primary at most); default none Plain text also works as the `actions` attribute.
slotfooterFooter content; default none Plain text also works as the `footer` attribute.