DataType.xml
  1 <?xml version="1.0" encoding="utf-8"?>
  2 <StructureDefinition xmlns="http://hl7.org/fhir">
  3   <id value="DataType" />
  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   <url value="http://hl7.org/fhir/StructureDefinition/DataType" />
 14   <version value="5.0.0" />
 15   <name value="DataType" />
 16   <status value="active" />
 17   <experimental value="false" />
 18   <date value="2023-03-26T06:21:02.0000000+02:00" />
 19   <publisher value="HL7 FHIR Standard" />
 20   <contact>
 21     <telecom>
 22       <system value="url" />
 23       <value value="http://hl7.org/fhir" />
 24     </telecom>
 25   </contact>
 26   <description value="DataType Type: The base class for all re-useable types defined as part of the FHIR Specification." />
 27   <jurisdiction>
 28     <coding>
 29       <system value="http://unstats.un.org/unsd/methods/m49/m49.htm" />
 30       <code value="001" />
 31       <display value="World" />
 32     </coding>
 33   </jurisdiction>
 34   <fhirVersion value="5.0.0" />
 35   <mapping>
 36     <identity value="rim" />
 37     <uri value="http://hl7.org/v3" />
 38     <name value="RIM Mapping" />
 39   </mapping>
 40   <kind value="complex-type" />
 41   <abstract value="true" />
 42   <type value="DataType" />
 43   <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element" />
 44   <derivation value="specialization" />
 45   <snapshot>
 46     <element id="DataType">
 47       <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
 48         <valueCode value="normative" />
 49       </extension>
 50       <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
 51         <valueCode value="4.0.0" />
 52       </extension>
 53       <path value="DataType" />
 54       <short value="Reuseable Types" />
 55       <definition value="The base class for all re-useable types defined as part of the FHIR Specification." />
 56       <min value="0" />
 57       <max value="*" />
 58       <base>
 59         <path value="DataType" />
 60         <min value="0" />
 61         <max value="*" />
 62       </base>
 63       <constraint>
 64         <key value="ele-1" />
 65         <severity value="error" />
 66         <human value="All FHIR elements must have a @value or children" />
 67         <expression value="hasValue() or (children().count() > id.count())" />
 68         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
 69       </constraint>
 70       <isModifier value="false" />
 71       <mapping>
 72         <identity value="rim" />
 73         <map value="n/a" />
 74       </mapping>
 75     </element>
 76     <element id="DataType.id">
 77       <path value="DataType.id" />
 78       <representation value="xmlAttr" />
 79       <short value="Unique id for inter-element referencing" />
 80       <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
 81       <min value="0" />
 82       <max value="1" />
 83       <base>
 84         <path value="Element.id" />
 85         <min value="0" />
 86         <max value="1" />
 87       </base>
 88       <type>
 89         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
 90           <valueUrl value="id" />
 91         </extension>
 92         <code value="http://hl7.org/fhirpath/System.String" />
 93       </type>
 94       <condition value="ele-1" />
 95       <isModifier value="false" />
 96       <isSummary value="false" />
 97       <mapping>
 98         <identity value="rim" />
 99         <map value="n/a" />
100       </mapping>
101     </element>
102     <element id="DataType.extension">
103       <path value="DataType.extension" />
104       <slicing>
105         <discriminator>
106           <type value="value" />
107           <path value="url" />
108         </discriminator>
109         <description value="Extensions are always sliced by (at least) url" />
110         <rules value="open" />
111       </slicing>
112       <short value="Additional content defined by implementations" />
113       <definition value="May be used to represent additional information that is not part of the basic definition of the element. 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." />
114       <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." />
115       <alias value="extensions" />
116       <alias value="user content" />
117       <min value="0" />
118       <max value="*" />
119       <base>
120         <path value="Element.extension" />
121         <min value="0" />
122         <max value="*" />
123       </base>
124       <type>
125         <code value="Extension" />
126       </type>
127       <constraint>
128         <key value="ele-1" />
129         <severity value="error" />
130         <human value="All FHIR elements must have a @value or children" />
131         <expression value="hasValue() or (children().count() > id.count())" />
132         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
133       </constraint>
134       <constraint>
135         <key value="ext-1" />
136         <severity value="error" />
137         <human value="Must have either extensions or value[x], not both" />
138         <expression value="extension.exists() != value.exists()" />
139         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
140       </constraint>
141       <isModifier value="false" />
142       <isSummary value="false" />
143       <mapping>
144         <identity value="rim" />
145         <map value="n/a" />
146       </mapping>
147     </element>
148   </snapshot>
149   <differential>
150     <element id="DataType">
151       <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
152         <valueCode value="normative" />
153       </extension>
154       <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
155         <valueCode value="4.0.0" />
156       </extension>
157       <path value="DataType" />
158       <short value="Reuseable Types" />
159       <definition value="The base class for all re-useable types defined as part of the FHIR Specification." />
160       <min value="0" />
161       <max value="*" />
162       <mapping>
163         <identity value="rim" />
164         <map value="n/a" />
165       </mapping>
166     </element>
167   </differential>
168 </StructureDefinition>