<?xml version="1.0" encoding="UTF-8"?><List xmlns="http://hl7.org/fhir">
  <id value="genetic"/>
  <!--  text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">To do</div>
  </text  -->
  <text><status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: genetic</p><p><b>contained</b>: , , , , , , , </p><p><b>status</b>: current</p><p><b>mode</b>: snapshot</p><p><b>code</b>: History of family member diseases <span>(Details : {LOINC code &#39;8670-2&#39; = &#39;History of family member diseases&#39;, given as &#39;History of family member diseases&#39;})</span></p><p><b>subject</b>: <a>Peter Patient</a></p><blockquote><p><b>entry</b></p><p><b>item</b>: id: 1; status: completed; name: Dave; father <span>(Details : {http://hl7.org/fhir/v3/RoleCode code &#39;FTH&#39; = &#39;father&#39;, given as &#39;father&#39;})</span></p></blockquote><blockquote><p><b>entry</b></p><p><b>item</b>: id: 2; status: completed; maternal grandfather <span>(Details : {http://hl7.org/fhir/v3/RoleCode code &#39;MGRFTH&#39; = &#39;maternal grandfather&#39;, given as &#39;maternal grandfather&#39;})</span></p></blockquote><blockquote><p><b>entry</b></p><p><b>item</b>: id: 3; status: completed; mother <span>(Details : {http://hl7.org/fhir/v3/RoleCode code &#39;MTH&#39; = &#39;mother&#39;, given as &#39;mother&#39;})</span></p></blockquote><blockquote><p><b>entry</b></p><p><b>item</b>: id: 4; status: completed; paternal grandmother <span>(Details : {http://hl7.org/fhir/v3/RoleCode code &#39;PGRMTH&#39; = &#39;paternal grandmother&#39;, given as &#39;paternal grandmother&#39;})</span></p></blockquote><blockquote><p><b>entry</b></p><p><b>item</b>: id: 5; status: completed; name: Eve; paternal aunt <span>(Details : {http://hl7.org/fhir/v3/RoleCode code &#39;PAUNT&#39; = &#39;paternal aunt&#39;, given as &#39;paternal aunt&#39;})</span></p></blockquote><blockquote><p><b>entry</b></p><p><b>item</b>: id: 6; status: completed; maternal uncle <span>(Details : {http://hl7.org/fhir/v3/RoleCode code &#39;MUNCLE&#39; = &#39;maternal uncle&#39;, given as &#39;maternal uncle&#39;})</span></p></blockquote><blockquote><p><b>entry</b></p><p><b>item</b>: id: 7; status: completed; natural sister <span>(Details : {http://hl7.org/fhir/v3/RoleCode code &#39;NSIS&#39; = &#39;natural sister&#39;, given as &#39;natural sister&#39;})</span></p></blockquote><blockquote><p><b>entry</b></p><p><b>item</b>: id: 8; status: completed; name: Alice; maternal cousin <span>(Details : {http://hl7.org/fhir/v3/RoleCode code &#39;MCOUSN&#39; = &#39;maternal cousin&#39;, given as &#39;maternal cousin&#39;})</span></p></blockquote><blockquote><p><b>entry</b></p><p><b>item</b>: <a>Family history of cancer of colon</a></p></blockquote></div></text><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://hl7.org/fhir/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://hl7.org/fhir/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://hl7.org/fhir/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://hl7.org/fhir/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://hl7.org/fhir/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://hl7.org/fhir/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://hl7.org/fhir/v3/RoleCode"/>
          <code value="38048003"/>
          <display value="maternal uncle"/>
        </coding>
      </relationship  -->
      <relationship>
        <coding>
          <system value="http://hl7.org/fhir/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://hl7.org/fhir/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://hl7.org/fhir/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://hl7.org/fhir/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://hl7.org/fhir/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>