http://hl7.org/fhir/StructureDefinition/MessageHeader|4.0.1

The header for a message exchange that is either requesting or responding to an action. The reference(s) that are the subject of the action as well as other information related to the action are typically transmitted in a bundle in which the MessageHeader resource instance is the first resource in the bundle.
description: The header for a message exchange that is either requesting or responding to an action.  The reference(s) that are the subject of the action as well as other information related to the action are typically transmitted in a bundle in which the MessageHeader resource instance is the first resource in the bundle.
derivation: specialization
name: MessageHeader
type: MessageHeader
elements:
  response:
    short: If this is a reply to prior message
    isSummary: true
    index: 18
    elements:
      identifier: {short: Id of original message, isSummary: true, index: 19}
      code:
        short: ok | transient-error | fatal-error
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/response-code|4.0.1'}
        isSummary: true
        index: 20
      details: {short: Specific list of hints/warnings/errors, isSummary: true, index: 21}
    required: [identifier, code]
  definition: {short: Link to the definition for this message, isSummary: true, index: 23}
  enterer: {short: The source of the data entry, isSummary: true, index: 8}
  source:
    short: Message source application
    isSummary: true
    index: 10
    elements:
      name: {short: Name of system, isSummary: true, index: 11}
      software: {short: Name of software running the system, isSummary: true, index: 12}
      version: {short: Version of software running, isSummary: true, index: 13}
      contact: {short: Human contact for problems, isSummary: true, index: 14}
      endpoint: {short: Actual message source address or id, isSummary: true, index: 15}
    required: [endpoint]
  author: {short: The source of the decision, isSummary: true, index: 9}
  reason:
    short: Cause of event
    binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/message-reason-encounter'}
    isSummary: true
    index: 17
  responsible: {short: Final responsibility for event, isSummary: true, index: 16}
  event:
    short: Code for the event this message represents or link to event definition
    choices: []
    isSummary: true
    index: 1
  sender: {short: Real world sender of the message, isSummary: true, index: 7}
  focus: {short: The actual content of the message, array: true, isSummary: true, index: 22}
  destination:
    short: Message destination application(s)
    array: true
    isSummary: true
    index: 2
    elements:
      name: {short: Name of system, isSummary: true, index: 3}
      target: {short: Particular delivery destination within the destination, isSummary: true, index: 4}
      endpoint: {short: Actual destination address or id, isSummary: true, index: 5}
      receiver: {short: Intended \"real-world\" recipient for the data, isSummary: true, index: 6}
    required: [endpoint]
class: resource
kind: resource
url: http://hl7.org/fhir/StructureDefinition/MessageHeader
base: http://hl7.org/fhir/StructureDefinition/DomainResource
version: 4.0.1
required: [event, source]