QI-Core Implementation Guide
7.0.2 - STU 7

QI-Core Implementation Guide, published by HL7 International / Clinical Quality Information. This guide is not an authorized publication; it is the continuous build for version 7.0.2 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-qi-core/ and changes regularly. See the Directory of published versions

## : MedicationDispense positive example - XML Representation

Page standards status: Informative

Raw xml | Download

    <MedicationDispense xmlns="http://hl7.org/fhir">
      <id value="done-example"/>
      <meta>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationdispensedone"/>
      </meta>
      <text>
        <status value="extensions"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: MedicationDispense done-example</b></p><a name="done-example"> </a><a name="hcdone-example"> </a><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"/><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-qicore-medicationdispensedone.html">QICore MedicationDispense Done</a></p></div><p><b>Extension Definition for MedicationDispense.recorded for Version 5.0</b>: 2017-01-17</p><p><b>status</b>: Completed</p><p><b>medication</b>: <a href="Medication-example.html">Medication alemtuzumab 10 MG/ML [Lemtrada]</a></p><p><b>subject</b>: <a href="Patient-example.html">Jim Chalmers  Male, DoB: 1974-12-25 ( Medical record number (use: usual, period: 2001-05-06 --&gt; (ongoing)))</a></p><h3>Performers</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Actor</b></td></tr><tr><td style="display: none">*</td><td><a href="Practitioner-example.html">Practitioner Adam Careful </a></td></tr></table><p><b>authorizingPrescription</b>: <a href="MedicationRequest-example.html">MedicationRequest: status = active; intent = order; medication[x] = -&gt;Medication alemtuzumab 10 MG/ML [Lemtrada]; authoredOn = 2015-03-25 19:32:52-0500</a></p><p><b>quantity</b>: 100 ml<span style="background: LightGoldenRodYellow"> (Details: UCUM  codeml = 'ml')</span></p><p><b>daysSupply</b>: 30 Day<span style="background: LightGoldenRodYellow"> (Details: UCUM  coded = 'd')</span></p><p><b>whenPrepared</b>: 2012-05-30 16:20:00+0000</p><p><b>whenHandedOver</b>: 2012-05-31 10:20:00+0000</p><p><b>destination</b>: <a href="Location-example.html">Location South Wing, second floor</a></p><p><b>receiver</b>: <a href="Patient-example.html">Jim Chalmers  Male, DoB: 1974-12-25 ( Medical record number (use: usual, period: 2001-05-06 --&gt; (ongoing)))</a></p><blockquote><p><b>dosageInstruction</b></p><p><b>timing</b>: 3 per 1 day</p><p><b>route</b>: <span title="Codes:{http://snomed.info/sct 394899003}">oral administration of treatment</span></p><h3>DoseAndRates</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Type</b></td><td><b>Dose[x]</b></td></tr><tr><td style="display: none">*</td><td><span title="Codes:{http://terminology.hl7.org/CodeSystem/dose-rate-type ordered}">Ordered</span></td><td>5 ml<span style="background: LightGoldenRodYellow"> (Details: UCUM  codeml = 'ml')</span></td></tr></table></blockquote><h3>Substitutions</h3><table class="grid"><tr><td style="display: none">-</td><td><b>WasSubstituted</b></td><td><b>Type</b></td></tr><tr><td style="display: none">*</td><td>false</td><td><span title="Codes:{http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution N}">No substitution occurred or is permitted.</span></td></tr></table></div>
      </text>
      <!--  Extension was removed in R4, not clear where this should appear...
      <extension url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-refillsRemaining">
        <valueInteger value="0"/>
      </extension>
    	 -->
      <!--  Extension was removed in R4, not clear where this should appear...
      <extension url="http://hl7.org/fhir/StructureDefinition/medicationdispense-validityPeriod">
        <valuePeriod>
          <start value="2012-05-30"/>
          <end value="2012-06-10"/>
        </valuePeriod>
      </extension>
    	 -->
      <extension
                 url="http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.recorded">
        <valueDateTime value="2017-01-17"/>
      </extension>
      <status value="completed"/>
      <medicationReference>🔗
        <reference value="Medication/example"/>
      </medicationReference>
      <subject>🔗
        <reference value="Patient/example"/>
      </subject>
      <performer>
        <actor>🔗
          <reference value="Practitioner/example"/>
        </actor>
      </performer>
      <authorizingPrescription>🔗
        <reference value="MedicationRequest/example"/>
      </authorizingPrescription>
      <quantity>
        <value value="100"/>
        <unit value="ml"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="ml"/>
      </quantity>
      <daysSupply>
        <value value="30"/>
        <unit value="Day"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="d"/>
      </daysSupply>
      <whenPrepared value="2012-05-30T16:20:00+00:00"/>
      <whenHandedOver value="2012-05-31T10:20:00+00:00"/>
      <destination>🔗
        <reference value="Location/example"/>
      </destination>
      <receiver>🔗
        <reference value="Patient/example"/>
      </receiver>
      <dosageInstruction>
        <!--  Extension removed in R4, not clear where this should appear now...
        <extension url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-infuseOver">
          <valueDuration>
            <value value="1"/>
            <unit value="min"/>
            <system value="http://unitsofmeasure.org"/>
            <code value="min"/>
          </valueDuration>
        </extension>
    		 -->
        <!--  Extension removed in R4, not clear where this should appear now...
        <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 removed in R4, not clear where this should appear now...
        <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>
        <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>
      <substitution>
        <wasSubstituted value="false"/>
        <type>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution"/>
            <code value="N"/>
            <display value="none"/>
          </coding>
          <text value="No substitution occurred or is permitted."/>
        </type>
      </substitution>
    </MedicationDispense>