Awell Health Developer Hub
Dev Hub

How can I collect questionnaire responses from a care flow ?

To collect questionnaire responses, add a form action to your care flow. This generates an equivalent Questionnaire resource with properties like title, name, and code that have semantic meaning. The items within the questionnaire represent the questions, each with its own text and code.

How can I drive care flow logic with questionnaire response data ?

Questionnaire responses can be used to drive care flow logic. For example, if a patient indicates in a questionnaire that they want a consultation with a specialist, you can configure the care flow to schedule an appointment. This ensures that patient preferences and needs are integrated into the care flow dynamically.

Properties

Questionnaire

Property nameTypeDescription
titlesemanticA short, descriptive, user-friendly title for the questionnaire.
namesemanticA natural language name identifying the questionnaire. This name should be usable as an identifier for the module by machine processing applications such as code generation.
codesemanticAn identifier for this question or group of questions in a particular terminology such as LOINC.
itemThe content of the questionnaire is constructed from an ordered, hierarchical collection of items.
item.codesemanticA terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers).
item.textsemanticThe name of a section, the text of a question or text content for a display item.

QuestionnaireResponse

Property nameTypeDescription
authoredactionableDate the answers were gathered.
itemA group or question item from the original questionnaire for which answers are provided.
item.textsemanticText that is displayed above the contents of the group or as the text of the question being answered.
item.answeractionableThe respondent's answer(s) to the question.