Specialty Medication Enrollment
2.1.0 - CI Build

Specialty Medication Enrollment, published by HL7 International - Pharmacy. This is not an authorized publication; it is the continuous build for version 2.1.0). This version is based on the current content of https://github.com/HL7/fhir-specialty-rx/ and changes regularly. See the Directory of published versions

## : Specialty Rx Query Response 2 - XML Representation

Raw xml | Download

    <Bundle xmlns="http://hl7.org/fhir">
      <id value="specialty-rx-query-response-2"/>
      <meta>
        <profile
                 value="http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-query-response"/>
      </meta>
      <type value="message"/>
      <timestamp value="2020-03-11T13:10:17-05:00"/>
      <entry>
        <fullUrl value="http://example.org/MyEHR/MessageHeader/msgheader1"/>
        <resource>
          <MessageHeader>
            <id value="res2"/>
            <meta>
              <profile
                       value="http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-messageheader-query-response"/>
            </meta>
            <text>
              <status value="generated"/>
              <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: MessageHeader</b><a name="res2"> </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 MessageHeader &quot;res2&quot; </p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-specialty-rx-messageheader-query-response.html">Specialty Rx Query Response MessageHeader</a></p></div><p><b>event</b>: Query Response (Details: http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-event-type code query-response = 'Query Response', 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>MyEHR</td><td><a href="http://example.org/MyEHR">http://example.org/MyEHR</a></td></tr></table><h3>Responses</h3><table class="grid"><tr><td>-</td><td><b>Identifier</b></td><td><b>Code</b></td></tr><tr><td>*</td><td>req2</td><td>ok</td></tr></table><p><b>focus</b>: <a href="#Parameters_61ebe359-bfdc-4613-8bf2-c5e300945f0c">See above (urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0c)</a></p></div>
            </text>
            <eventCoding>
              <system
                      value="http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-event-type"/>
              <code value="query-response"/>
            </eventCoding>
            <source>
              <name value="MyEHR"/>
              <endpoint value="http://example.org/MyEHR"/>
            </source>
            <response>
              <identifier value="req2"/>
              <code value="ok"/>
            </response>
            <focus>
              <reference value="urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0c"/>
            </focus>
          </MessageHeader>
        </resource>
      </entry>
      <entry>
        <fullUrl value="urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0c"/>
        <resource>
          <Parameters>
            <id value="61ebe359-bfdc-4613-8bf2-c5e300945f0c"/>
            <parameter>
              <name value="requester-patient"/>
              <valueReference>
                <reference
                           value="http://example.org/MyPharmacyApp/Patient/patient1"/>
              </valueReference>
            </parameter>
            <parameter>
              <name value="responder-patient"/>
              <valueReference>
                <reference value="http://example.org/MyEHR/Patient/patientEHR"/>
              </valueReference>
            </parameter>
            <parameter>
              <name value="search-result"/>
              <valueReference>
                <reference value="http://example.org/MyEHR/Bundle/3456789"/>
              </valueReference>
            </parameter>
            <parameter>
              <name value="search-result"/>
              <valueReference>
                <reference value="http://example.org/MyEHR/Bundle/987654"/>
              </valueReference>
            </parameter>
          </Parameters>
        </resource>
      </entry>
      <entry>
        <fullUrl value="http://example.org/MyPharmacyApp/Patient/patient1"/>
        <resource>
          <Patient>
            <id value="patient1"/>
            <meta>
              <source value="http://example.org/MyPharmacyApp"/>
              <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><a name="patient1"> </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 Patient &quot;patient1&quot; </p><p style="margin-bottom: 0px">Information Source: http://example.org/MyPharmacyApp!</p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-specialty-rx-patient.html">Specialty Rx Patient</a></p></div><p><b>identifier</b>: id: 1234</p><p><b>active</b>: true</p><p><b>name</b>: Timothy V. 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/5.0.0/CodeSystem-v3-ietf3066.html">Tags for the Identification of Languages</a>#en-US)</span></td></tr></table></div>
            </text>
            <identifier>
              <system value="http://example.org/patient-id"/>
              <value value="1234"/>
            </identifier>
            <active value="true"/>
            <name>
              <family value="Doe"/>
              <given value="Timothy"/>
              <given value="V."/>
            </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>
      <entry>
        <fullUrl value="http://example.org/MyEHR/Patient/patientEHR"/>
        <resource>
          <Patient>
            <id value="patientEHR"/>
            <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><a name="patientEHR"> </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 Patient &quot;patientEHR&quot; </p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-specialty-rx-patient.html">Specialty Rx Patient</a></p></div><p><b>identifier</b>: Medical record number: 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 Avenue 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/5.0.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="MR"/>
                  <display value="Medical record number"/>
                </coding>
                <text value="Medical record number"/>
              </type>
              <system value="http://example.org/MyEHR"/>
              <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 Avenue"/>
              <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>
      <entry>
        <fullUrl value="http://example.org/MyEHR/Bundle/3456789"/>
        <resource>
          <Bundle>
            <id value="3456789"/>
            <meta>
              <profile
                       value="http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-search-result"/>
            </meta>
            <type value="searchset"/>
            <timestamp value="2020-03-11T13:10:17-05:00"/>
            <total value="3"/>
            <link>
              <relation value="self"/>
              <url value="Condition?patient=patientEHR"/>
            </link>
            <entry>
              <fullUrl value="http://example.org/MyEHR/Condition/1"/>
              <resource>
                <Condition>
                  <id value="1"/>
                  <clinicalStatus>
                    <coding>
                      <system
                              value="http://terminology.hl7.org/CodeSystem/condition-clinical"/>
                      <code value="active"/>
                      <display value="Active"/>
                    </coding>
                    <text value="Active"/>
                  </clinicalStatus>
                  <verificationStatus>
                    <coding>
                      <system
                              value="http://terminology.hl7.org/CodeSystem/condition-ver-status"/>
                      <code value="confirmed"/>
                      <display value="Confirmed"/>
                    </coding>
                    <text value="Confirmed"/>
                  </verificationStatus>
                  <category>
                    <coding>
                      <system
                              value="http://terminology.hl7.org/CodeSystem/condition-category"/>
                      <code value="problem-list-item"/>
                      <display value="Problem List Item"/>
                    </coding>
                    <text value="Problem"/>
                  </category>
                  <code>
                    <coding>
                      <system value="http://snomed.info/sct"/>
                      <code value="13644009"/>
                      <display value="Hypercholesterolemia (disorder)"/>
                    </coding>
                    <text value="Hypercholesterolemia (disorder)"/>
                  </code>
                  <subject>
                    <reference value="Patient/patientEHR"/>
                  </subject>
                </Condition>
              </resource>
              <search>
                <mode value="match"/>
              </search>
            </entry>
            <entry>
              <fullUrl value="http://example.org/MyEHR/Condition/2"/>
              <resource>
                <Condition>
                  <id value="2"/>
                  <clinicalStatus>
                    <coding>
                      <system
                              value="http://terminology.hl7.org/CodeSystem/condition-clinical"/>
                      <code value="active"/>
                      <display value="Active"/>
                    </coding>
                    <text value="Active"/>
                  </clinicalStatus>
                  <verificationStatus>
                    <coding>
                      <system
                              value="http://terminology.hl7.org/CodeSystem/condition-ver-status"/>
                      <code value="confirmed"/>
                      <display value="Confirmed"/>
                    </coding>
                    <text value="Confirmed"/>
                  </verificationStatus>
                  <category>
                    <coding>
                      <system
                              value="http://terminology.hl7.org/CodeSystem/condition-category"/>
                      <code value="problem-list-item"/>
                      <display value="Problem List Item"/>
                    </coding>
                    <text value="Problem"/>
                  </category>
                  <code>
                    <coding>
                      <system value="http://snomed.info/sct"/>
                      <code value="84172003"/>
                      <display value="Spondylitis (disorder)"/>
                    </coding>
                    <text value="Spondylitis (disorder)"/>
                  </code>
                  <subject>
                    <reference value="Patient/patientEHR"/>
                  </subject>
                </Condition>
              </resource>
              <search>
                <mode value="match"/>
              </search>
            </entry>
            <entry>
              <fullUrl value="http://example.org/MyEHR/Condition/3"/>
              <resource>
                <Condition>
                  <id value="3"/>
                  <clinicalStatus>
                    <coding>
                      <system
                              value="http://terminology.hl7.org/CodeSystem/condition-clinical"/>
                      <code value="active"/>
                      <display value="Active"/>
                    </coding>
                    <text value="Active"/>
                  </clinicalStatus>
                  <verificationStatus>
                    <coding>
                      <system
                              value="http://terminology.hl7.org/CodeSystem/condition-ver-status"/>
                      <code value="confirmed"/>
                      <display value="Confirmed"/>
                    </coding>
                    <text value="Confirmed"/>
                  </verificationStatus>
                  <category>
                    <coding>
                      <system
                              value="http://terminology.hl7.org/CodeSystem/condition-category"/>
                      <code value="problem-list-item"/>
                      <display value="Problem List Item"/>
                    </coding>
                    <text value="Problem"/>
                  </category>
                  <code>
                    <coding>
                      <system value="http://snomed.info/sct"/>
                      <code value="427603009"/>
                      <display value="Intermittent asthma (disorder)"/>
                    </coding>
                    <text value="Intermittent asthma (disorder)"/>
                  </code>
                  <subject>
                    <reference value="Patient/patientEHR"/>
                  </subject>
                </Condition>
              </resource>
              <search>
                <mode value="match"/>
              </search>
            </entry>
          </Bundle>
        </resource>
      </entry>
      <entry>
        <fullUrl value="http://example.org/MyEHR/Bundle/987654"/>
        <resource>
          <Bundle>
            <id value="987654"/>
            <meta>
              <profile
                       value="http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-search-result"/>
            </meta>
            <type value="searchset"/>
            <timestamp value="2020-03-11T13:10:17-05:00"/>
            <total value="3"/>
            <link>
              <relation value="self"/>
              <url value="AllergyIntolerance?patient=patientEHR"/>
            </link>
            <entry>
              <fullUrl value="http://example.org/MyEHR/AllergyIntolerance/1"/>
              <resource>
                <AllergyIntolerance>
                  <id value="1"/>
                  <clinicalStatus>
                    <coding>
                      <system
                              value="http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"/>
                      <code value="active"/>
                      <display value="Active"/>
                    </coding>
                  </clinicalStatus>
                  <verificationStatus>
                    <coding>
                      <system
                              value="http://terminology.hl7.org/CodeSystem/allergyintolerance-verification"/>
                      <code value="confirmed"/>
                      <display value="Confirmed"/>
                    </coding>
                  </verificationStatus>
                  <code>
                    <text value="Cashew"/>
                  </code>
                  <patient>
                    <reference value="Patient/patient1"/>
                  </patient>
                </AllergyIntolerance>
              </resource>
              <search>
                <mode value="match"/>
              </search>
            </entry>
            <entry>
              <fullUrl value="http://example.org/MyEHR/AllergyIntolerance/2"/>
              <resource>
                <AllergyIntolerance>
                  <id value="2"/>
                  <clinicalStatus>
                    <coding>
                      <system
                              value="http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"/>
                      <code value="active"/>
                      <display value="Active"/>
                    </coding>
                  </clinicalStatus>
                  <verificationStatus>
                    <coding>
                      <system
                              value="http://terminology.hl7.org/CodeSystem/allergyintolerance-verification"/>
                      <code value="confirmed"/>
                      <display value="Confirmed"/>
                    </coding>
                  </verificationStatus>
                  <code>
                    <text value="Bees"/>
                  </code>
                  <patient>
                    <reference value="Patient/patient1"/>
                  </patient>
                </AllergyIntolerance>
              </resource>
              <search>
                <mode value="match"/>
              </search>
            </entry>
            <entry>
              <fullUrl value="http://example.org/MyEHR/AllergyIntolerance/3"/>
              <resource>
                <AllergyIntolerance>
                  <id value="3"/>
                  <clinicalStatus>
                    <coding>
                      <system
                              value="http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"/>
                      <code value="active"/>
                      <display value="Active"/>
                    </coding>
                  </clinicalStatus>
                  <verificationStatus>
                    <coding>
                      <system
                              value="http://terminology.hl7.org/CodeSystem/allergyintolerance-verification"/>
                      <code value="confirmed"/>
                      <display value="Confirmed"/>
                    </coding>
                  </verificationStatus>
                  <code>
                    <text value="Penicillins"/>
                  </code>
                  <patient>
                    <reference value="Patient/patient1"/>
                  </patient>
                  <reaction>
                    <manifestation>
                      <text value="Hives"/>
                    </manifestation>
                  </reaction>
                </AllergyIntolerance>
              </resource>
              <search>
                <mode value="match"/>
              </search>
            </entry>
          </Bundle>
        </resource>
      </entry>
    </Bundle>