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

Medicationorderexample3.xml

Raw XML (canonical form)

Example of a increasing dose (id = "medrx003")

Raw XML

<MedicationOrder xmlns="http://hl7.org/fhir">
    <!--    Not sure how to reference an id    -->
  <id value="medrx003"/>
    <text><status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: medrx003</p><p><b>identifier</b>: 12345 (OFFICIAL)</p><p><b>dateWritten</b>: 15/01/2015</p><p><b>status</b>: active</p><p><b>patient</b>: <a>Eve Everywoman</a></p><p><b>prescriber</b>: <a>Patrick Pump</a></p><p><b>encounter</b>: <a>encounter who leads to this priscription</a></p><p><b>reason</b>: Asthma <span>(Details : {SNOMED CT code '195967001' = '195967001', given as 'Asthma'})</span></p><p><b>medication</b>: <a>prescribed medication</a></p><blockquote><p><b>dosageInstruction</b></p><p><b>text</b>: Take 1 tablet twice daily for 3 days</p><p><b>additionalInstructions</b>: With or after food <span>(Details : {SNOMED CT code '311504000' = '311504000', given as 'With or after food'})</span></p><p><b>timing</b>: Events: 01/03/2015, Duration 3days, Do 2 per 1 days</p><p><b>site</b>: Entire oral cavity <span>(Details : {SNOMED CT code '181220002' = '181220002', given as 'Entire oral cavity'})</span></p><p><b>route</b>: Oral Route <span>(Details : {SNOMED CT code '26643006' = '26643006', given as 'Oral Route'})</span></p><p><b>dose</b>: 1 TAB<span> (Details: http://hl7.org/fhir/v3/orderableDrugForm code TAB = 'Tablet')</span></p></blockquote><blockquote><p><b>dosageInstruction</b></p><p><b>text</b>: Take 2 tablet twice daily for 3 days</p><p><b>additionalInstructions</b>: With or after food <span>(Details : {SNOMED CT code '311504000' = '311504000', given as 'With or after food'})</span></p><p><b>timing</b>: Events: 04/03/2015, Duration 3days, Do 2 per 1 days</p><p><b>site</b>: Entire oral cavity <span>(Details : {SNOMED CT code '181220002' = '181220002', given as 'Entire oral cavity'})</span></p><p><b>route</b>: Oral Route <span>(Details : {SNOMED CT code '26643006' = '26643006', given as 'Oral Route'})</span></p><p><b>dose</b>: 2 TAB<span> (Details: http://hl7.org/fhir/v3/orderableDrugForm code TAB = 'Tablet')</span></p></blockquote><blockquote><p><b>dosageInstruction</b></p><p><b>text</b>: Take 3 tablet twice daily for 3 days</p><p><b>additionalInstructions</b>: With or after food <span>(Details : {SNOMED CT code '311504000' = '311504000', given as 'With or after food'})</span></p><p><b>timing</b>: Events: 07/03/2015, Duration 3days, Do 2 per 1 days</p><p><b>site</b>: Entire oral cavity <span>(Details : {SNOMED CT code '181220002' = '181220002', given as 'Entire oral cavity'})</span></p><p><b>route</b>: Oral Route <span>(Details : {SNOMED CT code '26643006' = '26643006', given as 'Oral Route'})</span></p><p><b>dose</b>: 3 TAB<span> (Details: http://hl7.org/fhir/v3/orderableDrugForm code TAB = 'Tablet')</span></p></blockquote></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="195967001"/>
            <display value="Asthma"/>
        </coding>
    </reasonCodeableConcept>
    <medicationReference> <!--    Linked to a RESOURCE Medication    -->
        <reference value="Medication/MedicationExample11"/>
        <display value="prescribed medication"/>
    </medicationReference>
    <dosageInstruction>
        <text value="Take 1 tablet twice daily for 3 days"/>
        <additionalInstructions>
            <coding>
                <system value="http://snomed.info/sct"/>
                <code value="311504000"/>
                <display value="With or after food"/>
            </coding>
        </additionalInstructions>
        <timing>
            <event value="2015-03-01"/>
            <repeat>
                <duration value="3"/>
                <durationUnits value="d"/>
                <frequency value="2"/>
                <period value="1"/>
                <periodUnits 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="1"/>
            <system value="http://hl7.org/fhir/v3/orderableDrugForm"/>
            <code value="TAB"/>
        </doseQuantity>
    </dosageInstruction>    
    <dosageInstruction>
        <text value="Take 2 tablet twice daily for 3 days"/>
        <additionalInstructions>
            <coding>
                <system value="http://snomed.info/sct"/>
                <code value="311504000"/>
                <display value="With or after food"/>
            </coding>
        </additionalInstructions>
        <timing>
            <event value="2015-03-04"/>
            <repeat>
                <duration value="3"/>
                <durationUnits value="d"/>
                <frequency value="2"/>
                <period value="1"/>
                <periodUnits 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="2"/>
            <system value="http://hl7.org/fhir/v3/orderableDrugForm"/>
            <code value="TAB"/>
        </doseQuantity>
    </dosageInstruction>  
    <dosageInstruction>
        <text value="Take 3 tablet twice daily for 3 days"/>
        <additionalInstructions>
            <coding>
                <system value="http://snomed.info/sct"/>
                <code value="311504000"/>
                <display value="With or after food"/>
            </coding>
        </additionalInstructions>
        <timing>
            <event value="2015-03-07"/>
            <repeat>
                <duration value="3"/>
                <durationUnits value="d"/>
                <frequency value="2"/>
                <period value="1"/>
                <periodUnits 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="3"/>
            <system value="http://hl7.org/fhir/v3/orderableDrugForm"/>
            <code value="TAB"/>
        </doseQuantity>
    </dosageInstruction>         
</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.