{
"description": "instant Type: An instant in time - known at least to the second",
"_filename": "StructureDefinition-instant.json",
"package_name": "hl7.fhir.r5.core",
"date": "2022-09-10T04:52:37+10:00",
"derivation": "specialization",
"meta": {
"lastUpdated": "2022-09-10T04:52:37.223+10:00"
},
"publisher": "HL7 FHIR Standard",
"fhirVersion": "5.0.0-ballot",
"name": "instant",
"abstract": false,
"type": "instant",
"experimental": "false",
"resourceType": "StructureDefinition",
"title": null,
"package_version": "5.0.0-ballot",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode": "normative"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode": "4.0.0"
} ],
"snapshot": {
"element": [ {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "instant",
"min": 0,
"definition": "An instant in time - known at least to the second",
"isModifier": false,
"short": "Primitive Type instant",
"max": "*",
"id": "instant",
"comment": "Note: This is intended for where precisely observed times are required, typically system logs etc., and not human-reported times - for them, see date and dateTime (which can be as precise as instant, but is not required to be) below. UTC offset is always required",
"base": {
"max": "*",
"min": 0,
"path": "instant"
},
"isSummary": false
}, {
"path": "instant.id",
"min": 0,
"definition": "unique id for the element within a resource (for internal references)",
"isModifier": false,
"short": "xml:id (or equivalent in JSON)",
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "instant.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "instant.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the resource. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "instant.extension",
"comment": "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.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"path": "instant.value",
"min": 0,
"definition": "The actual value",
"isModifier": false,
"short": "Primitive value for instant",
"type": [ {
"code": "http://hl7.org/fhirpath/System.DateTime",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "instant"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/regex",
"valueString": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]{1,9})?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "instant.value",
"base": {
"max": "1",
"min": 0,
"path": "instant.value"
},
"isSummary": false
} ]
},
"status": "active",
"id": "e45112a2-a07b-4261-9de0-cff22b57ce7d",
"kind": "primitive-type",
"url": "http://hl7.org/fhir/StructureDefinition/instant",
"version": "5.0.0-ballot",
"differential": {
"element": [ {
"id": "instant",
"max": "*",
"min": 0,
"path": "instant",
"short": "Primitive Type instant",
"comment": "Note: This is intended for where precisely observed times are required, typically system logs etc., and not human-reported times - for them, see date and dateTime (which can be as precise as instant, but is not required to be) below. UTC offset is always required",
"definition": "An instant in time - known at least to the second"
}, {
"id": "instant.value",
"max": "1",
"min": 0,
"path": "instant.value",
"type": [ {
"code": "http://hl7.org/fhirpath/System.DateTime",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "instant"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/regex",
"valueString": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]{1,9})?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))"
} ]
} ],
"short": "Primitive value for instant",
"definition": "Primitive value for instant",
"representation": [ "xmlAttr" ]
} ]
},
"contact": [ {
"telecom": [ {
"value": "http://hl7.org/fhir",
"system": "url"
} ]
} ],
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/PrimitiveType"
}