StructureDefinition-ch-orf-initiator.xml
  1 <?xml version="1.0" encoding="utf-8"?>
  2 <StructureDefinition xmlns="http://hl7.org/fhir">
  3   <id value="ch-orf-initiator" />
  4   <url value="http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-initiator" />
  5   <version value="4.0.0-ballot-ci-build" />
  6   <name value="ChOrfInitiator" />
  7   <title value="CH ORF Initiator" />
  8   <status value="active" />
  9   <date value="2024-12-18T11:31:04.0000000+01:00" />
 10   <publisher value="HL7 Switzerland" />
 11   <contact>
 12     <name value="HL7 Switzerland" />
 13     <telecom>
 14       <system value="url" />
 15       <value value="https://www.hl7.ch/" />
 16     </telecom>
 17   </contact>
 18   <description value="Initiator and his realtion to the patient" />
 19   <jurisdiction>
 20     <coding>
 21       <system value="urn:iso:std:iso:3166" />
 22       <code value="CH" />
 23     </coding>
 24   </jurisdiction>
 25   <copyright value="CC0-1.0" />
 26   <fhirVersion value="4.0.1" />
 27   <mapping>
 28     <identity value="rim" />
 29     <uri value="http://hl7.org/v3" />
 30     <name value="RIM Mapping" />
 31   </mapping>
 32   <kind value="complex-type" />
 33   <abstract value="false" />
 34   <context>
 35     <type value="element" />
 36     <expression value="Composition" />
 37   </context>
 38   <type value="Extension" />
 39   <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
 40   <derivation value="constraint" />
 41   <snapshot>
 42     <element id="Extension">
 43       <path value="Extension" />
 44       <short value="Extension" />
 45       <definition value="Extension to define person/organization who initated this order (may or may not receive a copy)" />
 46       <min value="0" />
 47       <max value="*" />
 48       <base>
 49         <path value="Extension" />
 50         <min value="0" />
 51         <max value="*" />
 52       </base>
 53       <condition value="ele-1" />
 54       <constraint>
 55         <key value="ele-1" />
 56         <severity value="error" />
 57         <human value="All FHIR elements must have a @value or children" />
 58         <expression value="hasValue() or (children().count() > id.count())" />
 59         <xpath value="@value|f:*|h:div" />
 60         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
 61       </constraint>
 62       <constraint>
 63         <key value="ext-1" />
 64         <severity value="error" />
 65         <human value="Must have either extensions or value[x], not both" />
 66         <expression value="extension.exists() != value.exists()" />
 67         <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
 68         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
 69       </constraint>
 70       <isModifier value="false" />
 71     </element>
 72     <element id="Extension.id">
 73       <path value="Extension.id" />
 74       <representation value="xmlAttr" />
 75       <short value="Unique id for inter-element referencing" />
 76       <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
 77       <min value="0" />
 78       <max value="1" />
 79       <base>
 80         <path value="Element.id" />
 81         <min value="0" />
 82         <max value="1" />
 83       </base>
 84       <type>
 85         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
 86           <valueUrl value="string" />
 87         </extension>
 88         <code value="http://hl7.org/fhirpath/System.String" />
 89       </type>
 90       <isModifier value="false" />
 91       <isSummary value="false" />
 92       <mapping>
 93         <identity value="rim" />
 94         <map value="n/a" />
 95       </mapping>
 96     </element>
 97     <element id="Extension.extension">
 98       <path value="Extension.extension" />
 99       <slicing>
