DSTU2

This page is part of the FHIR Specification (v1.0.2: DSTU 2). 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.xml

Raw XML (canonical form)

General List Example (id = "example")

<List xmlns="http://hl7.org/fhir">
  <id value="example"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <table>
        <thead>
          <tr>
            <th>Condition</th>
            <th>Severity</th>
            <th>Date</th>
            <th>Location</th>
            <th>Status</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td>Burnt Ear</td>
            <td>Severe</td>
            <td>24-May 2012</td>
            <td>Left Ear</td>
            <td>deleted</td>
          </tr>
          <tr>
            <td>Asthma</td>
            <td>Mild</td>
            <td>21-Nov 2012</td>
            <td>--</td>
            <td>added</td>
          </tr>
        </tbody>
      </table>
    </div>
  </text>
  <identifier>
    <system value="urn:uuid:a9fcea7c-fcdf-4d17-a5e0-f26dda030b59"/>
    <value value="23974652"/>
  </identifier>
  <!--   This list doesn't have a code. In actual fact, 
    it's a Condition list produced at the end of an encounter 
    to a regular primary care practitioner. But the only way
    to know this is to hunt down the place it is used 
    and find out   -->
  <subject>
    <reference value="Patient/example"/>
  </subject>  
  <source>
    <reference value="Patient/example"/>
  </source>
  <encounter>
    <reference value="Encounter/example"/>
  </encounter>  
  <status value="current"/>
  <date value="2012-11-25T22:17:00+11:00"/>
  <mode value="changes"/>
  <entry>
    <flag>
      <text value="Deleted due to error"/>
    </flag>
    <deleted value="true"/>
    <item>
      <reference value="Condition/example"/>
    </item>
  </entry>
  <entry>
    <flag>
      <text value="Added"/>
    </flag>
    <date value="2012-11-21"/>
    <item>
      <reference value="Condition/example2"/>
    </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.