Specialty Medication Enrollment
0.1.0 - STU1 Ballot

Publication Build: This will be filled in by the publication tooling

## : 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</b></p><p><b>event</b>: <span title="{http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-event-type query}">Query</span></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 (Parameters/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="Patient/patient1"/>
              </valueReference>
            </parameter>
          </Parameters>
        </resource>
      </entry>
      <entry>
        <fullUrl value="http://example.org/MyPharmacyApp/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</b></p><p><b>identifier</b>: Patient internal identifier: 540002</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><span title="Codes: {urn:ietf:bcp:47 en-US}">English (Region=United States)</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>
            <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>