Skip to content

Task

Tasks for providers to create, complete, and optionally assign to client profiles

Fields

assignees · UserConnection · The providers and staff who are assigned to this task
client · User · The client (patient) associated with this task
client_id · ID · The identifier of the client (patient) associated with this task
complete · Boolean · If true, user has marked task complete
completed_at · ISO8601DateTime · Date and time this task was completed
completed_by_id · ID · User ID of the user (provider or staff member) who completed this task
content · String · Details describing this task
created_at · ISO8601DateTime! · required · Date and time this task was created
created_by_generator_id · String · ID of an auto generator
created_by_id · ID · The identifier of the user (provider or staff member) who created this task
creator · User · The user (provider or staff member) who created this task
cursor · Cursor! · required · Pagination cursor
due_date · ISO8601DateTime · Date and time this task was is due to be complete
hidden · Boolean! · required · If true, hide completed task from top nav bar
id · ID! · required · The unique identifier of the task
note · Note · Get associated chat message with a task
note_path · String · Get relative path to view the note (chat message) associated with the task.
position · Int · Order in which tasks are displayed (ascending)
priority · Int! · required · Level of urgency for this task(0 = standard priority, 1 = high priority)
ref_source · String · ID of additional relation
reminder · Reminder · Reminder object for a given goal
seen · Boolean! · required · If true, the assigned user (provider or staff member) has viewed this task in top navbar
smart · Boolean! · required · Indicates this was automatically created via smart task
smart_category · String · The category of smart task
updated_at · ISO8601DateTime · The last date and time that the task was updated
user · User · The first user (provider or staff member) assigned to complete the task
user_id · ID · The ID of the first user (provider or staff member) assigned to this task

Used By

Definition

"""
Tasks for providers to create, complete, and optionally assign to client profiles
"""
type Task {
"""
The providers and staff who are assigned to this task
"""
assignees(
order_by: UserOrderKeys = LAST_NAME_ASC
"""
Returns the elements in the list that come after the specified cursor.
"""
after: String
"""
Returns the elements in the list that come before the specified cursor.
"""
before: String
"""
Returns the first _n_ elements from the list.
"""
first: Int
"""
Returns the last _n_ elements from the list.
"""
last: Int
): UserConnection
"""
The client (patient) associated with this task
"""
client: User
"""
The identifier of the client (patient) associated with this task
"""
client_id: ID
"""
If true, user has marked task complete
"""
complete: Boolean
"""
Date and time this task was completed
"""
completed_at: ISO8601DateTime
"""
User ID of the user (provider or staff member) who completed this task
"""
completed_by_id: ID
"""
Details describing this task
"""
content: String
"""
Date and time this task was created
"""
created_at: ISO8601DateTime!
"""
ID of an auto generator
"""
created_by_generator_id: String
"""
The identifier of the user (provider or staff member) who created this task
"""
created_by_id: ID
"""
The user (provider or staff member) who created this task
"""
creator: User
"""
Pagination cursor
"""
cursor: Cursor!
"""
Date and time this task was is due to be complete
"""
due_date: ISO8601DateTime
"""
If true, hide completed task from top nav bar
"""
hidden: Boolean!
"""
The unique identifier of the task
"""
id: ID!
"""
Get associated chat message with a task
"""
note: Note
"""
Get relative path to view the note (chat message) associated with the task.
"""
note_path: String
"""
Order in which tasks are displayed (ascending)
"""
position: Int
"""
Level of urgency for this task(0 = standard priority, 1 = high priority)
"""
priority: Int!
"""
ID of additional relation
"""
ref_source: String
"""
Reminder object for a given goal
"""
reminder: Reminder
"""
If true, the assigned user (provider or staff member) has viewed this task in top navbar
"""
seen: Boolean!
"""
Indicates this was automatically created via smart task
"""
smart: Boolean!
"""
The category of smart task
"""
smart_category: String
"""
The last date and time that the task was updated
"""
updated_at: ISO8601DateTime
"""
The first user (provider or staff member) assigned to complete the task
"""
user: User
"""
The ID of the first user (provider or staff member) assigned to this task
"""
user_id: ID
}