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

This page is part of the Making EHR Data MOre available for Research and Public Health (MedMorph) (v1.0.0: STU1 Release 1) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

: Example of a Reporting Bundle containing Message Header and Content Bundle - XML Representation

Raw xml | Download



<Bundle xmlns="http://hl7.org/fhir">
  <id value="reporting-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-reporting-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>