Awell Health Developer Hub
Developer Hub

We suggest reading the page on our domain model first to get an understanding of the pathway model.

Request

Query

  • graphql
01query GetPathway($pathway_id: String!) {
02 pathway(id: $pathway_id) {
03 pathway {
04 id
05 title
06 pathway_definition_id
07 patient_id
08 patient {
09 id
10 }
11 activities {
12 id
13 stream_id
14 date
15 action
16 status
17 resolution
18 reference_id
19 container_name
20 isUserActivity
21 public
22 object {
23 id
24 }
25 indirect_object {
26 id
27 }
28 track {
29 id
30 }
31 label {
32 id
33 }
34 sub_activities {
35 id
36 }
37 context {
38 instance_id
39 }
40 }
41 version # version number
42 release_id # unique id representing the version
43 status
44 status_explanation
45 start_date
46 complete_date # if pathway is completed
47 stop_date # if pathway is stopped
48 }
49 }
50}

Variables

  • json
01{
02 "pathway_id": "{{PATHWAY_ID}}"
03}