<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>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="2" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="pc" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="trial-use" />
  </extension>
  <url value="http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic" />
  <version value="4.0.0" />
  <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="4.0.0" />
  <mapping>
    <identity value="workflow" />
    <uri value="http://hl7.org/fhir/workflow" />
    <name value="Workflow Pattern" />
  </mapping>
  <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/fivews" />
    <name value="FiveWs Pattern 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.sex:Sex">
      <path value="FamilyMemberHistory.sex" />
      <sliceName value="Sex" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="true" />
    </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>