workflow-instantiatesUri.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <StructureDefinition xmlns="http://hl7.org/fhir"> 3 <id value="workflow-instantiatesUri" /> 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/workflow-instantiatesUri" /> 11 <version value="4.0.1" /> 12 <name value="instantiatesUri" /> 13 <title value="Definition" /> 14 <status value="draft" /> 15 <date value="2017-12-06" /> 16 <publisher value="Health Level Seven, Inc. - FHIR WG" /> 17 <contact> 18 <telecom> 19 <system value="url" /> 20 <value value="http://hl7.org/special/committees/fwg" /> 21 </telecom> 22 </contact> 23 <description value="The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by the event or request resource." /> 24 <fhirVersion value="4.0.1" /> 25 <mapping> 26 <identity value="workflow" /> 27 <uri value="http://hl7.org/fhir/workflow" /> 28 <name value="Workflow Pattern" /> 29 </mapping> 30 <mapping> 31 <identity value="v2" /> 32 <uri value="http://hl7.org/v2" /> 33 <name value="HL7 v2 Mapping" /> 34 </mapping> 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="false" /> 42 <context> 43 <type value="element" /> 44 <expression value="Observation" /> 45 </context> 46 <context> 47 <type value="element" /> 48 <expression value="DiagnosticReport" /> 49 </context> 50 <context> 51 <type value="element" /> 52 <expression value="Media" /> 53 </context> 54 <context> 55 <type value="element" /> 56 <expression value="Condition" /> 57 </context> 58 <context> 59 <type value="element" /> 60 <expression value="SupplyDelivery" /> 61 </context> 62 <context> 63 <type value="element" /> 64 <expression value="CommunicationRequest" /> 65 </context> 66 <context> 67 <type value="element" /> 68 <expression value="SupplyRequest" /> 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="External protocol or definition" /> 77 <definition value="The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by the event or request resource." /> 78 <comment value="This may be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier." /> 79 <min value="0" /> 80 <max value="*" /> 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 <mapping> 105 <identity value="workflow" /> 106 <map value="Event.instantiates" /> 107 </mapping> 108 <mapping> 109 <identity value="v2" /> 110 <map value="Varies by domain" /> 111 </mapping> 112 <mapping> 113 <identity value="rim" /> 114 <map value=".outboundRelationship[typeCode=DEFN].target" /> 115 </mapping> 116 </element> 117 <element id="Extension.id"> 118 <path value="Extension.id" /> 119 <representation value="xmlAttr" /> 120 <short value="Unique id for inter-element referencing" /> 121 <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." /> 122 <min value="0" /> 123 <max value="1" /> 124 <base> 125 <path value="Element.id" /> 126 <min value="0" /> 127 <max value="1" /> 128 </base> 129 <type> 130 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 131 <valueUrl value="string" /> 132 </extension> 133 <code value="http://hl7.org/fhirpath/System.String" /> 134 </type> 135 <isModifier value="false" /> 136 <isSummary value="false" /> 137 <mapping> 138 <identity value="rim" /> 139 <map value="n/a" /> 140 </mapping> 141 </element> 142 <element id="Extension.extension"> 143 <path value="Extension.extension" /> 144 <slicing> 145 <discriminator> 146 <type value="value" /> 147 <path value="url" /> 148 </discriminator> 149 <description value="Extensions are always sliced by (at least) url" /> 150 <rules value="open" /> 151 </slicing> 152 <short value="Extension" /> 153 <definition value="An Extension" /> 154 <min value="0" /> 155 <max value="0" /> 156 <base> 157 <path value="Element.extension" /> 158 <min value="0" /> 159 <max value="*" /> 160 </base> 161 <type> 162 <code value="Extension" /> 163 </type> 164 <constraint> 165 <key value="ele-1" /> 166 <severity value="error" /> 167 <human value="All FHIR elements must have a @value or children" /> 168 <expression value="hasValue() or (children().count() > id.count())" /> 169 <xpath value="@value|f:*|h:div" /> 170 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 171 </constraint> 172 <constraint> 173 <key value="ext-1" /> 174 <severity value="error" /> 175 <human value="Must have either extensions or value[x], not both" /> 176 <expression value="extension.exists() != value.exists()" /> 177 <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" /> 178 <source value="http://hl7.org/fhir/StructureDefinition/Extension" /> 179 </constraint> 180 <isModifier value="false" /> 181 <isSummary value="false" /> 182 </element> 183 <element id="Extension.url"> 184 <path value="Extension.url" /> 185 <representation value="xmlAttr" /> 186 <short value="identifies the meaning of the extension" /> 187 <definition value="Source of the definition for the extension code - a logical name or a URL." /> 188 <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." /> 189 <min value="1" /> 190 <max value="1" /> 191 <base> 192 <path value="Extension.url" /> 193 <min value="1" /> 194 <max value="1" /> 195 </base> 196 <type> 197 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 198 <valueUrl value="uri" /> 199 </extension> 200 <code value="http://hl7.org/fhirpath/System.String" /> 201 </type> 202 <fixedUri value="http://hl7.org/fhir/StructureDefinition/workflow-instantiatesUri" /> 203 <isModifier value="false" /> 204 <isSummary value="false" /> 205 <mapping> 206 <identity value="rim" /> 207 <map value="N/A" /> 208 </mapping> 209 </element> 210 <element id="Extension.value[x]"> 211 <path value="Extension.value[x]" /> 212 <short value="Value of extension" /> 213 <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)." /> 214 <min value="1" /> 215 <max value="1" /> 216 <base> 217 <path value="Extension.value[x]" /> 218 <min value="0" /> 219 <max value="1" /> 220 </base> 221 <type> 222 <code value="uri" /> 223 </type> 224 <constraint> 225 <key value="ele-1" /> 226 <severity value="error" /> 227 <human value="All FHIR elements must have a @value or children" /> 228 <expression value="hasValue() or (children().count() > id.count())" /> 229 <xpath value="@value|f:*|h:div" /> 230 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 231 </constraint> 232 <isModifier value="false" /> 233 <isSummary value="false" /> 234 <mapping> 235 <identity value="rim" /> 236 <map value="N/A" /> 237 </mapping> 238 </element> 239 </snapshot> 240 <differential> 241 <element id="Extension"> 242 <path value="Extension" /> 243 <short value="External protocol or definition" /> 244 <definition value="The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by the event or request resource." /> 245 <comment value="This may be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier." /> 246 <min value="0" /> 247 <max value="*" /> 248 <mapping> 249 <identity value="workflow" /> 250 <map value="Event.instantiates" /> 251 </mapping> 252 <mapping> 253 <identity value="v2" /> 254 <map value="Varies by domain" /> 255 </mapping> 256 <mapping> 257 <identity value="rim" /> 258 <map value=".outboundRelationship[typeCode=DEFN].target" /> 259 </mapping> 260 </element> 261 <element id="Extension.extension"> 262 <path value="Extension.extension" /> 263 <max value="0" /> 264 </element> 265 <element id="Extension.url"> 266 <path value="Extension.url" /> 267 <fixedUri value="http://hl7.org/fhir/StructureDefinition/workflow-instantiatesUri" /> 268 </element> 269 <element id="Extension.value[x]"> 270 <path value="Extension.value[x]" /> 271 <min value="1" /> 272 <type> 273 <code value="uri" /> 274 </type> 275 </element> 276 </differential> 277 </StructureDefinition>