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

<id value="medrx0321"/>
<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="med0307"/>
    <code>
      <coding>
        <system value="http://hl7.org/fhir/sid/ndc"/>
        <code value="0169-7501-11"/>
        <display value="Novolog 100u/ml"/>
      </coding>
    </code>
    <form>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="385219001"/>
        <display value="Injection solution (qualifier value)"/>
      </coding>
    </form>
    <ingredient>
      <itemCodeableConcept>
        <coding>
          <system value="http://snomed.info/sct"/>
          <code value="325072002"/>
          <display value="Insulin Aspart (substance)"/>
        </coding>
      </itemCodeableConcept>
      <strength>
        <numerator>
          <value value="100"/>
          <system value="http://unitsofmeasure.org"/>
          <code value="U"/>
        </numerator>
        <denominator>
          <value value="1"/>
          <system value="http://unitsofmeasure.org"/>
          <code value="mL"/>
        </denominator>
      </strength>
    </ingredient>
    <batch>
      <lotNumber value="12345"/>
      <expirationDate value="2019-10-31"/>
    </batch>
  </Medication>
</contained>
<identifier>
  <use value="official"/>
  <system value="http://www.bmc.nl/portal/prescriptions"/>
  <value value="12345689"/>
</identifier>
<status value="active"/>
<intent value="order"/>
<medicationReference>
  <reference value="#med0307"/>
  <display value="Novolog 100u/ml"/>
</medicationReference>
<subject>
  <!--   Linked to the resource patient who needs the medication   -->
  <reference value="Patient/pat1"/>
  <display value="Donald Duck"/>
</subject>
<authoredOn value="2015-01-15"/>
<requester>
  <reference value="Practitioner/f007"/>
  <display value="Patrick Pump"/>
</requester>
<reasonCode>
  <coding>
    <system value="http://snomed.info/sct"/>
    <code value="44054006"/>
    <display value="Diabetes mellitus type 2 (disorder)"/>
  </coding>
</reasonCode>
<note>
  <text value="Check blood sugar levels before taking insulin"/>
</note>
<dosageInstruction>
  <sequence value="2"/>
  <text value="inject 10 units subcut 10 minutes before breakfast"/>
  <timing>
    <repeat>
      <frequency value="1"/>
      <period value="1"/>
      <periodUnit value="d"/>
      <when value="ACM"/>
      <offset value="10"/>
    </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="10"/>
      <unit value="U"/>
      <system value="http://unitsofmeasure.org"/>
      <code value="U"/>
    </doseQuantity>
  </doseAndRate>

</dosageInstruction>
<dosageInstruction>
  <sequence value="2"/>
  <text value="15 units before lunch"/>
  <additionalInstruction>
    <text value="Before Lunch"/>
  </additionalInstruction>
  <timing>
    <repeat>
      <frequency value="1"/>
      <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="15"/>
      <unit value="U"/>
      <system value="http://unitsofmeasure.org"/>
      <code value="U"/>
    </doseQuantity>
  </doseAndRate>

</dosageInstruction>
<dosageInstruction>
  <sequence value="1"/>
  <text value="20 units before dinner"/>
  <additionalInstruction>
    <text value="Before Dinner"/>
  </additionalInstruction>
  <timing>
    <repeat>
      <frequency value="1"/>
      <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="20"/>
      <unit value="U"/>
      <system value="http://unitsofmeasure.org"/>
      <code value="U"/>
    </doseQuantity>
  </doseAndRate>

</dosageInstruction>
<dispenseRequest>
  <validityPeriod>
    <start value="2015-01-15"/>
    <end value="2016-01-15"/>
  </validityPeriod>
  <numberOfRepeatsAllowed value="3"/>
  <quantity>
    <value value="10"/>
    <unit value="ml"/>
    <system value="http://unitsofmeasure.org"/>
    <code value="ml"/>
  </quantity>
  <expectedSupplyDuration>
    <value value="30"/>
    <unit value="days"/>
    <system value="http://unitsofmeasure.org"/>
    <code value="d"/>
  </expectedSupplyDuration>
</dispenseRequest>

</MedicationRequest>