Question
Last updated
Last updated
Field
Type
Description
text
String!
Question text.
createdAt
DateTime!
Question creation date. YYYY-MM-DDT hh:mm:ssZ
updatedAt
DateTime!
Question last update date. YYYY-MM-DDT hh:mm:ssZ
questionType
QuestionType!
Defines question type. enum QuestionType {DATE_PICKER, DROPDOWN, MULTI_SELECT, OPEN_NUMBER, OPEN_QUESTION, OPEN_TEXT, SINGLE_SELECT, TIME_PICKER}
profileField
QuestionProfileField
Questions assigned to profile default fields. enum QuestionProfileField {ACTIVITY_LEVEL, BIOLOGICAL_SEX, BIRTHDATE, CUSTOM_ATTRIBUTES, FAVORITE_CUISINES, HEIGHT, IS_IMPERIAL, MALNUTRITION_RISK, PROGRAM, RESTRICTIONS, STARTING_WEIGHT, TARGET_WEIGHT, TUBE_FEEDING_ORAL_INTAKE, WEEKLY_WEIGHT_GOAL}
nextQuestion
isInitialQuestion
Boolean!
True if the question is defined as starting question, otherwise False.
isFinalQuestion
Boolean!
True if the question is defined as final question, otherwise False.
information
String
Information text box located at the bottom of the question.
id
ID!
Id of the question.
htmlElement
FormHtmlElement
enum FormHtmlElement { CHECKBOX, INPUT, RADIO_BUTTON, SELECT, TEXTAREA}
helpText
String
Help text located after the question text with a smaller font size and lighter color.
canSkip
Boolean!
True if the question can be skiped, otherwise False.
answers
AssessmentAnswer
Assessment answer.
answerText
String
For OPEN type of questions.