Skip to main content

Text

Question with a long (potentially multi-paragraph) free-text entry answer (valueString).

Basic usage​

Questionnaire-only​

With Response​

tip

Pressing the enter key in the text input component increases its height.

Advanced usage​

Calculations​

View more advanced usages in Storybook's SDC section.

SDC Supported extensions​

CodeUsage
variablehttp://hl7.org/fhir/StructureDefinition/variable
initialExpressionhttp://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
- InitialExpression should evaluate to a string value.
calculatedExpressionhttp://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression
- CalculatedExpression should evaluate to a string value.
enableWhenExpressionhttp://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
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
hiddenhttp://hl7.org/fhir/StructureDefinition/questionnaire-hidden
entryFormathttp://hl7.org/fhir/StructureDefinition/entryFormat
requireditem.required
repeatsitem.repeats
readOnlyitem.readOnly
maxLengthitem.maxLength
minLengthhttp://hl7.org/fhir/StructureDefinition/minLength
regexhttp://hl7.org/fhir/StructureDefinition/regex
initialitem.initial
enableWhenitem.enableWhen
enableBehavioritem.enableBehavior
textitem.text