<?xml version=“1.0” encoding=“UTF-8”?> <List xmlns=“hl7.org/fhir”>

<id value="genetic"/>
<!--  text>
  <status value="generated"/>
  <div xmlns="http://www.w3.org/1999/xhtml">To do</div>
</text  -->
<meta>
  <security>
    <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
    <code value="HTEST"/>
    <display value="test health data"/>
  </security>
</meta>
<contained>
  <FamilyMemberHistory>
    <id value="1"/>
    <extension url="http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent">
      <extension url="type">
        <valueCodeableConcept>
          <coding>
            <system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/>
            <code value="FTH"/>
            <display value="father"/>
          </coding>
        </valueCodeableConcept>
      </extension>
      <extension url="reference">
        <valueReference>
          <reference value="#2"/>
          <display value="maternal grandfather"/>
        </valueReference>
      </extension>
    </extension>
    <status value="completed"/>
        <patient>
      <reference value="Patient/example"/>
      <display value="Peter Patient"/>
    </patient>
    <name value="Dave"/>
    <relationship>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/>
        <code value="FTH"/>
        <display value="father"/>
      </coding>
    </relationship>
  </FamilyMemberHistory>
</contained>
<contained>
  <FamilyMemberHistory>
    <id value="2"/>
    <status value="completed"/>
        <patient>
      <reference value="Patient/example"/>
      <display value="Peter Patient"/>
    </patient>
    <relationship>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/>
        <code value="MGRFTH"/>
        <display value="maternal grandfather"/>
      </coding>
    </relationship>
  </FamilyMemberHistory>
</contained>
<contained>
  <FamilyMemberHistory>
    <id value="3"/>
    <extension url="http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent">
      <extension url="type">
        <valueCodeableConcept>
          <coding>
            <system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/>
            <code value="MTH"/>
            <display value="mother"/>
          </coding>
        </valueCodeableConcept>
      </extension>
      <extension url="reference">
        <valueReference>
          <reference value="#2"/>
          <display value="maternal grandfather"/>
        </valueReference>
      </extension>
    </extension>
    <status value="completed"/>
        <patient>
      <reference value="Patient/example"/>
      <display value="Peter Patient"/>
    </patient>
    <relationship>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/>
        <code value="MTH"/>
        <display value="mother"/>
      </coding>
    </relationship>
  </FamilyMemberHistory>
</contained>
<contained>
  <FamilyMemberHistory>
    <id value="4"/>
        <status value="completed"/>
    <patient>
      <reference value="Patient/example"/>
      <display value="Peter Patient"/>
    </patient>
    <relationship>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/>
        <code value="PGRMTH"/>
        <display value="paternal grandmother"/>
      </coding>
    </relationship>
  </FamilyMemberHistory>
</contained>
<contained>
  <FamilyMemberHistory>
    <id value="5"/>
    <status value="completed"/>
        <patient>
      <reference value="Patient/example"/>
      <display value="Peter Patient"/>
    </patient>
    <name value="Eve"/>
    <!--  relationship>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/>
        <code value="38048003"/>
        <display value="maternal uncle"/>
      </coding>
    </relationship  -->
    <relationship>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/>
        <code value="PAUNT"/>
        <display value="paternal aunt"/>
      </coding>
    </relationship>
  </FamilyMemberHistory>
</contained>
<contained>
  <FamilyMemberHistory>
    <id value="6"/>
    <status value="completed"/>
        <patient>
      <reference value="Patient/example"/>
      <display value="Peter Patient"/>
    </patient> 
    <relationship>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/>
        <code value="MUNCLE"/>
        <display value="maternal uncle"/>
      </coding>
    </relationship>
  </FamilyMemberHistory>
</contained>
<contained>
  <FamilyMemberHistory>
    <id value="7"/>
    <status value="completed"/>
        <patient>
      <reference value="Patient/example"/>
      <display value="Peter Patient"/>
    </patient>
    <relationship>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/>
        <code value="NSIS"/>
        <display value="natural sister"/>
      </coding>
    </relationship>
  </FamilyMemberHistory>
</contained>
<contained>
  <FamilyMemberHistory>
    <id value="8"/>
    <extension url="http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent">
      <extension url="type">
        <valueCodeableConcept>
          <coding>
            <system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/>
            <code value="MTH"/>
            <display value="mother"/>
          </coding>
        </valueCodeableConcept>
      </extension>
      <extension url="reference">
        <valueReference>
          <reference value="#2"/>
          <display value="maternal grandfather"/>
        </valueReference>
      </extension>
    </extension>
    <status value="completed"/>
        <patient>
      <reference value="Patient/example"/>
      <display value="Peter Patient"/>
    </patient>

    <name value="Alice"/>
    <relationship>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/>
        <code value="MCOUSN"/>
        <display value="maternal cousin"/>
      </coding>
    </relationship>
  </FamilyMemberHistory>
</contained>

<status value="current"/>
<mode value="snapshot"/>
<code>
  <coding>
    <system value="http://loinc.org"/>
    <code value="8670-2"/>
    <display value="History of family member diseases"/>
  </coding>
</code>
<subject>
  <reference value="Patient/example"/>
  <display value="Peter Patient">
    <!--   Should be 'Bob', but didn't make sense to define a new patient   -->
  </display>
</subject>
<entry>
  <item>
    <reference value="#1"/>
  </item>
</entry>
<entry>
  <item>
    <reference value="#2"/>
  </item>
</entry>
<entry>
  <item>
    <reference value="#3"/>
  </item>
</entry>
<entry>
  <item>
    <reference value="#4"/>
  </item>
</entry>
<entry>
  <item>
    <reference value="#5"/>
  </item>
</entry>
<entry>
  <item>
    <reference value="#6"/>
  </item>
</entry>
<entry>
  <item>
    <reference value="#7"/>
  </item>
</entry>
<entry>
  <item>
    <reference value="#8"/>
  </item>
</entry>
<entry>
  <item>
    <reference value="Condition/family-history"/>
        <display value="Family history of cancer of colon"/>
  </item>
</entry>

</List>