resource-approvalDate.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <StructureDefinition xmlns="http://hl7.org/fhir"> 3 <id value="resource-approvalDate" /> 4 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"> 5 <valueCode value="fhir" /> 6 </extension> 7 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"> 8 <valueInteger value="1" /> 9 </extension> 10 <url value="http://hl7.org/fhir/StructureDefinition/resource-approvalDate" /> 11 <version value="4.0.1" /> 12 <name value="approvalDate" /> 13 <title value="Approval Date" /> 14 <status value="draft" /> 15 <date value="2019-10-31T23:29:23.0000000+01:00" /> 16 <publisher value="HL7" /> 17 <description value="The date on which the asset content was approved by the publisher. Approval happens once when the content is officially approved for usage." /> 18 <fhirVersion value="4.0.1" /> 19 <mapping> 20 <identity value="rim" /> 21 <uri value="http://hl7.org/v3" /> 22 <name value="RIM Mapping" /> 23 </mapping> 24 <kind value="complex-type" /> 25 <abstract value="false" /> 26 <context> 27 <type value="element" /> 28 <expression value="StructureDefinition" /> 29 </context> 30 <context> 31 <type value="element" /> 32 <expression value="StructureMap" /> 33 </context> 34 <context> 35 <type value="element" /> 36 <expression value="CapabilityStatement" /> 37 </context> 38 <context> 39 <type value="element" /> 40 <expression value="OperationDefinition" /> 41 </context> 42 <context> 43 <type value="element" /> 44 <expression value="SearchParameter" /> 45 </context> 46 <context> 47 <type value="element" /> 48 <expression value="CompartmentDefinition" /> 49 </context> 50 <context> 51 <type value="element" /> 52 <expression value="ImplementationGuide" /> 53 </context> 54 <context> 55 <type value="element" /> 56 <expression value="CodeSystem" /> 57 </context> 58 <context> 59 <type value="element" /> 60 <expression value="ValueSet" /> 61 </context> 62 <context> 63 <type value="element" /> 64 <expression value="ConceptMap" /> 65 </context> 66 <context> 67 <type value="element" /> 68 <expression value="NamingSystem" /> 69 </context> 70 <type value="Extension" /> 71 <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" /> 72 <derivation value="constraint" /> 73 <snapshot> 74 <element id="Extension"> 75 <path value="Extension" /> 76 <short value="When resource approved by publisher" /> 77 <definition value="The date on which the asset content was approved by the publisher. Approval happens once when the content is officially approved for usage." /> 78 <comment value="The date may be more recent than the approval date because of minor changes / editorial corrections." /> 79 <min value="0" /> 80 <max value="1" /> 81 <base> 82 <path value="Extension" /> 83 <min value="0" /> 84 <max value="*" /> 85 </base> 86 <condition value="ele-1" /> 87 <constraint> 88 <key value="ele-1" /> 89 <severity value="error" /> 90 <human value="All FHIR elements must have a @value or children" /> 91 <expression value="hasValue() or (children().count() > id.count())" /> 92 <xpath value="@value|f:*|h:div" /> 93 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 94 </constraint> 95 <constraint> 96 <key value="ext-1" /> 97 <severity value="error" /> 98 <human value="Must have either extensions or value[x], not both" /> 99 <expression value="extension.exists() != value.exists()" /> 100 <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" /> 101 <source value="http://hl7.org/fhir/StructureDefinition/Extension" /> 102 </constraint> 103 <isModifier value="false" /> 104 </element> 105 <element id="Extension.id"> 106 <path value="Extension.id" /> 107 <representation value="xmlAttr" /> 108 <short value="Unique id for inter-element referencing" /> 109 <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." /> 110 <min value="0" /> 111 <max value="1" /> 112 <base> 113 <path value="Element.id" /> 114 <min value="0" /> 115 <max value="1" /> 116 </base> 117 <type> 118 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 119 <valueUrl value="string" /> 120 </extension> 121 <code value="http://hl7.org/fhirpath/System.String" /> 122 </type> 123 <isModifier value="false" /> 124 <isSummary value="false" /> 125 <mapping> 126 <identity value="rim" /> 127 <map value="n/a" /> 128 </mapping> 129 </element> 130 <element id="Extension.extension"> 131 <path value="Extension.extension" /> 132 <slicing> 133 <discriminator> 134 <type value="value" /> 135 <path value="url" /> 136 </discriminator> 137 <description value="Extensions are always sliced by (at least) url" /> 138 <rules value="open" /> 139 </slicing> 140 <short value="Extension" /> 141 <definition value="An Extension" /> 142 <min value="0" /> 143 <max value="0" /> 144 <base> 145 <path value="Element.extension" /> 146 <min value="0" /> 147 <max value="*" /> 148 </base> 149 <type> 150 <code value="Extension" /> 151 </type> 152 <constraint> 153 <key value="ele-1" /> 154 <severity value="error" /> 155 <human value="All FHIR elements must have a @value or children" /> 156 <expression value="hasValue() or (children().count() > id.count())" /> 157 <xpath value="@value|f:*|h:div" /> 158 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 159 </constraint> 160 <constraint> 161 <key value="ext-1" /> 162 <severity value="error" /> 163 <human value="Must have either extensions or value[x], not both" /> 164 <expression value="extension.exists() != value.exists()" /> 165 <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" /> 166 <source value="http://hl7.org/fhir/StructureDefinition/Extension" /> 167 </constraint> 168 <isModifier value="false" /> 169 <isSummary value="false" /> 170 </element> 171 <element id="Extension.url"> 172 <path value="Extension.url" /> 173 <representation value="xmlAttr" /> 174 <short value="identifies the meaning of the extension" /> 175 <definition value="Source of the definition for the extension code - a logical name or a URL." /> 176 <comment value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension." /> 177 <min value="1" /> 178 <max value="1" /> 179 <base> 180 <path value="Extension.url" /> 181 <min value="1" /> 182 <max value="1" /> 183 </base> 184 <type> 185 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 186 <valueUrl value="uri" /> 187 </extension> 188 <code value="http://hl7.org/fhirpath/System.String" /> 189 </type> 190 <fixedUri value="http://hl7.org/fhir/StructureDefinition/resource-approvalDate" /> 191 <isModifier value="false" /> 192 <isSummary value="false" /> 193 <mapping> 194 <identity value="rim" /> 195 <map value="N/A" /> 196 </mapping> 197 </element> 198 <element id="Extension.value[x]"> 199 <path value="Extension.value[x]" /> 200 <short value="Value of extension" /> 201 <definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list)." /> 202 <min value="1" /> 203 <max value="1" /> 204 <base> 205 <path value="Extension.value[x]" /> 206 <min value="0" /> 207 <max value="1" /> 208 </base> 209 <type> 210 <code value="date" /> 211 </type> 212 <constraint> 213 <key value="ele-1" /> 214 <severity value="error" /> 215 <human value="All FHIR elements must have a @value or children" /> 216 <expression value="hasValue() or (children().count() > id.count())" /> 217 <xpath value="@value|f:*|h:div" /> 218 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 219 </constraint> 220 <isModifier value="false" /> 221 <isSummary value="false" /> 222 <mapping> 223 <identity value="rim" /> 224 <map value="N/A" /> 225 </mapping> 226 </element> 227 </snapshot> 228 <differential> 229 <element id="Extension"> 230 <path value="Extension" /> 231 <short value="When resource approved by publisher" /> 232 <definition value="The date on which the asset content was approved by the publisher. Approval happens once when the content is officially approved for usage." /> 233 <comment value="The date may be more recent than the approval date because of minor changes / editorial corrections." /> 234 <min value="0" /> 235 <max value="1" /> 236 </element> 237 <element id="Extension.extension"> 238 <path value="Extension.extension" /> 239 <max value="0" /> 240 </element> 241 <element id="Extension.url"> 242 <path value="Extension.url" /> 243 <fixedUri value="http://hl7.org/fhir/StructureDefinition/resource-approvalDate" /> 244 </element> 245 <element id="Extension.value[x]"> 246 <path value="Extension.value[x]" /> 247 <min value="1" /> 248 <type> 249 <code value="date" /> 250 </type> 251 </element> 252 </differential> 253 </StructureDefinition>