Skip to main content

Decimal

Question with is a real number answer (valueDecimal).

Basic usage

Questionnaire-only

With Response

Advanced usage

Calculations

If there are any advanced usage scenarios you'd like to see, feel free to let us know.

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 integer or decimal value.
calculatedExpressionhttp://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression
- CalculatedExpression should evaluate to integer or decimal value.
enableWhenExpressionhttp://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
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
minValuehttp://hl7.org/fhir/StructureDefinition/minValue
maxValuehttp://hl7.org/fhir/StructureDefinition/maxValue
maxDecimalPlaceshttp://hl7.org/fhir/StructureDefinition/maxDecimalPlaces
initialitem.initial
enableWhenitem.enableWhen
enableBehavioritem.enableBehavior
textitem.text