Stream: implementers
Topic: Questionnaire: Change option wording in a boolean question
Sampo Kantola (Sep 05 2019 at 10:26):
When I have boolean questions in a Questionnaire, I sometimes want to have different wordings for the "Yes" and "No" options (eg. instead of "Yes" the option is "I do" or "I have" etc). And this is especially the case in other languages (in my case, Finnish), where the form of the words "yes" and "no" often depends on how the question is asked. Is there some way to implement this in a type=boolean question, or would I have to make it a type=choice and define several ValueSets for the various kinds of yes/no questions?
Grahame Grieve (Sep 05 2019 at 10:28):
you don't need to use a value set - you can just use options.
Grahame Grieve (Sep 05 2019 at 10:28):
but you can also consider the extension http://hl7.org/fhir/StructureDefinition/rendered-value
Sampo Kantola (Sep 05 2019 at 10:30):
If I use options, can they be coded so that even if the shown value is varied, the answer is still a boolean one?
And thanks for the extension, I'll check that out.
Grahame Grieve (Sep 05 2019 at 10:37):
well, you can't use boolean with answerOption, so the extension is no use. You'll have to use a coding. Note this code system: http://hl7.org/fhir/valueset-example-yesnodontknow.html
Last updated: Apr 12 2022 at 19:14 UTC