Questionnaire
The questions used in the CovApp are captured using the Questionnaire resource type. Each question has an associated code to indicate what information is being captured. For multiple-choice questions, the allowed codes are provided as ValueSet resources – see the value set section of this implementation guide.
The set of answers given to the questionnaire can be captured as a QuestionnaireResponse resource. Below, we provide one example of a possible set of answers. To link it to the matching Questionnaire, the field questionnaire
in the QuestionnaireResponse resource points to the canonical URL of the Questionnaire (including the version, after the pipe symbol "|"). The structure of the QuestionnaireResponse matches that of the Questionnaire. In particular, the linkId
entry for an answer matches that of the corresponding question.