Skip to main content

dateTime

Base StructureDefinition for dateTime Type: A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored. Dates SHALL be valid dates.

Primitive data type in FHIR R4. Maturity: Not stated.

Elements​

ElementTypeCardinalityDescription
idstring0..1xml:id (or equivalent in JSON)
extensionExtension0..*Additional content defined by implementations
valuehttp://hl7.org/fhirpath/System.DateTime0..1Primitive value for dateTime

Reference​

Official FHIR R4 specification: dateTime.