Da Vinci Health Record Exchange (HRex)
1.1.0-preview - STU R1 United States of America flag

Da Vinci Health Record Exchange (HRex), published by HL7 International / Clinical Interoperability Council. This guide is not an authorized publication; it is the continuous build for version 1.1.0-preview built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/davinci-ehrx/ and changes regularly. See the Directory of published versions

: HRex Task Subscription Notification - completed query example - XML Representation

Raw xml | Download



<Bundle xmlns="http://hl7.org/fhir">
  <id value="subscription-notification-with-data"/>
  <type value="history"/>
  <timestamp value="2020-05-29T11:44:13.1882432-05:00"/>
  <entry>
    <fullUrl value="urn:uuid:93be0c3d-1ba9-49bf-8a9b-9614604cda3c"/>
    <resource>
      <Parameters>
        <id value="93be0c3d-1ba9-49bf-8a9b-9614604cda3c"/>
        <parameter>
          <name value="subscription-url"/>
          <valueUri value="https://example.org/fhir/r4/Subscription/task"/>
        </parameter>
        <parameter>
          <name value="status"/>
          <valueCode value="active"/>
        </parameter>
        <parameter>
          <name value="type"/>
          <valueCode value="event-notification"/>
        </parameter>
        <parameter>
          <name value="subscription-event-count"/>
          <valueUnsignedInt value="2"/>
        </parameter>
        <parameter>
          <name value="bundle-event-count"/>
          <valueUnsignedInt value="1"/>
        </parameter>
        <parameter>
          <name value="subscription-topic-url"/>
          <valueUri value="http://hl7.org/SubscriptionTopic/task"/>
        </parameter>
      </Parameters>
    </resource>
    <request>
      <method value="GET"/>
      <url value="https://example.org/fhir/r4/Subscription/task/$status"/>
    </request>
    <response>
      <status value="200"/>
    </response>
  </entry>
  <entry>
    <fullUrl
             value="https://example.org/fhir/r4/Task/e3b9e31e-6252-40a5-9b7b-dfa6ca44f875"/>
    <resource>
      <Task>
        <id value="e3b9e31e-6252-40a5-9b7b-dfa6ca44f875"/>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><a name="Task_e3b9e31e-6252-40a5-9b7b-dfa6ca44f875"> </a><p><b>Generated Narrative: Task</b><a name="e3b9e31e-6252-40a5-9b7b-dfa6ca44f875"> </a><a name="hce3b9e31e-6252-40a5-9b7b-dfa6ca44f875"> </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 Task &quot;e3b9e31e-6252-40a5-9b7b-dfa6ca44f875&quot; </p></div><p><b>basedOn</b>: <a href="https://simplifier.net/resolve?scope=hl7.fhir.us.core.3.1.1@3.1.1&amp;canonical=http://example.org/new-payer/CommunicationRequest/57">http://example.org/new-payer/CommunicationRequest/57</a></p><p><b>status</b>: completed</p><p><b>intent</b>: order</p><p><b>code</b>: data request task <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="CodeSystem-hrex-temp.html">HRex Temporary Code System</a>#data-request)</span></p><p><b>for</b>: <a href="https://simplifier.net/resolve?scope=hl7.fhir.us.core.3.1.1@3.1.1&amp;canonical=http://example.org/new-payer/fhir/Patient/pat1">http://example.org/new-payer/fhir/Patient/pat1</a></p><p><b>authoredOn</b>: 2020-07-30 20:07:15-0600</p><p><b>requester</b>: <a href="https://simplifier.net/resolve?scope=hl7.fhir.us.core.3.1.1@3.1.1&amp;canonical=http://example.org/new-payer/fhir/Organization/hl7pay">http://example.org/new-payer/fhir/Organization/hl7pay</a></p><p><b>owner</b>: <a href="https://simplifier.net/resolve?scope=hl7.fhir.us.core.3.1.1@3.1.1&amp;canonical=http://example.org/provider/fhir/Organization/hl7prov">http://example.org/provider/fhir/Organization/hl7prov</a></p><p><b>reasonCode</b>: Support prior authorization decision-making <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> ()</span></p><p><b>reasonReference</b>: <a href="https://simplifier.net/resolve?scope=hl7.fhir.us.core.3.1.1@3.1.1&amp;canonical=http://example.org/new-payer/fhir/Claim/123">http://example.org/new-payer/fhir/Claim/123</a></p><h3>Inputs</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td style="display: none">*</td><td>data query input <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="CodeSystem-hrex-temp.html">HRex Temporary Code System</a>#data-query)</span></td><td>Condition?patient=Patient/pat1&amp;clinical-status=active&amp;code:below=http%3A%2F%2Fsnomed.info%2Fsct%7C73211009</td></tr></table><h3>Outputs</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td style="display: none">*</td><td>data values output <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="CodeSystem-hrex-temp.html">HRex Temporary Code System</a>#data-value)</span></td><td><a name="hcresults"> </a><blockquote><p/><p><a name="results"> </a></p><p><a name="hcresults"> </a></p><p><b>type</b>: searchset</p><p><b>total</b>: 1</p><h3>Links</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Relation</b></td><td><b>Url</b></td></tr><tr><td style="display: none">*</td><td>self</td><td><a href="http://example.org/new-payer/fhir/Condition?patient=Patient/pat1&amp;clinical-status=active&amp;code:below=http%3A%2F%2Fsnomed.info%2Fsct%7C73211009">http://example.org/new-payer/fhir/Condition?patient=Patient/pat1&amp;clinical-status=active&amp;code:below=http%3A%2F%2Fsnomed.info%2Fsct%7C73211009</a></td></tr></table><blockquote><p><b>entry</b></p><p><b>fullUrl</b>: <a href="http://local.fhir.org:960/r4/Condition/example">http://local.fhir.org:960/r4/Condition/example</a></p><blockquote><p><b>resource</b></p><p><b>clinicalStatus</b>: Active <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/5.3.0/CodeSystem-condition-clinical.html">Condition Clinical Status Codes</a>#active)</span></p><p><b>verificationStatus</b>: Confirmed <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/5.3.0/CodeSystem-condition-ver-status.html">ConditionVerificationStatus</a>#confirmed)</span></p><p><b>category</b>: Encounter Diagnosis <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/5.3.0/CodeSystem-condition-category.html">Condition Category Codes</a>#encounter-diagnosis; <a href="https://browser.ihtsdotools.org/">SNOMED CT</a>#359642000 &quot;Type 2 diabetes mellitus in nonobese&quot;)</span></p><p><b>subject</b>: <a href="https://simplifier.net/resolve?scope=hl7.fhir.us.core.3.1.1@3.1.1&amp;canonical=http://example.org/new-payer/fhir/Patient/pat1">http://example.org/new-payer/fhir/Patient/pat1</a></p><p><b>onset</b>: 2012-05-24</p></blockquote><h3>Searches</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Mode</b></td></tr><tr><td style="display: none">*</td><td>match</td></tr></table></blockquote></blockquote></td></tr></table><hr/><blockquote/></div>
        </text>
        <contained>
          <Bundle>
            <id value="results"/>
            <type value="searchset"/>
            <total value="1"/>
            <link>
              <relation value="self"/>
              <url
                   value="http://example.org/new-payer/fhir/Condition?patient=Patient/pat1&amp;clinical-status=active&amp;code:below=http%3A%2F%2Fsnomed.info%2Fsct%7C73211009"/>
            </link>
            <entry>
              <fullUrl
                       value="http://local.fhir.org:960/r4/Condition/example"/>
              <resource>
                <Condition>
                  <id value="example"/>
                  <meta>
                    <versionId value="1"/>
                    <lastUpdated value="2018-11-12T03:34:46.552Z"/>
                  </meta>
                  <text>
                    <status value="generated"/>
                    <div xmlns="http://www.w3.org/1999/xhtml">Severe burn of left ear (Date: 24-May 2012)</div>
                  </text>
                  <clinicalStatus>
                    <coding>
                      <system
                              value="http://terminology.hl7.org/CodeSystem/condition-clinical"/>
                      <code value="active"/>
                    </coding>
                  </clinicalStatus>
                  <verificationStatus>
                    <coding>
                      <system
                              value="http://terminology.hl7.org/CodeSystem/condition-ver-status"/>
                      <code value="confirmed"/>
                    </coding>
                  </verificationStatus>
                  <category>
                    <coding>
                      <system
                              value="http://terminology.hl7.org/CodeSystem/condition-category"/>
                      <code value="encounter-diagnosis"/>
                      <display value="Encounter Diagnosis"/>
                    </coding>
                    <coding>
                      <system value="http://snomed.info/sct"/>
                      <code value="359642000"/>
                      <display value="Type 2 diabetes mellitus in nonobese"/>
                    </coding>
                  </category>
                  <subject>
                    <reference
                               value="http://example.org/new-payer/fhir/Patient/pat1"/>
                  </subject>
                  <onsetDateTime value="2012-05-24"/>
                </Condition>
              </resource>
              <search>
                <mode value="match"/>
              </search>
            </entry>
          </Bundle>
        </contained>
        <basedOn>
          <reference
                     value="http://example.org/new-payer/CommunicationRequest/57"/>
        </basedOn>
        <status value="completed"/>
        <intent value="order"/>
        <code>
          <coding>
            <system
                    value="http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp"/>
            <code value="data-request"/>
          </coding>
        </code>
        <for>
          <reference value="http://example.org/new-payer/fhir/Patient/pat1"/>
        </for>
        <authoredOn value="2020-07-30T20:07:15-06:00"/>
        <requester>
          <reference
                     value="http://example.org/new-payer/fhir/Organization/hl7pay"/>
        </requester>
        <owner>
          <reference
                     value="http://example.org/provider/fhir/Organization/hl7prov"/>
        </owner>
        <reasonCode>
          <text value="Support prior authorization decision-making"/>
        </reasonCode>
        <reasonReference>
          <reference value="http://example.org/new-payer/fhir/Claim/123"/>
        </reasonReference>
        <input>
          <type>
            <coding>
              <system
                      value="http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp"/>
              <code value="data-query"/>
            </coding>
          </type>
          <valueString
                       value="Condition?patient=Patient/pat1&amp;clinical-status=active&amp;code:below=http%3A%2F%2Fsnomed.info%2Fsct%7C73211009"/>
        </input>
        <output>
          <type>
            <coding>
              <system
                      value="http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp"/>
              <code value="data-value"/>
            </coding>
          </type>
          <valueReference>
            <reference value="#results"/>
          </valueReference>
        </output>
      </Task>
    </resource>
    <request>
      <method value="PUT"/>
      <url value="Task"/>
    </request>
    <response>
      <status value="200"/>
    </response>
  </entry>
</Bundle>