Skip to content

MessageHeader Profile

Canonical../StructureDefinition/nexus-emr-core-messageheader
Statusdraft (experimental) · 1.26.0
BaseMessageHeader (constraint)
SourceFSH · JSON

Nexus EMR profile for MessageHeader -- the routing envelope on an eReferral message bundle, consumed by the gateway's operation-routing middleware. Infrastructure rather than clinical content: no effective date, and R4 gives it no identifier element. First pass: the event vocabulary is not settled.

Elements / Key elements

The working view: must-support, required, modifier and sliced elements from the effective (snapshot) definition.

Element Flags Card. Type Description & Constraints
MessageHeader 0..* Nexus EMR MessageHeader Core
Invariants: dom-2, dom-3, dom-4, dom-5, dom-6, messageheader-routable
meta 0..1 Meta Metadata about the resource
Invariants: ele-1
source S 0..1 uri Identifies EMR instance & pipeline version the resource came from i
Invariants: ele-1
implicitRules ?! 0..1 uri A set of rules under which this content was created i
Invariants: ele-1
text S 0..1 Narrative Narrative i
Invariants: ele-1
event[x] S 1..1 Coding, uri The event this message represents (the routing key) i
Binding: message-events (example)
Invariants: ele-1
destination S 0..* BackboneElement The intended receiver(s) i
Invariants: ele-1
endpoint S 1..1 url The receiver's endpoint i
Invariants: ele-1
sender S 0..1 Reference(Practitioner Profile | PractitionerRole Profile | Organization Profile) The organization or person responsible for the message content i
Invariants: ele-1
source S 1..1 BackboneElement The system that sent the message
Invariants: ele-1
name S 0..1 string Human-readable name of the sending system
Invariants: ele-1
endpoint S 1..1 url The sender's endpoint (where replies go) i
Invariants: ele-1
responsible S 0..1 Reference(Practitioner Profile | PractitionerRole Profile | Organization Profile) The party accountable for the message i
Invariants: ele-1
response S 0..1 BackboneElement Present when this message is a response to an earlier one
Invariants: ele-1
identifier S 1..1 id The id of the message being answered (R4 type id, NOT an Identifier) i
Invariants: ele-1
code S 1..1 code ok | transient-error | fatal-error i
Binding: response-code (required)
Invariants: ele-1
focus S 0..* Reference(Resource) The resource(s) this message concerns i
Invariants: ele-1