DSTU2 QA Preview

This page is part of the FHIR Specification (v1.0.0: DSTU 2 Ballot 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Medicationdispenseexample6.xml

Raw XML (canonical form)

Example of a prn medication (id = "meddisp006")

Raw XML

<MedicationDispense xmlns="http://hl7.org/fhir">
  <id value="meddisp006"/>
  <text><status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: meddisp006</p><p><b>status</b>: in-progress</p><p><b>patient</b>: <a>Patient/example</a></p><p><b>dispenser</b>: <a>Practitioner/example</a></p><p><b>authorizingPrescription</b>: <a>MedicationOrder/medrx004</a></p><p><b>type</b>: First Fill - Part Fill <span>(Details : {http:hl7.org/fhir code 'FFP' = '??', given as 'First Fill - Part Fill'})</span></p><p><b>quantity</b>: 15 mL<span> (Details: http://unitsofmeasure.org code mL = '??')</span></p><p><b>daysSupply</b>: 30 Day<span> (Details: http://unitsofmeasure.org code D = '??')</span></p><p><b>medication</b>: <a>prescribed medication</a></p><p><b>whenPrepared</b>: 01/03/2015 9:48:00 PM</p><p><b>whenHandedOver</b>: 01/03/2015 9:59:00 PM</p><h3>DosageInstructions</h3><table><tr><td>-</td><td><b>Timing</b></td><td><b>AsNeeded[x]</b></td><td><b>Route</b></td><td><b>Dose[x]</b></td></tr><tr><td>*</td><td>Events: 01/03/2015, Duration 3days, Do 2 per 1 days</td><td>true</td><td>Inhalation <span>(Details : {SNOMED CT code '422237004' = '422237004', given as 'Inhalation'})</span></td><td>2 415215001<span> (Details: SNOMED CT code 415215001 = '415215001')</span></td></tr></table></div></text><status value="in-progress"/>
  <patient>
    <reference value="Patient/example"/>
  </patient>
  <dispenser>
    <reference value="Practitioner/example"/>
  </dispenser>
  <authorizingPrescription>
    <reference value="MedicationOrder/medrx004"/>
  </authorizingPrescription>
  <type>
    <coding>
      <system value="http:hl7.org/fhir"/>
      <code value="FFP"/>
      <display value="First Fill - Part Fill"/>
    </coding>
  </type>
  <quantity>
    <value value="15"/>
    <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>
  <medicationReference>
    <!--    Linked to a RESOURCE Medication    -->
    <reference value="Medication/medexample012"/>
    <display value="prescribed medication"/>
  </medicationReference>
  <whenPrepared value="2015-03-01T10:48:00Z"/>
  <whenHandedOver value="2015-03-01T10:59:00Z"/>
  <dosageInstruction>
    <timing>
      <event value="2015-03-01"/>
      <repeat>
        <duration value="3"/>
        <durationUnits value="d"/>
        <frequency value="2"/>
        <period value="1"/>
        <periodUnits value="d"/>
      </repeat>
    </timing>
    <asNeededBoolean value="true"/>
    <route>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="422237004"/>
        <display value="Inhalation"/>
      </coding>
    </route>
    <doseQuantity>
      <value value="2"/>
      <system value="http://snomed.info/sct"/>
      <code value="415215001"/>
    </doseQuantity>
  </dosageInstruction>
</MedicationDispense>

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.