Skip to content

careAlerts

Paginated list of Care Alerts with optional filters

Arguments

patient_id · ID · Filter by patient
priority · CareAlertPriorityEnum · Filter by priority level
is_deleted · Boolean · When true, returns only soft-deleted alerts; when false, returns only active alerts. Defaults to false
is_expired · Boolean · When true, returns only expired alerts; when false, returns only unexpired alerts. Defaults to false
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

CareAlertPaginationConnection

Example

query careAlerts(
$patient_id: ID
$priority: CareAlertPriorityEnum
$is_deleted: Boolean
$is_expired: Boolean
$after: String
$before: String
$first: Int
$last: Int
) {
careAlerts(
patient_id: $patient_id
priority: $priority
is_deleted: $is_deleted
is_expired: $is_expired
after: $after
before: $before
first: $first
last: $last
) {
edges
nodes
page_info
total_count
}
}