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

<MedicationDispense xmlns="http://hl7.org/fhir">
  <id value="meddisp0304"/>
  <contained>
    <Medication>
      <id value="med0302"/>
      <code>
        <!--  Zosyn (piperacillin/tazobactam) 4.5gm injection  -->
        <coding>
          <system value="http://hl7.org/fhir/sid/ndc"/>
          <code value="0206-8862-02"/>
          <display value="Zosyn in Galaxy Containers, 12 BAG in 1 BOX (0206-8862-02) &gt; 100 mL in 1 BAG (0206-8862-01) (package)"/>
        </coding>
        <text value="Zosyn (piperacillin/tazobactam) 4.5gm injection"/>
      </code>
    </Medication>
  </contained>
  <status value="completed"/>
  <medication>
    <!--  Linked to a RESOURCE Medication  -->
    <reference>
      <reference value="#med0302"/>
      <display value="Zosyn (piperacillin/tazobactam) 4.5gm injection"/>
    </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="250"/>
    <system value="http://unitsofmeasure.org"/>
    <code value="mL"/>
  </quantity>
  <daysSupply>
    <value value="1"/>
    <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>
    <simple>
      <text value="4.5 grams in D5W 250 ml. IV every 6 hours. Infuse over 30 min at 8L/min"/>
      <timing>
        <repeat>
          <frequency value="1"/>
          <period value="6"/>
          <periodUnit value="h"/>
        </repeat>
      </timing>
      <site>
        <coding>
          <system value="http://snomed.info/sct"/>
          <code value="255560000"/>
          <display value="Intravenous"/>
        </coding>
      </site>
      <route>
        <coding>
          <system value="http://snomed.info/sct"/>
          <code value="47625008"/>
          <display value="An intravascular route that begins within a vein."/>
        </coding>
      </route>
      <doseAndRate>
        <type>
          <coding>
            <system value="http://terminology.hl7.org/CodeSystem/dose-rate-type"/>
            <code value="calculated"/>
            <display value="Calculated"/>
          </coding>
        </type>
        <doseQuantity>
          <value value="4.5"/>
          <system value="http://unitsofmeasure.org"/>
          <code value="g"/>
        </doseQuantity>
        <rateRatio>
          <numerator>
            <value value="8"/>
            <system value="http://unitsofmeasure.org"/>
            <code value="ml"/>
          </numerator>
          <denominator>
            <value value="1"/>
            <system value="http://unitsofmeasure.org"/>
            <code value="min"/>
          </denominator>
        </rateRatio>
      </doseAndRate>
    </simple>
  </dosageInstruction>
</MedicationDispense>