<?xml version=“1.0” encoding=“UTF-8”?> <MedicationDispense xmlns=“hl7.org/fhir”>

  <id value="meddisp0308"/>
  <meta>
  <security>
    <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
    <code value="HTEST"/>
    <display value="test health data"/>
  </security>
</meta>
<contained>
      <Medication>
          <id value="med0305"/>
          <code>
              <coding>
                  <system value="http://hl7.org/fhir/sid/ndc"/>
                  <code value="2501-813-16"/>
                  <display value="Timoptic 5mg/ml solution"/>
              </coding>
          </code>
      </Medication>
  </contained>
  <status value="completed"/>
  <medicationReference>
      <!--   Linked to a RESOURCE Medication   -->
      <reference value="#med0305"/>
      <display value="Timoptic 5mg/ml solution"/>
  </medicationReference>
  <subject>
      <reference value="Patient/pat1"/>
      <display value="Donald Duck "/> 
  </subject>
  <performer>
      <actor>
          <reference value="Practitioner/f006"/>
      </actor>
  </performer>
  <authorizingPrescription>
      <reference value="MedicationRequest/medrx0330"/>
  </authorizingPrescription>
  <type>
      <coding>
          <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
          <code value="RFP"/>
          <display value="Refill - Part Fill"/>
      </coding>
  </type>
  <quantity>
      <value value="10"/>
      <unit value="mL"/>
      <system value="http://unitsofmeasure.org"/>
      <code value="mL"/> 
  </quantity>
  <daysSupply>
      <value value="30"/>
      <unit value="Day"/>
      <system value="http://unitsofmeasure.org"/>
      <code value="d"/>
  </daysSupply>
  <whenPrepared value="2015-06-25T07:13:00+05:00"/>
  <whenHandedOver value="2015-06-26T07:13:00+05:00"/>
  <dosageInstruction>
      <sequence value="1"/>
      <text value="Instil one drop in each eye twice daily"/>
      <timing>
          <repeat>
              <frequency value="2"/>
              <period value="1"/>
              <periodUnit value="d"/>
          </repeat>
      </timing>
      <route>
          <coding>
              <system value="http://snomed.info/sct"/>
              <code value="54485002"/>
              <display value="Ophthalmic route (qualifier value)"/>
          </coding>
      </route>
      <method>
          <coding>
              <system value="http://snomed.info/sct"/>
              <code value="421538008"/>
              <display value="Instill - dosing instruction imperative (qualifier value)"/>
          </coding>
      </method>
      <doseAndRate>
          <type>
              <coding>
                  <system value="http://terminology.hl7.org/CodeSystem/dose-rate-type"/>
                  <code value="ordered"/>
                  <display value="Ordered"/>
              </coding>
          </type>
          <doseQuantity>
              <value value="1"/>
              <unit value="OPDROP"/>
              <system value="http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm"/>
              <code value="OPDROP"/> 
          </doseQuantity>
      </doseAndRate>

  </dosageInstruction>

</MedicationDispense>