Resource.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <StructureDefinition xmlns="http://hl7.org/fhir"> 3 <id value="Resource" /> 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-fmm"> 14 <valueInteger value="5" /> 15 </extension> 16 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"> 17 <valueCode value="fhir" /> 18 </extension> 19 <url value="http://hl7.org/fhir/StructureDefinition/Resource" /> 20 <version value="5.0.0" /> 21 <name value="Resource" /> 22 <status value="active" /> 23 <experimental value="false" /> 24 <date value="2023-03-26T06:21:02.0000000+02:00" /> 25 <publisher value="Health Level Seven International (FHIR Infrastructure)" /> 26 <contact> 27 <telecom> 28 <system value="url" /> 29 <value value="http://hl7.org/fhir" /> 30 </telecom> 31 </contact> 32 <contact> 33 <telecom> 34 <system value="url" /> 35 <value value="http://www.hl7.org/Special/committees/fiwg/index.cfm" /> 36 </telecom> 37 </contact> 38 <description value="This is the base resource type for everything." /> 39 <jurisdiction> 40 <coding> 41 <system value="http://unstats.un.org/unsd/methods/m49/m49.htm" /> 42 <code value="001" /> 43 <display value="World" /> 44 </coding> 45 </jurisdiction> 46 <fhirVersion value="5.0.0" /> 47 <mapping> 48 <identity value="rim" /> 49 <uri value="http://hl7.org/v3" /> 50 <name value="RIM Mapping" /> 51 </mapping> 52 <kind value="resource" /> 53 <abstract value="true" /> 54 <type value="Resource" /> 55 <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Base" /> 56 <derivation value="specialization" /> 57 <snapshot> 58 <element id="Resource"> 59 <path value="Resource" /> 60 <short value="Base Resource" /> 61 <definition value="This is the base resource type for everything." /> 62 <min value="0" /> 63 <max value="*" /> 64 <base> 65 <path value="Resource" /> 66 <min value="0" /> 67 <max value="*" /> 68 </base> 69 <mustSupport value="false" /> 70 <isModifier value="false" /> 71 <isSummary value="false" /> 72 <mapping> 73 <identity value="rim" /> 74 <map value="n/a,Entity. Role, or Act" /> 75 </mapping> 76 </element> 77 <element id="Resource.id"> 78 <path value="Resource.id" /> 79 <short value="Logical id of this artifact" /> 80 <definition value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." /> 81 <comment value="Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case." /> 82 <min value="0" /> 83 <max value="1" /> 84 <base> 85 <path value="Resource.id" /> 86 <min value="0" /> 87 <max value="1" /> 88 </base> 89 <type> 90 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 91 <valueUrl value="id" /> 92 </extension> 93 <code value="http://hl7.org/fhirpath/System.String" /> 94 </type> 95 <mustSupport value="false" /> 96 <isModifier value="false" /> 97 <isSummary value="true" /> 98 </element> 99 <element id="Resource.meta"> 100 <path value="Resource.meta" /> 101 <short value="Metadata about the resource" /> 102 <definition value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource." /> 103 <min value="0" /> 104 <max value="1" /> 105 <base> 106 <path value="Resource.meta" /> 107 <min value="0" /> 108 <max value="1" /> 109 </base> 110 <type> 111 <code value="Meta" /> 112 </type> 113 <constraint> 114 <key value="ele-1" /> 115 <severity value="error" /> 116 <human value="All FHIR elements must have a @value or children" /> 117 <expression value="hasValue() or (children().count() > id.count())" /> 118 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 119 </constraint> 120 <mustSupport value="false" /> 121 <isModifier value="false" /> 122 <isSummary value="true" /> 123 </element> 124 <element id="Resource.implicitRules"> 125 <path value="Resource.implicitRules" /> 126 <short value="A set of rules under which this content was created" /> 127 <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc." /> 128 <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc." /> 129 <min value="0" /> 130 <max value="1" /> 131 <base> 132 <path value="Resource.implicitRules" /> 133 <min value="0" /> 134 <max value="1" /> 135 </base> 136 <type> 137 <code value="uri" /> 138 </type> 139 <constraint> 140 <key value="ele-1" /> 141 <severity value="error" /> 142 <human value="All FHIR elements must have a @value or children" /> 143 <expression value="hasValue() or (children().count() > id.count())" /> 144 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 145 </constraint> 146 <mustSupport value="false" /> 147 <isModifier value="true" /> 148 <isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies its meaning or interpretation" /> 149 <isSummary value="true" /> 150 </element> 151 <element id="Resource.language"> 152 <path value="Resource.language" /> 153 <short value="Language of the resource content" /> 154 <definition value="The base language in which the resource is written." /> 155 <comment value="Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)." /> 156 <min value="0" /> 157 <max value="1" /> 158 <base> 159 <path value="Resource.language" /> 160 <min value="0" /> 161 <max value="1" /> 162 </base> 163 <type> 164 <code value="code" /> 165 </type> 166 <constraint> 167 <key value="ele-1" /> 168 <severity value="error" /> 169 <human value="All FHIR elements must have a @value or children" /> 170 <expression value="hasValue() or (children().count() > id.count())" /> 171 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 172 </constraint> 173 <mustSupport value="false" /> 174 <isModifier value="false" /> 175 <isSummary value="false" /> 176 <binding> 177 <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> 178 <valueString value="Language" /> 179 </extension> 180 <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding"> 181 <valueBoolean value="true" /> 182 </extension> 183 <strength value="required" /> 184 <description value="IETF language tag for a human language" /> 185 <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0" /> 186 </binding> 187 </element> 188 </snapshot> 189 <differential> 190 <element id="Resource"> 191 <path value="Resource" /> 192 <short value="Base Resource" /> 193 <definition value="This is the base resource type for everything." /> 194 <min value="0" /> 195 <max value="*" /> 196 <mustSupport value="false" /> 197 <isModifier value="false" /> 198 <mapping> 199 <identity value="rim" /> 200 <map value="Entity. Role, or Act" /> 201 </mapping> 202 </element> 203 <element id="Resource.id"> 204 <path value="Resource.id" /> 205 <short value="Logical id of this artifact" /> 206 <definition value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." /> 207 <comment value="Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case." /> 208 <min value="0" /> 209 <max value="1" /> 210 <type> 211 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 212 <valueUrl value="id" /> 213 </extension> 214 <code value="http://hl7.org/fhirpath/System.String" /> 215 </type> 216 <mustSupport value="false" /> 217 <isModifier value="false" /> 218 <isSummary value="true" /> 219 </element> 220 <element id="Resource.meta"> 221 <path value="Resource.meta" /> 222 <short value="Metadata about the resource" /> 223 <definition value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource." /> 224 <min value="0" /> 225 <max value="1" /> 226 <type> 227 <code value="Meta" /> 228 </type> 229 <mustSupport value="false" /> 230 <isModifier value="false" /> 231 <isSummary value="true" /> 232 </element> 233 <element id="Resource.implicitRules"> 234 <path value="Resource.implicitRules" /> 235 <short value="A set of rules under which this content was created" /> 236 <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc." /> 237 <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc." /> 238 <min value="0" /> 239 <max value="1" /> 240 <type> 241 <code value="uri" /> 242 </type> 243 <mustSupport value="false" /> 244 <isModifier value="true" /> 245 <isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies its meaning or interpretation" /> 246 <isSummary value="true" /> 247 </element> 248 <element id="Resource.language"> 249 <path value="Resource.language" /> 250 <short value="Language of the resource content" /> 251 <definition value="The base language in which the resource is written." /> 252 <comment value="Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)." /> 253 <min value="0" /> 254 <max value="1" /> 255 <type> 256 <code value="code" /> 257 </type> 258 <mustSupport value="false" /> 259 <isModifier value="false" /> 260 <isSummary value="false" /> 261 <binding> 262 <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> 263 <valueString value="Language" /> 264 </extension> 265 <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding"> 266 <valueBoolean value="true" /> 267 </extension> 268 <strength value="required" /> 269 <description value="IETF language tag for a human language" /> 270 <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0" /> 271 </binding> 272 </element> 273 </differential> 274 </StructureDefinition>