Da Vinci Health Record Exchange (HRex)
1.0.0 - STU R1 US

This page is part of the Da Vinci Health Record Exchange (v1.0.0: STU1) based on FHIR R4. This is the current published version. For a full list of available versions, see the Directory of published versions

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

Raw xml | Download



<Bundle xmlns="http://hl7.org/fhir">
  <id value="subscription-notification-with-document"/>
  <type value="history"/>
  <timestamp value="2020-05-29T11:44:13.1882432-05:00"/>
  <entry>
    <fullUrl value="urn:uuid:f830abeb-7ff3-4494-bfd6-0d9a88d3319c"/>
    <resource>
      <Parameters>
        <id value="f830abeb-7ff3-4494-bfd6-0d9a88d3319c"/>
        <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/c94fb961-310c-41f1-a54f-fc5f2dba49ee"/>
    <resource>
      <Task>
        <id value="c94fb961-310c-41f1-a54f-fc5f2dba49ee"/>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</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 "c94fb961-310c-41f1-a54f-fc5f2dba49ee" </p></div><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="http://example.org/ehr/fhir/Patient/pat1">http://example.org/ehr/fhir/Patient/pat1</a></p><p><b>authoredOn</b>: 2020-07-30 08:07:15-0600</p><p><b>requester</b>: <a href="http://example.org/new-payer/fhir/Organization/hl7pay">http://example.org/new-payer/fhir/Organization/hl7pay</a></p><p><b>owner</b>: <a href="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="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>-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>data code input <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="CodeSystem-hrex-temp.html">HRex Temporary Code System</a>#data-code)</span></td><td>Outpatient Note <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://loinc.org/">LOINC</a>#34108-1)</span></td></tr></table><h3>Outputs</h3><table class="grid"><tr><td>-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td>*</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 href="http://example.org/ehr/fhir/DocumentReference/287Q73J237">http://example.org/ehr/fhir/DocumentReference/287Q73J237</a></td></tr></table></div>
        </text>
        <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/ehr/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-code"/>
            </coding>
          </type>
          <valueCodeableConcept>
            <coding>
              <system value="http://loinc.org"/>
              <code value="34108-1"/>
            </coding>
          </valueCodeableConcept>
        </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="http://example.org/ehr/fhir/DocumentReference/287Q73J237"/>
          </valueReference>
        </output>
      </Task>
    </resource>
    <request>
      <method value="PUT"/>
      <url value="Task"/>
    </request>
    <response>
      <status value="200"/>
    </response>
  </entry>
  <entry>
    <fullUrl value="https://example.org/fhir/r4/DocumentReference/287Q73J237"/>
    <resource>
      <DocumentReference>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml">
            <a href="http://localhost:9556/svc/fhir/Binary/1e404af3-077f-4bee-b7a6-a9be97e1ce32">Document: urn:oid:129.6.58.92.88336</a> undefined, created 24/12/2005
          </div>
        </text>
        <status value="current"/>
        <type>
          <coding>
            <system value="http://loinc.org"/>
            <code value="34117-2"/>
            <display value="History and physical note"/>
          </coding>
        </type>
        <category>
          <coding>
            <system value="http://loinc.org"/>
            <code value="47039-3"/>
            <display value="Hospital Admission history and physical note"/>
          </coding>
        </category>
        <subject>
          <reference value="http://example.org/ehr/fhir/Patient/pat1"/>
        </subject>
        <date value="2013-07-01T23:11:33+10:00"/>
        <author>
          <reference value="http://example.org/ehr/fhir/Practitioner/pract1"/>
        </author>
        <description value="Physical"/>
        <content>
          <attachment>
            <contentType value="text/plain"/>
            <language value="en-US"/>
            <url
                 value="http://localhost:9556/svc/fhir/Binary/1e404af3-077f-4bee-b7a6-a9be97e1ce32"/>
            <title value="Physical"/>
            <creation value="2005-12-24"/>
          </attachment>
          <format>
            <system
                    value="http://ihe.net/fhir/ihe.formatcode.fhir/CodeSystem/formatcode"/>
            <code value="urn:ihe:pcc:apr:handp:2008"/>
          </format>
        </content>
      </DocumentReference>
    </resource>
    <request>
    <!--  Discussion needed about what the appropriate method is for content that was just referenced, not changed  -->
      <method value="GET"/>
      <url value="DocumentReference"/>
    </request>
    <response>
      <status value="200"/>
    </response>
  </entry>
</Bundle>