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 / Snapshot

The full effective definition: base MessageHeader with this profile's constraints applied.

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
id 0..1 http://hl7.org/fhirpath/System.String Logical id of this artifact i
meta 0..1 Meta Metadata about the resource
Invariants: ele-1
id 0..1 http://hl7.org/fhirpath/System.String Unique id for inter-element referencing
extension 0..* Extension Additional content defined by implementations i
Slicing: value:url (open)
Invariants: ele-1, ext-1
versionId 0..1 id Version specific identifier i
Invariants: ele-1
lastUpdated 0..1 instant When the resource version last changed i
Invariants: ele-1
source S 0..1 uri Identifies EMR instance & pipeline version the resource came from i
Invariants: ele-1
profile 0..* canonical Profiles this resource claims to conform to i
Invariants: ele-1
security 0..* Coding Security Labels applied to this resource i
Binding: security-labels (extensible)
Invariants: ele-1
tag 0..* Coding Tags applied to this resource i
Binding: common-tags (example)
Invariants: ele-1
implicitRules ?! 0..1 uri A set of rules under which this content was created i
Invariants: ele-1
language 0..1 code Language of the resource content i
Binding: languages (preferred)
Invariants: ele-1
text S 0..1 Narrative Narrative i
Invariants: ele-1
contained 0..* Resource Contained, inline Resources i
extension 0..* Extension Additional content defined by implementations i
Invariants: ele-1, ext-1
modifierExtension ?! 0..* Extension Extensions that cannot be ignored i
Invariants: ele-1, ext-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
id 0..1 http://hl7.org/fhirpath/System.String Unique id for inter-element referencing
extension 0..* Extension Additional content defined by implementations i
Invariants: ele-1, ext-1
modifierExtension ?! 0..* Extension Extensions that cannot be ignored even if unrecognized i
Invariants: ele-1, ext-1
name 0..1 string Name of system
Invariants: ele-1
target 0..1 Reference(Device) Particular delivery destination within the destination
Invariants: ele-1
endpoint S 1..1 url The receiver's endpoint i
Invariants: ele-1
receiver 0..1 Reference(Practitioner | PractitionerRole | Organization) Intended "real-world" recipient for the data
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
enterer 0..1 Reference(Practitioner | PractitionerRole) The source of the data entry i
Invariants: ele-1
author 0..1 Reference(Practitioner | PractitionerRole) The source of the decision i
Invariants: ele-1
source S 1..1 BackboneElement The system that sent the message
Invariants: ele-1
id 0..1 http://hl7.org/fhirpath/System.String Unique id for inter-element referencing
extension 0..* Extension Additional content defined by implementations i
Invariants: ele-1, ext-1
modifierExtension ?! 0..* Extension Extensions that cannot be ignored even if unrecognized i
Invariants: ele-1, ext-1
name S 0..1 string Human-readable name of the sending system
Invariants: ele-1
software 0..1 string Name of software running the system
Invariants: ele-1
version 0..1 string Version of software running
Invariants: ele-1
contact 0..1 ContactPoint Human contact for problems
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
reason 0..1 CodeableConcept Cause of event
Binding: message-reason-encounter (example)
Invariants: ele-1
response S 0..1 BackboneElement Present when this message is a response to an earlier one
Invariants: ele-1
id 0..1 http://hl7.org/fhirpath/System.String Unique id for inter-element referencing
extension 0..* Extension Additional content defined by implementations i
Invariants: ele-1, ext-1
modifierExtension ?! 0..* Extension Extensions that cannot be ignored even if unrecognized i
Invariants: ele-1, ext-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
details 0..1 Reference(OperationOutcome) Specific list of hints/warnings/errors i
Invariants: ele-1
focus S 0..* Reference(Resource) The resource(s) this message concerns i
Invariants: ele-1
definition 0..1 canonical Link to the definition for this message
Invariants: ele-1