Queries
Get all information for a given pathway
We suggest reading the page on our domain model first to get an understanding of the pathway model.
- graphql
01query GetPathway($pathway_id: String!) {02 pathway(id: $pathway_id) {03 pathway {04 id05 title06 pathway_definition_id07 patient_id08 patient {09 id10 }11 activities {12 id13 stream_id14 date15 action16 status17 resolution18 reference_id19 container_name20 isUserActivity21 public22 object {23 id24 }25 indirect_object {26 id27 }28 track {29 id30 }31 label {32 id33 }34 sub_activities {35 id36 }37 context {38 instance_id39 }40 }41 version # version number42 release_id # unique id representing the version43 status44 status_explanation45 start_date46 complete_date # if pathway is completed47 stop_date # if pathway is stopped48 }49 }50}
- json
01{02 "pathway_id": "{{PATHWAY_ID}}"03}