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

<MedicationRequest xmlns="http://hl7.org/fhir">
  <id value="medrx0323"/>
  <contained>
    <Medication>
      <id value="med0318"/>
      <doseForm>
        <coding>
          <system value="http://snomed.info/sct"/>
          <code value="385221006"/>
          <display value="Conventional release emulsion for injection (dose form)"/>
        </coding>
      </doseForm>
      <ingredient>
        <item>
          <concept>
            <!-- Clinimix 4.25/10 sulfite-free (4.25% Amino Acid in 10% Dextrose) Injection, 1000ml" -->
            <coding>
              <system value="http://hl7.org/fhir/sid/ndc"/>
              <code value="0338-1134-03"/>
              <display value="CLINIMIX, 1000 mL in 1 BAG (0338-1134-03) (package)"/>
            </coding>
          </concept>
        </item>
      </ingredient>
      <ingredient>
        <item>
          <concept>
            <coding>
              <system value="http://hl7.org/fhir/sid/ndc"/>
              <code value="0409-5779-01"/>
              <display value="TPN Electrolytes, 25 VIAL, SINGLE-DOSE in 1 CARTON (0409-5779-01) &gt; 20 mL in 1 VIAL, SINGLE-DOSE (0409-5779-11) (package)"/>
            </coding>
          </concept>
        </item>
      </ingredient>
      <ingredient>
        <item>
          <concept>
            <coding>
              <system value="http://hl7.org/fhir/sid/ndc"/>
              <code value="0338-0519-02"/>
              <display value="Intralipid, 250 mL in 1 BAG (0338-0519-02) (package)"/>
            </coding>
            <text value="Intralipid 20% IV Fat Emulsion"/>
          </concept>
        </item>
      </ingredient>
      <instance>
        <lotNumber value="123455"/>
        <expirationDate value="2016-07-09"/>
      </instance>
    </Medication>
  </contained>
  <identifier>
    <use value="official"/>
    <system value="http://www.bmc.nl/portal/prescriptions"/>
    <value value="12345689"/>
  </identifier>
  <status value="completed"/>
  <intent value="order"/>
  <medication>
    <!-- Linked to a RESOURCE Medication -->
    <reference>
      <reference value="#med0318"/>
    </reference>
  </medication>
  <subject>
    <!-- Linked to the resource patient who needs the medication -->
    <reference value="Patient/pat1"/>
    <display value="Donald Duck"/>
  </subject>
  <encounter>
    <!-- Linked to a resource Encounter between patient and practitioner -->
    <reference value="Encounter/f001"/>
    <display value="encounter who leads to this prescription"/>
  </encounter>
  <authoredOn value="2015-01-15"/>
  <requester>
    <reference value="Practitioner/f007"/>
    <display value="Patrick Pump"/>
  </requester>
  <dosageInstruction>
    <step>
      <component>
        <text value="1000mL infused at 50ml/hour for 4 hours - hung 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>
        <site>
          <concept>
            <coding>
              <system value="http://snomed.info/sct"/>
              <code value="6073002"/>
              <display value="Structure of ligament of left superior vena cava"/>
            </coding>
          </concept>
        </site>
        <route>
          <coding>
            <system value="http://snomed.info/sct"/>
            <code value="255560000"/>
            <display value="Intravenous"/>
          </coding>
        </route>
        <method>
          <text value="PICC line"/>
        </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="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>
      </component>
    </step>
  </dosageInstruction>
</MedicationRequest>