Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: R5 Ballot - see ballot notes). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

Example MessageHeader/3a0707d3-549e-4467-b8b8-5a2ab3800efe (XML)

Infrastructure And Messaging Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Practitioner

Raw XML (canonical form + also see XML Format Specification)

A response to a request to link two patients (id = "3a0707d3-549e-4467-b8b8-5a2ab3800efe")

<?xml version="1.0" encoding="UTF-8"?>

<Bundle xmlns="http://hl7.org/fhir">
  <id value="3a0707d3-549e-4467-b8b8-5a2ab3800efe"/> 
  <type value="message"/> 
  <timestamp value="2015-07-14T11:15:33+10:00"/> 
  <entry> 
    <fullUrl value="urn:uuid:d9d296d8-5afd-42e1-a0ce-3344e0e003ed"/> 
    <resource> 
      <MessageHeader> 
        <id value="caf609cf-c3a7-4be3-a3aa-356b9bb69d4f"/> 
        <text> 
          <status value="generated"/> 
          <div xmlns="http://www.w3.org/1999/xhtml">
             
            <p> This message is a request to link Patient records 654321 (Patient Donald DUCK @
               Acme Healthcare, Inc) and 123456 (Patient Donald D DUCK @ Acme Healthcare, Inc)</p> 
           
          </div> 
        </text> 
        <eventCoding> 
          <system value="http://example.org/fhir/message-events"/> 
          <code value="patient-link"/> 
        </eventCoding>         
        <source> 
          <endpoint value="http://acme.com/ehr/fhir"/> 
        </source> 
        <response> 
          <identifier> 
            <value value="efdd254b-0e09-4164-883e-35cf3871715f"/> 
          </identifier>  
          <code value="ok"/> 
          <details> 
            <reference value="OperationOutcome/03f9aa7d-b395-47b9-84e0-053678b6e4e3"/> 
          </details> 
        </response> 

      <!--    this message is posted to http://acme.com/ehr/fhir, 
             with an event 'link' to link 2 patient records, and nominates
             2 patients on the server    -->
        <focus> 
          <reference value="http://acme.com/ehr/fhir/Patient/pat1"/> 
        </focus> 
        <focus> 
          <reference value="http://acme.com/ehr/fhir/Patient/pat12"/> 
        </focus> 
      </MessageHeader> 
    </resource> 
  </entry> 
  <entry> 
    <fullUrl value="urn:uuid:03f9aa7d-b395-47b9-84e0-053678b6e4e3"/> 
    <resource> 
      <OperationOutcome> 
        <id value="03f9aa7d-b395-47b9-84e0-053678b6e4e3"/> 
        <text> 
          <status value="generated"/> 
          <div xmlns="http://www.w3.org/1999/xhtml">
            MPI approval rating: 80%
          </div> 
        </text> 
        <issue> 
          <severity value="information"/> 
          <code value="informational"/> 
          <details> 
            <text value="MPI approval rating: 80%"/> 
          </details> 
        </issue> 
      </OperationOutcome> 
    </resource>   
  </entry> 
  <entry> 
    <fullUrl value="http://acme.com/ehr/fhir/Patient/pat1"/> 
    <resource> 
      <Patient> 
        <id value="pat1"/> 
        <text> 
          <status value="generated"/> 
          <div xmlns="http://www.w3.org/1999/xhtml">
            
            <p> Patient Donald DUCK @ Acme Healthcare, Inc. MR = 654321</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="Donald"/> 
          <given value="Duck"/> 
        </name> 
        <gender value="male"/> 
        <contact> 
          <relationship> 
            <coding> 
              <system value="http://example.org/fhir/CodeSystem/patient-contact-relationship"/> 
              <code value="E"/> 
            </coding> 
          </relationship> 
          <organization> 
            <reference value="Organization/1"/> 
            <display value="Walt Disney Corporation"/> 
          </organization> 
        </contact> 
        <managingOrganization> 
          <reference value="Organization/1"/> 
          <display value="ACME Healthcare, Inc"/> 
        </managingOrganization> 
        <link> 
          <other> 
            <reference value="Patient/pat2"/> 
          </other> 
          <type value="seealso"/> 
        </link> 
      </Patient> 
    </resource> 
  </entry> 
  <entry> 
    <fullUrl value="http://acme.com/ehr/fhir/Patient/pat12"/> 
    <resource> 
      <Patient> 
        <id value="pat2"/> 
        <text> 
          <status value="generated"/> 
          <div xmlns="http://www.w3.org/1999/xhtml">
            
            <p> Patient Donald D DUCK @ Acme Healthcare, Inc. MR = 123456</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="123456"/> 
        </identifier> 
        <active value="true"/> 
        <name> 
          <use value="official"/> 
          <family value="Donald"/> 
          <given value="Duck"/> 
          <given value="D"/> 
        </name> 
        <gender value="other">
          <extension url="http://example.org/Profile/administrative-status">
            <valueCodeableConcept> 
              <coding> 
                <system value="http://terminology.hl7.org/CodeSystem/v2-0001"/> 
                <code value="A"/> 
                <display value="Ambiguous"/> 
              </coding> 
            </valueCodeableConcept> 
          </extension> 
        </gender> 
        <managingOrganization> 
          <reference value="Organization/1"/> 
          <display value="ACME Healthcare, Inc"/> 
        </managingOrganization> 
        <link> 
          <other> 
            <reference value="Patient/pat1"/> 
          </other> 
          <type value="seealso"/> 
        </link> 
      </Patient> 
    </resource> 
  </entry> 
</Bundle> 

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.