<StructureDefinition xmlns="http://hl7.org/fhir">
  <meta>
    <lastUpdated value="2017-09-30T17:34:26.962+08:00" />
  </meta>
  <url value="StructureDefinition/Obs-ComplexVariant_Differentials" />
  <name value="Obs-ComplexVariant_Differentials" />
  <status value="draft" />
  <date value="2017-09-28T10:11:30.233+08:00" />
  <fhirVersion value="3.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Observation" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Observation" />
  <derivation value="constraint" />
  <differential>
    <element id="Observation.related.type">
      <path value="Observation.related.type" />
      <slicing>
        <description value=" " />
        <rules value="open" />
      </slicing>
      <fixedCode value="type=has-member" />
    </element>
    <element id="Observation.related.target">
      <path value="Observation.related.target" />
      <type>
        <code value="Reference" />
        <targetProfile value="StructureDefinition/Obs-ComplexVariant_Differentials" />
      </type>
    </element>
    <element id="Observation.component">
      <path value="Observation.component" />
      <slicing>
        <description value="     " />
        <rules value="open" />
      </slicing>
    </element>
    <element id="Observation.component:Component">
      <path value="Observation.component" />
      <sliceName value="Component" />
      <max value="1" />
    </element>
    <element id="Observation.component:Component.code.coding">
      <path value="Observation.component.code.coding" />
      <slicing>
        <description value=" " />
        <rules value="open" />
      </slicing>
      <max value="1" />
      <fixedCoding>
        <system value="http://loinc.org" />
        <code value="81260-2" />
        <display value="ComplexVariantID" />
      </fixedCoding>
    </element>
    <element id="Observation.component:Component.value[x]:valueCodeableConcept">
      <path value="Observation.component.valueCodeableConcept" />
      <sliceName value="valueCodeableConcept" />
      <type>
        <code value="CodeableConcept" />
      </type>
    </element>
    <element id="Observation.component:Component.value[x]:valueCodeableConcept.coding">
      <path value="Observation.component.valueCodeableConcept.coding" />
      <slicing>
        <description value=" " />
        <rules value="open" />
      </slicing>
      <max value="1" />
      <fixedCoding>
        <system value="ClinVar-V" />
        <code value="4297" />
        <display value="NM_001005741.2(GBA):C.[1448T&gt;C;1483G&gt;C;1497G&gt;C] - Haplotype" />
      </fixedCoding>
    </element>
    <element id="Observation.component:Component">
      <path value="Observation.component" />
      <sliceName value="Component" />
      <definition value="Some observations have multiple component observations.  These component observations are expressed as separate code value pairs that share the same attributes.  Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations. " />
      <max value="1" />
    </element>
    <element id="Observation.component:Component.code.coding">
      <path value="Observation.component.code.coding" />
      <slicing>
        <description value=" " />
        <rules value="open" />
      </slicing>
      <max value="1" />
      <fixedCoding>
        <system value="http://loinc.org" />
        <code value="81263-6" />
        <display value="ComplexVariantType" />
      </fixedCoding>
    </element>
    <element id="Observation.component:Component.value[x]:valueCodeableConcept">
      <path value="Observation.component.valueCodeableConcept" />
      <sliceName value="valueCodeableConcept" />
      <type>
        <code value="CodeableConcept" />
      </type>
    </element>
    <element id="Observation.component:Component.value[x]:valueCodeableConcept.coding">
      <path value="Observation.component.valueCodeableConcept.coding" />
      <slicing>
        <description value=" " />
        <rules value="open" />
      </slicing>
      <fixedCoding>
        <system value="http://loinc.org" />
        <code value="LA26218-0" />
        <display value="Complex variant type" />
      </fixedCoding>
    </element>
    <element id="Observation.component:Component">
      <path value="Observation.component" />
      <sliceName value="Component" />
      <max value="1" />
    </element>
    <element id="Observation.component:Component.code.coding">
      <path value="Observation.component.code.coding" />
      <slicing>
        <description value=" " />
        <rules value="open" />
      </slicing>
    </element>
    <element id="Observation.component:Component.code.text">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="Observation.component.code.text" />
      <fixedString value="DNAChangeName" />
    </element>
    <element id="Observation.component:Component.value[x]:valueString">
      <path value="Observation.component.valueString" />
      <sliceName value="valueString" />
      <type>
        <code value="string" />
      </type>
    </element>
  </differential>
</StructureDefinition>