Skip to main content
The patient_insurance table has one row per insurance policy recorded on a patient’s chart in Elation. It holds the carrier and plan, member and group IDs, the policy’s rank, copay and deductible, the coverage dates, and the details of the insured person when that is not the patient. Join to patient on patient_id. This table’s columns and relationships are shown in the Hosted Database schema. For reporting on but not limited to:
  • Each patient’s current primary, secondary, and tertiary insurance
  • Patient counts by carrier or plan
  • Matching the coverage in effect to a date of service
  • Insurance history for a patient

Before you query patient insurance

Historical policies are kept

When a policy is replaced on the chart, the old one moves to the chart’s Historical Insurance Records section (see Insurance Management). The Hosted Database keeps it with is_deleted = true. A policy removed from the chart with Delete This Insurance is also kept with is_deleted = true, and the two cannot be told apart. Filter on is_deleted = false for the policies shown as active on the chart. Leave the filter off when you need the policies that were in effect at an earlier date.

Rank

rank is 1 for primary, 2 for secondary, and 3 for tertiary insurance. A small number of policies carry other values. A patient can have more than one active policy at the same rank, so pick one explicitly, for example the most recently modified, when you need a single primary policy per patient.

Coverage dates are often empty

coverage_start and coverage_end are the Effective Date and End Date entered on the policy. Many policies have neither, and an empty coverage_end usually means no end date was entered rather than coverage that is known to be ongoing. Check how complete the dates are for your practices before relying on them. The coverage date completeness query below shows this.
If your practices use Elation Billing, Patient Insurance Eligibility also carries coverage_start and coverage_end for each policy, usually more completely, along with the latest eligibility status.

Current insurance for each patient

Returns the active primary, secondary, and tertiary policy for each patient, taking the most recently modified policy where a patient has more than one at the same rank.

Coverage in effect on the date of service

Matches each bill to the patient’s policies whose coverage dates include the date of the visit. Historical policies are included, because the policy in effect at the time of an older visit may since have been replaced. Bills whose patient has no policy with a matching coverage window are left out, which is common where coverage dates were not entered.

Coverage date completeness

Shows, for each practice, how many active policies have a coverage start date and an end date.
If you have any questions about this topic please reach out to Elation Support Portal with the subject line HDB - <your_question>