<?xml version="1.0" encoding="UTF-8"?><MedicationRequest xmlns="http://hl7.org/fhir">
  <id value="medrx0321"/>
  <text><status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: medrx0321</p><p><b>contained</b>: </p><p><b>identifier</b>: 12345689 (OFFICIAL)</p><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>medication</b>: Novolog 100u/ml. Generated Summary: id: med0307; Novolog 100u/ml <span>(Details : {http://hl7.org/fhir/sid/ndc code &#39;0169-7501-11&#39; = &#39;n/a&#39;, given as &#39;Novolog 100u/ml&#39;})</span>; Injection solution (qualifier value) <span>(Details : {SNOMED CT code &#39;385219001&#39; = &#39;Injection solution&#39;, given as &#39;Injection solution (qualifier value)&#39;})</span></p><p><b>subject</b>: <a>Donald Duck</a></p><p><b>authoredOn</b>: 15/01/2015</p><p><b>requester</b>: <a>Patrick Pump</a></p><p><b>reasonCode</b>: Diabetes mellitus type 2 (disorder) <span>(Details : {SNOMED CT code &#39;44054006&#39; = &#39;Diabetes mellitus type II&#39;, given as &#39;Diabetes mellitus type 2 (disorder)&#39;})</span></p><p><b>note</b>: Check blood sugar levels before taking insulin</p><p><b>dosageInstruction</b>: , , </p><h3>DispenseRequests</h3><table><tr><td>-</td><td><b>ValidityPeriod</b></td><td><b>NumberOfRepeatsAllowed</b></td><td><b>Quantity</b></td><td><b>ExpectedSupplyDuration</b></td></tr><tr><td>*</td><td>15/01/2015 --&gt; 15/01/2016</td><td>3</td><td>10 ml<span> (Details: UCUM code ml = &#39;ml&#39;)</span></td><td>30 days<span> (Details: UCUM code d = &#39;d&#39;)</span></td></tr></table></div></text><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>