Skip to main content

Encounter Connection

Get Encounter resources with pagination.

Query

query EncounterConnection($first: Int, $after: String) {
encounterConnection(first: $first, after: $after) {
edges {
node {
id
# Add other fields as needed
}
}
pageInfo {
hasNextPage
endCursor
}
totalCount
}
}

Parameters

  • first: Number of items to retrieve
  • after: Cursor for pagination

Return Type

Returns a connection object containing Encounter resources.