DSTU2 Ballot Source

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

Medicationprescriptionexample1.xml

Raw XML (canonical form)

Fully populated example of a MedicationPrescription (id = "medrx001")

Raw XML

<MedicationPrescription xmlns="http://hl7.org/fhir">
  <id value="medrx001"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><!-- Snipped for brevity --></div>
  </text>
  <identifier>
    <use value="official"/>
    <system value="http://www.bmc.nl/portal/prescriptions"/>
    <value value="12345"/>
  </identifier>
  <dateWritten value="2015-01-15"/>
  <status value="active"/>
  <patient><!--    Linked to the resource patient who needs the medication    -->
    <reference value="Patient/f001"/>
    <display value="Eve Everywoman"/>
  </patient>
  <prescriber><!--    Linked to the practitioner who treats patient    -->
    <reference value="Practitioner/f007"/>
    <display value="Patrick Pump"/>
  </prescriber>
  <encounter><!--    Linked to a resource Encounter between patient and practitioner   -->
    <reference value="Encounter/f002"/>
    <display value="encounter who leads to this priscription"/>
  </encounter>
  <reasonCodeableConcept>
    <coding>
      <system value="http://snomed.info/sct"/>
      <code value="65363002"/>
      <display value="Otitis Media"/>
    </coding>
  </reasonCodeableConcept>
  <medication><!--    Linked to a RESOURCE Medication    -->
    <reference value="Medication/MedicationExample2"/>
    <display value="prescribed medication"/>
  </medication>
  <dosageInstruction>
    <text value="Take 5ml three times daily"/>
    <additionalInstructions>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="311504000"/>
        <display value="With or after food"/>
      </coding>
    </additionalInstructions>
    <scheduledTiming>
      <repeat>
        <frequency value="3"/>
        <period value="1"/>
        <periodUnits value="d"/>
      </repeat>
    </scheduledTiming>
    <site>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="181220002"/>
        <display value="Entire oral cavity"/>
      </coding>
    </site>
    <route>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="26643006"/>
        <display value="Oral Route"/>
      </coding>
    </route>
    <doseQuantity>
      <value value="5"/>
      <units value="mL"/>
      <system value="http://unitsofmeasure.org"/>
      <code value="mL"/>
    </doseQuantity>
  </dosageInstruction>
  <dispense>
    <medication>
      <reference value="Medication/MedicationExample3"/>
    </medication>
    <validityPeriod>
      <start value="2015-01-15"/>
      <end value="2016-01-15"/>
    </validityPeriod>
    <numberOfRepeatsAllowed value="2"/>
    <quantity>
      <value value="100"/>
      <units value="mL"/>
      <system value="http://unitsofmeasure.org"/>
      <code value="mL"/>
    </quantity>
    <expectedSupplyDuration>
      <value value="10"/>
      <units value="days"/>
      <system value="http://unitsofmeasure.org"/>
      <code value="d"/>
    </expectedSupplyDuration>
  </dispense>
  <substitution>
    <type>
      <coding>
        <system value="http://hl7.org/fhir"/>
        <code value="G"/>
        <display value="Generic Composition"/>
      </coding>
    </type>
    <reason>
      <coding>
        <system value="http://hl7.org/fhir"/>
        <code value="FP"/>
        <display value="formulary policy"/>
      </coding>
    </reason>
  </substitution>
</MedicationPrescription>

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.