Skip to content

episodesOfCare

Fetch paginated episodes of care 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

EpisodeOfCareConnection

Example

query episodesOfCare(
$ids: [ID!]
$patient_id: ID
$provider_id: ID
$after: String
$before: String
$first: Int
$last: Int
) {
episodesOfCare(
ids: $ids
patient_id: $patient_id
provider_id: $provider_id
after: $after
before: $before
first: $first
last: $last
) {
edges
nodes
page_info
total_count
}
}