FHIR Release 3 (STU)

This page is part of the FHIR Specification (v3.0.2: STU 3). 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-medlist.xml

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

Raw XML (canonical form)

Jump past Narrative

Example Medication Change List (id = "med-list")

<List xmlns="http://hl7.org/fhir">
  <id value="med-list"/> 
  <text> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p> Add hydroxocobalamin</p> 
      <p> Cancel Morphine Sulphate</p> 
    </div> 
  </text> 
  <status value="current"/> 
  <mode value="changes"/> 
  <code> 
    <coding> 
      <system value="http://snomed.info/sct"/> 
      <code value="182836005"/> 
      <display value="Review of medication"/> 
    </coding> 
    <text value="Medication Review"/> 
  </code> 
  <date value="2013-11-20T23:10:23+11:00"/> 
  <source> 
    <reference value="Patient/example"/> 
  </source> 
  <!--   
      in a real medications list, we'd actually have medication resources.
      but this an example to demonstrate a changes list, so we'll just use 
      display   -->
  <entry> 
    <!--   patient was prescribed hydroxocobalamin. the flag marks this 
       as a prescription. Note that healthcare workers will now get into
       a long debate the exact implication of "prescribed". That's why the
       spec doesn't fix the flag values   -->
    <flag> 
      <coding> 
        <system value="http://nehta.gov.au/codes/medications/changetype"/> 
        <code value="01"/> 
        <display value="Prescribed"/> 
      </coding> 
    </flag> 
    <item>  
      <display value="hydroxocobalamin"/> 
    </item> 
  </entry>   
  <!--  
     on this one, we record that the patient was taken off morphine sulfate.
     because not every system knows the flags, and the ensure there's no confusion,
     if the flag implies that something was removed from the list, then the
     deleted element must also be set 
    -->  
  <entry> 
    <flag> 
      <coding> 
        <system value="http://nehta.gov.au/codes/medications/changetype"/> 
        <code value="02"/> 
        <display value="Cancelled"/> 
      </coding> 
    </flag> 
    <deleted value="true"/> 
    <item>  
      <display value="Morphine Sulfate"/> 
    </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.