OBJECT

FeatureToggle

An object containing details about what the client can and can't do

link GraphQL Schema definition

  • type FeatureToggle {
  • # Activity level of the user
  • activity_level: String
  • # Allow clients to sync with Apple Health
  • allow_apple_health_sync: Boolean
  • # Allow send meessages to community chat
  • allow_community_chat: Boolean
  • # Allow clients to sync with Dexcom
  • allow_dexcom_sync: Boolean
  • # Allow send meessages to direct chat
  • allow_direct_chat: Boolean
  • # Allow clients to sync with Fitbit
  • allow_fitbit_sync: Boolean
  • # Allow clients to sync with Google Fit
  • allow_google_fit_sync: Boolean
  • # Allow clients to sync with Shapa
  • allow_shapa_sync: Boolean
  • # Allow clients to sync with Withings
  • allow_withings_sync: Boolean
  • # whether or not the eating disorder defaults are applied
  • apply_eating_disorder_default: Boolean
  • # The status of whether the linked user can view and schedule appointments
  • can_schedule_appointments: Boolean
  • # Whether or not clients can track poop in their journal entries
  • can_track_poop: Boolean
  • # Whether or not the client can track symptoms
  • can_track_symptoms: Boolean
  • # Whether or not clients can track water intake in their journal entries
  • can_track_water_intake: Boolean
  • # The status of whether the linked user can view care plan
  • can_view_care_plan: Boolean
  • # The status of whether the linked user can view and upload documents
  • can_view_documents: Boolean
  • # The status of whether the linked user can view and complete intake forms
  • can_view_forms: Boolean
  • # The status of whether the linked user can view and create goals
  • can_view_goals: Boolean
  • # The status of whether the linked user can view and create journal entries
  • can_view_journal_entries: Boolean
  • # The status of whether the linked user can view and purchase packages
  • can_view_packages: Boolean
  • # The status of whether the linked user can view and make payments
  • can_view_payments: Boolean
  • # The status of whether the linked user can view and complete programs
  • can_view_programs: Boolean
  • # The care plan associated with this feature toggle
  • care_plan: CarePlan
  • care_plan_id: ID
  • # The date and time the entry was done
  • created_at: String
  • # Custom Metrics for this toggle
  • custom_metrics: [CustomMetric]
  • # Default date range selector when provider opens date picker in metrics tab
  • date_range_preference: String
  • # Default water intake set by provider
  • default_water_intake: String
  • # The frequency with which clients get email notifications about their goals
  • email_notification_frequency: String
  • # Food categories
  • food_categories: [String!]!
  • id: ID
  • # Food categories
  • initial_custom_metric_overrides: [CustomMetricOverride]
  • # Default date range when provider opens date picker in journal tab
  • last_journal_date_range_preference: String
  • # Default from_date when provider opens date picker in journal tab
  • last_journal_from_date: String
  • # Default to_date when provider opens date picker in journal tab
  • last_journal_to_date: String
  • # Metric Graphs to show in line graph form
  • #
  • # Arguments
  • # user_id: [Not documented]
  • line_graph_metric_categories(user_id: ID): [String]
  • # Sleep Graphs to show in line graph form
  • #
  • # Arguments
  • # user_id: [Not documented]
  • line_graph_sleep_categories(user_id: ID): [String]
  • # Metric categories based on users toggle features
  • #
  • # Arguments
  • # user_id: [Not documented]
  • metric_categories(user_id: ID): [String!]!
  • # Mirror categories
  • mirror_categories: [String!]!
  • # The frequency with which clients get push notifications about their goals
  • push_notification_frequency: String
  • # Metrics that should be on for this feature toggle
  • returned_custom_metrics: [String!]!
  • # Send unpaid invoice reminder
  • send_unpaid_invoice_reminder: Boolean
  • # The status of whether entries on graphs are seperated by the poster
  • seperate_provider_metric_from_client: Boolean
  • # The status of whether the provider can see the A1C of the client
  • show_a1c_metric: Boolean
  • # The status of whether the provider can view and track the client's body fat
  • # percentage
  • show_bf_percent_metric: Boolean
  • # The status of whether the provider can view and track the client's blood
  • # pressure
  • show_blood_pressure_metric: Boolean
  • # The status of whether the provider can see the blood sugar metrics of the client
  • show_blood_sugar_metric: Boolean
  • # The status of whether the provider can see the calculated BMI of the client
  • show_bmi_graph: Boolean
  • # The status of whether the provider can see the bmi-growth chart of the client
  • show_bmi_growth_chart: Boolean
  • # The status of whether the provider can see the calculated BMR (using MFJ) of the
  • # client
  • show_bmr_metric: Boolean
  • # The status of whether the provider can see the body temperature entries of the
  • # client
  • show_body_temperature_metric: Boolean
  • # The status of whether the client can see A1C metrics of the client
  • show_client_a1c_metric: Boolean
  • # The status of whether the client can view and track the client's body fat
  • # percentage
  • show_client_bf_percent_metric: Boolean
  • # The status of whether the client can view and track the client's blood pressure
  • show_client_blood_pressure_metric: Boolean
  • # The status of whether the client can see the blood sugar metrics of the client
  • show_client_blood_sugar_metric: Boolean
  • # The status of whether the client can see the calculated BMI of the client
  • show_client_bmi_graph: Boolean
  • # The status of whether the client can see the bmi-growth chart of the client
  • show_client_bmi_growth_chart: Boolean
  • # The status of whether the client can see the calculated BMR (using MFJ) of the
  • # client
  • show_client_bmr_metric: Boolean
  • # The status of whether the client can see the body temperature entries of the
  • # client
  • show_client_body_temperature_metric: Boolean
  • # The status of whether the client can see the calculated BMR (using HB) of the
  • # client
  • show_client_harris_benedict: Boolean
  • # The status of whether the client can see the height-growth chart of the client
  • show_client_height_growth_chart: Boolean
  • # The status of whether the client can see oxygen saturation metrics of the client
  • show_client_ox_sat_metric: Boolean
  • # The status of whether the client can view and track the client's waist
  • # circumference
  • show_client_waist_circumference_metric: Boolean
  • # The status of whether the client can see the weight-growth chart of the client
  • show_client_weight_growth_chart: Boolean
  • # The status of whether the client can view and track the client's weight
  • show_client_weight_metric: Boolean
  • # The status of whether the client is asked to track expanded (1-10) postmeal
  • # hunger level
  • show_ed_posthunger: Boolean
  • # The status of whether the client is asked to track expanded (1-10) premeal
  • # hunger level
  • show_ed_prehunger: Boolean
  • # The status of whether the client can post food entries
  • show_food: Boolean
  • # The status of whether the client is asked to track the category (meal or snack)
  • # of the food
  • show_food_category: Boolean
  • # The status of whether the client is asked to track (1-10) emotion towards the
  • # food
  • show_food_emotion: Boolean
  • # The status of whether the client is asked to post a (text) reflection towards
  • # the food
  • show_food_reflection: Boolean
  • # The status of whether the provider can see the calculated BMR (using HB) of the
  • # client
  • show_harris_benedict: Boolean
  • # The status of whether the client is asked to track perceived healthiness
  • show_healthiness: Boolean
  • # The status of whether the provider can see the height graph of the client
  • show_height_graph: Boolean
  • # The status of whether the provider can see the height-growth chart of the client
  • show_height_growth_chart: Boolean
  • # The status of whether the client can post metric entries
  • show_metric: Boolean
  • # The status of whether the client can post selfie entries
  • show_mirror: Boolean
  • # The status of whether the client is asked to track normal (1-3) hunger level
  • show_normal_hunger: Boolean
  • # The status of whether the client can post note entries
  • show_note: Boolean
  • # The status of whether the client is asked to track (1-10) emotion towards the
  • # note
  • show_note_emotion: Boolean
  • # The status of whether the client can include macro and micro nutrients for the
  • # food they track
  • show_nutrients_tracking: Boolean
  • # The status of whether the provider can see the oxygen saturation of the client
  • show_ox_sat_metric: Boolean
  • # The status of whether the client can post sleep entries
  • show_sleep: Boolean
  • # The status of whether the provider can view and track the client's waist
  • # circumference
  • show_waist_circumference_metric: Boolean
  • # The status of whether the provider can see the weight-growth chart of the client
  • show_weight_growth_chart: Boolean
  • # The status of whether the provider can view and track the client's weight
  • show_weight_metric: Boolean
  • # The status of whether the client can post workout entries
  • show_workout: Boolean
  • # The status of whether the client uses the metric system (versus imperial)
  • use_metric_system: Boolean
  • # The user group associated with this feature toggle
  • user_group: UserGroup
  • user_group_id: ID
  • user_id: ID
  • # If true, the user has active_care_plan
  • uses_feature_toggle_from_care_plan: Boolean
  • # When enabled, let's providers choose to have metrics that clients can view, but
  • # not enter
  • view_not_track: Boolean
  • # Workout categories
  • workout_categories: [String!]!
  • }