Element.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <StructureDefinition xmlns="http://hl7.org/fhir"> 3 <id value="Element" /> 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/Element" /> 14 <version value="5.0.0" /> 15 <name value="Element" /> 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="Element Type: Base definition for all elements in a resource." /> 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="Element" /> 43 <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Base" /> 44 <derivation value="specialization" /> 45 <snapshot> 46 <element id="Element"> 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="Element" /> 54 <short value="Base for all elements" /> 55 <definition value="Base definition for all elements in a resource." /> 56 <min value="0" /> 57 <max value="*" /> 58 <base> 59 <path value="Element" /> 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="Element.id"> 77 <path value="Element.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="string" /> 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="Element.extension"> 103 <path value="Element.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="Element"> 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="Element" /> 158 <short value="Base for all elements" /> 159 <definition value="Base definition for all elements in a resource." /> 160 <min value="0" /> 161 <max value="*" /> 162 <constraint> 163 <key value="ele-1" /> 164 <severity value="error" /> 165 <human value="All FHIR elements must have a @value or children" /> 166 <expression value="hasValue() or (children().count() > id.count())" /> 167 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 168 </constraint> 169 <mapping> 170 <identity value="rim" /> 171 <map value="n/a" /> 172 </mapping> 173 </element> 174 <element id="Element.id"> 175 <path value="Element.id" /> 176 <representation value="xmlAttr" /> 177 <short value="Unique id for inter-element referencing" /> 178 <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." /> 179 <min value="0" /> 180 <max value="1" /> 181 <type> 182 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 183 <valueUrl value="string" /> 184 </extension> 185 <code value="http://hl7.org/fhirpath/System.String" /> 186 </type> 187 <condition value="ele-1" /> 188 <mapping> 189 <identity value="rim" /> 190 <map value="n/a" /> 191 </mapping> 192 </element> 193 <element id="Element.extension"> 194 <path value="Element.extension" /> 195 <slicing> 196 <discriminator> 197 <type value="value" /> 198 <path value="url" /> 199 </discriminator> 200 <description value="Extensions are always sliced by (at least) url" /> 201 <rules value="open" /> 202 </slicing> 203 <short value="Additional content defined by implementations" /> 204 <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." /> 205 <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." /> 206 <alias value="extensions" /> 207 <alias value="user content" /> 208 <min value="0" /> 209 <max value="*" /> 210 <type> 211 <code value="Extension" /> 212 </type> 213 <mapping> 214 <identity value="rim" /> 215 <map value="n/a" /> 216 </mapping> 217 </element> 218 </differential> 219 </StructureDefinition>