Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

Example List/genetic (XML)

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Patient, Practitioner

Raw XML (canonical form + also see XML Format Specification)

Jump past Narrative

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

<?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"><table class="clstu"><tr> <td> Mode: snapshotStatus: currentCode: History of family member diseases</td> </tr> <tr> <td> Subject: <a href="patient-example.html">Patient/example: Peter Patient</a>  &quot;Peter CHALMERS&quot;</td> </tr> </table> <table class="grid"><tr style="backgound-color: #eeeeee"><td> <b> Items</b> </td> </tr> <tr> <td> ?ngen-16a?</td> </tr> <tr> <td> ?ngen-16a?</td> </tr> <tr> <td> ?ngen-16a?</td> </tr> <tr> <td> ?ngen-16a?</td> </tr> <tr> <td> ?ngen-16a?</td> </tr> <tr> <td> ?ngen-16a?</td> </tr> <tr> <td> ?ngen-16a?</td> </tr> <tr> <td> ?ngen-16a?</td> </tr> <tr> <td> <a href="condition-example-family-history.html">Condition/family-history: Family history of cancer of colon</a> </td> </tr> </table> </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://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> 

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.