Release 5 Draft Ballot

This page is part of the FHIR Specification (v4.6.0: R5 Draft Ballot). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Medicationusageexample1.xml

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

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

Jump past Narrative

Patient reports they are taking Tylenol PM and has the bottle (id = "example001")

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

<MedicationUsage xmlns="http://hl7.org/fhir">
  <id value="example001"/> 
  <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p> <b> Generated Narrative</b> </p> <p> <b> identifier</b> : id: 12345689 (OFFICIAL)</p> <p> <b> status</b> : completed</p> <p> <b> category</b> : <span> Inpatient</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> effective</b> : 2015-01-23</p> <p> <b> dateAsserted</b> : 2015-02-22</p> <p> <b> informationSource</b> : <a> Donald Duck. Generated Summary: Medical record number: 654321 (USUAL); active; Duck Donald
           (OFFICIAL); gender: male</a> </p> <p> <b> derivedFrom</b> : <a> Generated Summary: id: 12345 (OFFICIAL); status: active; intent: order; authoredOn: 2015-03-01</a> </p> <h3> Reasons</h3> <table> <tr> <td> -</td> </tr> <tr> <td> *</td> </tr> </table> <p> <b> note</b> : Patient indicates they miss the occasional dose</p> <h3> Dosages</h3> <table> <tr> <td> -</td> </tr> <tr> <td> *</td> </tr> </table> </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> 
      <doseForm> 
        <coding> 
          <system value="http://snomed.info/sct"/> 
          <code value="385057009"/> 
          <display value="Film-coated tablet (qualifier value)"/> 
        </coding> 
      </doseForm> 
      <ingredient> 
        <item> 
          <concept> 
          <coding> 
            <system value="http://www.nlm.nih.gov/research/umls/rxnorm"/> 
            <code value="315266"/> 
            <display value="Acetaminophen 500 MG"/> 
          </coding> 
          </concept> 
        </item> 
        <strengthRatio> 
          <numerator> 
            <value value="500"/> 
            <system value="http://unitsofmeasure.org"/> 
            <code value="mg"/> 
          </numerator> 
          <denominator> 
            <value value="1"/> 
            <system value="http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm"/> 
            <code value="TAB"/> 
          </denominator> 
        </strengthRatio> 
      </ingredient> 
      <ingredient> 
        <item> 
          <concept> 
          <coding> 
            <system value="http://www.nlm.nih.gov/research/umls/rxnorm"/> 
            <code value="901813"/> 
            <display value="Diphenhydramine Hydrochloride 25 mg"/> 
          </coding> 
          </concept> 
        </item> 
        <strengthRatio> 
          <numerator> 
            <value value="25"/> 
            <system value="http://unitsofmeasure.org"/> 
            <code value="mg"/> 
          </numerator> 
          <denominator> 
            <value value="1"/> 
            <system value="http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm"/> 
            <code value="TAB"/> 
          </denominator> 
        </strengthRatio> 
      </ingredient> 
      <batch> 
        <lotNumber value="9494788"/> 
        <expirationDate value="2017-05-22"/> 
      </batch>  

    </Medication> 
  </contained> 
  <identifier> 
    <use value="official"/> 
    <system value="http://www.bmc.nl/portal/medstatements"/> 
    <value value="12345689"/> 
  </identifier> 
  <status value="completed"/> 
  <category> 
    <coding> 
      <system value="http://terminology.hl7.org/CodeSystem/medication-statement-category"/> 
      <code value="inpatient"/> 
      <display value="Inpatient"/> 
    </coding> 
  </category> 
  <medication>  <!--    Linked to a RESOURCE Medication    -->
    <reference> 
    <reference value="#med0309"/> 
    </reference> 
  </medication>  
  <subject> 
    <reference value="Patient/pat1"/> 
    <display value="Donald Duck"/>  
  </subject>  
  <effectiveDateTime value="2015-01-23"/> 
  <dateAsserted value="2015-02-22"/> 
  <informationSource> 
    <reference value="Patient/pat1"/> 
    <display value="Donald Duck"/>  
  </informationSource> 
  <derivedFrom> 
    <reference value="MedicationRequest/medrx002"/> 
  </derivedFrom> 
  <reason> 
    <concept> 
      <coding> 
        <system value="http://snomed.info/sct"/> 
        <code value="32914008"/> 
        <display value="Restless Legs"/> 
      </coding> 
    </concept> 
  </reason> 



  <note> 
    <text value="Patient indicates they miss the occasional dose"/> 
  </note> 
  <dosage> 
    <sequence value="1"/> 
    <text value="1-2 tablets once daily at bedtime as needed for restless legs"/> 
    <additionalInstruction> 
      <text value="Taking at bedtime"/> 
    </additionalInstruction> 
    <timing> 
      <repeat> 
          <frequency value="1"/> 
        <period value="1"/> 
        <periodUnit value="d"/> 
      </repeat> 
    </timing> 
      <asNeededCodeableConcept> 
        <coding> 
          <system value="http://snomed.info/sct"/> 
          <code value="32914008"/> 
          <display value="Restless Legs"/> 
        </coding> 
      </asNeededCodeableConcept> 
    <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> 
    
  </dosage> 
</MedicationUsage> 

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.