US Meds Implementation Guide (Release 1.2.0)

This page is part of the US-Medication FHIR IG (v1.2.0: STU 2) based on FHIR R3. This is the current published version. For a full list of available versions, see the Directory of published versions

Example: Bundle-get-active-orders

Formats: Narrative, XML, JSON, Turtle

Raw xml


<Bundle xmlns="http://hl7.org/fhir">
  <id value="get-active-orders"/>
  <meta>
    <versionId value="1"/>
    <lastUpdated value="2017-03-28T14:06:11.808-04:00"/>
  </meta>
  <type value="searchset"/>
  <total value="2"/>
  <link>
    <relation value="self"/>
    <url
         value="http://wildfhir.aegis.net/fhir3-0-0/MedicationRequest?patient=test2&amp;status=active"/>
  </link>
  <entry>
    <fullUrl
             value="http://wildfhir.aegis.net/fhir3-0-0/MedicationRequest/test2-1"/>
    <resource>
      <MedicationRequest>
        <id value="test2-1"/>
        <meta>
          <versionId value="4"/>
          <lastUpdated value="2017-03-28T14:05:26.103-04:00"/>
          <profile
                   value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest"/>
        </meta>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: test2-1</p><p><b>meta</b>: </p><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>medication</b>: Zocor (simvastatin) 20mg Tablet <span style="background: LightGoldenRodYellow">(Details : {RxNorm code '104491' = '104491', given as 'Simvastatin 20 MG Oral Tablet [Zocor]'})</span></p><p><b>subject</b>: <a href="Patient-test2.html">Brian Z. Generated Summary: id: test2; Medical Record Number = 1032702 (USUAL); active; Brian Z ; ph: 555-555-5555(HOME); gender: male; birthDate: 05/01/1964</a></p><p><b>authoredOn</b>: 15/01/2016</p><h3>Requesters</h3><table class="grid"><tr><td>-</td><td><b>Agent</b></td></tr><tr><td>*</td><td>Dr. Cayr (BMC PCP)</td></tr></table><p><b>reasonCode</b>: Hypercholesterolemia (disorder) <span style="background: LightGoldenRodYellow">(Details : {SNOMED CT code '13644009' = 'Hypercholesterolemia', given as 'Hypercholesterolemia (disorder)'})</span></p><p><b>dosageInstruction</b>: </p><h3>DispenseRequests</h3><table class="grid"><tr><td>-</td><td><b>NumberOfRepeatsAllowed</b></td><td><b>Quantity</b></td></tr><tr><td>*</td><td>11</td><td>60 tablets<span style="background: LightGoldenRodYellow"> (Details: http://hl7.org/fhir/v3/orderableDrugForm code TAB = 'Tablet')</span></td></tr></table></div>
        </text>
        <status value="active"/>
        <intent value="order"/>
        <medicationCodeableConcept>
          <coding>
            <system value="http://www.nlm.nih.gov/research/umls/rxnorm"/>
            <code value="104491"/>
            <display value="Simvastatin 20 MG Oral Tablet [Zocor]"/>
            <userSelected value="false"/>
          </coding>
          <text value="Zocor (simvastatin) 20mg Tablet"/>
        </medicationCodeableConcept>
        <subject>
          <reference value="Patient/test2"/>
          <display value="Brian Z"/>
        </subject>
        <authoredOn value="2016-01-15"/>
        <requester>
          <agent>
            <display value="Dr. Cayr (BMC PCP)"/>
          </agent>
        </requester>
        <reasonCode>
          <coding>
            <system value="http://snomed.info/sct"/>
            <code value="13644009"/>
            <display value="Hypercholesterolemia (disorder)"/>
            <userSelected value="false"/>
          </coding>
        </reasonCode>
        <dosageInstruction>
          <sequence value="1"/>
          <text value="40mg by mouth once daily"/>
          <asNeededBoolean value="false"/>
          <route>
            <coding>
              <system value="http://ncimeta.nci.nih.gov"/>
              <code value="C38288"/>
              <display value="ORAL"/>
              <userSelected value="false"/>
            </coding>
          </route>
        </dosageInstruction>
        <dispenseRequest>
          <numberOfRepeatsAllowed value="11"/>
          <quantity>
            <value value="60"/>
            <unit value="tablets"/>
            <system value="http://hl7.org/fhir/v3/orderableDrugForm"/>
            <code value="TAB"/>
          </quantity>
        </dispenseRequest>
      </MedicationRequest>
    </resource>
  </entry>
  <entry>
    <fullUrl
             value="http://wildfhir.aegis.net/fhir3-0-0/MedicationRequest/test2-2"/>
    <resource>
      <MedicationRequest>
        <id value="test2-2"/>
        <meta>
          <versionId value="4"/>
          <lastUpdated value="2017-03-28T14:05:36.088-04:00"/>
          <profile
                   value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest"/>
        </meta>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: test2-2</p><p><b>meta</b>: </p><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>medication</b>: Humulin R (insulin regular, human) U100  100units/ml inj solution <span style="background: LightGoldenRodYellow">(Details : {RxNorm code '311036' = '311036', given as 'Humulin R (insulin regular, human) U100  100units/ml inj solution'})</span></p><p><b>subject</b>: <a href="Patient-test2.html">Brian Z. Generated Summary: id: test2; Medical Record Number = 1032702 (USUAL); active; Brian Z ; ph: 555-555-5555(HOME); gender: male; birthDate: 05/01/1964</a></p><p><b>authoredOn</b>: 01/07/2015</p><h3>Requesters</h3><table class="grid"><tr><td>-</td><td><b>Agent</b></td></tr><tr><td>*</td><td>Dr. Cryn (BMC Endo)</td></tr></table><p><b>dosageInstruction</b>: </p><h3>DispenseRequests</h3><table class="grid"><tr><td>-</td><td><b>NumberOfRepeatsAllowed</b></td><td><b>Quantity</b></td></tr><tr><td>*</td><td>11</td><td>40 ml<span style="background: LightGoldenRodYellow"> (Details: UCUM code mL = 'mL')</span></td></tr></table></div>
        </text>
        <status value="active"/>
        <intent value="order"/>
        <medicationCodeableConcept>
          <coding>
            <system value="http://www.nlm.nih.gov/research/umls/rxnorm"/>
            <code value="311036"/>
            <display
                     value="Humulin R (insulin regular, human) U100  100units/ml inj solution"/>
            <userSelected value="false"/>
          </coding>
          <text
                value="Humulin R (insulin regular, human) U100  100units/ml inj solution"/>
        </medicationCodeableConcept>
        <subject>
          <reference value="Patient/test2"/>
          <display value="Brian Z"/>
        </subject>
        <authoredOn value="2015-07-01"/>
        <requester>
          <agent>
            <display value="Dr. Cryn (BMC Endo)"/>
          </agent>
        </requester>
        <dosageInstruction>
          <sequence value="1"/>
          <text value="10U every AM, 5U every PM, 5U at bedtime"/>
          <asNeededBoolean value="false"/>
          <route>
            <coding>
              <system value="http://snomed.info/sct"/>
              <code value="34206005"/>
              <display value="Subcutaneous route (qualifier value)"/>
              <userSelected value="false"/>
            </coding>
          </route>
        </dosageInstruction>
        <dispenseRequest>
          <numberOfRepeatsAllowed value="11"/>
          <quantity>
            <value value="40"/>
            <unit value="ml"/>
            <system value="http://unitsofmeasure.org"/>
            <code value="mL"/>
          </quantity>
        </dispenseRequest>
      </MedicationRequest>
    </resource>
  </entry>
</Bundle>