ClaimStatusTag
ComplexRevenue
<co-claim-status-tag>ClaimStatusTag names where a claim is in the X12 cycle: 837 sent, 999 accepted or rejected, 277CA, 277 pending and 835 paid, partial or denied.
import { ClaimStatusTag } from 'health-components';
Examples
All Statuses
Paid
Denied
Appealed
Usage
<ClaimStatusTag status="Rejected (277CA)" />
When to use
- Claim lists and claim detail.
When not to use
- Simple business status: StatusTag kind claim.
Variants and states
| Variant | What it is |
|---|---|
| states | Ready to Send, Sent (837), Accepted (999), Rejected (999), Accepted (277CA), Rejected (277CA), Pending (277), Paid (835), Partially Paid (835), Denied (835), Appealed. |
Accessibility
- Icon plus words; title explains the step.
Do and don't
- Do: Show the transaction in brackets.
- Don't: Mix with internal workflow words.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
status * | ClaimStatus | (string & {}) | — | One of `ClaimStatusTag.statuses`; other strings render neutral without an icon. Required |
size | BadgeSize | 'md' | 'sm' | 'md' |
shape | BadgeShape | 'square' | 'square' | 'pill' |
dot | boolean | false | Shows a small dot in the current colour before the label (ignored when `icon` is set) |
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-claim-status-tag>. 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-claim-status-tag default-checked auto-focus [status]="status"></co-claim-status-tag>
| Kind | Name | Description |
|---|---|---|
| property / JSON attribute | status | One of `ClaimStatusTag.statuses`; other strings render neutral without an icon. Required |
| attribute | default-checked / defaultChecked | |
| property / JSON attribute | default-value / defaultValue | |
| attribute | auto-focus / autoFocus | |
| attribute | size | 'sm' | 'md'; default 'md' |
| attribute | shape | 'square' | 'pill'; default 'square' |
| attribute | dot | Shows a small dot in the current colour before the label (ignored when `icon` is set); default false |