Skip to main content

MessageHeader

ResourceFoundation · OtherTrial useMaturity 4

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.

Tested supportFull test results →
Backends
PostgreSQLElasticsearch
Interactions
CreateReadUpdatePatchDelete
Search
14 of 14 parameters tested

Structure​

ElementCard.TypeDescription
event[x]RequiredΣ
1..1Coding | uriCode for the event this message represents or link to event definitionBinding (example): message-events
destinationΣ
0..*BackboneElementMessage destination application(s)
nameΣ
0..1stringName of system
targetΣ
0..1Reference(Device)Particular delivery destination within the destination
endpointRequiredΣ
1..1urlActual destination address or id
receiverΣ
0..1Reference(Practitioner | PractitionerRole | Organization)Intended "real-world" recipient for the data
senderΣ
0..1Reference(Practitioner | PractitionerRole | Organization)Real world sender of the message
entererΣ
0..1Reference(Practitioner | PractitionerRole)The source of the data entry
authorΣ
0..1Reference(Practitioner | PractitionerRole)The source of the decision
sourceRequiredΣ
1..1BackboneElementMessage source application
nameΣ
0..1stringName of system
softwareΣ
0..1stringName of software running the system
versionΣ
0..1stringVersion of software running
contactΣ
0..1ContactPointHuman contact for problems
endpointRequiredΣ
1..1urlActual message source address or id
responsibleΣ
0..1Reference(Practitioner | PractitionerRole | Organization)Final responsibility for event
reasonΣ
0..1CodeableConceptCause of eventBinding (example): message-reason-encounter
responseΣ
0..1BackboneElementIf this is a reply to prior message
identifierRequiredΣ
1..1idId of original message
codeRequiredΣ
1..1codeok | transient-error | fatal-errorBinding (required): response-code
detailsΣ
0..1Reference(OperationOutcome)Specific list of hints/warnings/errors
focusΣ
0..*Reference(Resource)The actual content of the message
definitionΣ
0..1canonical(MessageDefinition)Link to the definition for this message

Σ in _summary results · ?! modifier element · 1.. required · inherited elements in grey

Search parameters​

Query with GET [base]/MessageHeader?[parameter]=[value]. Type decides which modifiers and prefixes apply, see search features.

ParameterTypeDescriptionPGES
authorreference

The source of the decision

MessageHeader.author
codetoken

ok | transient-error | fatal-error

MessageHeader.response.code
destinationstring

Name of system

MessageHeader.destination.name
destination-uriuri

Actual destination address or id

MessageHeader.destination.endpoint
entererreference

The source of the data entry

MessageHeader.enterer
eventtoken

Code for the event this message represents or link to event definition

MessageHeader.event
focusreference

The actual content of the message

MessageHeader.focus
receiverreference

Intended "real-world" recipient for the data

MessageHeader.destination.receiver
response-idtoken

Id of original message

MessageHeader.response.identifier
responsiblereference

Final responsibility for event

MessageHeader.responsible
senderreference

Real world sender of the message

MessageHeader.sender
sourcestring

Name of system

MessageHeader.source.name
source-uriuri

Actual message source address or id

MessageHeader.source.endpoint
targetreference

Particular delivery destination within the destination

MessageHeader.destination.target

PG: PostgreSQL, ES: Elasticsearch. passes its TestScript checks, fails, not tested yet.

Common parameters on every resource (8)
_haste-health-authorreference

The author of the resource

_idtoken

Logical id of this artifact

_lastUpdateddate

When the resource version last changed

_profileuri

Profiles this resource claims to conform to

_securitytoken

Security Labels applied to this resource

_sourceuri

Identifies where the resource comes from

_tagtoken

Tags applied to this resource

_typetoken

Derived from the R4B Definition