100         <discriminator>
101           <type value="value" />
102           <path value="url" />
103         </discriminator>
104         <description value="Extensions are always sliced by (at least) url" />
105         <rules value="open" />
106       </slicing>
107       <short value="Extension" />
108       <definition value="An Extension" />
109       <min value="3" />
110       <max value="*" />
111       <base>
112         <path value="Element.extension" />
113         <min value="0" />
114         <max value="*" />
115       </base>
116       <type>
117         <code value="Extension" />
118       </type>
119       <constraint>
120         <key value="ele-1" />
121         <severity value="error" />
122         <human value="All FHIR elements must have a @value or children" />
123         <expression value="hasValue() or (children().count() > id.count())" />
124         <xpath value="@value|f:*|h:div" />
125         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
126       </constraint>
127       <constraint>
128         <key value="ext-1" />
129         <severity value="error" />
130         <human value="Must have either extensions or value[x], not both" />
131         <expression value="extension.exists() != value.exists()" />
132         <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
133         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
134       </constraint>
135       <isModifier value="false" />
136       <isSummary value="false" />
137     </element>
138     <element id="Extension.extension:ch-orf-personalrelation">
139       <path value="Extension.extension" />
140       <sliceName value="ch-orf-personalrelation" />
141       <short value="Personal relation between initiator and patient" />
142       <definition value="An Extension" />
143       <min value="1" />
144       <max value="1" />
145       <base>
146         <path value="Element.extension" />
147         <min value="0" />
148         <max value="*" />
149       </base>
150       <type>
151         <code value="Extension" />
152       </type>
153       <constraint>
154         <key value="ele-1" />
155         <severity value="error" />
156         <human value="All FHIR elements must have a @value or children" />
157         <expression value="hasValue() or (children().count() > id.count())" />
158         <xpath value="@value|f:*|h:div" />
159         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
160       </constraint>
161       <constraint>
162         <key value="ext-1" />
163         <severity value="error" />
164         <human value="Must have either extensions or value[x], not both" />
165         <expression value="extension.exists() != value.exists()" />
166         <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
167         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
168       </constraint>
169       <mustSupport value="true" />
170       <isModifier value="false" />
171       <isSummary value="false" />
172     </element>
173     <element id="Extension.extension:ch-orf-personalrelation.id">
174       <path value="Extension.extension.id" />
175       <representation value="xmlAttr" />
176       <short value="Unique id for inter-element referencing" />
177       <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
178       <min value="0" />
179       <max value="1" />
180       <base>
181         <path value="Element.id" />
182         <min value="0" />
183         <max value="1" />
184       </base>
185       <type>
186         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
187           <valueUrl value="string" />
188         </extension>
189         <code value="http://hl7.org/fhirpath/System.String" />
190       </type>
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.extension:ch-orf-personalrelation.extension">
199       <path value="Extension.extension.extension" />
200       <slicing>
201         <discriminator>
202           <type value="value" />
203           <path value="url" />
204         </discriminator>
205         <description value="Extensions are always sliced by (at least) url" />
206         <rules value="open" />
207       </slicing>
208       <short value="Extension" />
209       <definition value="An Extension" />
210       <min value="0" />
211       <max value="0" />
212       <base>
213         <path value="Element.extension" />
214         <min value="0" />
215         <max value="*" />
216       </base>
217       <type>
218         <code value="Extension" />
219       </type>
220       <constraint>
221         <key value="ele-1" />
222         <severity value="error" />
223         <human value="All FHIR elements must have a @value or children" />
224         <expression value="hasValue() or (children().count() > id.count())" />
225         <xpath value="@value|f:*|h:div" />
226         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
227       </constraint>
228       <constraint>
229         <key value="ext-1" />
230         <severity value="error" />
231         <human value="Must have either extensions or value[x], not both" />
232         <expression value="extension.exists() != value.exists()" />
233         <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
234         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
235       </constraint>
236       <isModifier value="false" />
237       <isSummary value="false" />
238     </element>
239     <element id="Extension.extension:ch-orf-personalrelation.url">
240       <path value="Extension.extension.url" />
241       <representation value="xmlAttr" />
242       <short value="identifies the meaning of the extension" />
243       <definition value="Source of the definition for the extension code - a logical name or a URL." />
244       <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." />
245       <min value="1" />
246       <max value="1" />
247       <base>
248         <path value="Extension.url" />
249         <min value="1" />
250         <max value="1" />
251       </base>
252       <type>
253         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
254           <valueUrl value="uri" />
255         </extension>
256         <code value="http://hl7.org/fhirpath/System.String" />
257       </type>
258       <fixedUri value="ch-orf-personalrelation" />
259       <isModifier value="false" />
260       <isSummary value="false" />
261       <mapping>
262         <identity value="rim" />
263         <map value="N/A" />
264       </mapping>
265     </element>
266     <element id="Extension.extension:ch-orf-personalrelation.value[x]">
267       <path value="Extension.extension.value[x]" />
268       <short value="Value of extension" />
269       <definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list)." />
270       <min value="1" />
271       <max value="1" />
272       <base>
273         <path value="Extension.value[x]" />
274         <min value="0" />
275         <max value="1" />
276       </base>
277       <type>
278         <code value="Coding" />
279       </type>
280       <constraint>
281         <key value="ele-1" />
282         <severity value="error" />
283         <human value="All FHIR elements must have a @value or children" />
284         <expression value="hasValue() or (children().count() > id.count())" />
285         <xpath value="@value|f:*|h:div" />
286         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
287       </constraint>
288       <isModifier value="false" />
289       <isSummary value="false" />
290       <binding>
291         <strength value="required" />
292         <valueSet value="http://fhir.ch/ig/ch-orf/ValueSet/ch-orf-vs-personalrelation" />
293       </binding>
294       <mapping>
295         <identity value="rim" />
296         <map value="N/A" />
297       </mapping>
298     </element>
299     <element id="Extension.extension:ch-orf-legalrelation">
300       <path value="Extension.extension" />
301       <sliceName value="ch-orf-legalrelation" />
302       <short value="Legal relation between initator and patient" />
303       <definition value="An Extension" />
304       <min value="1" />
305       <max value="1" />
306       <base>
307         <path value="Element.extension" />
308         <min value="0" />
309         <max value="*" />
310       </base>
311       <type>
312         <code value="Extension" />
313       </type>
314       <constraint>
315         <key value="ele-1" />
316         <severity value="error" />
317         <human value="All FHIR elements must have a @value or children" />
318         <expression value="hasValue() or (children().count() > id.count())" />
319         <xpath value="@value|f:*|h:div" />
320         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
321       </constraint>
322       <constraint>
323         <key value="ext-1" />
324         <severity value="error" />
325         <human value="Must have either extensions or value[x], not both" />
326         <expression value="extension.exists() != value.exists()" />
327         <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
328         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
329       </constraint>
330       <mustSupport value="true" />
331       <isModifier value="false" />
332       <isSummary value="false" />
333     </element>
334     <element id="Extension.extension:ch-orf-legalrelation.id">
335       <path value="Extension.extension.id" />
336       <representation value="xmlAttr" />
337       <short value="Unique id for inter-element referencing" />
338       <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
339       <min value="0" />
340       <max value="1" />
341       <base>
342         <path value="Element.id" />
343         <min value="0" />
344         <max value="1" />
345       </base>
346       <type>
347         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
348           <valueUrl value="string" />
349         </extension>
350         <code value="http://hl7.org/fhirpath/System.String" />
351       </type>
352       <isModifier value="false" />
353       <isSummary value="false" />
354       <mapping>
355         <identity value="rim" />
356         <map value="n/a" />
357       </mapping>
358     </element>
359     <element id="Extension.extension:ch-orf-legalrelation.extension">
360       <path value="Extension.extension.extension" />
361       <slicing>
362         <discriminator>
363           <type value="value" />
364           <path value="url" />
365         </discriminator>
366         <description value="Extensions are always sliced by (at least) url" />
367         <rules value="open" />
368       </slicing>
369       <short value="Extension" />
370       <definition value="An Extension" />
371       <min value="0" />
372       <max value="0" />
373       <base>
374         <path value="Element.extension" />
375         <min value="0" />
376         <max value="*" />
377       </base>
378       <type>
379         <code value="Extension" />
380       </type>
381       <constraint>
382         <key value="ele-1" />
383         <severity value="error" />
384         <human value="All FHIR elements must have a @value or children" />
385         <expression value="hasValue() or (children().count() > id.count())" />
386         <xpath value="@value|f:*|h:div" />
387         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
388       </constraint>
389       <constraint>
390         <key value="ext-1" />
391         <severity value="error" />
392         <human value="Must have either extensions or value[x], not both" />
393         <expression value="extension.exists() != value.exists()" />
394         <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
395         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
396       </constraint>
397       <isModifier value="false" />
398       <isSummary value="false" />
399     </element>
400     <element id="Extension.extension:ch-orf-legalrelation.url">
401       <path value="Extension.extension.url" />
402       <representation value="xmlAttr" />
403       <short value="identifies the meaning of the extension" />
404       <definition value="Source of the definition for the extension code - a logical name or a URL." />
405       <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." />
406       <min value="1" />
407       <max value="1" />
408       <base>
409         <path value="Extension.url" />
410         <min value="1" />
411         <max value="1" />
412       </base>
413       <type>
414         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
415           <valueUrl value="uri" />
416         </extension>
417         <code value="http://hl7.org/fhirpath/System.String" />
418       </type>
419       <fixedUri value="ch-orf-legalrelation" />
420       <isModifier value="false" />
421       <isSummary value="false" />
422       <mapping>
423         <identity value="rim" />
424         <map value="N/A" />
425       </mapping>
426     </element>
427     <element id="Extension.extension:ch-orf-legalrelation.value[x]">
428       <path value="Extension.extension.value[x]" />
429       <short value="Value of extension" />
430       <definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list)." />
431       <min value="1" />
432       <max value="1" />
433       <base>
434         <path value="Extension.value[x]" />
435         <min value="0" />
436         <max value="1" />
437       </base>
438       <type>
439         <code value="Coding" />
440       </type>
441       <constraint>
442         <key value="ele-1" />
443         <severity value="error" />
444         <human value="All FHIR elements must have a @value or children" />
445         <expression value="hasValue() or (children().count() > id.count())" />
446         <xpath value="@value|f:*|h:div" />
447         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
448       </constraint>
449       <isModifier value="false" />
450       <isSummary value="false" />
451       <binding>
452         <strength value="required" />
453         <valueSet value="http://fhir.ch/ig/ch-orf/ValueSet/ch-orf-vs-legalrelation" />
454       </binding>
455       <mapping>
456         <identity value="rim" />
457         <map value="N/A" />
458       </mapping>
459     </element>
460     <element id="Extension.extension:ch-orf-personorganization">
461       <path value="Extension.extension" />
462       <sliceName value="ch-orf-personorganization" />
463       <short value="Initiator person or organization" />
464       <definition value="An Extension" />
465       <min value="1" />
466       <max value="1" />
467       <base>
468         <path value="Element.extension" />
469         <min value="0" />
470         <max value="*" />
471       </base>
472       <type>
473         <code value="Extension" />
474       </type>
475       <constraint>
476         <key value="ele-1" />
477         <severity value="error" />
478         <human value="All FHIR elements must have a @value or children" />
479         <expression value="hasValue() or (children().count() > id.count())" />
480         <xpath value="@value|f:*|h:div" />
481         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
482       </constraint>
483       <constraint>
484         <key value="ext-1" />
485         <severity value="error" />
486         <human value="Must have either extensions or value[x], not both" />
487         <expression value="extension.exists() != value.exists()" />
488         <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
489         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
490       </constraint>
491       <mustSupport value="true" />
492       <isModifier value="false" />
493       <isSummary value="false" />
494     </element>
495     <element id="Extension.extension:ch-orf-personorganization.id">
496       <path value="Extension.extension.id" />
497       <representation value="xmlAttr" />
498       <short value="Unique id for inter-element referencing" />
499       <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
500       <min value="0" />
501       <max value="1" />
502       <base>
503         <path value="Element.id" />
504         <min value="0" />
505         <max value="1" />
506       </base>
507       <type>
508         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
509           <valueUrl value="string" />
510         </extension>
511         <code value="http://hl7.org/fhirpath/System.String" />
512       </type>
513       <isModifier value="false" />
514       <isSummary value="false" />
515       <mapping>
516         <identity value="rim" />
517         <map value="n/a" />
518       </mapping>
519     </element>
520     <element id="Extension.extension:ch-orf-personorganization.extension">
521       <path value="Extension.extension.extension" />
522       <slicing>
523         <discriminator>
524           <type value="value" />
525           <path value="url" />
526         </discriminator>
527         <description value="Extensions are always sliced by (at least) url" />
528         <rules value="open" />
529       </slicing>
530       <short value="Extension" />
531       <definition value="An Extension" />
532       <min value="0" />
533       <max value="0" />
534       <base>
535         <path value="Element.extension" />
536         <min value="0" />
537         <max value="*" />
538       </base>
539       <type>
540         <code value="Extension" />
541       </type>
542       <constraint>
543         <key value="ele-1" />
544         <severity value="error" />
545         <human value="All FHIR elements must have a @value or children" />
546         <expression value="hasValue() or (children().count() > id.count())" />
547         <xpath value="@value|f:*|h:div" />
548         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
549       </constraint>
550       <constraint>
551         <key value="ext-1" />
552         <severity value="error" />
553         <human value="Must have either extensions or value[x], not both" />
554         <expression value="extension.exists() != value.exists()" />
555         <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
556         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
557       </constraint>
558       <isModifier value="false" />
559       <isSummary value="false" />
560     </element>
561     <element id="Extension.extension:ch-orf-personorganization.url">
562       <path value="Extension.extension.url" />
563       <representation value="xmlAttr" />
564       <short value="identifies the meaning of the extension" />
565       <definition value="Source of the definition for the extension code - a logical name or a URL." />
566       <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." />
567       <min value="1" />
568       <max value="1" />
569       <base>
570         <path value="Extension.url" />
571         <min value="1" />
572         <max value="1" />
573       </base>
574       <type>
575         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
576           <valueUrl value="uri" />
577         </extension>
578         <code value="http://hl7.org/fhirpath/System.String" />
579       </type>
580       <fixedUri value="ch-orf-personorganization" />
581       <isModifier value="false" />
582       <isSummary value="false" />
583       <mapping>
584         <identity value="rim" />
585         <map value="N/A" />
586       </mapping>
587     </element>
588     <element id="Extension.extension:ch-orf-personorganization.value[x]">
589       <path value="Extension.extension.value[x]" />
590       <short value="Value of extension" />
591       <definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list)." />
592       <min value="1" />
593       <max value="1" />
594       <base>
595         <path value="Extension.value[x]" />
596         <min value="0" />
597         <max value="1" />
598       </base>
599       <type>
600         <code value="Reference" />
601         <targetProfile value="http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitionerrole" />
602         <targetProfile value="http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient" />
603         <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson" />
604       </type>
605       <constraint>
606         <key value="ele-1" />
607         <severity value="error" />
608         <human value="All FHIR elements must have a @value or children" />
609         <expression value="hasValue() or (children().count() > id.count())" />
610         <xpath value="@value|f:*|h:div" />
611         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
612       </constraint>
613       <isModifier value="false" />
614       <isSummary value="false" />
615       <mapping>
616         <identity value="rim" />
617         <map value="N/A" />
618       </mapping>
619     </element>
620     <element id="Extension.url">
621       <path value="Extension.url" />
622       <representation value="xmlAttr" />
623       <short value="identifies the meaning of the extension" />
624       <definition value="Source of the definition for the extension code - a logical name or a URL." />
625       <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." />
626       <min value="1" />
627       <max value="1" />
628       <base>
629         <path value="Extension.url" />
630         <min value="1" />
631         <max value="1" />
632       </base>
633       <type>
634         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
635           <valueUrl value="uri" />
636         </extension>
637         <code value="http://hl7.org/fhirpath/System.String" />
638       </type>
639       <fixedUri value="http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-initiator" />
640       <isModifier value="false" />
641       <isSummary value="false" />
642       <mapping>
643         <identity value="rim" />
644         <map value="N/A" />
645       </mapping>
646     </element>
647     <element id="Extension.value[x]">
648       <path value="Extension.value[x]" />
649       <short value="Value of extension" />
650       <definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list)." />
651       <min value="0" />
652       <max value="0" />
653       <base>
654         <path value="Extension.value[x]" />
655         <min value="0" />
656         <max value="1" />
657       </base>
658       <type>
659         <code value="base64Binary" />
660       </type>
661       <type>
662         <code value="boolean" />
663       </type>
664       <type>
665         <code value="canonical" />
666       </type>
667       <type>
668         <code value="code" />
669       </type>
670       <type>
671         <code value="date" />
672       </type>
673       <type>
674         <code value="dateTime" />
675       </type>
676       <type>
677         <code value="decimal" />
678       </type>
679       <type>
680         <code value="id" />
681       </type>
682       <type>
683         <code value="instant" />
684       </type>
685       <type>
686         <code value="integer" />
687       </type>
688       <type>
689         <code value="markdown" />
690       </type>
691       <type>
692         <code value="oid" />
693       </type>
694       <type>
695         <code value="positiveInt" />
696       </type>
697       <type>
698         <code value="string" />
699       </type>
700       <type>
701         <code value="time" />
702       </type>
703       <type>
704         <code value="unsignedInt" />
705       </type>
706       <type>
707         <code value="uri" />
708       </type>
709       <type>
710         <code value="url" />
711       </type>
712       <type>
713         <code value="uuid" />
714       </type>
715       <type>
716         <code value="Address" />
717       </type>
718       <type>
719         <code value="Age" />
720       </type>
721       <type>
722         <code value="Annotation" />
723       </type>
724       <type>
725         <code value="Attachment" />
726       </type>
727       <type>
728         <code value="CodeableConcept" />
729       </type>
730       <type>
731         <code value="Coding" />
732       </type>
733       <type>
734         <code value="ContactPoint" />
735       </type>
736       <type>
737         <code value="Count" />
738       </type>
739       <type>
740         <code value="Distance" />
741       </type>
742       <type>
743         <code value="Duration" />
744       </type>
745       <type>
746         <code value="HumanName" />
747       </type>
748       <type>
749         <code value="Identifier" />
750       </type>
751       <type>
752         <code value="Money" />
753       </type>
754       <type>
755         <code value="Period" />
756       </type>
757       <type>
758         <code value="Quantity" />
759       </type>
760       <type>
761         <code value="Range" />
762       </type>
763       <type>
764         <code value="Ratio" />
765       </type>
766       <type>
767         <code value="Reference" />
768       </type>
769       <type>
770         <code value="SampledData" />
771       </type>
772       <type>
773         <code value="Signature" />
774       </type>
775       <type>
776         <code value="Timing" />
777       </type>
778       <type>
779         <code value="ContactDetail" />
780       </type>
781       <type>
782         <code value="Contributor" />
783       </type>
784       <type>
785         <code value="DataRequirement" />
786       </type>
787       <type>
788         <code value="Expression" />
789       </type>
790       <type>
791         <code value="ParameterDefinition" />
792       </type>
793       <type>
794         <code value="RelatedArtifact" />
795       </type>
796       <type>
797         <code value="TriggerDefinition" />
798       </type>
799       <type>
800         <code value="UsageContext" />
801       </type>
802       <type>
803         <code value="Dosage" />
804       </type>
805       <type>
806         <code value="Meta" />
807       </type>
808       <constraint>
809         <key value="ele-1" />
810         <severity value="error" />
811         <human value="All FHIR elements must have a @value or children" />
812         <expression value="hasValue() or (children().count() > id.count())" />
813         <xpath value="@value|f:*|h:div" />
814         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
815       </constraint>
816       <isModifier value="false" />
817       <isSummary value="false" />
818       <mapping>
819         <identity value="rim" />
820         <map value="N/A" />
821       </mapping>
822     </element>
823   </snapshot>
824   <differential>
825     <element id="Extension">
826       <path value="Extension" />
827       <short value="Extension" />
828       <definition value="Extension to define person/organization who initated this order (may or may not receive a copy)" />
829     </element>
830     <element id="Extension.extension">
831       <path value="Extension.extension" />
832       <min value="3" />
833     </element>
834     <element id="Extension.extension:ch-orf-personalrelation">
835       <path value="Extension.extension" />
836       <sliceName value="ch-orf-personalrelation" />
837       <short value="Personal relation between initiator and patient" />
838       <min value="1" />
839       <max value="1" />
840       <mustSupport value="true" />
841     </element>
842     <element id="Extension.extension:ch-orf-personalrelation.extension">
843       <path value="Extension.extension.extension" />
844       <max value="0" />
845     </element>
846     <element id="Extension.extension:ch-orf-personalrelation.url">
847       <path value="Extension.extension.url" />
848       <fixedUri value="ch-orf-personalrelation" />
849     </element>
850     <element id="Extension.extension:ch-orf-personalrelation.value[x]">
851       <path value="Extension.extension.value[x]" />
852       <min value="1" />
853       <type>
854         <code value="Coding" />
855       </type>
856       <binding>
857         <strength value="required" />
858         <valueSet value="http://fhir.ch/ig/ch-orf/ValueSet/ch-orf-vs-personalrelation" />
859       </binding>
860     </element>
861     <element id="Extension.extension:ch-orf-legalrelation">
862       <path value="Extension.extension" />
863       <sliceName value="ch-orf-legalrelation" />
864       <short value="Legal relation between initator and patient" />
865       <min value="1" />
866       <max value="1" />
867       <mustSupport value="true" />
868     </element>
869     <element id="Extension.extension:ch-orf-legalrelation.extension">
870       <path value="Extension.extension.extension" />
871       <max value="0" />
872     </element>
873     <element id="Extension.extension:ch-orf-legalrelation.url">
874       <path value="Extension.extension.url" />
875       <fixedUri value="ch-orf-legalrelation" />
876     </element>
877     <element id="Extension.extension:ch-orf-legalrelation.value[x]">
878       <path value="Extension.extension.value[x]" />
879       <min value="1" />
880       <type>
881         <code value="Coding" />
882       </type>
883       <binding>
884         <strength value="required" />
885         <valueSet value="http://fhir.ch/ig/ch-orf/ValueSet/ch-orf-vs-legalrelation" />
886       </binding>
887     </element>
888     <element id="Extension.extension:ch-orf-personorganization">
889       <path value="Extension.extension" />
890       <sliceName value="ch-orf-personorganization" />
891       <short value="Initiator person or organization" />
892       <min value="1" />
893       <max value="1" />
894       <mustSupport value="true" />
895     </element>
896     <element id="Extension.extension:ch-orf-personorganization.extension">
897       <path value="Extension.extension.extension" />
898       <max value="0" />
899     </element>
900     <element id="Extension.extension:ch-orf-personorganization.url">
901       <path value="Extension.extension.url" />
902       <fixedUri value="ch-orf-personorganization" />
903     </element>
904     <element id="Extension.extension:ch-orf-personorganization.value[x]">
905       <path value="Extension.extension.value[x]" />
906       <min value="1" />
907       <type>
908         <code value="Reference" />
909         <targetProfile value="http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitionerrole" />
910         <targetProfile value="http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient" />
911         <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson" />
912       </type>
913     </element>
914     <element id="Extension.url">
915       <path value="Extension.url" />
916       <fixedUri value="http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-initiator" />
917     </element>
918     <element id="Extension.value[x]">
919       <path value="Extension.value[x]" />
920       <max value="0" />
921     </element>
922   </differential>
923 </StructureDefinition>