FHIR Chat · Adaptive questionnaires · questionnaire

Stream: questionnaire

Topic: Adaptive questionnaires


view this post on Zulip Ana Kostadinovska (Feb 10 2021 at 19:40):

Hi, I have two questions wrt Adaptive Questionnaires from the SDC spec:

  1. Why QuestionnaireResponse.contained is required filed in the Adaptive Questionnaire Response profile? Isn’t it NOT necessary to have contained Questionnaire in the QuestionnaireResponse in the request body of POST [base]/Questionnaire/$next-question? If the questionnaire (with the defined questions) is known to the External Assessment Center, isn’t it enough the request body to contain QuestionnaireResponse with reference to the questionnaire (not contained Questionnaire) and an item with a response?
  2. Why the response body of the "next question" operation contains contained Questionnaire resource with all items already administered and all answer items previously sent back? If the External Assessment Center has the questionnaire with the questions, and the Patient Facing App is taking care of storing the questions and answers accordingly, isn’t it enough the response to only include the new question in the QuestionnaireResponse.contained (without all items already administered and all answer items previously sent back)?

view this post on Zulip Lloyd McKenzie (Feb 11 2021 at 00:21):

  1. From server to client, the contained Questionnaire tells what to display on the screen. From client to server, it shows what questions were asked, given that some might not have been answered and thus won't appear in the QuestionnaireResponse piece.
  2. The presumption is that the invocation is stateless. The server will have no record of what's previously been asked or what answers have been given.

Last updated: Apr 12 2022 at 19:14 UTC