STU3 Candidate

This page is part of the FHIR Specification (v1.8.0: STU 3 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Medicationrequest0307.xml

Raw XML (canonical form)

Order with as needed (PRN) dosage - Percocet - completed with link to encounter, dispenseRequest and substitution (id = "medrx0307")

<MedicationRequest xmlns="http://hl7.org/fhir">
    <id value="medrx0307"/>
    <text><status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: medrx0307</p><p><b>contained</b>: </p><p><b>identifier</b>: 12345689 (OFFICIAL)</p><p><b>status</b>: completed</p><p><b>stage</b>: original-order <span>(Details : {[not stated] code 'original-order' = 'original-order)</span></p><p><b>medication</b>: id: med0308; Percocet tablet <span>(Details : {http://hl7.org/fhir/sid/ndc code '16590-619-30' = '16590-619-30', given as
           'Percocet tablet'})</span></p><p><b>patient</b>: <a>Donald Duck</a></p><p><b>context</b>: <a>encounter who leads to this prescription</a></p><p><b>dateWritten</b>: 15/01/2015</p><p><b>requester</b>: <a>Patrick Pump</a></p><p><b>dosageInstruction</b>: </p><h3>DispenseRequests</h3><table><tr><td>-</td><td><b>ValidityPeriod</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>30 TAB<span> (Details: http://hl7.org/fhir/ValueSet/v3-orderableDrugForm code TAB = 'TAB')</span></td><td>10 days<span> (Details: UCUM code d = 'd')</span></td></tr></table><h3>Substitutions</h3><table><tr><td>-</td><td><b>Allowed</b></td><td><b>Reason</b></td></tr><tr><td>*</td><td>true</td><td>formulary policy <span>(Details : {http://hl7.org/fhir code 'FP' = 'FP', given as 'formulary policy'})</span></td></tr></table></div></text><contained>
      <Medication>
          <id value="med0308"/>
          <code>
              <coding>
                  <system value="http://hl7.org/fhir/sid/ndc"/>
                  <code value="16590-619-30"/>
                  <display value="Percocet tablet"/>
              </coding>
          </code>
      </Medication>
  </contained>
    <identifier>
        <use value="official"/>
        <system value="http://www.bmc.nl/portal/prescriptions"/>
        <value value="12345689"/>
    </identifier>
    <status value="completed"/>
    <stage>
        <coding>
            <code value="original-order"/>
        </coding>
    </stage>
    <medicationReference> <!--    Linked to a RESOURCE Medication    -->
           <reference value="#med0308"/>
    </medicationReference> 
    <patient> <!--    Linked to the resource patient who needs the medication    -->
        <reference value="Patient/pat1"/>
        <display value="Donald Duck"/>       
    </patient>
    <context> <!--    Linked to a resource Encounter between patient and practitioner   -->
        <reference value="Encounter/f001"/>
        <display value="encounter who leads to this prescription"/>
    </context>
    <dateWritten value="2015-01-15"/>
    <requester> <!--    Linked to the practitioner who treats patient    -->
        <reference value="Practitioner/f007"/>
        <display value="Patrick Pump"/>
    </requester>
    <dosageInstruction>
        <sequence value="1"/>
        <text value="1 tablet every four hours as needed for pain"/>
        <additionalInstructions>
            <coding>
                <system value="http://snomed.info/sct"/>
                <code value="418914006"/>
                <display value="Warning. May cause drowsiness. If affected do not drive or operate machinery. Avoid alcoholic
         drink (qualifier value)"/>
            </coding>
        </additionalInstructions>
        <timing>
            <repeat>
                <frequency value="1"/>
                <period value="4"/>
                <periodUnit value="h"/>
            </repeat>
        </timing>
        <asNeededCodeableConcept>
            <coding>
                <system value="http://snomed.info/sct"/>
                <code value="203082005"/>
                <display value="Fibromyalgia (disorder)"/>
            </coding>
        </asNeededCodeableConcept>
        <route>
            <coding>
                <system value="http://snomed.info/sct"/>
                <code value="26643006"/>
                <display value="Oral Route"/>
            </coding>
        </route>
        <doseQuantity>
            <value value="1"/>
            <unit value="TAB"/>
            <system value="http://hl7.org/fhir/ValueSet/v3-orderableDrugForm"/>
            <code value="TAB"/> 
        </doseQuantity>
    </dosageInstruction>
    <dispenseRequest>
        <validityPeriod>
            <start value="2015-01-15"/>
            <end value="2016-01-15"/>
        </validityPeriod>
        <quantity>
            <value value="30"/>
            <unit value="TAB"/>
            <system value="http://hl7.org/fhir/ValueSet/v3-orderableDrugForm"/>
            <code value="TAB"/> 
        </quantity>
        <expectedSupplyDuration>
            <value value="10"/>
            <unit value="days"/>
            <system value="http://unitsofmeasure.org"/>
            <code value="d"/> 
        </expectedSupplyDuration>
    </dispenseRequest>   
    <substitution>
        <allowed value="true"/>
        <reason>
            <coding>
                <system value="http://hl7.org/fhir"/>
                <code value="FP"/>
                <display value="formulary policy"/>             
            </coding>
        </reason>
    </substitution>
</MedicationRequest>

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.