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

  <id value="meddisp0320"/>
  <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="med0318"/>
              <form>
                  <coding>
                      <system value="http://snomed.info/sct"/>
                      <code value="385221006"/>
                      <display value="Injection emulsion"/>
                  </coding>
              </form>
              <ingredient>
                  <itemCodeableConcept>
                      <coding>
                          <system value="http://hl7.org/fhir/sid/ndc"/>
                          <code value="0338-1134-03"/>
                          <display value="Clinimix 4.25/10 sulfite-free (4.25% Amino Acid in 10% Dextrose) Injection, 1000ml"/>
                      </coding>
                  </itemCodeableConcept>
              </ingredient>
              <ingredient>
                  <itemCodeableConcept>
                      <coding>
                          <system value="http://hl7.org/fhir/sid/ndc"/>
                          <code value="0409-5779-01"/>
                          <display value="TPN Electrolytes SODIUM CHLORIDE, CALCIUM CHLORIDE, POTASSIUM CHLORIDE, MAGNESIUM CHLORIDE, and SODIUM ACETATE ANHYDROUS | INJECTION, SOLUTION, CONCENTRATE | 321 mg/20mL, 331 mg/20mL, 1491 mg/20mL, 508 mg/20mL, 2420 mg/20mL"/>
                      </coding>
                  </itemCodeableConcept>
              </ingredient>
              <ingredient>
                  <itemCodeableConcept>
                      <coding>
                          <system value="http://hl7.org/fhir/sid/ndc"/>
                          <code value="0338-0519-02"/>
                          <display value="Intralipid 20% IV Fat Emulsion"/>
                      </coding>
                  </itemCodeableConcept>
              </ingredient>
      </Medication>
  </contained>
  <status value="completed"/>
  <medicationReference>
      <reference value="#med0318"/>
      <display value="TPN Solution"/>
  </medicationReference>
  <subject>
      <reference value="Patient/pat1"/>
      <display value="Donald Duck"/>
  </subject>
  <performer>
      <actor>
          <reference value="Practitioner/f006"/>
      </actor>
  </performer>
  <authorizingPrescription>
      <reference value="MedicationRequest/medrx0323"/>
  </authorizingPrescription>
  <quantity>
      <value value="1000"/>
      <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-03-16T17:13:00+05:00"/>
  <whenHandedOver value="2015-03-17T17:13:00+05:00"/>
  <dosageInstruction>
      <sequence value="1"/>
      <text value="1000mL infused at 50ml/hour for 4 hours - hang at 2200 hours"/>
      <timing>
          <event value="2015-01-15T22:00:00+11:00"/>
          <repeat>
              <frequency value="1"/>
              <period value="24"/>
              <periodUnit value="h"/>
          </repeat>
      </timing>
      <route>
          <coding>
              <system value="http://snomed.info/sct"/>
              <code value="255560000"/>
              <display value="Intravenous"/>
          </coding>
      </route>
      <doseAndRate>
          <type>
              <coding>
                  <system value="http://terminology.hl7.org/CodeSystem/dose-rate-type"/>
                  <code value="ordered"/>
                  <display value="Ordered"/>
              </coding>
          </type>
          <doseQuantity>
              <value value="1000"/>
              <unit value="mL"/>
              <system value="http://unitsofmeasure.org"/>
              <code value="mL"/> 
          </doseQuantity>
          <rateRatio>
              <numerator>
                  <value value="50"/>
                  <unit value="mL"/>
                  <system value="http://unitsofmeasure.org"/>
                  <code value="mL"/> 
              </numerator>
              <denominator>
                  <value value="1"/>
                  <unit value="h"/>
                  <system value="http://unitsofmeasure.org"/>
                  <code value="h"/> 
              </denominator>
          </rateRatio>
      </doseAndRate>

  </dosageInstruction>

</MedicationDispense>