Awell Health Developer Hub
Dev Hub

Where care flow activities represent every granular activity related to the operation or orchestration of a care flow, Elements are the building blocks of a care flow represented by their logical (e.g. this step belongs to a parent track) and chronological (e.g. this step's completion date depends on when all its child actions are completed) dependencies.

Elements of a care flow

Elements allow us to reflect a care flow's overall shape. This means we can generate a clear picture of not just when we are (as with activities), but where we are in the lifespan of an orchestrated care flow. This makes them perfect for constructing Gantt or Timeline-style views that give users high-level or granular views of a patient's progress through a care flow.

Element types

A care flow consists of the following types of elements:

  • Pathway
  • Tracks
  • Steps
  • Actions
  • Triggers (not yet supported in the query)

There is hierarchy to elements. An action's parent is a Step. A Step's parent is a Track. A Track's parent is a Care Flow. In other words, Care Flow -> Track -> Step -> Action. Care flows, being the largest unit of care flow definition themselves, do not have parents.

Request

Query

01

Variables

01

How to use