<?xml version="1.0" encoding="UTF-8"?><MedicationStatement xmlns="http://hl7.org/fhir">
  <id value="example005"/>
  <text><status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>basedOn</b>: <a>Generated Summary: status: active; intent: plan; period: 1 Jan. 2013, 9:30:00 pm --&gt; (ongoing)</a></p><p><b>status</b>: entered-in-error</p><p><b>medication</b>: <span>Amoxicillin (product)</span></p><p><b>subject</b>: <a>Donald Duck. Generated Summary: Medical record number: 654321 (USUAL); active; Duck Donald (OFFICIAL); gender: male</a></p><p><b>context</b>: <a>Generated Summary: id: Encounter_Roel_20130311 (TEMP); status: finished; <span>inpatient encounter</span>; <span>Inpatient stay for nine days</span>; <span>High priority</span>; period: 2013-03-11 --&gt; 2013-03-20; <span>The patient seems to suffer from bilateral pneumonia and renal insufficiency, most likely due to chemotherapy.</span></a></p><p><b>effective</b>: 2014-01-23</p><p><b>dateAsserted</b>: 2015-02-22</p><p><b>informationSource</b>: <a>Donald Duck. Generated Summary: Medical record number: 654321 (USUAL); active; Duck Donald (OFFICIAL); gender: male</a></p><p><b>note</b>: Patient indicated that they thought it was Amoxicillin they were taking but it was really Erythromycin</p></div></text><basedOn>
    <reference value="CarePlan/gpvisit"/>
  </basedOn>

  <status value="entered-in-error"/>
  <medicationCodeableConcept>
    <coding>
      <system value="http://snomed.info/sct"/>
      <code value="27658006"/>
      <display value="Amoxicillin (product)"/>
    </coding>
  </medicationCodeableConcept>
  <subject>
    <reference value="Patient/pat1"/>
    <display value="Donald Duck"/> 
  </subject>
  <context>
    <reference value="Encounter/f203"/>
  </context>
  <effectiveDateTime value="2014-01-23"/>
  <dateAsserted value="2015-02-22"/>
  <informationSource>
    <reference value="Patient/pat1"/>
    <display value="Donald Duck"/> 
  </informationSource>


  <note>
    <text value="Patient indicated that they thought it was Amoxicillin they were taking but it was really Erythromycin"/>
  </note>
</MedicationStatement>