Awell Health Developer Hub
Developer Hub

Retrieve the full list of published pathway definitions including the title, version, baseline data point definitions, and track definitions.

Request

Query

  • graphql
01query GetPublishedPathwayDefinitions {
02 publishedPathwayDefinitions {
03 publishedPathwayDefinitions {
04 id
05 title
06 version
07 data_point_definitions { # previously dataPointDefinitions
08 id
09 key
10 category
11 valueType
12 optional
13 range {
14 min
15 max
16 }
17 unit
18 possibleValues {
19 label
20 value
21 }
22 }
23 track_definitions {
24 id
25 title
26 can_trigger_manually
27 }
28 }
29 }
30}

The can_trigger_manually field

This boolean field indicates that the track can be triggered manually using the startTrack or scheduleTrack mutations.

The id of the track is the track reference required for these mutations, and does not change between published pathway versions. You will also need the id of the specific patient pathway the track is (scheduled) to be added to.

How to use