Specialty Medication Enrollment
2.0.0-ballot - STU 2 Ballot US

This page is part of the Specialty Medication Enrollment (v2.0.0-ballot: STU2 Ballot 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

: Specialty Rx Query 1 - XML Representation

Raw xml | Download



<Bundle xmlns="http://hl7.org/fhir">
  <id value="specialty-rx-query-1"/>
  <meta>
    <profile
             value="http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-query"/>
  </meta>
  <type value="message"/>
  <timestamp value="2020-03-11T08:10:13-05:00"/>
  <entry>
    <fullUrl value="https://example.org/MyPharmacyApp/MessageHeader/reqheader1"/>
    <resource>
      <MessageHeader>
        <id value="req1"/>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: MessageHeader</b></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 MessageHeader "req1" </p></div><p><b>event</b>: Query (Details: http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-event-type code query = 'Query', stated as 'null')</p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Name</b></td><td><b>Endpoint</b></td></tr><tr><td>*</td><td>MyPharmacyApp</td><td><a href="http://example.org/MyPharmacyApp">http://example.org/MyPharmacyApp</a></td></tr></table><p><b>focus</b>: <a href="#Parameters_61ebe359-bfdc-4613-8bf2-c5e300945f0b">See above (urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0b)</a></p></div>
        </text>
        <eventCoding>
          <system
                  value="http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-event-type"/>
          <code value="query"/>
        </eventCoding>
        <source>
          <name value="MyPharmacyApp"/>
          <endpoint value="http://example.org/MyPharmacyApp"/>
        </source>
        <focus>
          <reference value="urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0b"/>
        </focus>
      </MessageHeader>
    </resource>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0b"/>
    <resource>
      <Parameters>
        <id value="61ebe359-bfdc-4613-8bf2-c5e300945f0b"/>
        <meta>
          <profile
                   value="http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-parameters-query"/>
        </meta>
        <parameter>
          <name value="query-string"/>
          <valueString value="AllergyIntolerance?clinical-status=active"/>
        </parameter>
        <parameter>
          <name value="query-string"/>
          <valueString value="Condition?clinical-status=active"/>
        </parameter>
        <parameter>
          <name value="query-string"/>
          <valueString value="Coverage"/>
        </parameter>
        <parameter>
          <name value="query-string"/>
          <valueString value="Observation?category=vital-signs"/>
        </parameter>
        <parameter>
          <name value="query-string"/>
          <valueString value="Observation?category=laboratory"/>
        </parameter>
        <parameter>
          <name value="query-string"/>
          <valueString value="MedicationRequest"/>
        </parameter>
        <parameter>
          <name value="requester-patient"/>
          <valueReference>
            <reference value="http://example.org/MyEHR/Patient/patient1"/>
          </valueReference>
        </parameter>
      </Parameters>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://example.org/MyEHR/Patient/patient1"/>
    <resource>
      <Patient>
        <id value="patient1"/>
        <meta>
          <profile
                   value="http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-patient"/>
        </meta>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: Patient</b></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 Patient "patient1" </p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-specialty-rx-patient.html">Specialty Rx Patient</a></p></div><p><b>identifier</b>: Patient internal identifier: 540002, MRN from prescription: 30455</p><p><b>active</b>: true</p><p><b>name</b>: Tim Doe </p><p><b>telecom</b>: ph: 555-555-5555(HOME), <a href="mailto:tim.doe@example.com">tim.doe@example.com</a></p><p><b>gender</b>: male</p><p><b>birthDate</b>: 1987-02-20</p><p><b>address</b>: 2224 Century Ave Minnetonka MN 55345 US </p><h3>Communications</h3><table class="grid"><tr><td>-</td><td><b>Language</b></td></tr><tr><td>*</td><td>English (Region=United States) <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/3.1.0/CodeSystem-v3-ietf3066.html">Tags for the Identification of Languages</a>#en-US)</span></td></tr></table></div>
        </text>
        <identifier>
          <type>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
              <code value="PI"/>
              <display value="Patient internal identifier"/>
            </coding>
          </type>
          <system value="http://example.org/MyPharmacyApp/patient-id"/>
          <value value="540002"/>
        </identifier>
        <identifier>
          <type>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
              <code value="MR"/>
              <display value="Medical record number"/>
            </coding>
            <text value="MRN from prescription"/>
          </type>
          <system>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/data-absent-reason">
              <valueCode value="unknown"/>
            </extension>
          </system>
          <value value="30455"/>
        </identifier>
        <active value="true"/>
        <name>
          <family value="Doe"/>
          <given value="Tim"/>
        </name>
        <telecom>
          <system value="phone"/>
          <value value="555-555-5555"/>
          <use value="home"/>
        </telecom>
        <telecom>
          <system value="email"/>
          <value value="tim.doe@example.com"/>
        </telecom>
        <gender value="male"/>
        <birthDate value="1987-02-20"/>
        <address>
          <line value="2224 Century Ave"/>
          <city value="Minnetonka"/>
          <state value="MN"/>
          <postalCode value="55345"/>
          <country value="US"/>
        </address>
        <communication>
          <language>
            <coding>
              <system value="urn:ietf:bcp:47"/>
              <code value="en-US"/>
              <display value="English (Region=United States)"/>
            </coding>
          </language>
        </communication>
      </Patient>
    </resource>
  </entry>
</Bundle>