is_deleted = false - a plain row count over the whole table will overstate pending work by several orders of magnitude.
Those completed rows are kept because they are the only record in the Hosted Database of which biller pushed a claim out the door and when. claim carries no user, and no other Elation Billing table attributes a claim submission to a person.
This table’s columns and relationships are shown in the Hosted Database schema.
A row that has left the queue records neither why it left nor when.
created_timestamp is the only timestamp on this table, so the time a claim spent in the queue can be measured only for claims still in it. For when a claim was actually submitted, use clearinghouse_transaction.is_submitted identifies the rows Elation Billing confirmed it submitted electronically. Paper submissions are deliberately not counted - they leave the queue without the batch label is_submitted depends on, and cannot be told apart from a biller pulling the claim back - so is_submitted = false means not electronically confirmed, not necessarily unsubmitted. For the billing outcome itself use clearinghouse_transaction and claim.is_billed.status has two values Elation Billing defines: pending, meaning queued and awaiting a biller marking it ready, and ready, meaning cleared for the next submission run. A third form, batch- followed by a timestamp, is an internal label applied while a group of claims is being submitted.The same value means different things depending on is_deleted. On a row that has left the queue, pending means the claim was paper billed or pulled back by a biller, and a batch- label is the audit trail of the run that submitted it. On a row still in the queue, a batch- label should exist only momentarily, so a surviving one means that submission run did not finish and the claim is stranded.patient_insurance_id is the insurance the claim was queued to be billed to, which is not necessarily the one it was last billed to. It is only meaningful on rows still in the queue.- Which claims are waiting to be submitted right now
- Which biller queued a claim, and when
- How long the claims currently queued have been waiting
- Electronically confirmed submissions over time, by biller or practice
- Stranded claims left behind by an unfinished submission run