instant.xml
  1 <?xml version="1.0" encoding="utf-8"?>
  2 <StructureDefinition xmlns="http://hl7.org/fhir">
  3   <id value="instant" />
  4   <meta>
  5     <lastUpdated value="2023-03-26T06:21:02.749+02:00" />
  6   </meta>
  7   <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
  8     <valueCode value="normative" />
  9   </extension>
 10   <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
 11     <valueCode value="4.0.0" />
 12   </extension>
 13   <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics">
 14     <valueCode value="has-range" />
 15   </extension>
 16   <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics">
 17     <valueCode value="is-continuous" />
 18   </extension>
 19   <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics">
 20     <valueCode value="has-length" />
 21   </extension>
 22   <url value="http://hl7.org/fhir/StructureDefinition/instant" />
 23   <version value="5.0.0" />
 24   <name value="instant" />
 25   <status value="active" />
 26   <experimental value="false" />
 27   <date value="2023-03-26T06:21:02.0000000+02:00" />
 28   <publisher value="HL7 FHIR Standard" />
 29   <contact>
 30     <telecom>
 31       <system value="url" />
 32       <value value="http://hl7.org/fhir" />
 33     </telecom>
 34   </contact>
 35   <description value="instant Type: An instant in time - known at least to the second" />
 36   <jurisdiction>
 37     <coding>
 38       <system value="http://unstats.un.org/unsd/methods/m49/m49.htm" />
 39       <code value="001" />
 40       <display value="World" />
 41     </coding>
 42   </jurisdiction>
 43   <fhirVersion value="5.0.0" />
 44   <kind value="primitive-type" />
 45   <abstract value="false" />
 46   <type value="instant" />
 47   <baseDefinition value="http://hl7.org/fhir/StructureDefinition/PrimitiveType" />
 48   <derivation value="specialization" />
 49   <snapshot>
 50     <element id="instant">
 51       <path value="instant" />
 52       <short value="Primitive Type instant" />
 53       <definition value="An instant in time - known at least to the second" />
 54       <comment value="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" />
 55       <min value="0" />
 56       <max value="*" />
 57       <base>
 58         <path value="instant" />
 59         <min value="0" />
 60         <max value="*" />
 61       </base>
 62       <constraint>
 63         <key value="ele-1" />
 64         <severity value="error" />
 65         <human value="All FHIR elements must have a @value or children" />
 66         <expression value="hasValue() or (children().count() > id.count())" />
 67         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
 68       </constraint>
 69       <isModifier value="false" />
 70       <isSummary value="false" />
 71     </element>
 72     <element id="instant.id">
 73       <path value="instant.id" />
 74       <representation value="xmlAttr" />
 75       <short value="xml:id (or equivalent in JSON)" />
 76       <definition value="unique id for the element within a resource (for internal references)" />
 77       <min value="0" />
 78       <max value="1" />
 79       <base>
 80         <path value="Element.id" />
 81         <min value="0" />
 82         <max value="1" />
 83       </base>
 84       <type>
 85         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
 86           <valueUrl value="string" />
 87         </extension>
 88         <code value="http://hl7.org/fhirpath/System.String" />
 89       </type>
 90       <isModifier value="false" />
 91       <isSummary value="false" />
 92     </element>
 93     <element id="instant.extension">
 94       <path value="instant.extension" />
 95       <short value="Additional content defined by implementations" />
 96       <definition value="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 managable, 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." />
 97       <comment value="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." />
 98       <alias value="extensions" />
 99       <alias value="user content" />
100       <min value="0" />
101       <max value="*" />
102       <base>
103         <path value="Element.extension" />
104         <min value="0" />
105         <max value="*" />
106       </base>
107       <type>
108         <code value="Extension" />
109       </type>
110       <constraint>
111         <key value="ele-1" />
112         <severity value="error" />
113         <human value="All FHIR elements must have a @value or children" />
114         <expression value="hasValue() or (children().count() > id.count())" />
115         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
116       </constraint>
117       <constraint>
118         <key value="ext-1" />
119         <severity value="error" />
120         <human value="Must have either extensions or value[x], not both" />
121         <expression value="extension.exists() != value.exists()" />
122         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
123       </constraint>
124       <isModifier value="false" />
125       <isSummary value="false" />
126     </element>
127     <element id="instant.value">
128       <path value="instant.value" />
129       <representation value="xmlAttr" />
130       <short value="Primitive value for instant" />
131       <definition value="The actual value" />
132       <min value="0" />
133       <max value="1" />
134       <base>
135         <path value="instant.value" />
136         <min value="0" />
137         <max value="1" />
138       </base>
139       <type>
140         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
141           <valueUrl value="instant" />
142         </extension>
143         <extension url="http://hl7.org/fhir/StructureDefinition/regex">
144           <valueString value="([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))" />
145         </extension>
146         <code value="http://hl7.org/fhirpath/System.DateTime" />
147       </type>
148       <isModifier value="false" />
149       <isSummary value="false" />
150     </element>
151   </snapshot>
152   <differential>
153     <element id="instant">
154       <path value="instant" />
155       <short value="Primitive Type instant" />
156       <definition value="An instant in time - known at least to the second" />
157       <comment value="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" />
158       <min value="0" />
159       <max value="*" />
160     </element>
161     <element id="instant.value">
162       <path value="instant.value" />
163       <representation value="xmlAttr" />
164       <short value="Primitive value for instant" />
165       <definition value="Primitive value for instant" />
166       <min value="0" />
167       <max value="1" />
168       <type>
169         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
170           <valueUrl value="instant" />
171         </extension>
172         <extension url="http://hl7.org/fhir/StructureDefinition/regex">
173           <valueString value="([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))" />
174         </extension>
175         <code value="http://hl7.org/fhirpath/System.DateTime" />
176       </type>
177     </element>
178   </differential>
179 </StructureDefinition>