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

<MedicationDispense xmlns="http://hl7.org/fhir">
  <id value="meddisp0329"/>
  <contained>
    <Medication>
      <id value="med0319"/>
      <doseForm>
        <coding>
          <system value="http://snomed.info/sct"/>
          <code value="385101003"/>
          <display value="Ointment"/>
        </coding>
        <text value="Ointment"/>
      </doseForm>
      <ingredient>
        <item>
          <concept>
            <coding>
              <system value="http://snomed.info/sct"/>
              <code value="387253001"/>
              <display value="Salicylic acid (substance)"/>
            </coding>
          </concept>
        </item>
        <strengthRatio>
          <numerator>
            <value value="5"/>
            <system value="http://unitsofmeasure.org"/>
            <code value="g"/>
          </numerator>
          <denominator>
            <value value="100"/>
            <system value="http://unitsofmeasure.org"/>
            <code value="g"/>
          </denominator>
        </strengthRatio>
      </ingredient>
      <ingredient>
        <item>
          <concept>
            <coding>
              <system value="http://snomed.info/sct"/>
              <code value="396458002"/>
              <display value="Hydrocortisone (substance)"/>
            </coding>
          </concept>
        </item>
        <strengthRatio>
          <numerator>
            <value value="1"/>
            <system value="http://unitsofmeasure.org"/>
            <code value="g"/>
          </numerator>
          <denominator>
            <value value="100"/>
            <system value="http://unitsofmeasure.org"/>
            <code value="g"/>
          </denominator>
        </strengthRatio>
      </ingredient>
      <ingredient>
        <item>
          <concept>
            <coding>
              <system value="http://snomed.info/sct"/>
              <code value="126066007"/>
              <display value="White petroleum (substance)"/>
            </coding>
          </concept>
        </item>
        <strengthRatio>
          <numerator>
            <value value="94"/>
            <system value="http://unitsofmeasure.org"/>
            <code value="g"/>
          </numerator>
          <denominator>
            <value value="100"/>
            <system value="http://unitsofmeasure.org"/>
            <code value="g"/>
          </denominator>
        </strengthRatio>
      </ingredient>
    </Medication>
  </contained>
  <status value="completed"/>
  <medication>
    <reference>
      <reference value="#med0319"/>
    </reference>
  </medication>
  <subject>
    <reference value="Patient/pat1"/>
    <display value="Donald Duck"/>
  </subject>
  <performer>
    <actor>
      <reference value="Practitioner/f006"/>
    </actor>
  </performer>
  <authorizingPrescription>
    <reference value="MedicationRequest/medrx0329"/>
  </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="30"/>
    <system value="http://unitsofmeasure.org"/>
    <code value="g"/>
  </quantity>
  <daysSupply>
    <value value="10"/>
    <unit value="Day"/>
    <system value="http://unitsofmeasure.org"/>
    <code value="d"/>
  </daysSupply>
  <recorded value="2015-01-15T10:00:00Z"/>
  <whenPrepared value="2015-01-15T10:20:00Z"/>
  <whenHandedOver value="2015-01-15T16:20:00Z"/>
  <dosageInstruction/>
</MedicationDispense>