This
page
is
part
of
the
FHIR
Specification
(v4.0.1:
R4
(v5.0.0:
R5
-
Mixed
Normative
and
STU
)
).
This
is
the
current
published
version
in
it's
permanent
home
(it
will
always
be
available
at
this
URL).
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
Infrastructure
And
Messaging
Work
Group
|
Maturity Level : 4 | Trial Use | Security Category : Not Classified | Compartments : Device , Practitioner |
Detailed Descriptions for the elements in the MessageHeader resource.
| MessageHeader | |
| Element Id | MessageHeader |
| Definition |
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. |
| Short Display | A resource that describes a message that is exchanged between systems |
| Cardinality | 0..* |
| Type | DomainResource |
| Requirements |
Many implementations are not prepared to use REST and need a messaging based infrastructure. |
| Summary |
|
| MessageHeader.event[x] | |
| Element Id | MessageHeader.event[x] |
| Definition |
Code
that
identifies
the
event
this
message
represents
and
connects
it
with
its
definition.
Events
defined
as
part
of
the
FHIR
specification
|
| Short Display | Event code or link to EventDefinition |
| Cardinality | 1..1 |
| Terminology Binding |
|
| Type |
Coding
|
|
| [x] Note |
See
Choice
of
|
| Requirements |
Drives the behavior associated with this message. |
| Summary | true |
| Comments |
The time of the event will be found in the focus resource. The time of the message will be found in Bundle.timestamp . |
| MessageHeader.destination | |
| Element Id | MessageHeader.destination |
| Definition |
The destination application which the message is intended for. |
| Short Display | Message destination application(s) |
| Cardinality | 0..* |
| Requirements |
Indicates where message is to be sent for routing purposes. Allows verification of "am I the intended recipient". |
| Summary | true |
| Comments |
There SHOULD be at least one destination, but in some circumstances, the source system is unaware of any particular destination system. |
|
|
|
| Element Id |
|
| Definition |
|
| Short Display | Actual destination address or Endpoint resource |
| Cardinality | 0..1 |
| Type |
|
| [x] Note | See Choice of Datatypes for further information about how to use [x] |
| Requirements |
|
| Summary | true |
| Comments | The url may be a non-resolvable URI for systems that do not use standard network-based addresses. |
|
|
|
| Element Id |
|
| Definition |
|
| Short Display | Name of system |
| Cardinality | 0..1 |
| Type |
|
| Requirements |
|
| Summary | true |
|
|
|
| Element Id |
|
| Definition |
|
| Short Display | Particular delivery destination within the destination |
| Cardinality |
|
| Type |
|
| Requirements |
|
| Summary | true |
| MessageHeader.destination.receiver | |
| Element Id | MessageHeader.destination.receiver |
| Definition |
Allows data conveyed by a message to be addressed to a particular person or department when routing to a specific application isn't sufficient. |
| Short Display | Intended "real-world" recipient for the data |
| Cardinality | 0..1 |
| Type | Reference ( Practitioner | PractitionerRole | Organization ) |
| Requirements |
Allows routing beyond just the application level. |
| Summary | true |
| MessageHeader.sender | |
| Element Id | MessageHeader.sender |
| Definition |
Identifies the sending system to allow the use of a trust relationship. |
| Short Display | Real world sender of the message |
| Cardinality | 0..1 |
| Type | Reference ( Practitioner | PractitionerRole | Device | Organization ) |
| Requirements |
Allows routing beyond just the application level. |
| Summary | true |
| Comments |
Use case is for where a (trusted) sending system is responsible for multiple organizations, and therefore cannot differentiate based on source endpoint / authentication alone. Proposing to remove and rely on Task to convey this information. |
|
|
|
| Element Id |
|
| Definition |
The
|
| Short Display | The source of the decision |
| Cardinality | 0..1 |
| Type | Reference ( Practitioner | PractitionerRole | Device | Organization ) |
| Requirements |
Need to know for audit/traceback requirements and possibly for authorization. |
| Summary | true |
| Comments |
Usually
only
for
the
request
but
can
be
used
in
a
|
|
|
|
| Element Id |
|
| Definition |
The
|
|
|
|
|
|
|
| Requirements |
|
| Summary | true |
|
|
|
| Element Id |
|
| Definition |
|
| Short Display | Actual source address or Endpoint resource |
| Cardinality |
|
| Type | url | Reference ( Endpoint ) |
| [x] Note | See Choice of Datatypes for further information about how to use [x] |
| Requirements |
|
| Summary | true |
| Comments | The url may be a non-resolvable URI for systems that do not use standard network-based addresses. |
| MessageHeader.source.name | |
| Element Id | MessageHeader.source.name |
| Definition |
Human-readable name for the source system. |
| Short Display | Name of system |
| Cardinality | 0..1 |
| Type | string |
| Requirements |
May be used to support audit. |
| Summary | true |
| MessageHeader.source.software | |
| Element Id | MessageHeader.source.software |
| Definition |
May include configuration or other information useful in debugging. |
| Short Display | Name of software running the system |
| Cardinality | 0..1 |
| Type | string |
| Requirements |
Supports audit and possibly interface engine behavior. |
| Summary | true |
| MessageHeader.source.version | |
| Element Id | MessageHeader.source.version |
| Definition |
Can convey versions of multiple systems in situations where a message passes through multiple hands. |
| Short Display | Version of software running |
| Note | This is a business versionId, not a resource version id (see discussion ) |
| Cardinality | 0..1 |
| Type | string |
| Requirements |
Supports audit and possibly interface engine behavior. |
| Summary | true |
| MessageHeader.source.contact | |
| Element Id | MessageHeader.source.contact |
| Definition |
An e-mail, phone, website or other contact point to use to resolve issues with message communications. |
|
|
|
| Cardinality |
|
| Type |
|
| Requirements |
|
| Summary | true |
| MessageHeader.responsible | |
| Element Id | MessageHeader.responsible |
| Definition |
The person or organization that accepts overall responsibility for the contents of the message. The implication is that the message event happened under the policies of the responsible party. |
| Short Display | Final responsibility for event |
| Cardinality | 0..1 |
| Type | Reference ( Practitioner | PractitionerRole | Organization ) |
| Requirements |
Need to know for audit/traceback requirements and possibly for authorization. |
| Summary | true |
| Comments |
Usually
only
for
the
request
but
can
be
used
in
a
|
| MessageHeader.reason | |
| Element Id | MessageHeader.reason |
| Definition |
Coded indication of the cause for the event - indicates a reason for the occurrence of the event that is a focus of this message. |
| Short Display | Cause of event |
| Cardinality | 0..1 |
| Terminology Binding | Example Message Reason Codes ( Example ) |
| Type | CodeableConcept |
| Requirements |
Need to be able to track why resources are being changed and report in the audit log/history of the resource. May affect authorization. |
| Summary | true |
| MessageHeader.response | |
| Element Id | MessageHeader.response |
| Definition |
Information about the message that this message is a response to. Only present if this message is a response. |
| Short Display | If this is a reply to prior message |
| Cardinality | 0..1 |
| Summary | true |
| MessageHeader.response.identifier | |
| Element Id | MessageHeader.response.identifier |
| Definition |
The
|
| Short Display | Bundle.identifier of original message |
| Note | This is a business identifier, not a resource identifier (see discussion ) |
| Cardinality | 1..1 |
| Type |
|
| Requirements |
Allows receiver to know what message is being responded to. |
| Summary | true |
| MessageHeader.response.code | |
| Element Id | MessageHeader.response.code |
| Definition |
Code that identifies the type of response to the message - whether it was successful or not, and whether it should be resent or not. |
| Short Display | ok | transient-error | fatal-error |
| Cardinality | 1..1 |
| Terminology Binding |
|
| Type | code |
| Requirements |
Allows the sender of the acknowledge message to know if the request was successful or if action is needed. |
| Summary | true |
| Comments |
This is a generic response to the request message. Specific data for the response will be found in MessageHeader.focus. |
| MessageHeader.response.details | |
| Element Id | MessageHeader.response.details |
| Definition |
Full details of any issues found in the message. |
| Short Display | Specific list of hints/warnings/errors |
| Cardinality | 0..1 |
| Type | Reference ( OperationOutcome ) |
| Requirements |
Allows the sender of the message to determine what the specific issues are. |
| Summary | true |
| Comments |
This SHALL be contained in the bundle. If any of the issues are errors, the response code SHALL be an error. |
| MessageHeader.focus | |
| Element Id | MessageHeader.focus |
| Definition |
The actual data of the message - a reference to the root/focus class of the event. This is allowed to be a Parameters resource. |
| Short Display | The actual content of the message |
| Cardinality | 0..* |
| Type | Reference ( Any ) |
| Requirements |
Every message event is about actual data, a single resource, that is identified in the definition of the event, and perhaps some or all linked resources. |
| Summary | true |
| Comments |
The data is defined where the transaction type is defined. The transaction data is always included in the bundle that is the full message. Only the root resource is specified. The resources it references should be contained in the bundle but are not also listed here. Multiple repetitions are allowed to cater for merges and other situations with multiple focal targets. |
| MessageHeader.definition | |
| Element Id | MessageHeader.definition |
| Definition |
Permanent link to the MessageDefinition for this message. |
| Short Display | Link to the definition for this message |
| Cardinality | 0..1 |
| Type | canonical ( MessageDefinition ) |
| Requirements |
Allows sender to define the expected contents of the message. |
| Summary | true |