Stream: questionnaire
Topic: Questionnaire: Intended Audience
Astrid Corinna Wolff (Dec 04 2018 at 15:19):
If a server stores Questionnaires that are designed for different audiences (e.g. some to be answered by patients but some to be answered by healthcare professionals only) and the server shall support the retrieval of all Questionnaires for a selected audience (e.g. provide an interface to fetch all Questionnaires that could be included in an application to be used by patients) how would the "intended audience type" be best documented in the Questionnaire resource?
Is there any core element that should be used to reflect the intended audience? Or would it be necessary to use an extension (if yes, does anyone know an already existing extension for this case)? Or a profile?
Grahame Grieve (Dec 04 2018 at 18:28):
code?
Astrid Corinna Wolff (Dec 05 2018 at 07:32):
The specification says "code = Concept that represents the overall questionnaire". Therefore, I assumed that this element should be used to code the questionnaire itself by e.g. a code for "Medical History Questionnaire" and another one for "Aftercare Questionnaire" so that in the context of aftercare an application could offer all "Aftercare Questionnaires" for the user to select.
But yes, maybe _code_ could also be used to distinguish "Questionnaire intended for patient" from "Questionnaire intended for healthcare professional". I just saw that there are multiple codes possible so when we would need both kind of information for a Questionnaire we could assign two codes (one for "Aftercare Questionnaire" and one for "Questionnaire intended for patient") from two different value sets.
Thanks, that seems to solve my issue!
Lloyd McKenzie (Dec 10 2018 at 22:25):
A better mechanism is useContext
Lloyd McKenzie (Dec 10 2018 at 22:26):
The 'user' contextType would let you differentiate the type of individual the questionnaire is targeted at. Questionnaire.code represents the overall questionnaire. For example, if you have a questionnaire that gathers the information for a particular Observation panel, the Questionnaire.code would be the LOINC code for the panel.
Last updated: Apr 12 2022 at 19:14 UTC