OBJECT
Goal
a goal
link GraphQL Schema definition
- type Goal {
- # Completion Percentage of a goal for a given date range. start_range/end_range
- # should be of the form: 'yyyy-mm-dd'
- #
- # Arguments
- # end_range: The end of the date range.
- # start_range: The start of the date range.
- (
- String, :
- String! :
- ): Int
- # The rate at which this goal is completed
- String @deprecated( reason: "should use completion_percentage_for_range" ) :
- # The creation timestamp of the goal
- String :
- # created user of goal
- ID :
- # description of goal
- String :
- # due date of goal
- String :
- # All goal histories associated with this goal histories.
- GoalHistory!]! : [
- # The unique identifier of the goal
- ID! :
- # If true, the goal is complete for the given day. date should be of the form:
- # 'yyyy-mm-dd'
- #
- # Arguments
- # date: The date to check if the goal is completed at that time.
- String!): Boolean ( :
- # if true, the goal is currently active
- Boolean @deprecated( reason: "should use is_completed_for_date field to determine if a goal is completed for a given day" ) :
- # if true, a template has been created based off this goal
- Boolean :
- # name of goal
- String :
- # parent id
- ID :
- # The rate at which the parent goal has subgoals completed
- String :
- # Reminder object for a given goal
- Reminder :
- # frequency of goal
- String :
- # The id of the template used to make this goal
- String :
- # start date of goal
- String :
- # Streak info for goal
- #
- # Arguments
- # end_range: The end of the date range.
- # start_range: The start of the date range.
- String, : String!): [GoalStreakInfo!] ( :
- # The rate at which a subgoal is completed
- String @deprecated( reason: "should use completion_percentage_for_range" ) :
- # Subgoals for a given goal
- Goal!] : [
- # count of subgoals
- String :
- # Title hyperlink. Opens when the title is clicked on.
- String :
- # Owner of this goal
- User :
- # user id of goal
- ID :
- }
link Require by
- CarePlanA Care Plan
- createGoalPayloadAutogenerated return type of createGoal.
- deleteGoalPayloadAutogenerated return type of deleteGoal.
- Goala goal
- GoalDataTypeGoal data
- GoalHistorya goal history
- GoalInstancea goal instance. gives a snapshot of a goal over a specific interval(start_range and end_range )
- QueryThe query root of this schema. See available queries.
- updateGoalPayloadAutogenerated return type of updateGoal.