CarePlan
A Care Plan
Fields
assigned_to
· String
· The name of a user group or a patient the care plan has been assigned to description
· String
· The care plan description feature_toggle
· FeatureToggle
· Feature Toggle of the care plan group_plan_is_active_for_given_user
· Boolean
· Shows whether a group care plan(or a single one, if patient_id argument is not passed) is active for a given user. Make sure to pass patient_id argument if you need to check the status of a group care_plan for the given user has_users_with_real_emails
· Boolean
· Shows whether the patient or at least one user from the related group has not skipped email. We don't want to call care_plan_mailer if all of related users have skipped_email == true Boolean!
· required · Care plan status is_template
· Boolean!
· required · Indicates if care plan can be used as a template and can be assigned on other users user_group
· UserGroup
· A user group the care plan has been assigned to Used By
Definition
"""A Care Plan"""type CarePlan { """ The name of a user group or a patient the care plan has been assigned to """ assigned_to: String
""" Date of creation """ created_at: String!
""" Provider who created care plan """ creator: User
""" Pagination cursor """ cursor: Cursor!
""" The care plan description """ description: String
""" Associated documents """ documents: [Document!]!
""" Feature Toggle of the care plan """ feature_toggle: FeatureToggle
""" Associated goals """ goals: [Goal!]!
""" Shows whether a group care plan(or a single one, if patient_id argument is not passed) is active for a given user. Make sure to pass patient_id argument if you need to check the status of a group care_plan for the given user """ group_plan_is_active_for_given_user( """ The ID of a patient to check """ patient_id: ID ): Boolean
""" Shows whether the patient or at least one user from the related group has not skipped email. We don't want to call care_plan_mailer if all of related users have skipped_email == true """ has_users_with_real_emails: Boolean
""" The unique identifier of the plan """ id: ID!
""" Care plan is active for the associated patient """ is_active: Boolean
""" Indicates whether a care plan is for a group """ is_group: Boolean
""" Care plan status """ is_hidden: Boolean!
""" Indicates if care plan can be used as a template and can be assigned on other users """ is_template: Boolean!
""" The name of care plan """ name: String
""" A user the care plan has been assigned to """ patient: User
""" Ordered (Ascending) associated recommendations """ recommendations: [Recommendation!]!
""" Date when record was last updated """ updated_at: String!
""" A user group the care plan has been assigned to """ user_group: UserGroup}