Skip to content

tagsPaginated

A paginated collection of tags related to current patient/provider/organization

Arguments

applied_to_providers · Boolean · When true, only returns tags applied to providers in the organization.
ids · [ID] · Filter results to only tags with the specified IDs.
order_by · TagOrderKeys · Sort order for returned tags. Supports sorting by name, patient count, organization member count, or creator name. Defaults to name ascending. See 'Tag Order Keys' for more information.
user_id · String · Filter results to tags owned by the specified user. Ignored if the current user has see_all_clients permission.
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

TagPaginationConnection

Example

query tagsPaginated(
$applied_to_providers: Boolean
$ids: [ID]
$order_by: TagOrderKeys
$user_id: String
$after: String
$before: String
$first: Int
$last: Int
) {
tagsPaginated(
applied_to_providers: $applied_to_providers
ids: $ids
order_by: $order_by
user_id: $user_id
after: $after
before: $before
first: $first
last: $last
) {
edges
nodes
page_info
total_count
}
}