visit_note (and, through the note, the patient), practice, and service_location, and carries the billing-section provider roles and the current billing status. On the Elation Billing side, a claim points back to the bill it was generated from via claim.bill_id.
The CPT lines billed on a bill live in bill_item (bill_item.bill_id → bill.id), and their diagnosis pointers in bill_item_dx (bill_item_dx.bill_item_id → bill_item.id).
The table schema can be found in our HDB dbdocs reference.
For reporting on but not limited to:
- What was billed for a patient’s visit, and when (
billing_date) - Bill status and any billing errors (
billing_status,billing_status_detail,billing_error) - The rendering, supervising, and billing providers on a bill
- Reconciling EHR bills to Elation Billing claims via
claim.bill_id - CPT- and diagnosis-level detail by joining
bill_itemandbill_item_dx
rendering_provider_id is only populated when the rendering provider differs from the note’s provider. When it is null, the rendering provider is the visit note’s author - visit_note.physician_user_id. To get the effective rendering provider, fall back to the note’s author whenever rendering_provider_id is empty (see Effective rendering provider below).Watch the join keys: the provider-role columns on bill (rendering_provider_id, supervising_provider_id, billing_provider_id, referring_provider_id) join to user on user.physician_id, whereas visit_note.physician_user_id joins to user.id. Divergence between the note’s provider and the rendering provider is common in practices with supervising relationships or incident-to billing (incident_to = true).Bills for a date range
Returns every bill with a billing date in a window, with its status, reference number, and any billing error.Effective rendering provider
Resolves the provider who rendered the services on each bill. Becauserendering_provider_id is only set when it differs from the note’s author, this falls back to visit_note.physician_user_id when the column is empty. Note the two joins to user use different keys.
Bill volume by status
Rolls up bill counts by practice and billing status over the last 90 days.billing_status_detail is the full status shown in Billing Home; billing_status is the collapsed category.
Reconcile a bill with its claim
Joins each EHR bill to the Elation Billing claim it produced viaclaim.bill_id, so you can confirm which bills made it to a claim and which have not.