Skip to main content
One row per bill generated from a visit note - the EHR-side billing record a practice creates to capture what was billed for an encounter. Each bill links to its 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_idbill.id), and their diagnosis pointers in bill_item_dx (bill_item_dx.bill_item_idbill_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_item and bill_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. Because rendering_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 via claim.bill_id, so you can confirm which bills made it to a claim and which have not.
If you have any questions about this topic please reach out to Elation Support Portal with the subject line HDB - <your_question>