<?xml version="1.0" encoding="UTF-8"?>

<MedicationDispense xmlns="http://hl7.org/fhir">
  <id value="meddisp0309"/>
  <contained>
    <Medication>
      <id value="med0312"/>
      <code>
        <coding>
          <system value="http://snomed.info/sct"/>
          <code value="324689003"/>
          <display value="Product containing precisely nystatin 100000 unit/1 milliliter conventional release oral suspension (clinical drug)"/>
        </coding>
      </code>
    </Medication>
  </contained>
  <status value="entered-in-error"/>
  <medication>
    <!--  Linked to a RESOURCE Medication  -->
    <reference>
      <reference value="#med0312"/>
      <display value="Product containing precisely nystatin 100000 unit/1 milliliter conventional release oral suspension (clinical drug)"/>
    </reference>
  </medication>
  <subject>
    <reference value="Patient/pat1"/>
    <display value="Donald Duck "/>
  </subject>
  <performer>
    <actor>
      <reference value="Practitioner/f006"/>
    </actor>
  </performer>
  <authorizingPrescription>
    <reference value="MedicationRequest/medrx0319"/>
  </authorizingPrescription>
  <type>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
      <code value="FF"/>
      <display value="First Fill"/>
    </coding>
  </type>
  <quantity>
    <value value="10"/>
    <unit value="ml"/>
    <system value="http://unitsofmeasure.org"/>
    <code value="ml"/>
  </quantity>
  <daysSupply>
    <value value="10"/>
    <unit value="Day"/>
    <system value="http://unitsofmeasure.org"/>
    <code value="d"/>
  </daysSupply>
  <whenPrepared value="2015-01-15"/>
  <whenHandedOver value="2016-01-15"/>
  <dosageInstruction/>
</MedicationDispense>