<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="familymemberhistory-genetic" />
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">to do</div>
  </text>
  <url value="http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic" />
  <name value="Family member history for genetics analysis" />
  <status value="draft" />
  <experimental value="false" />
  <date value="2013-10-02" />
  <publisher value="Health Level Seven International (Clinical Genomics)" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://www.hl7.org/Special/committees/clingenomics" />
    </telecom>
  </contact>
  <description value="Adds additional information to a family member history supporting both the capture of mother/father relationships as well as additional observations necessary to enable genetics-based risk analysis for patients" />
  <fhirVersion value="3.0.1" />
  <mapping>
    <identity value="v2" />
    <uri value="http://hl7.org/v2" />
    <name value="HL7 v2 Mapping" />
  </mapping>
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/w5" />
    <name value="W5 Mapping" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="FamilyMemberHistory" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory" />
  <derivation value="constraint" />
  <differential>
    <element id="FamilyMemberHistory">
      <path value="FamilyMemberHistory" />
      <min value="0" />
      <max value="*" />
    </element>
    <element id="FamilyMemberHistory.extension:parent">
      <path value="FamilyMemberHistory.extension" />
      <sliceName value="Parent" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="FamilyMemberHistory.extension:sibling">
      <path value="FamilyMemberHistory.extension" />
      <sliceName value="Sibling" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="FamilyMemberHistory.extension:observation">
      <path value="FamilyMemberHistory.extension" />
      <sliceName value="Observation" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="FamilyMemberHistory.relationship:relationship">
      <path value="FamilyMemberHistory.relationship" />
      <sliceName value="Relationship" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="FamilyMemberHistory.gender:gender">
      <path value="FamilyMemberHistory.gender" />
      <sliceName value="Gender" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <mustSupport value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AdministrativeGender" />
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
          <valueBoolean value="true" />
        </extension>
        <strength value="required" />
        <description value="The gender of a person used for administrative purposes." />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/administrative-gender" />
        </valueSetReference>
      </binding>
    </element>
    <element id="FamilyMemberHistory.born[x]:bornage">
      <path value="FamilyMemberHistory.born[x]" />
      <sliceName value="BornAge" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Period" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="string" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="FamilyMemberHistory.age[x]:age">
      <path value="FamilyMemberHistory.age[x]" />
      <sliceName value="Age" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Age" />
      </type>
      <type>
        <code value="Range" />
      </type>
      <type>
        <code value="string" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="FamilyMemberHistory.deceased[x]:deceasedage">
      <path value="FamilyMemberHistory.deceased[x]" />
      <sliceName value="DeceasedAge" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="Age" />
      </type>
      <type>
        <code value="Range" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="string" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="FamilyMemberHistory.condition:condition">
      <path value="FamilyMemberHistory.condition" />
      <sliceName value="Condition" />
      <min value="0" />
      <max value="*" />
      <mustSupport value="true" />
    </element>
    <element id="FamilyMemberHistory.condition:condition.code">
      <path value="FamilyMemberHistory.condition.code" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="FamilyMemberHistory.condition:condition.outcome">
      <path value="FamilyMemberHistory.condition.outcome" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="FamilyMemberHistory.condition:condition.onset[x]">
      <path value="FamilyMemberHistory.condition.onset[x]" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Age" />
      </type>
      <type>
        <code value="Range" />
      </type>
      <type>
        <code value="Period" />
      </type>
      <type>
        <code value="string" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="FamilyMemberHistory.condition:condition.note">
      <path value="FamilyMemberHistory.condition.note" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Annotation" />
      </type>
    </element>
  </differential>
</StructureDefinition>