Making EHR Data More available for Research and Public Health (MedMorph)
0.2.0 - STU 1 draft

This page is part of the Making EHR Data MOre available for Research and Public Health (MedMorph) (v0.2.0: STU 1 Draft) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

: Example of a Response Bundle for a submitted message containing a communication resource. - XML Representation

Raw xml | Download



<Bundle xmlns="http://hl7.org/fhir">
  <id value="response-bundle-example"/>
  <meta>
    <versionId value="1"/>
    <lastUpdated value="2020-11-29T02:03:28.045+00:00"/>
    <profile
             value="http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-response-bundle"/>
  </meta>
  <type value="message"/>
  <timestamp value="2020-11-20T11:15:33-10:00"/>
  <entry>
    <fullUrl value="MessageHeader/messageheader-example-reportheader"/>
    <resource>
      <MessageHeader>
        <id value="messageheader-example-reportheader"/>
        <meta>
          <versionId value="1"/>
          <lastUpdated value="2020-11-29T02:03:28.045+00:00"/>
          <profile
                   value="http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-messageheader"/>
        </meta>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml">
            <p>Reporting Data</p> 
          </div>
        </text>
        <extension
                   url="http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-dataEncrypted">
          <valueBoolean value="false"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-messageProcessingCategory">
          <valueCode value="consequence"/>
        </extension>
        <eventCoding>
          <system
                  value="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-messageheader-message-types"/>
          <code value="cancer-report-message"/>
        </eventCoding>
        <destination>
          <name value="PHA endpoint"/>
          <endpoint value="http://example.pha.org/fhir"/>
        </destination>
        <sender>
          <reference value="Organization/example-healthcare-org"/>
        </sender>
        <source>
          <name value="Healthcare Organization"/>
          <software value="Backend Service App"/>
          <version value="3.1.45.AABB"/>
          <contact>
            <system value="phone"/>
            <value value="+1 (917) 123 4567"/>
          </contact>
          <endpoint value="http://example.healthcare.org/fhir"/>
        </source>
        <reason>
          <coding>
            <system
                    value="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-triggerdefinition-namedevents"/>
            <code value="encounter-close"/>
          </coding>
        </reason>
        <focus>
          <reference
                     value="Communication/communication-example-cancer-pha-response"/>
        </focus>
      </MessageHeader>
    </resource>
  </entry>
  <entry>
    <fullUrl value="Communication/communication-example-cancer-pha-response"/>
    <resource>
      <Communication>
        <id value="communication-example-cancer-pha-response"/>
        <meta>
          <versionId value="1"/>
          <lastUpdated value="2020-11-29T02:03:28.045+00:00"/>
          <profile
                   value="http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-communication"/>
        </meta>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml">Response message after processing a submitted public health cancer report</div>
        </text>
        <extension
                   url="http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-responseMessageStatus">
          <valueCodeableConcept>
            <coding>
              <system
                      value="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-response-message-processing-status"/>
              <code value="RRVS1"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <identifier>
          <system value="http://example.pha.org/"/>
          <value value="12345"/>
        </identifier>
        <status value="completed"/>
        <category>
          <coding>
            <system
                    value="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-messageheader-message-types"/>
            <code value="cancer-response-message"/>
          </coding>
        </category>
        <subject>
          <reference value="Patient/1"/>
        </subject>
        <sent value="2020-11-30T18:01:10-08:00"/>
        <received value="2020-11-30T18:01:14-08:00"/>
        <reasonCode>
          <coding>
            <system
                    value="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-messageheader-message-types"/>
            <code value="cancer-report-message"/>
          </coding>
        </reasonCode>
      </Communication>
    </resource>
  </entry>
</Bundle>