STU3 Candidate

This page is part of the FHIR Specification (v1.8.0: STU 3 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

List-example-familyhistory-genetics-profile.xml

Raw XML (canonical form)

Simple genetic family member history (id = "genetic")

<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 '8670-2' = 'History of family member diseases', given as 'History
           of family member diseases'})</span></p><p><b>subject</b>: <a>Peter Patient</a></p><blockquote><p><b>entry</b></p><p><b>item</b>: id: 1; Extensions: todo; status: completed; name: Dave; father <span>(Details : {http://hl7.org/fhir/v3/RoleCode code 'FTH' = 'father', given as 'father'})</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 'MGRFTH' = 'maternal grandfather', given
             as 'maternal grandfather'})</span></p></blockquote><blockquote><p><b>entry</b></p><p><b>item</b>: id: 3; Extensions: todo; status: completed; mother <span>(Details : {http://hl7.org/fhir/v3/RoleCode code 'MTH' = 'mother', given as 'mother'})</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 'PGRMTH' = 'paternal grandmother', given
             as 'paternal grandmother'})</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 'PAUNT' = 'paternal aunt', given as 'paternal
             aunt'})</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 'MUNCLE' = 'maternal uncle', given as
             'maternal uncle'})</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 'NSIS' = 'natural sister', given as 'natural
             sister'})</span></p></blockquote><blockquote><p><b>entry</b></p><p><b>item</b>: id: 8; Extensions: todo; status: completed; name: Alice; maternal cousin <span>(Details : {http://hl7.org/fhir/v3/RoleCode code 'MCOUSN' = 'maternal cousin', given as
             'maternal cousin'})</span></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>
      <patient>
        <reference value="Patient/example"/>
        <display value="Peter Patient"/>
      </patient>
      <status value="completed"/>
      <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"/>
      <patient>
        <reference value="Patient/example"/>
        <display value="Peter Patient"/>
      </patient>
      <status value="completed"/>
      <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>
      <patient>
        <reference value="Patient/example"/>
        <display value="Peter Patient"/>
      </patient>
      <status value="completed"/>
      <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"/>
      <patient>
        <reference value="Patient/example"/>
        <display value="Peter Patient"/>
      </patient>
      <status value="completed"/>
      <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"/>
      <patient>
        <reference value="Patient/example"/>
        <display value="Peter Patient"/>
      </patient>
      <status value="completed"/>
      <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"/>
      <patient>
        <reference value="Patient/example"/>
        <display value="Peter Patient"/>
      </patient>
      <status value="completed"/>
      <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"/>
      <patient>
        <reference value="Patient/example"/>
        <display value="Peter Patient"/>
      </patient>
      <status value="completed"/>
      <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>
      <patient>
        <reference value="Patient/example"/>
        <display value="Peter Patient"/>
      </patient>
      <status value="completed"/>
      <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>
</List>

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.