Skip to content

sentNotificationRecords

Fetch notification list for a specific client or list of clients.

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.

Returns

[SentNotificationRecord!]

Example

query sentNotificationRecords(
$end_date: String
$offset: Int
$org_level: Boolean
$patient_id: ID
$provider_id: ID
$should_paginate: Boolean
$start_date: String
$status: String
$type: String
) {
sentNotificationRecords(
end_date: $end_date
offset: $offset
org_level: $org_level
patient_id: $patient_id
provider_id: $provider_id
should_paginate: $should_paginate
start_date: $start_date
status: $status
type: $type
) {
category
created_at
delivery_status
id
notification_description
notification_type
representation_type
user_id
}
}