<?xml version="1.0" encoding="UTF-8"?><MedicationDispense xmlns="http://hl7.org/fhir">
    <id value="meddisp0305"/>
    <text><status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>status</b>: entered-in-error</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><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; id: 983939393 (OFFICIAL); Patient told to take with food</a></p><p><b>type</b>: <span>First Fill</span></p><p><b>quantity</b>: 49 TAB</p><p><b>daysSupply</b>: 21 Day</p><p><b>whenPrepared</b>: 15 Jan. 2015, 9:20:00 pm</p><p><b>whenHandedOver</b>: 16 Jan. 2015, 3:20:00 am</p><h3>DosageInstructions</h3><table><tr><td>-</td></tr><tr><td>*</td></tr><tr><td>*</td></tr><tr><td>*</td></tr></table></div></text><contained>
        <Medication>
            <id value="med0311"/>
            <code>
                <coding>
                    <system value="http://www.nlm.nih.gov/research/umls/rxnorm"/>
                    <code value="763179"/>
                    <display value="Prednisone 5mg Oral Tablet 48 Count Pack"/>
                </coding>
            </code>
        </Medication>
    </contained>
    <status value="entered-in-error"/>
    <medication>
        <!--   Linked to a RESOURCE Medication   -->
        <reference>
        <reference value="#med0311"/>
        <display value="Prednisone"/>
        </reference>
    </medication>
    <subject>
        <reference value="Patient/pat1"/>
        <display value="Donald Duck"/>
    </subject>
    <performer>
        <actor>
            <reference value="Practitioner/f006"/>
        </actor>
    </performer>
    <authorizingPrescription>
        <reference value="MedicationRequest/medrx0303"/>
    </authorizingPrescription>
    <type>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
            <code value="FF"/>
            <display value="First Fill"/>
        </coding>
    </type>
    <quantity>
        <value value="49"/>
        <unit value="TAB"/>
        <system value="http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm"/>
        <code value="TAB"/> 
    </quantity>
    <daysSupply>
        <value value="21"/>
        <unit value="Day"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="d"/>
    </daysSupply>
    <whenPrepared value="2015-01-15T10:20:00Z"/>
    <whenHandedOver value="2015-01-15T16:20:00Z"/>
    <dosageInstruction>
        <sequence value="1"/>
        <text value="Take 4 tablets daily for 7 days starting January 16, 2015"/>
        <additionalInstruction>
            <coding>
                <system value="http://snomed.info/sct"/>
                <code value="311504000"/>
                <display value="With or after Food"/>
            </coding>
        </additionalInstruction>
        <timing>
            <repeat>
                <boundsPeriod>
                    <start value="2015-01-16"/>
                    <end value="2015-01-20"/>
                </boundsPeriod>
                <frequency value="1"/>
                <period value="1"/>
                <periodUnit value="d"/>
            </repeat>
        </timing>
        <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>
        <doseAndRate>
            <type>
                <coding>
                    <system value="http://terminology.hl7.org/CodeSystem/dose-rate-type"/>
                    <code value="calculated"/>
                    <display value="Calculated"/>
                </coding>
            </type>
        <doseQuantity>
            <value value="4"/>
            <unit value="TAB"/>
            <system value="http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm"/>
            <code value="TAB"/> 
        </doseQuantity>
        </doseAndRate>
    </dosageInstruction>
    <dosageInstruction>
        <sequence value="2"/>
        <text value="Take 2 tablets daily for 7 days starting January 23, 2015"/>
        <additionalInstruction>
            <coding>
                <system value="http://snomed.info/sct"/>
                <code value="311504000"/>
                <display value="With or after Food"/>
            </coding>
        </additionalInstruction>
        <timing>
            <repeat>
                <boundsPeriod>
                    <start value="2015-01-23"/>
                    <end value="2015-01-30"/>
                </boundsPeriod>
                <frequency value="1"/>
                <period value="1"/>
                <periodUnit value="d"/>
            </repeat>
        </timing>
        <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>
        <doseAndRate>
            <type>
                <coding>
                    <system value="http://terminology.hl7.org/CodeSystem/dose-rate-type"/>
                    <code value="calculated"/>
                    <display value="Calculated"/>
                </coding>
            </type>
            <doseQuantity>
                <value value="2"/>
                <unit value="TAB"/>
                <system value="http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm"/>
                <code value="TAB"/> 
            </doseQuantity>
        </doseAndRate>

    </dosageInstruction>
    <dosageInstruction>
        <sequence value="3"/>
        <text value="Take 1 tablets daily for 7 days starting January 31, 2015"/>
        <additionalInstruction>
            <coding>
                <system value="http://snomed.info/sct"/>
                <code value="311504000"/>
                <display value="With or after Food"/>
            </coding>
        </additionalInstruction>
        <timing>
            <repeat>
                <boundsPeriod>
                    <start value="2015-01-31"/>
                    <end value="2015-02-06"/>
                </boundsPeriod>
                <frequency value="1"/>
                <period value="1"/>
                <periodUnit value="d"/>
            </repeat>
        </timing>
        <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>
        <doseAndRate>
            <type>
                <coding>
                    <system value="http://terminology.hl7.org/CodeSystem/dose-rate-type"/>
                    <code value="calculated"/>
                    <display value="Calculated"/>
                </coding>
            </type>
            <doseQuantity>
                <value value="1"/>
                <unit value="TAB"/>
                <system value="http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm"/>
                <code value="TAB"/> 
            </doseQuantity>
        </doseAndRate>

    </dosageInstruction>
</MedicationDispense>