Skip to content

FeatureToggle

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

Fields

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

Used By

Definition

"""
An object containing details about what the client can and can't do
"""
type FeatureToggle {
"""
Activity level of the user
"""
activity_level: String
"""
Allow clients to sync with Apple Health
"""
allow_apple_health_sync: Boolean!
"""
Allow clients to sync with Clearstep
"""
allow_clearstep_sync: Boolean!
"""
Allow send messages to community chat
"""
allow_community_chat: Boolean!
"""
Allow clients to sync with Dexcom
"""
allow_dexcom_sync: Boolean
"""
Allow send messages 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
"""
The id of the care plan associated with this feature toggle
"""
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!
"""
When true, it will not auto submit the CMS1500 to the clearing house
"""
do_not_auto_submit_cms1500: Boolean!
"""
The frequency with which clients get email notifications about their goals
"""
email_notification_frequency: String
"""
Food categories
"""
food_categories: [String!]!
"""
If true, user has at least one entry type to track
"""
has_any_entry_types: Boolean
"""
CCDA is available if true
"""
has_ccda: Boolean
"""
The unique identifier of the feature toggle
"""
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
"""
line_graph_metric_categories(
"""
The id of the user to get the line graph metric categories for
"""
user_id: ID
): [String]
"""
Sleep Graphs to show in line graph form
"""
line_graph_sleep_categories(
"""
The id of the user to get the line graph sleep categories for
"""
user_id: ID
): [String]
"""
Metric categories based on users toggle features
"""
metric_categories(
"""
The id of the user to get the metric categories for
"""
user_id: ID
): [String!]!
"""
Metric category objects (including defaults) based on users toggle features
"""
metric_category_objects(
"""
Self-descriptive
"""
user_id: ID
): [CustomMetric!]
"""
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 separated by the poster
"""
separate_provider_metric_from_client: Boolean
"""
The status of whether entries on graphs are separated by the poster
"""
seperate_provider_metric_from_client: Boolean
@deprecated(reason: "Use `separate_provider_metric_from_client` instead")
"""
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
"""
Symptom options for symptom entry type
"""
symptom_options: [SymptomOption!]!
"""
The status of whether the client uses the metric system (versus imperial)
"""
use_metric_system: Boolean
"""
Associated user
"""
user: User
"""
The user group associated with this feature toggle
"""
user_group: UserGroup
"""
The user group associated with this feature toggle
"""
user_group_id: ID
"""
The user associated with this feature toggle
"""
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!]!
}