Skip to main content

Data References

To reference data, names for levels are separated by . are used when functions need coordinates for a data point. For example:

entity.category.field

Entities

Entity is the highest level of categorization for data. Two entities currently exist

  • integration - any incoming payload that a plan has been configured to receive
  • plan - fixed plan attributes (e.g. start date) and calculated columns
  • submission - any form or rule derived data
  • user - user profile data
  • workQueueItem - fixed work queue item attributes

Categories

Some entities must define a second level:

  • integration, category is the subject (a.k.a topic) name
  • plan, there is no category and the reference requires only two levels
  • submission, category is the form name
  • user, category is the user's role as defined in the plan
  • workQueueItem, category is the work queue name

Fields

A field is defined by a name and type category.

Usually fields are dynamically defined based on the configuration of the form, plan, and integration.

Examples

For example, to get a field named "field1" from a form named "form1":

submission.form1.field1

Or to read the status of a plan:

plan.status

These data references are used by by Healix Expression Grammar discussed next.

Catalog

The following fixed attributes are available

EntityCategoryFieldPermitted ValuesWriteable
integration$subject_submittedread only
submission$formName_submittedread only
plantitleread only
planstartDateread only
planendDateread-write
planstatusOPEN, CLOSEDread-write
planriskStatusread-write
user$roletitleread-write
user$rolefirstNameread-write
user$rolemiddleNameread-write
user$rolelastNameread-write
user$rolefullNamread
user$roleemailread-write
user$rolephoneread-write
user$roledateOfBirthread-write
user$rolegenderread-write
workQueueItem$workQueueNametitleread only
workQueueItem$workQueueNamecreatedAtread only
workQueueItem$workQueueNameticketNumberread only
workQueueItem$workQueueNamepriorityread-write
workQueueItem$workQueueNameserviceLocationread-write
workQueueItem$workQueueNamequeuePositionread-write
workQueueItem$workQueueNamestatusstatuses defined in the work queue definitionread-write

Where $formName, $subject, $workQueueName, and $roleName are the names of the form, subject, work queue, and role respectively.