Skip to content

sentNotificationRecords

Fetch paginated sent notification records collection

Arguments

org_level · Boolean · Used in conjunction with provider_id. When true, returns sent notification records for all patients in the organization
patient_id · ID · The ID of the patient to return sent notification records for.
provider_id · ID · When passed in, returns sent notification records for the given provider's patients. Overrides patient_id. Current user must be an admin to use this param
should_paginate · Boolean · Must be true if provider_id is passed in.
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

SentNotificationRecordPaginationConnection

Example

query sentNotificationRecords(
$end_date: ISO8601DateTime
$org_level: Boolean
$patient_id: ID
$provider_id: ID
$should_paginate: Boolean
$start_date: ISO8601DateTime
$status: String
$type: String
$after: String
$before: String
$first: Int
$last: Int
) {
sentNotificationRecords(
end_date: $end_date
org_level: $org_level
patient_id: $patient_id
provider_id: $provider_id
should_paginate: $should_paginate
start_date: $start_date
status: $status
type: $type
after: $after
before: $before
first: $first
last: $last
) {
edges
nodes
page_info
total_count
}
}