<?xml version="1.0" encoding="UTF-8"?><MedicationDispense xmlns="http://hl7.org/fhir">
    <id value="meddisp0303"/>
    <text><status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>partOf</b>: <a>Generated Summary: status: completed; <span>Diagnostic procedure</span>; <span>Biopsy of suspected melanoma L) arm</span>; occurrence: 2014-02-03; recorded: 2014-02-03; <span>Left forearm</span>; <span>Ineffective airway clearance</span>; <span>Review in clinic</span>; Standard Biopsy</a></p><p><b>status</b>: on-hold</p><h3>StatusReasons</h3><table><tr><td>-</td></tr><tr><td>*</td></tr></table><p><b>category</b>: <span>Outpatient</span></p><h3>Medications</h3><table><tr><td>-</td></tr><tr><td>*</td></tr></table><p><b>subject</b>: <a>Donald Duck. Generated Summary: Medical record number: 654321 (USUAL); active; Duck Donald (OFFICIAL); gender: male</a></p><p><b>encounter</b>: <a>Generated Summary: id: v1451 (OFFICIAL); status: completed; <span>ambulatory</span>; <span>Patient-initiated encounter</span>; <span>Non-urgent cardiological admission</span></a></p><h3>Performers</h3><table><tr><td>-</td><td><b>Actor</b></td></tr><tr><td>*</td><td><a>Generated Summary: id: 937223645 (OFFICIAL), id: 134IDY41W988 (USUAL); Rob van den Berk (OFFICIAL); Phone: 0205569288, R.A.vandenberk@bmc.nl, Fax: 0205664987; gender: male; birthDate: 1975-12-07</a></td></tr></table><p><b>authorizingPrescription</b>: <a>Generated Summary: id: 12345689 (OFFICIAL); status: active; intent: order; authoredOn: 2015-01-15</a></p><p><b>type</b>: <span>Emergency Supply</span></p><p><b>quantity</b>: 30 TAB</p><p><b>daysSupply</b>: 10 Day</p><p><b>whenPrepared</b>: 15 Apr. 2016, 12:14:00 pm</p><h3>DosageInstructions</h3><table><tr><td>-</td></tr><tr><td>*</td></tr></table><p><b>detectedIssue</b>: <a>Generated Summary: status: final</a></p></div></text><contained>
        <Medication>
            <id value="med0310"/>
            <code>
                <coding>
                    <system value="http://www.nlm.nih.gov/research/umls/rxnorm"/>
                    <code value="1049623"/>
                    <display value="Oxycodone Hydrochloride 5mg oral tablet (Roxicodone"/>
                </coding>
            </code>
        </Medication>
    </contained>
    <partOf>
        <reference value="Procedure/biopsy"/>
    </partOf>
   <status value="on-hold"/>
    <statusReason>
        <reference>
            <reference value="DetectedIssue/allergy"/>
        </reference>
    </statusReason>
    <category>
        <coding>
            <system value="http://terminology.hl7.org/fhir/CodeSystem/medicationdispense-category"/>
            <code value="outpatient"/>
            <display value="Outpatient"/>
        </coding>
    </category>
    <medication>
        <!--   Linked to a RESOURCE Medication   -->
        <reference>
        <reference value="#med0310"/>
        </reference>
    </medication>
    <subject>
        <reference value="Patient/pat1"/>
        <display value="Donald Duck"/>  
    </subject>
    <encounter>
        <reference value="Encounter/f001"/>
    </encounter>
    <performer>
        <actor>
            <reference value="Practitioner/f006"/>
        </actor>
    </performer>
    <authorizingPrescription>
        <reference value="MedicationRequest/medrx0310"/>
    </authorizingPrescription>
    <type>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
            <code value="EM"/>
            <display value="Emergency Supply"/>
        </coding>
    </type>
    <quantity>
        <value value="30"/>
        <system value="http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm"/>
        <code value="TAB"/>
    </quantity>
    <daysSupply>
        <value value="10"/>
        <unit value="Day"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="d"/>
    </daysSupply>
    <whenPrepared value="2016-04-15T07:14:00+05:00"/>
    <dosageInstruction>
        <sequence value="1"/>
        <text value="one to two tablets every 4-6 hours as needed for rib pain"/>
        <additionalInstruction>
            <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>
        </additionalInstruction>
        <timing>
            <repeat>
                <frequency value="1"/>
                <period value="4"/>
                <periodMax value="6"/>
                <periodUnit value="h"/>
            </repeat>
        </timing>
        <asNeededCodeableConcept>
            <coding>
                <system value="http://snomed.info/sct"/>
                <code value="297217002"/>
                <display value="Rib Pain (finding)"/>
            </coding>
        </asNeededCodeableConcept>
        <route>
            <coding>
                <system value="http://snomed.info/sct"/>
                <code value="26643006"/>
                <display value="Oral Route"/>
            </coding>
        </route>
        <method>
            <coding>
                <system value="http://snomed.info/sct"/>
                <code value="421521009"/>
                <display value="Swallow - dosing instruction imperative (qualifier value)"/>
            </coding>
        </method>
    </dosageInstruction>
    <detectedIssue>
        <reference value="DetectedIssue/allergy"/>
    </detectedIssue>

</MedicationDispense>