FHIR Chat · open-choice & initial.value[x] · questionnaire

Stream: questionnaire

Topic: open-choice & initial.value[x]


view this post on Zulip Paul Lynch (Aug 12 2019 at 21:52):

Can an open-choice item have an initial.valueString (to support an off-list initial value)?

view this post on Zulip Brian Postlethwaite (Aug 12 2019 at 21:57):

I would expect so.

view this post on Zulip Lloyd McKenzie (Aug 15 2019 at 04:20):

Feel free to submit a change request if you think this needs clarification in the spec.

view this post on Zulip Ye Wang (Aug 15 2019 at 18:43):

How about initial.valueCoding? Can a code not in the option list be allowed?

view this post on Zulip Lloyd McKenzie (Aug 19 2019 at 17:35):

Most tools would likely choke on that, though we haven't explicitly prohibited it. Certainly the resulting QuestionnaireResponse would be invalid as soon as the default was applied. Feel free to submit a change request to have us add language prohibiting the initial values from falling outside the enumerated options.

view this post on Zulip Brian Postlethwaite (Aug 23 2019 at 02:43):

That would be a good custom validation rule for a server


Last updated: Apr 12 2022 at 19:14 UTC