<?xml version="1.0" encoding="UTF-8"?>
<MedicationDispense xmlns="http://hl7.org/fhir">
    <id value="meddisp0327"/>
    <meta>
    <security>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
      <code value="HTEST"/>
      <display value="test health data"/>
    </security>
  </meta>
  <status value="completed"/>
    <medicationCodeableConcept>
        <coding>
            <system value="http://www.nlm.nih.gov/research/umls/rxnorm"/>
            <code value="746763"/>
            <display value="Proventil 0.09mg/actuat (Albuterol sulfate 0.108mg/actuat from mouthpiece)"/>
        </coding>
    </medicationCodeableConcept>
    <subject>
        <reference value="Patient/pat1"/>
        <display value="Donald Duck"/>
    </subject>
    <performer>
        <actor>
            <reference value="Practitioner/f006"/>
        </actor>
    </performer>
    <authorizingPrescription>
        <reference value="MedicationRequest/medrx0321"/>
    </authorizingPrescription>
    <type>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
            <code value="TF"/>
            <display value="Trial Fill"/>
        </coding>
    </type>
    <quantity>
        <value value="30"/>
        <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-01-15T10:20:00Z"/>
    <whenHandedOver value="2015-01-15T16:20:00Z"/>
    <dosageInstruction>
        <sequence value="1"/>
        <text value="Use two sprays twice daily"/>
        <additionalInstruction>
            <text value="Shake Well"/>
        </additionalInstruction>
        <timing>
            <repeat>
                <frequency value="2"/>
                <period value="1"/>
                <periodUnit value="d"/>
            </repeat>
        </timing>
        <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="ea"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="ea"/>
            </doseQuantity>
        </doseAndRate>

    </dosageInstruction>
</MedicationDispense>