FHIR Chat · questionnaire-unit-open values? · questionnaire

Stream: questionnaire

Topic: questionnaire-unit-open values?


view this post on Zulip Paul Lynch (Feb 22 2021 at 23:41):

J#30581 defines extension questionnaire-unit-open and says, "Bound to a code system that will be identical to the one we use for open/closed indicator in R5." I think that is a reference to J#20396, which defines (item.)choiceConstraint with the values "optionsOnly", "optionOrType", and "optionOrString". It is not completely obvious what these values mean in the context of a unit list. Here is what I would guess:

1) optionsOnly - the user must choose one of the units specified in the unitOption or unitValueSet extensions
2) optionOrType - the user can either pick one of the specified units, or select a coding from the coding system specified by questionnaire-unit-supplemental-system (another new extension, also in J#30581)
3) optionOrString - the user can pick either one of the specified options, or a free-text string.

view this post on Zulip Paul Lynch (Feb 22 2021 at 23:49):

The confusing part is the name optionOrType, since the "type" is Coding, and I think for item.choiceConstraint it could be any Coding, not just one from a particular ValueSet. But, I think in this case it is constrained to be from the questionnaire-unit-supplemental-system.

view this post on Zulip Lloyd McKenzie (Feb 23 2021 at 00:43):

Correct.


Last updated: Apr 12 2022 at 19:14 UTC