observation-geneticsPhaseSet.xml
  1 <?xml version="1.0" encoding="utf-8"?>
  2 <StructureDefinition xmlns="http://hl7.org/fhir">
  3   <id value="observation-geneticsPhaseSet" />
  4   <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
  5     <valueCode value="oo" />
  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/observation-geneticsPhaseSet" />
 11   <version value="4.0.1" />
 12   <name value="PhaseSet" />
 13   <status value="draft" />
 14   <date value="2016-03-14" />
 15   <publisher value="Health Level Seven International (Clinical Genomics)" />
 16   <contact>
 17     <telecom>
 18       <system value="url" />
 19       <value value="http://www.hl7.org/Special/committees/clingenomics" />
 20     </telecom>
 21   </contact>
 22   <description value="Phase set information." />
 23   <fhirVersion value="4.0.1" />
 24   <mapping>
 25     <identity value="rim" />
 26     <uri value="http://hl7.org/v3" />
 27     <name value="RIM Mapping" />
 28   </mapping>
 29   <kind value="complex-type" />
 30   <abstract value="false" />
 31   <context>
 32     <type value="element" />
 33     <expression value="Observation" />
 34   </context>
 35   <type value="Extension" />
 36   <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
 37   <derivation value="constraint" />
 38   <snapshot>
 39     <element id="Extension">
 40       <path value="Extension" />
 41       <short value="Phase set" />
 42       <definition value="Phase set information." />
 43       <min value="0" />
 44       <max value="*" />
 45       <base>
 46         <path value="Extension" />
 47         <min value="0" />
 48         <max value="*" />
 49       </base>
 50       <condition value="ele-1" />
 51       <constraint>
 52         <key value="ele-1" />
 53         <severity value="error" />
 54         <human value="All FHIR elements must have a @value or children" />
 55         <expression value="hasValue() or (children().count() > id.count())" />
 56         <xpath value="@value|f:*|h:div" />
 57         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
 58       </constraint>
 59       <constraint>
 60         <key value="ext-1" />
 61         <severity value="error" />
 62         <human value="Must have either extensions or value[x], not both" />
 63         <expression value="extension.exists() != value.exists()" />
 64         <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
 65         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
 66       </constraint>
 67       <isModifier value="false" />
 68     </element>
 69     <element id="Extension.id">
 70       <path value="Extension.id" />
 71       <representation value="xmlAttr" />
 72       <short value="Unique id for inter-element referencing" />
 73       <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
 74       <min value="0" />
 75       <max value="1" />
 76       <base>
 77         <path value="Element.id" />
 78         <min value="0" />
 79         <max value="1" />
 80       </base>
 81       <type>
 82         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
 83           <valueUrl value="string" />
 84         </extension>
 85         <code value="http://hl7.org/fhirpath/System.String" />
 86       </type>
 87       <isModifier value="false" />
 88       <isSummary value="false" />
 89       <mapping>
 90         <identity value="rim" />
 91         <map value="n/a" />
 92       </mapping>
 93     </element>
 94     <element id="Extension.extension">
 95       <path value="Extension.extension" />
 96       <slicing>
 97         <discriminator>
 98           <type value="value" />
 99           <path value="url" />
