Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

Example MessageHeader/1cbdfb97-5859-48a4-8301-d54eab818d68 (XML)

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

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

Jump past Narrative

A typical message header (id = "1cbdfb97-5859-48a4-8301-d54eab818d68")

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

<MessageHeader xmlns="http://hl7.org/fhir">
  <id value="1cbdfb97-5859-48a4-8301-d54eab818d68"/> 
  <text> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p> Update Person resource for Peter James CHALMERS (Jim), MRN: 12345 (Acme Healthcare)</p> 
    </div> 
  </text> 
  <eventCoding> 
    <system value="http://example.org/fhir/message-events"/> 
    <code value="admin-notify"/> 
  </eventCoding> 
  <destination> 
    <endpointUrl value="llp:10.11.12.14:5432"/> 
    <name value="Acme Message Gateway"/> 
      <!--   this is to indicate to the Acme Message Gateway that this particular message
     
       is intended for Practitioner "xcda"   -->
    <target> 
      <reference value="Device/example"/> 
    </target> 
    
    <receiver> 
      <reference value="http://acme.com/ehr/fhir/Practitioner/2323-33-4"/> 
    </receiver> 
  </destination> 
  <sender> 
    <reference value="Organization/1"/> 
  </sender> 
    <!--     <timestamp value="2012-01-04T09:10:14Z"/>   -->
  <author> 
    <reference value="Practitioner/example"/> 
  </author> 
  <source>  
    <endpointUrl value="llp:10.11.12.13:5432"/> 
    <name value="Acme Central Patient Registry"/> 
    <software value="FooBar Patient Manager"/> 
    <version value="3.1.45.AABB"/> 
    <contact> 
      <system value="phone"/> 
      <value value="+1 (555) 123 4567"/> 
    </contact> 
    
  </source> 
  <reason> 
    <coding> 
      <system value="http://terminology.hl7.org/CodeSystem/message-reasons-encounter"/> 
      <code value="admit"/> 
    </coding> 
  </reason> 
  <response> 
    <identifier> 
      <value value="5015fe84-8e76-4526-89d8-44b322e8d4fb"/> 
    </identifier> 
    <code value="ok"/> 
  </response> 
    <!--   Here's the payload, the resource that this admin-update concerns   -->
  <focus> 
    <reference value="Patient/example"/> 
  </focus> 
  <definition value="http:////acme.com/ehr/fhir/messagedefinition/patientrequest"/> 
</MessageHeader> 

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.