{
"description": "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.",
"_filename": "StructureDefinition-dateTime.json",
"package_name": "hl7.fhir.r2b.examples",
"date": null,
"derivation": "specialization",
"meta": {
"lastUpdated": "2016-08-21T07:35:37.981-06:00"
},
"publisher": "HL7 FHIR Standard",
"fhirVersion": "1.4.0",
"name": "dateTime",
"baseType": "dateTime",
"abstract": false,
"type": null,
"experimental": null,
"resourceType": "StructureDefinition",
"title": null,
"package_version": "1.4.0",
"snapshot": {
"element": [ {
"id": "dateTime",
"max": "*",
"min": 0,
"path": "dateTime",
"short": "Primitive Type dateTime",
"definition": "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."
}, {
"id": "dateTime.id",
"max": "1",
"min": 0,
"path": "dateTime.id",
"type": [ {
"code": "id"
} ],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references)",
"representation": [ "xmlAttr" ]
}, {
"path": "dateTime.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"short": "Additional Content defined by implementations",
"comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "dateTime.extension",
"base": {
"max": "*",
"min": 0,
"path": "dateTime.extension"
}
}, {
"id": "dateTime.value",
"max": "1",
"min": 0,
"path": "dateTime.value",
"type": [ {
"_code": {
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString": "string"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString": "xsd:gYear OR xsd:gYearMonth OR xsd:date OR xsd:dateTime"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString": "xsd:gYear OR xsd:gYearMonth OR xsd:date OR xsd:dateTime"
} ]
},
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-regex",
"valueString": "-?[0-9]{4}(-(0[1-9]|1[0-2])(-(0[0-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?"
} ]
} ],
"short": "Primitive value for dateTime",
"definition": "The actual value",
"representation": [ "xmlAttr" ]
} ]
},
"status": "draft",
"id": "1c11b2a8-a1e4-47cf-b607-ec4ed1e0497b",
"kind": "datatype",
"url": "http://hl7.org/fhir/StructureDefinition/dateTime",
"version": null,
"differential": {
"element": [ {
"id": "dateTime",
"max": "*",
"min": 0,
"path": "dateTime",
"short": "Primitive Type dateTime",
"definition": "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."
}, {
"id": "dateTime.value",
"max": "1",
"min": 0,
"path": "dateTime.value",
"type": [ {
"_code": {
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
"valueString": "string"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
"valueString": "xsd:gYear OR xsd:gYearMonth OR xsd:date OR xsd:dateTime"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
"valueString": "xsd:gYear OR xsd:gYearMonth OR xsd:date OR xsd:dateTime"
} ]
},
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-regex",
"valueString": "-?[0-9]{4}(-(0[1-9]|1[0-2])(-(0[0-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?"
} ]
} ],
"short": "Primitive value for dateTime",
"definition": "Primitive value for dateTime",
"representation": [ "xmlAttr" ]
} ]
},
"contact": [ {
"telecom": [ {
"value": "http://hl7.org/fhir",
"system": "other"
} ]
} ],
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Element"
}