STU 3 Candidate

This page is part of the FHIR Specification (v1.4.0: STU 3 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

Medicationorderexample1.xml

Raw XML (canonical form)

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

<MedicationOrder xmlns="http://hl7.org/fhir">
  <id value="medrx001"/>
    <text><status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: medrx001</p><p><b>identifier</b>: 12345 (OFFICIAL)</p><p><b>status</b>: active</p><p><b>medication</b>: <a>prescribed medication</a></p><p><b>patient</b>: <a>Eve Everywoman</a></p><p><b>encounter</b>: <a>encounter who leads to this priscription</a></p><p><b>dateWritten</b>: 15/01/2015</p><p><b>prescriber</b>: <a>Patrick Pump</a></p><p><b>reasonCode</b>: Otitis Media <span>(Details : {SNOMED CT code '65363002' = 'Otitis media (disorder)', given as 'Otitis Media'})</span></p><h3>DosageInstructions</h3><table><tr><td>-</td><td><b>Text</b></td><td><b>AdditionalInstructions</b></td><td><b>Timing</b></td><td><b>Site[x]</b></td><td><b>Route</b></td><td><b>Dose[x]</b></td></tr><tr><td>*</td><td>Take 5ml three times daily</td><td>With or after food <span>(Details : {SNOMED CT code '311504000' = 'With or after food (qualifier value)', given
               as 'With or after food'})</span></td><td>Do 3 per 1 days</td><td>Entire oral cavity <span>(Details : {SNOMED CT code '181220002' = 'Entire oral cavity (body structure)', given
               as 'Entire oral cavity'})</span></td><td>Oral Route <span>(Details : {SNOMED CT code '26643006' = 'Oral route (qualifier value)', given as 'Oral
               Route'})</span></td><td>5 mL<span> (Details: http://unitsofmeasure.org code mL = 'mL')</span></td></tr></table><h3>DispenseRequests</h3><table><tr><td>-</td><td><b>Medication[x]</b></td><td><b>ValidityPeriod</b></td><td><b>NumberOfRepeatsAllowed</b></td><td><b>Quantity</b></td><td><b>ExpectedSupplyDuration</b></td></tr><tr><td>*</td><td><a>Medication/MedicationExample3</a></td><td>15/01/2015 --&gt; 15/01/2016</td><td>2</td><td>100 mL<span> (Details: http://unitsofmeasure.org code mL = 'mL')</span></td><td>10 days<span> (Details: http://unitsofmeasure.org code d = 'd')</span></td></tr></table><h3>Substitutions</h3><table><tr><td>-</td><td><b>Type</b></td><td><b>Reason</b></td></tr><tr><td>*</td><td>Generic Composition <span>(Details : {http://hl7.org/fhir code 'G' = '??', given as 'Generic Composition'})</span></td><td>formulary policy <span>(Details : {http://hl7.org/fhir code 'FP' = '??', given as 'formulary policy'})</span></td></tr></table></div></text><identifier>
        <use value="official"/>
        <system value="http://www.bmc.nl/portal/prescriptions"/>
        <value value="12345"/>
    </identifier>
    <status value="active"/>
    <medicationReference> <!--    Linked to a RESOURCE Medication    -->
        <reference value="Medication/MedicationExample2"/>
        <display value="prescribed medication"/>
    </medicationReference> 
    <patient> <!--    Linked to the resource patient who needs the medication    -->
        <reference value="Patient/f001"/>
        <display value="Eve Everywoman"/>         
    </patient>
    <encounter> <!--    Linked to a resource Encounter between patient and practitioner   -->
        <reference value="Encounter/f002"/>
        <display value="encounter who leads to this priscription"/>
    </encounter>
    <dateWritten value="2015-01-15"/>
    <prescriber> <!--    Linked to the practitioner who treats patient    -->
        <reference value="Practitioner/f007"/>
        <display value="Patrick Pump"/>
    </prescriber>
    <reasonCode>
        <coding>
            <system value="http://snomed.info/sct"/>
            <code value="65363002"/>
            <display value="Otitis Media"/>
        </coding>
    </reasonCode>
    <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>
        <timing>
            <repeat>
                <frequency value="3"/>
                <period value="1"/>
                <periodUnit value="d"/>
            </repeat>
        </timing>
        <siteCodeableConcept>
            <coding>
                <system value="http://snomed.info/sct"/>
                <code value="181220002"/>
                <display value="Entire oral cavity"/>
            </coding>
        </siteCodeableConcept>
        <route>
            <coding>
                <system value="http://snomed.info/sct"/>
                <code value="26643006"/>
                <display value="Oral Route"/>
            </coding>
        </route>
        <doseQuantity>
            <value value="5"/>
            <unit value="mL"/>
            <system value="http://unitsofmeasure.org"/>
            <code value="mL"/>
        </doseQuantity>
    </dosageInstruction>         
    <dispenseRequest>
        <medicationReference>
            <reference value="Medication/MedicationExample3"/>
        </medicationReference>
        <validityPeriod>
            <start value="2015-01-15"/>
            <end value="2016-01-15"/>
        </validityPeriod>
        <numberOfRepeatsAllowed value="2"/>
        <quantity>
            <value value="100"/>
            <unit value="mL"/>
            <system value="http://unitsofmeasure.org"/>
            <code value="mL"/>    
        </quantity>
        <expectedSupplyDuration>
            <value value="10"/>
            <unit value="days"/>
            <system value="http://unitsofmeasure.org"/>
            <code value="d"/> 
        </expectedSupplyDuration>
    </dispenseRequest>   
    <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>
</MedicationOrder>

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.