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

<MedicationRequest xmlns="http://hl7.org/fhir">
  <id value="example"/>
  <meta>
    <profile value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest"/>
  </meta>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px">Resource "example" </p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-qicore-medicationrequest.html">QICoreMedicationRequest</a></p></div><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>medication</b>: <a href="Medication-example.html">Medication/example</a></p><p><b>subject</b>: <a href="Patient-example.html">Patient/example</a> " CHALMERS"</p><p><b>authoredOn</b>: 2015-03-25T19:32:52-05:00</p><p><b>requester</b>: <a href="Practitioner-example.html">Practitioner/example</a> " CAREFUL"</p><h3>DispenseRequests</h3><table class="grid"><tr><td>-</td><td><b>Quantity</b></td></tr><tr><td>*</td><td>100 ml<span style="background: LightGoldenRodYellow"> (Details: UCUM code ml = 'ml')</span></td></tr></table></div>
  </text>
  <status value="active"/>
  <intent value="order"/>
  <medicationReference>
    <reference value="Medication/example"/>
  </medicationReference>
  <subject>
    <reference value="Patient/example"/>
  </subject>
  <authoredOn value="2015-03-25T19:32:52-05:00"/>
  <requester>
    <reference value="Practitioner/example"/>
  </requester>
  <dosageInstruction>
  <!--  Extension was removed in R4, not clear where this should appear...
    <extension url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-infuseOver" >
      <valueDuration>
        <value value="1" />
        <unit value="min" />
        <system value="http://unitsofmeasure.org" />
        <code value="m" />
      </valueDuration>
    </extension>
		 -->
  <!--  Extension was removed in R4, not clear where this should appear...
    <extension url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-minDosePerPeriod" >
      <valueRatio>
        <numerator>
           <value value="15" />
           <unit value="ml" />
           <system value="http://unitsofmeasure.org" />
           <code value="ml" />
        </numerator>
        <denominator>
           <value value="1" />
           <unit value="day" />
           <system value="http://unitsofmeasure.org" />
           <code value="day" />
        </denominator>
      </valueRatio>
    </extension>
		 -->
  <!--  Extension was removed in R4, not clear where this should appear...
    <extension url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-maxDeliveryVolume" >
      <valueQuantity>
        <value value="15" />
        <unit value="ml" />
        <system value="http://unitsofmeasure.org" />
        <code value="ml" />
      </valueQuantity>
    </extension>
		 -->
    <timing>
      <repeat>
        <frequency value="3"/>
        <period value="1"/>
        <periodUnit value="d"/>
      </repeat>
    </timing>
    <site>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="447964005"/>
      </coding>
    </site>
    <route>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="394899003"/>
        <display value="oral administration of treatment"/>
      </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="5"/>
        <unit value="ml"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="ml"/>
      </doseQuantity>
    </doseAndRate>
  </dosageInstruction>
  <dispenseRequest>
    <quantity>
      <value value="100"/>
      <unit value="ml"/>
      <system value="http://unitsofmeasure.org"/>
      <code value="ml"/>
    </quantity>
  </dispenseRequest>
</MedicationRequest>