100         </discriminator>
101         <description value="Extensions are always sliced by (at least) url" />
102         <rules value="open" />
103       </slicing>
104       <short value="Additional content defined by implementations" />
105       <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
106       <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
107       <alias value="extensions" />
108       <alias value="user content" />
109       <min value="0" />
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       <mapping>
138         <identity value="rim" />
139         <map value="n/a" />
140       </mapping>
141     </element>
142     <element id="Extension.extension:Id">
143       <path value="Extension.extension" />
144       <sliceName value="Id" />
145       <short value="Phase set ID" />
146       <definition value="This is a globally unique phaseSet id." />
147       <min value="0" />
148       <max value="1" />
149       <base>
150         <path value="Element.extension" />
151         <min value="0" />
152         <max value="*" />
153       </base>
154       <type>
155         <code value="Extension" />
156       </type>
157       <constraint>
158         <key value="ele-1" />
159         <severity value="error" />
160         <human value="All FHIR elements must have a @value or children" />
161         <expression value="hasValue() or (children().count() > id.count())" />
162         <xpath value="@value|f:*|h:div" />
163         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
164       </constraint>
165       <constraint>
166         <key value="ext-1" />
167         <severity value="error" />
168         <human value="Must have either extensions or value[x], not both" />
169         <expression value="extension.exists() != value.exists()" />
170         <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
171         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
172       </constraint>
173       <isModifier value="false" />
174       <isSummary value="false" />
175     </element>
176     <element id="Extension.extension:Id.id">
177       <path value="Extension.extension.id" />
178       <representation value="xmlAttr" />
179       <short value="Unique id for inter-element referencing" />
180       <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
181       <min value="0" />
182       <max value="1" />
183       <base>
184         <path value="Element.id" />
185         <min value="0" />
186         <max value="1" />
187       </base>
188       <type>
189         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
190           <valueUrl value="string" />
191         </extension>
192         <code value="http://hl7.org/fhirpath/System.String" />
193       </type>
194       <isModifier value="false" />
195       <isSummary value="false" />
196       <mapping>
197         <identity value="rim" />
198         <map value="n/a" />
199       </mapping>
200     </element>
201     <element id="Extension.extension:Id.extension">
202       <path value="Extension.extension.extension" />
203       <slicing>
204         <discriminator>
205           <type value="value" />
206           <path value="url" />
207         </discriminator>
208         <description value="Extensions are always sliced by (at least) url" />
209         <rules value="open" />
210       </slicing>
211       <short value="Extension" />
212       <definition value="An Extension" />
213       <min value="0" />
214       <max value="0" />
215       <base>
216         <path value="Element.extension" />
217         <min value="0" />
218         <max value="*" />
219       </base>
220       <type>
221         <code value="Extension" />
222       </type>
223       <constraint>
224         <key value="ele-1" />
225         <severity value="error" />
226         <human value="All FHIR elements must have a @value or children" />
227         <expression value="hasValue() or (children().count() > id.count())" />
228         <xpath value="@value|f:*|h:div" />
229         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
230       </constraint>
231       <constraint>
232         <key value="ext-1" />
233         <severity value="error" />
234         <human value="Must have either extensions or value[x], not both" />
235         <expression value="extension.exists() != value.exists()" />
236         <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
237         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
238       </constraint>
239       <isModifier value="false" />
240       <isSummary value="false" />
241     </element>
242     <element id="Extension.extension:Id.url">
243       <path value="Extension.extension.url" />
244       <representation value="xmlAttr" />
245       <short value="identifies the meaning of the extension" />
246       <definition value="Source of the definition for the extension code - a logical name or a URL." />
247       <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." />
248       <min value="1" />
249       <max value="1" />
250       <base>
251         <path value="Extension.url" />
252         <min value="1" />
253         <max value="1" />
254       </base>
255       <type>
256         <code value="uri" />
257       </type>
258       <fixedUri value="Id" />
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:Id.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/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="uri" />
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       <mapping>
291         <identity value="rim" />
292         <map value="N/A" />
293       </mapping>
294     </element>
295     <element id="Extension.extension:MolecularSequence">
296       <path value="Extension.extension" />
297       <sliceName value="MolecularSequence" />
298       <short value="Phase set sequence" />
299       <definition value="MolecularSequence pointed to phase set (from: https://www.hl7.org/fhir/STU3/extension-observation-geneticssequence.html)." />
300       <min value="1" />
301       <max value="*" />
302       <base>
303         <path value="Element.extension" />
304         <min value="0" />
305         <max value="*" />
306       </base>
307       <type>
308         <code value="Extension" />
309       </type>
310       <constraint>
311         <key value="ele-1" />
312         <severity value="error" />
313         <human value="All FHIR elements must have a @value or children" />
314         <expression value="hasValue() or (children().count() > id.count())" />
315         <xpath value="@value|f:*|h:div" />
316         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
317       </constraint>
318       <constraint>
319         <key value="ext-1" />
320         <severity value="error" />
321         <human value="Must have either extensions or value[x], not both" />
322         <expression value="extension.exists() != value.exists()" />
323         <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
324         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
325       </constraint>
326       <isModifier value="false" />
327       <isSummary value="false" />
328     </element>
329     <element id="Extension.extension:MolecularSequence.id">
330       <path value="Extension.extension.id" />
331       <representation value="xmlAttr" />
332       <short value="Unique id for inter-element referencing" />
333       <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
334       <min value="0" />
335       <max value="1" />
336       <base>
337         <path value="Element.id" />
338         <min value="0" />
339         <max value="1" />
340       </base>
341       <type>
342         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
343           <valueUrl value="string" />
344         </extension>
345         <code value="http://hl7.org/fhirpath/System.String" />
346       </type>
347       <isModifier value="false" />
348       <isSummary value="false" />
349       <mapping>
350         <identity value="rim" />
351         <map value="n/a" />
352       </mapping>
353     </element>
354     <element id="Extension.extension:MolecularSequence.extension">
355       <path value="Extension.extension.extension" />
356       <slicing>
357         <discriminator>
358           <type value="value" />
359           <path value="url" />
360         </discriminator>
361         <description value="Extensions are always sliced by (at least) url" />
362         <rules value="open" />
363       </slicing>
364       <short value="Extension" />
365       <definition value="An Extension" />
366       <min value="0" />
367       <max value="0" />
368       <base>
369         <path value="Element.extension" />
370         <min value="0" />
371         <max value="*" />
372       </base>
373       <type>
374         <code value="Extension" />
375       </type>
376       <constraint>
377         <key value="ele-1" />
378         <severity value="error" />
379         <human value="All FHIR elements must have a @value or children" />
380         <expression value="hasValue() or (children().count() > id.count())" />
381         <xpath value="@value|f:*|h:div" />
382         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
383       </constraint>
384       <constraint>
385         <key value="ext-1" />
386         <severity value="error" />
387         <human value="Must have either extensions or value[x], not both" />
388         <expression value="extension.exists() != value.exists()" />
389         <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
390         <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
391       </constraint>
392       <isModifier value="false" />
393       <isSummary value="false" />
394     </element>
395     <element id="Extension.extension:MolecularSequence.url">
396       <path value="Extension.extension.url" />
397       <representation value="xmlAttr" />
398       <short value="identifies the meaning of the extension" />
399       <definition value="Source of the definition for the extension code - a logical name or a URL." />
400       <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." />
401       <min value="1" />
402       <max value="1" />
403       <base>
404         <path value="Extension.url" />
405         <min value="1" />
406         <max value="1" />
407       </base>
408       <type>
409         <code value="uri" />
410       </type>
411       <fixedUri value="MolecularSequence" />
412       <isModifier value="false" />
413       <isSummary value="false" />
414       <mapping>
415         <identity value="rim" />
416         <map value="N/A" />
417       </mapping>
418     </element>
419     <element id="Extension.extension:MolecularSequence.value[x]">
420       <path value="Extension.extension.value[x]" />
421       <short value="Value of extension" />
422       <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)." />
423       <min value="1" />
424       <max value="1" />
425       <base>
426         <path value="Extension.value[x]" />
427         <min value="0" />
428         <max value="1" />
429       </base>
430       <type>
431         <code value="Reference" />
432         <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence" />
433       </type>
434       <constraint>
435         <key value="ele-1" />
436         <severity value="error" />
437         <human value="All FHIR elements must have a @value or children" />
438         <expression value="hasValue() or (children().count() > id.count())" />
439         <xpath value="@value|f:*|h:div" />
440         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
441       </constraint>
442       <isModifier value="false" />
443       <isSummary value="false" />
444       <mapping>
445         <identity value="rim" />
446         <map value="N/A" />
447       </mapping>
448     </element>
449     <element id="Extension.url">
450       <path value="Extension.url" />
451       <representation value="xmlAttr" />
452       <short value="identifies the meaning of the extension" />
453       <definition value="Source of the definition for the extension code - a logical name or a URL." />
454       <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." />
455       <min value="1" />
456       <max value="1" />
457       <base>
458         <path value="Extension.url" />
459         <min value="1" />
460         <max value="1" />
461       </base>
462       <type>
463         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
464           <valueUrl value="uri" />
465         </extension>
466         <code value="http://hl7.org/fhirpath/System.String" />
467       </type>
468       <fixedUri value="http://hl7.org/fhir/StructureDefinition/observation-geneticsPhaseSet" />
469       <isModifier value="false" />
470       <isSummary value="false" />
471       <mapping>
472         <identity value="rim" />
473         <map value="N/A" />
474       </mapping>
475     </element>
476     <element id="Extension.value[x]">
477       <path value="Extension.value[x]" />
478       <short value="Value of extension" />
479       <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)." />
480       <min value="0" />
481       <max value="0" />
482       <base>
483         <path value="Extension.value[x]" />
484         <min value="0" />
485         <max value="1" />
486       </base>
487       <type>
488         <code value="base64Binary" />
489       </type>
490       <type>
491         <code value="boolean" />
492       </type>
493       <type>
494         <code value="canonical" />
495       </type>
496       <type>
497         <code value="code" />
498       </type>
499       <type>
500         <code value="date" />
501       </type>
502       <type>
503         <code value="dateTime" />
504       </type>
505       <type>
506         <code value="decimal" />
507       </type>
508       <type>
509         <code value="id" />
510       </type>
511       <type>
512         <code value="instant" />
513       </type>
514       <type>
515         <code value="integer" />
516       </type>
517       <type>
518         <code value="markdown" />
519       </type>
520       <type>
521         <code value="oid" />
522       </type>
523       <type>
524         <code value="positiveInt" />
525       </type>
526       <type>
527         <code value="string" />
528       </type>
529       <type>
530         <code value="time" />
531       </type>
532       <type>
533         <code value="unsignedInt" />
534       </type>
535       <type>
536         <code value="uri" />
537       </type>
538       <type>
539         <code value="url" />
540       </type>
541       <type>
542         <code value="uuid" />
543       </type>
544       <type>
545         <code value="Address" />
546       </type>
547       <type>
548         <code value="Age" />
549       </type>
550       <type>
551         <code value="Annotation" />
552       </type>
553       <type>
554         <code value="Attachment" />
555       </type>
556       <type>
557         <code value="CodeableConcept" />
558       </type>
559       <type>
560         <code value="Coding" />
561       </type>
562       <type>
563         <code value="ContactPoint" />
564       </type>
565       <type>
566         <code value="Count" />
567       </type>
568       <type>
569         <code value="Distance" />
570       </type>
571       <type>
572         <code value="Duration" />
573       </type>
574       <type>
575         <code value="HumanName" />
576       </type>
577       <type>
578         <code value="Identifier" />
579       </type>
580       <type>
581         <code value="Money" />
582       </type>
583       <type>
584         <code value="Period" />
585       </type>
586       <type>
587         <code value="Quantity" />
588       </type>
589       <type>
590         <code value="Range" />
591       </type>
592       <type>
593         <code value="Ratio" />
594       </type>
595       <type>
596         <code value="Reference" />
597       </type>
598       <type>
599         <code value="SampledData" />
600       </type>
601       <type>
602         <code value="Signature" />
603       </type>
604       <type>
605         <code value="Timing" />
606       </type>
607       <type>
608         <code value="ContactDetail" />
609       </type>
610       <type>
611         <code value="Contributor" />
612       </type>
613       <type>
614         <code value="DataRequirement" />
615       </type>
616       <type>
617         <code value="Expression" />
618       </type>
619       <type>
620         <code value="ParameterDefinition" />
621       </type>
622       <type>
623         <code value="RelatedArtifact" />
624       </type>
625       <type>
626         <code value="TriggerDefinition" />
627       </type>
628       <type>
629         <code value="UsageContext" />
630       </type>
631       <type>
632         <code value="Dosage" />
633       </type>
634       <type>
635         <code value="Meta" />
636       </type>
637       <constraint>
638         <key value="ele-1" />
639         <severity value="error" />
640         <human value="All FHIR elements must have a @value or children" />
641         <expression value="hasValue() or (children().count() > id.count())" />
642         <xpath value="@value|f:*|h:div" />
643         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
644       </constraint>
645       <isModifier value="false" />
646       <isSummary value="false" />
647       <mapping>
648         <identity value="rim" />
649         <map value="N/A" />
650       </mapping>
651     </element>
652   </snapshot>
653   <differential>
654     <element id="Extension">
655       <path value="Extension" />
656       <short value="Phase set" />
657       <definition value="Phase set information." />
658       <min value="0" />
659       <max value="*" />
660     </element>
661     <element id="Extension.extension:Id">
662       <path value="Extension.extension" />
663       <sliceName value="Id" />
664       <short value="Phase set ID" />
665       <definition value="This is a globally unique phaseSet id." />
666       <min value="0" />
667       <max value="1" />
668       <type>
669         <code value="Extension" />
670       </type>
671     </element>
672     <element id="Extension.extension:Id.extension">
673       <path value="Extension.extension.extension" />
674       <max value="0" />
675     </element>
676     <element id="Extension.extension:Id.url">
677       <path value="Extension.extension.url" />
678       <type>
679         <code value="uri" />
680       </type>
681       <fixedUri value="Id" />
682     </element>
683     <element id="Extension.extension:Id.value[x]">
684       <path value="Extension.extension.value[x]" />
685       <min value="1" />
686       <type>
687         <code value="uri" />
688       </type>
689     </element>
690     <element id="Extension.extension:MolecularSequence">
691       <path value="Extension.extension" />
692       <sliceName value="MolecularSequence" />
693       <short value="Phase set sequence" />
694       <definition value="MolecularSequence pointed to phase set (from: https://www.hl7.org/fhir/STU3/extension-observation-geneticssequence.html)." />
695       <min value="1" />
696       <max value="*" />
697       <type>
698         <code value="Extension" />
699       </type>
700     </element>
701     <element id="Extension.extension:MolecularSequence.extension">
702       <path value="Extension.extension.extension" />
703       <max value="0" />
704     </element>
705     <element id="Extension.extension:MolecularSequence.url">
706       <path value="Extension.extension.url" />
707       <type>
708         <code value="uri" />
709       </type>
710       <fixedUri value="MolecularSequence" />
711     </element>
712     <element id="Extension.extension:MolecularSequence.value[x]">
713       <path value="Extension.extension.value[x]" />
714       <min value="1" />
715       <type>
716         <code value="Reference" />
717         <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence" />
718       </type>
719     </element>
720     <element id="Extension.url">
721       <path value="Extension.url" />
722       <fixedUri value="http://hl7.org/fhir/StructureDefinition/observation-geneticsPhaseSet" />
723     </element>
724     <element id="Extension.value[x]">
725       <path value="Extension.value[x]" />
726       <min value="0" />
727       <max value="0" />
728     </element>
729   </differential>
730 </StructureDefinition>