procedure-approachBodyStructure.xml
  1 <?xml version="1.0" encoding="utf-8"?>
  2 <StructureDefinition xmlns="http://hl7.org/fhir">
  3   <id value="procedure-approachBodyStructure" />
  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-approachBodyStructure" />
 11   <version value="4.0.1" />
 12   <name value="approachBodyStructure" />
 13   <title value="approachBodyStructure" />
 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 approach body site used for this procedure.  Multiple locations are allowed." />
 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   <context>
 41     <type value="element" />
 42     <expression value="DeviceRequest" />
 43   </context>
 44   <context>
 45     <type value="element" />
 46     <expression value="DeviceUseStatement" />
 47   </context>
 48   <type value="Extension" />
 49   <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
 50   <derivation value="constraint" />
 51   <snapshot>
 52     <element id="Extension">
 53       <path value="Extension" />
 54       <short value="The access point or points used for this procedure" />
 55       <definition value="The approach body site used for this procedure.  Multiple locations are allowed." />
 56       <min value="0" />
 57       <max value="*" />
 58       <base>
 59         <path value="Extension" />
 60         <min value="0" />
 61         <max value="*" />
 62       </base>
 63       <condition value="ele-1" />
 64       <constraint>
 65         <key value="ele-1" />
 66         <severity value="error" />
 67         <human value="All FHIR elements must have a @value or children" />
 68         <expression value="hasValue() or (children().count() > id.count())" />
 69         <xpath value="@value|f:*|h:div" />
 70         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
 71       </constraint>
 72       <constraint>
 73         <key value="ext-1" />
 74         <severity value="error" />
 75         <human value="Must have either extensions or value[x], not both" />
 76         <expression value="extension.exists() != value.exists()" />
 77         <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
 78         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
 79       </constraint>
 80       <isModifier value="false" />
 81     </element>
 82     <element id="Extension.id">
 83       <path value="Extension.id" />
 84       <representation value="xmlAttr" />
 85       <short value="Unique id for inter-element referencing" />
 86       <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
 87       <min value="0" />
 88       <max value="1" />
 89       <base>
 90         <path value="Element.id" />
 91         <min value="0" />
 92         <max value="1" />
 93       </base>
 94       <type>
 95         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
 96           <valueUrl value="string" />
 97         </extension>
 98         <code value="http://hl7.org/fhirpath/System.String" />
 99       </type>
100       <isModifier value="false" />
101       <isSummary value="false" />
102       <mapping>
103         <identity value="rim" />
104         <map value="n/a" />
105       </mapping>
106     </element>
107     <element id="Extension.extension">
108       <path value="Extension.extension" />
109       <slicing>
110         <discriminator>
111           <type value="value" />
112           <path value="url" />
113         </discriminator>
114         <description value="Extensions are always sliced by (at least) url" />
115         <rules value="open" />
116       </slicing>
117       <short value="Extension" />
118       <definition value="An Extension" />
119       <min value="0" />
120       <max value="0" />
121       <base>
122         <path value="Element.extension" />
123         <min value="0" />
124         <max value="*" />
125       </base>
126       <type>
127         <code value="Extension" />
128       </type>
129       <constraint>
130         <key value="ele-1" />
131         <severity value="error" />
132         <human value="All FHIR elements must have a @value or children" />
133         <expression value="hasValue() or (children().count() > id.count())" />
134         <xpath value="@value|f:*|h:div" />
135         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
136       </constraint>
137       <constraint>
138         <key value="ext-1" />
139         <severity value="error" />
140         <human value="Must have either extensions or value[x], not both" />
141         <expression value="extension.exists() != value.exists()" />
142         <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
143         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
144       </constraint>
145       <isModifier value="false" />
146       <isSummary value="false" />
147     </element>
148     <element id="Extension.url">
149       <path value="Extension.url" />
150       <representation value="xmlAttr" />
151       <short value="identifies the meaning of the extension" />
152       <definition value="Source of the definition for the extension code - a logical name or a URL." />
153       <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." />
154       <min value="1" />
155       <max value="1" />
156       <base>
157         <path value="Extension.url" />
158         <min value="1" />
159         <max value="1" />
160       </base>
161       <type>
162         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
163           <valueUrl value="uri" />
164         </extension>
165         <code value="http://hl7.org/fhirpath/System.String" />
166       </type>
167       <fixedUri value="http://hl7.org/fhir/StructureDefinition/procedure-approachBodyStructure" />
168       <isModifier value="false" />
169       <isSummary value="false" />
170       <mapping>
171         <identity value="rim" />
172         <map value="N/A" />
173       </mapping>
174     </element>
175     <element id="Extension.value[x]">
176       <path value="Extension.value[x]" />
177       <short value="Value of extension" />
178       <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)." />
179       <min value="1" />
180       <max value="1" />
181       <base>
182         <path value="Extension.value[x]" />
183         <min value="0" />
184         <max value="1" />
185       </base>
186       <type>
187         <code value="Reference" />
188         <targetProfile value="http://hl7.org/fhir/StructureDefinition/BodyStructure" />
189       </type>
190       <constraint>
191         <key value="ele-1" />
192         <severity value="error" />
193         <human value="All FHIR elements must have a @value or children" />
194         <expression value="hasValue() or (children().count() > id.count())" />
195         <xpath value="@value|f:*|h:div" />
196         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
197       </constraint>
198       <isModifier value="false" />
199       <isSummary value="false" />
200       <mapping>
201         <identity value="rim" />
202         <map value="N/A" />
203       </mapping>
204     </element>
205   </snapshot>
206   <differential>
207     <element id="Extension">
208       <path value="Extension" />
209       <short value="The access point or points used for this procedure" />
210       <definition value="The approach body site used for this procedure.  Multiple locations are allowed." />
211       <min value="0" />
212       <max value="*" />
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-approachBodyStructure" />
221     </element>
222     <element id="Extension.value[x]">
223       <path value="Extension.value[x]" />
224       <min value="1" />
225       <type>
226         <code value="Reference" />
227         <targetProfile value="http://hl7.org/fhir/StructureDefinition/BodyStructure" />
228       </type>
229     </element>
230   </differential>
231 </StructureDefinition>