Making Electronic Data More available for Research and Public Health (MedMorph)
1.0.0 - STU 1 United States of America flag

Making Electronic Data More available for Research and Public Health (MedMorph), published by HL7 International - Public Health Work Group. This is not an authorized publication; it is the continuous build for version 1.0.0). This version is based on the current content of https://github.com/HL7/fhir-medmorph/ and changes regularly. 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/us-ph-data-encrypted-extension">
          <valueBoolean value="false"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-report-initiation-type">
          <valueCodeableConcept>
            <coding>
              <system
                      value="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-report-initiation-types"/>
              <code value="subscription-notification"/>
            </coding>
          </valueCodeableConcept>
        </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-end"/>
          </coding>
        </reason>
        <focus>
          <reference value="Bundle/content-bundle-example"/>
        </focus>
      </MessageHeader>
    </resource>
  </entry>
  <entry>
    <fullUrl value="Bundle/content-bundle-example"/>
    <resource>
      <Bundle>
        <id value="content-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-content-bundle"/>
        </meta>
        <type value="collection"/>
        <timestamp value="2020-11-20T11:15:33-10:00"/>
        <entry>
          <fullUrl value="Patient/1"/>
          <resource>
            <Patient>
              <id value="1"/>
              <text>
                <status value="generated"/>
                <div xmlns="http://www.w3.org/1999/xhtml">
                  <p> Patient Dominique Ledner</p>           
                </div>
              </text>
              <identifier>
                <use value="usual"/>
                <type>
                  <coding>
                    <system
                            value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
                    <code value="MR"/>
                  </coding>
                </type>
                <system value="urn:oid:0.1.2.3.4.5.6.7"/>
                <value value="654321"/>
              </identifier>
              <active value="true"/>
              <name>
                <use value="official"/>
                <family value="Ledner"/>
                <given value="Dominique"/>
              </name>
              <gender value="male"/>
              <managingOrganization>
                <reference value="Organization/example-healthcare-org"/>
                <display value="Example Healthcare org"/>
              </managingOrganization>
            </Patient>
          </resource>
        </entry>
      </Bundle>
    </resource>
  </entry>
</Bundle>