Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Example MedicationRequest/medrx0310 (XML)

Pharmacy Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Encounter, Patient, Practitioner

Raw XML (canonical form + also see XML Format Specification)

Jump past Narrative

Request for Over the Counter Medication - Tylenol PM - with dosage range as needed with pre-condition for use (id = "medrx0310")

<?xml version="1.0" encoding="UTF-8"?>

<MedicationRequest xmlns="http://hl7.org/fhir">
    <id value="medrx0310"/> 
    <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p> <b> Generated Narrative: MedicationRequest</b> <a name="medrx0310"> </a> </p> <div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border:
       1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px">Resource MedicationRequest &quot;medrx0310&quot; </p> </div> <p> <b> identifier</b> : id: 12345689 (use: OFFICIAL)</p> <p> <b> status</b> : active</p> <p> <b> intent</b> : order</p> <h3> Medications</h3> <table class="grid"><tr> <td> -</td> <td> <b> Reference</b> </td> </tr> <tr> <td> *</td> <td> <a name="med0309"> </a> <blockquote> <p/>  <p> <a name="med0309"> </a> </p> <p> <b> code</b> : Tylenol PM <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/5.1.0/CodeSystem-v3-ndc.html">National drug codes</a> #50580-608-02)</span> </p> </blockquote> </td> </tr> </table> <p> <b> subject</b> : <a href="patient-example-a.html">Patient/pat1: Donald Duck</a>  &quot;Donald DUCK&quot;</p> <p> <b> encounter</b> : <a href="encounter-example-f001-heart.html">Encounter/f001: encounter who leads to this prescription</a> </p> <p> <b> authoredOn</b> : 2015-01-15</p> <p> <b> requester</b> : <a href="practitioner-example-f007-sh.html">Practitioner/f007: Patrick Pump</a>  &quot;Simone HEPS&quot;</p> <blockquote> <p> <b> dosageInstruction</b> </p> <p> <b> sequence</b> : 1</p> <p> <b> text</b> : Take 1-2 tablets once daily at bedtime as needed for restless legs</p> <p> <b> additionalInstruction</b> : Take at bedtime <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> ()</span> </p> <p> <b> timing</b> : Once per 1 days</p> <p> <b> asNeededFor</b> : Restless Legs <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://browser.ihtsdotools.org/">SNOMED CT</a> #32914008)</span> </p> <p> <b> route</b> : Oral Route <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://browser.ihtsdotools.org/">SNOMED CT</a> #26643006)</span> </p> <blockquote> <p> <b> doseAndRate</b> </p> </blockquote> </blockquote> </div> </text> <contained> 
        <Medication> 
            <id value="med0309"/> 
            <code> 
                <coding> 
                    <system value="http://hl7.org/fhir/sid/ndc"/> 
                    <code value="50580-608-02"/> 
                    <display value="Tylenol PM"/> 
                </coding> 
            </code> 
        </Medication> 
    </contained> 
    <identifier> 
        <use value="official"/> 
        <system value="http://www.bmc.nl/portal/prescriptions"/> 
        <value value="12345689"/> 
    </identifier> 
    <status value="active"/> 
    <intent value="order"/> 
    <medication> 
        <reference> 
        <reference value="#med0309"/> 
        </reference> 
    </medication> 
    <subject>      <!--    Linked to the resource patient who needs the medication    -->
        <reference value="Patient/pat1"/> 
        <display value="Donald Duck"/>         
    </subject> 
    <encounter>      <!--    Linked to a resource Encounter between patient and practitioner   -->
        <reference value="Encounter/f001"/> 
        <display value="encounter who leads to this prescription"/> 
    </encounter> 
    <authoredOn value="2015-01-15"/> 
    <requester> 
        <reference value="Practitioner/f007"/> 
        <display value="Patrick Pump"/> 
    </requester> 
    
    <dosageInstruction> 
        <sequence value="1"/> 
        <text value="Take 1-2 tablets once daily at bedtime as needed for restless legs"/> 
        <additionalInstruction> 
            <text value="Take at bedtime"/> 
        </additionalInstruction> 
        <timing> 
            <repeat> 
                <frequency value="1"/> 
                <period value="1"/> 
                <periodUnit value="d"/> 
            </repeat> 
        </timing> 
        <asNeededFor> 
                <coding> 
                    <system value="http://snomed.info/sct"/> 
                    <code value="32914008"/> 
                    <display value="Restless Legs"/> 
                </coding> 
        </asNeededFor> 
        <route> 
            <coding> 
                <system value="http://snomed.info/sct"/> 
                <code value="26643006"/> 
                <display value="Oral Route"/> 
            </coding> 
        </route> 
        <doseAndRate> 
            <type> 
                <coding> 
                    <system value="http://terminology.hl7.org/CodeSystem/dose-rate-type"/> 
                    <code value="ordered"/> 
                    <display value="Ordered"/> 
                </coding> 
            </type> 
            <doseRange> 
                <low> 
                    <value value="1"/> 
                    <unit value="TAB"/> 
                    <system value="http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm"/> 
                    <code value="TAB"/> 
                </low> 
                <high> 
                    <value value="2"/> 
                    <unit value="TAB"/> 
                    <system value="http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm"/> 
                    <code value="TAB"/> 
                </high> 
            </doseRange> 
        </doseAndRate> 

    </dosageInstruction> 
    
</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.