ERAPostingRow
ComplexRevenue
<co-era-posting-row>ERAPostingRow is one ERA (835) service line to post: billed, allowed, paid, contractual and patient amounts, CARC and RARC codes, balance check and Post.
import { ERAPostingRow } from 'health-components';
Examples
Posting Queue
Out Of Balance
Usage
<ERAPostingRow row={{ patient: "Henna West", cpt: "99214", billed: 182, allowed: 118.4, paid: 93.4, patientResp: 25, adjustments: [{ group: "CO", code: "45", amount: 63.6 }] }} />
When to use
- Payment posting.
When not to use
- Patient payments: CopayCollector.
Variants and states
| Variant | What it is |
|---|---|
| balanced | Post enabled. |
| out of balance | Red border, amount, Post disabled. |
| codes | Group-CARC with amount; RARC tags with titles. |
Accessibility
- Codes have titles with their meaning.
Do and don't
- Do: Explain CO-45 and PR-2 on hover.
- Don't: Post an out-of-balance line.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
row * | EraRow | — | The ERA service line. Required |
onPost | (row: EraRow) => void | none | Called with the row when Post is pressed (only enabled when balanced) |
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-era-posting-row>. 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-era-posting-row default-checked auto-focus [row]="row" (co-post)="onPost($event.detail)"></co-era-posting-row>
| Kind | Name | Description |
|---|---|---|
| property / JSON attribute | row | The ERA service line. Required |
| attribute | default-checked / defaultChecked | |
| property / JSON attribute | default-value / defaultValue | |
| attribute | auto-focus / autoFocus | |
| event | co-post | Called with the row when Post is pressed (only enabled when balanced); default none (React: onPost) |