Skip to main content
One row per applied Elation Billing tag - an individual tag placed on a billing entity such as a claim or patient. The tag’s label and color come from its definition in the tag_system table via tag_system_id. The tagged object is identified polymorphically: related_id holds the entity’s id and tag_type records which kind of entity it is. This table’s columns and relationships are shown in the Hosted Database schema.
related_id is a polymorphic Elation Billing identifier - the table it points at depends on tag_type (and, for the secondary association, sub_related_id depends on sub_tag_type). These are raw Elation Billing ids and are not resolved to HDB ids. For claim-type tags, related_id is the Elation Billing claim id and can be joined to claim.id. Resolve the tag’s label through tag_system_id.
For reporting on but not limited to:
  • Which tags are applied to claims or patients
  • Resolving applied tags to their labels and colors via tag_system
  • Tag usage counts across a practice

Applied tags with their labels

Joins each applied tag to its definition for the human-readable label and color.

Tags applied to claims

Filters to claim tags and joins the tagged claim. The related_id of a claim-type tag is the Elation Billing claim id, so it joins directly to claim.id.
If you have any questions about this topic please reach out to Elation Support Portal with the subject line HDB - <your_question>