procedure-directedBy.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <StructureDefinition xmlns="http://hl7.org/fhir"> 3 <id value="procedure-directedBy" /> 4 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"> 5 <valueCode value="pc" /> 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/procedure-directedBy" /> 11 <version value="4.0.1" /> 12 <name value="directedBy" /> 13 <title value="directedBy" /> 14 <status value="draft" /> 15 <date value="2015-02-12" /> 16 <publisher value="Health Level Seven, Inc. - FHIR WG" /> 17 <contact> 18 <telecom> 19 <system value="url" /> 20 <value value="HL7" /> 21 </telecom> 22 </contact> 23 <description value="The target of the extension is a distinct actor from the requester and has decision-making authority over the service and takes direct responsibility to manage the service." /> 24 <fhirVersion value="4.0.1" /> 25 <mapping> 26 <identity value="rim" /> 27 <uri value="http://hl7.org/v3" /> 28 <name value="RIM Mapping" /> 29 </mapping> 30 <kind value="complex-type" /> 31 <abstract value="false" /> 32 <context> 33 <type value="element" /> 34 <expression value="Procedure" /> 35 </context> 36 <context> 37 <type value="element" /> 38 <expression value="ServiceRequest" /> 39 </context> 40 <type value="Extension" /> 41 <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" /> 42 <derivation value="constraint" /> 43 <snapshot> 44 <element id="Extension"> 45 <path value="Extension" /> 46 <short value="Who has decision-making authority" /> 47 <definition value="The target of the extension is a distinct actor from the requester and has decision-making authority over the service and takes direct responsibility to manage the service." /> 48 <comment value="For example, a long term care beneficiary who coordinates the services related to their activities of daily living." /> 49 <min value="0" /> 50 <max value="1" /> 51 <base> 52 <path value="Extension" /> 53 <min value="0" /> 54 <max value="*" /> 55 </base> 56 <condition value="ele-1" /> 57 <constraint> 58 <key value="ele-1" /> 59 <severity value="error" /> 60 <human value="All FHIR elements must have a @value or children" /> 61 <expression value="hasValue() or (children().count() > id.count())" /> 62 <xpath value="@value|f:*|h:div" /> 63 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 64 </constraint> 65 <constraint> 66 <key value="ext-1" /> 67 <severity value="error" /> 68 <human value="Must have either extensions or value[x], not both" /> 69 <expression value="extension.exists() != value.exists()" /> 70 <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" /> 71 <source value="http://hl7.org/fhir/StructureDefinition/Extension" /> 72 </constraint> 73 <isModifier value="false" /> 74 </element> 75 <element id="Extension.id"> 76 <path value="Extension.id" /> 77 <representation value="xmlAttr" /> 78 <short value="Unique id for inter-element referencing" /> 79 <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." /> 80 <min value="0" /> 81 <max value="1" /> 82 <base> 83 <path value="Element.id" /> 84 <min value="0" /> 85 <max value="1" /> 86 </base> 87 <type> 88 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 89 <valueUrl value="string" /> 90 </extension> 91 <code value="http://hl7.org/fhirpath/System.String" /> 92 </type> 93 <isModifier value="false" /> 94 <isSummary value="false" /> 95 <mapping> 96 <identity value="rim" /> 97 <map value="n/a" /> 98 </mapping> 99 </element> 100 <element id="Extension.extension"> 101 <path value="Extension.extension" /> 102 <slicing> 103 <discriminator> 104 <type value="value" /> 105 <path value="url" /> 106 </discriminator> 107 <description value="Extensions are always sliced by (at least) url" /> 108 <rules value="open" /> 109 </slicing> 110 <short value="Extension" /> 111 <definition value="An Extension" /> 112 <min value="0" /> 113 <max value="0" /> 114 <base> 115 <path value="Element.extension" /> 116 <min value="0" /> 117 <max value="*" /> 118 </base> 119 <type> 120 <code value="Extension" /> 121 </type> 122 <constraint> 123 <key value="ele-1" /> 124 <severity value="error" /> 125 <human value="All FHIR elements must have a @value or children" /> 126 <expression value="hasValue() or (children().count() > id.count())" /> 127 <xpath value="@value|f:*|h:div" /> 128 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 129 </constraint> 130 <constraint> 131 <key value="ext-1" /> 132 <severity value="error" /> 133 <human value="Must have either extensions or value[x], not both" /> 134 <expression value="extension.exists() != value.exists()" /> 135 <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" /> 136 <source value="http://hl7.org/fhir/StructureDefinition/Extension" /> 137 </constraint> 138 <isModifier value="false" /> 139 <isSummary value="false" /> 140 </element> 141 <element id="Extension.url"> 142 <path value="Extension.url" /> 143 <representation value="xmlAttr" /> 144 <short value="identifies the meaning of the extension" /> 145 <definition value="Source of the definition for the extension code - a logical name or a URL." /> 146 <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." /> 147 <min value="1" /> 148 <max value="1" /> 149 <base> 150 <path value="Extension.url" /> 151 <min value="1" /> 152 <max value="1" /> 153 </base> 154 <type> 155 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 156 <valueUrl value="uri" /> 157 </extension> 158 <code value="http://hl7.org/fhirpath/System.String" /> 159 </type> 160 <fixedUri value="http://hl7.org/fhir/StructureDefinition/procedure-directedBy" /> 161 <isModifier value="false" /> 162 <isSummary value="false" /> 163 <mapping> 164 <identity value="rim" /> 165 <map value="N/A" /> 166 </mapping> 167 </element> 168 <element id="Extension.value[x]"> 169 <path value="Extension.value[x]" /> 170 <short value="Value of extension" /> 171 <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)." /> 172 <min value="1" /> 173 <max value="1" /> 174 <base> 175 <path value="Extension.value[x]" /> 176 <min value="0" /> 177 <max value="1" /> 178 </base> 179 <type> 180 <code value="CodeableConcept" /> 181 </type> 182 <type> 183 <code value="Reference" /> 184 <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" /> 185 <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson" /> 186 <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner" /> 187 <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole" /> 188 </type> 189 <constraint> 190 <key value="ele-1" /> 191 <severity value="error" /> 192 <human value="All FHIR elements must have a @value or children" /> 193 <expression value="hasValue() or (children().count() > id.count())" /> 194 <xpath value="@value|f:*|h:div" /> 195 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 196 </constraint> 197 <isModifier value="false" /> 198 <isSummary value="false" /> 199 <mapping> 200 <identity value="rim" /> 201 <map value="N/A" /> 202 </mapping> 203 </element> 204 </snapshot> 205 <differential> 206 <element id="Extension"> 207 <path value="Extension" /> 208 <short value="Who has decision-making authority" /> 209 <definition value="The target of the extension is a distinct actor from the requester and has decision-making authority over the service and takes direct responsibility to manage the service." /> 210 <comment value="For example, a long term care beneficiary who coordinates the services related to their activities of daily living." /> 211 <min value="0" /> 212 <max value="1" /> 213 </element> 214 <element id="Extension.extension"> 215 <path value="Extension.extension" /> 216 <max value="0" /> 217 </element> 218 <element id="Extension.url"> 219 <path value="Extension.url" /> 220 <fixedUri value="http://hl7.org/fhir/StructureDefinition/procedure-directedBy" /> 221 </element> 222 <element id="Extension.value[x]"> 223 <path value="Extension.value[x]" /> 224 <min value="1" /> 225 <type> 226 <code value="CodeableConcept" /> 227 </type> 228 <type> 229 <code value="Reference" /> 230 <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" /> 231 <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson" /> 232 <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner" /> 233 <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole" /> 234 </type> 235 </element> 236 </differential> 237 </StructureDefinition>