Skip to content

carePlans

Fetch paginated care plan collection

Arguments

after · String · Returns the elements in the list that come after the specified cursor.
before · String · Returns the elements in the list that come before the specified cursor.
first · Int · Returns the first _n_ elements from the list.
last · Int · Returns the last _n_ elements from the list.

Returns

CarePlanPaginationConnection

Example

query carePlans(
$patient_id: ID
$template_search_keywords: String
$templates_only: Boolean
$order_by: CarePlanOrderKeys
$sort_by: String
$after: String
$before: String
$first: Int
$last: Int
) {
carePlans(
patient_id: $patient_id
template_search_keywords: $template_search_keywords
templates_only: $templates_only
order_by: $order_by
sort_by: $sort_by
after: $after
before: $before
first: $first
last: $last
) {
edges
nodes
page_info
total_count
}
}