Awell Health Developer Hub
Dev Hub

Request

Fetch data points from a care flow.

While the ID of the care flow (pathway_id) is mandatory, the data_point_definition_id and activity_id are optional.

Query

01

Variables

| Name | Type | Description | | ---- | ---- | ----------- | | pathway_id | String! | The instance of the care flow to fetch data points from. | | data_point_definition_id | String | The ID of the data point definition to filter the data points by. | | activity_id | String | The ID of the activity to filter the data points by. |

Use cases

Fetching all data points from a care flow

01

Fetch all pathway data points from a care flow. These will be sorted by date in descending order, by default.


Fetch data points from a specific activity

01

Another common use case would be to see all data points returned from a given activity (e.g. a form submission or an extension activity)


Fetch data points from a specific data point definition

01

Finally, another use case would be to see all data points returned from a specific data point definition (e.g. a blood pressure measurement or a PROM, collected multiple times over a period of time)