hla-genotyping-results-glstring.xml
  1 <?xml version="1.0" encoding="utf-8"?>
  2 <StructureDefinition xmlns="http://hl7.org/fhir">
  3   <id value="hla-genotyping-results-glstring" />
  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/hla-genotyping-results-glstring" />
 11   <version value="4.0.1" />
 12   <name value="glstring" />
 13   <status value="draft" />
 14   <date value="2015-10-09" />
 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="glstring." />
 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="DiagnosticReport" />
 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="glstring" />
 42       <definition value="glstring." />
 43       <min value="0" />
 44       <max value="1" />
 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:url">
143       <path value="Extension.extension" />
144       <sliceName value="url" />
145       <short value="glstring.url" />
146       <definition value="glstring using a URI reference." />
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:url.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:url.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:url.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="url" />
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:url.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:text">
296       <path value="Extension.extension" />
297       <sliceName value="text" />
298       <short value="glstring.text" />
299       <definition value="glstring using inline data." />
300       <min value="0" />
301       <max value="1" />
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:text.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:text.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:text.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="text" />
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:text.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="string" />
432       </type>
433       <constraint>
434         <key value="ele-1" />
435         <severity value="error" />
436         <human value="All FHIR elements must have a @value or children" />
437         <expression value="hasValue() or (children().count() > id.count())" />
438         <xpath value="@value|f:*|h:div" />
439         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
440       </constraint>
441       <isModifier value="false" />
442       <isSummary value="false" />
443       <mapping>
444         <identity value="rim" />
445         <map value="N/A" />
446       </mapping>
447     </element>
448     <element id="Extension.url">
449       <path value="Extension.url" />
450       <representation value="xmlAttr" />
451       <short value="identifies the meaning of the extension" />
452       <definition value="Source of the definition for the extension code - a logical name or a URL." />
453       <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." />
454       <min value="1" />
455       <max value="1" />
456       <base>
457         <path value="Extension.url" />
458         <min value="1" />
459         <max value="1" />
460       </base>
461       <type>
462         <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
463           <valueUrl value="uri" />
464         </extension>
465         <code value="http://hl7.org/fhirpath/System.String" />
466       </type>
467       <fixedUri value="http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-glstring" />
468       <isModifier value="false" />
469       <isSummary value="false" />
470       <mapping>
471         <identity value="rim" />
472         <map value="N/A" />
473       </mapping>
474     </element>
475     <element id="Extension.value[x]">
476       <path value="Extension.value[x]" />
477       <short value="Value of extension" />
478       <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)." />
479       <min value="0" />
480       <max value="0" />
481       <base>
482         <path value="Extension.value[x]" />
483         <min value="0" />
484         <max value="1" />
485       </base>
486       <type>
487         <code value="base64Binary" />
488       </type>
489       <type>
490         <code value="boolean" />
491       </type>
492       <type>
493         <code value="canonical" />
494       </type>
495       <type>
496         <code value="code" />
497       </type>
498       <type>
499         <code value="date" />
500       </type>
501       <type>
502         <code value="dateTime" />
503       </type>
504       <type>
505         <code value="decimal" />
506       </type>
507       <type>
508         <code value="id" />
509       </type>
510       <type>
511         <code value="instant" />
512       </type>
513       <type>
514         <code value="integer" />
515       </type>
516       <type>
517         <code value="markdown" />
518       </type>
519       <type>
520         <code value="oid" />
521       </type>
522       <type>
523         <code value="positiveInt" />
524       </type>
525       <type>
526         <code value="string" />
527       </type>
528       <type>
529         <code value="time" />
530       </type>
531       <type>
532         <code value="unsignedInt" />
533       </type>
534       <type>
535         <code value="uri" />
536       </type>
537       <type>
538         <code value="url" />
539       </type>
540       <type>
541         <code value="uuid" />
542       </type>
543       <type>
544         <code value="Address" />
545       </type>
546       <type>
547         <code value="Age" />
548       </type>
549       <type>
550         <code value="Annotation" />
551       </type>
552       <type>
553         <code value="Attachment" />
554       </type>
555       <type>
556         <code value="CodeableConcept" />
557       </type>
558       <type>
559         <code value="Coding" />
560       </type>
561       <type>
562         <code value="ContactPoint" />
563       </type>
564       <type>
565         <code value="Count" />
566       </type>
567       <type>
568         <code value="Distance" />
569       </type>
570       <type>
571         <code value="Duration" />
572       </type>
573       <type>
574         <code value="HumanName" />
575       </type>
576       <type>
577         <code value="Identifier" />
578       </type>
579       <type>
580         <code value="Money" />
581       </type>
582       <type>
583         <code value="Period" />
584       </type>
585       <type>
586         <code value="Quantity" />
587       </type>
588       <type>
589         <code value="Range" />
590       </type>
591       <type>
592         <code value="Ratio" />
593       </type>
594       <type>
595         <code value="Reference" />
596       </type>
597       <type>
598         <code value="SampledData" />
599       </type>
600       <type>
601         <code value="Signature" />
602       </type>
603       <type>
604         <code value="Timing" />
605       </type>
606       <type>
607         <code value="ContactDetail" />
608       </type>
609       <type>
610         <code value="Contributor" />
611       </type>
612       <type>
613         <code value="DataRequirement" />
614       </type>
615       <type>
616         <code value="Expression" />
617       </type>
618       <type>
619         <code value="ParameterDefinition" />
620       </type>
621       <type>
622         <code value="RelatedArtifact" />
623       </type>
624       <type>
625         <code value="TriggerDefinition" />
626       </type>
627       <type>
628         <code value="UsageContext" />
629       </type>
630       <type>
631         <code value="Dosage" />
632       </type>
633       <type>
634         <code value="Meta" />
635       </type>
636       <constraint>
637         <key value="ele-1" />
638         <severity value="error" />
639         <human value="All FHIR elements must have a @value or children" />
640         <expression value="hasValue() or (children().count() > id.count())" />
641         <xpath value="@value|f:*|h:div" />
642         <source value="http://hl7.org/fhir/StructureDefinition/Element" />
643       </constraint>
644       <isModifier value="false" />
645       <isSummary value="false" />
646       <mapping>
647         <identity value="rim" />
648         <map value="N/A" />
649       </mapping>
650     </element>
651   </snapshot>
652   <differential>
653     <element id="Extension">
654       <path value="Extension" />
655       <short value="glstring" />
656       <definition value="glstring." />
657       <min value="0" />
658       <max value="1" />
659     </element>
660     <element id="Extension.extension:url">
661       <path value="Extension.extension" />
662       <sliceName value="url" />
663       <short value="glstring.url" />
664       <definition value="glstring using a URI reference." />
665       <min value="0" />
666       <max value="1" />
667       <type>
668         <code value="Extension" />
669       </type>
670     </element>
671     <element id="Extension.extension:url.extension">
672       <path value="Extension.extension.extension" />
673       <max value="0" />
674     </element>
675     <element id="Extension.extension:url.url">
676       <path value="Extension.extension.url" />
677       <type>
678         <code value="uri" />
679       </type>
680       <fixedUri value="url" />
681     </element>
682     <element id="Extension.extension:url.value[x]">
683       <path value="Extension.extension.value[x]" />
684       <min value="1" />
685       <type>
686         <code value="uri" />
687       </type>
688     </element>
689     <element id="Extension.extension:text">
690       <path value="Extension.extension" />
691       <sliceName value="text" />
692       <short value="glstring.text" />
693       <definition value="glstring using inline data." />
694       <min value="0" />
695       <max value="1" />
696       <type>
697         <code value="Extension" />
698       </type>
699     </element>
700     <element id="Extension.extension:text.extension">
701       <path value="Extension.extension.extension" />
702       <max value="0" />
703     </element>
704     <element id="Extension.extension:text.url">
705       <path value="Extension.extension.url" />
706       <type>
707         <code value="uri" />
708       </type>
709       <fixedUri value="text" />
710     </element>
711     <element id="Extension.extension:text.value[x]">
712       <path value="Extension.extension.value[x]" />
713       <min value="1" />
714       <type>
715         <code value="string" />
716       </type>
717     </element>
718     <element id="Extension.url">
719       <path value="Extension.url" />
720       <fixedUri value="http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-glstring" />
721     </element>
722     <element id="Extension.value[x]">
723       <path value="Extension.value[x]" />
724       <min value="0" />
725       <max value="0" />
726     </element>
727   </differential>
728 </StructureDefinition>