Skip to main content

Open Choice

Answer is a Coding drawn from a list of possible answers (as with the choice type) or a free-text entry in a string (valueCoding or valueString).

Basic usage

Answer Option

Questionnaire-only

With Response

Answer Value Set

Questionnaire-only

With Response

View more advanced usages in Storybook's SDC section.

SDC Supported extensions

CodeUsage
variablehttp://hl7.org/fhir/StructureDefinition/variable
answerExpressionhttp://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression
- Only tested with answerValueSet.
initialExpressionhttp://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
- InitialExpression should evaluate to a coding value.
calculatedExpressionhttp://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression
- CalculatedExpression should evaluate to a coding or valueCoding.code[^1] value.
enableWhenExpressionhttp://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
answerOptionToggleExpressionhttp://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression
rendering-stylehttp://hl7.org/fhir/extensions/StructureDefinition-rendering-style.html
rendering-markdownhttp://hl7.org/fhir/extensions/StructureDefinition-rendering-markdown.html
rendering-xhtmlhttp://hl7.org/fhir/StructureDefinition/rendering-xhtml
openLabelhttp://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-openLabel
- OpenLabel is only supported on itemControl "radio-button" and "check-box" extensions
hiddenhttp://hl7.org/fhir/StructureDefinition/questionnaire-hidden
itemControlhttp://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
Supports:
- autocomplete
- drop-down
- check-box
- radio-button
choiceOrientationhttp://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation
- ChoiceOrientation is only supported on itemControl "radio-button" and "check-box" extensions
requireditem.required
repeatsitem.repeats
readOnlyitem.readOnly
preferredTerminologyServerhttp://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer
answerOptionitem.answerOption
answerValueSetitem.answerValueSet
initialitem.initial
enableWhenitem.enableWhen
enableBehavioritem.enableBehavior
textitem.text