Date
Question with a date answer (valueDate).
It uses the FHIR date data type, which accepts YYYY, YYYY-MM, or YYYY-MM-DD as inputs, e.g. 2018, 1973-06, or 1905-08-23.
Basic usage
Questionnaire-only
With Response
If there are any advanced usage scenarios you'd like to see, feel free to let us know.
tip
The date and dateTime component has built in validation.
SDC Supported extensions
Code | Usage |
---|---|
variable | http://hl7.org/fhir/StructureDefinition/variable |
initialExpression | http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression - InitialExpression should evaluate to a date value. |
enableWhenExpression | http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression |
hidden | http://hl7.org/fhir/StructureDefinition/questionnaire-hidden |
entryFormat | http://hl7.org/fhir/StructureDefinition/entryFormat |
required | item.required |
repeats | item.repeats |
readOnly | item.readOnly |
minValue | http://hl7.org/fhir/StructureDefinition/minValue |
maxValue | http://hl7.org/fhir/StructureDefinition/maxValue |
initial | item.initial |
enableWhen | item.enableWhen |
enableBehavior | item.enableBehavior |
text | item.text |