Electronic Case Reporting (eCR)
3.0.0-ballot - STU 3 Ballot United States of America flag

Electronic Case Reporting (eCR), published by HL7 International / Public Health. This guide is not an authorized publication; it is the continuous build for version 3.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/case-reporting/ and changes regularly. See the Directory of published versions

Resource Profile: eCR MessageHeader

Official URL: http://hl7.org/fhir/us/ecr/StructureDefinition/ecr-messageheader Version: 3.0.0-ballot
Standards status: Trial-use Maturity Level: 3 Computable Name: ECRMessageHeader
Other Identifiers: OID:2.16.840.1.113883.4.642.40.46.42.1

This MessageHeader profile represents metadata to support the eCR messaging paradigm.

This profile requires data elements destination, sender, source, and focus. The focus of an eCR MessageHeader profile is either an eICR Document Bundle or an RR Document Bundle.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description Differentials, Snapshots, and other representations.

NameFlagsCard.TypeDescription & Constraints    Filter: doco
MessageHeader 0..* USPublicHealthMessageHeader US Public Health MessageHeader
MessageHeader.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
MessageHeader.Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
MessageHeader.Slices for extension.extension:dataEncrypted This element must be supported. 0..1 boolean US Public Health Data Encrypted Extension
URL: http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-data-encrypted-extension
MessageHeader.Slices for extension.extension:messageProcessingCategory This element must be supported. 1..1 code US Public Health Message Processing Category Extension
URL: http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-message-processing-category-extension
Binding: MessageSignificanceCategory (required): MessageSignificanceCategory
MessageHeader.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
MessageHeader.event[x] This element must be supported. This element is included in summaries. 1..1 Coding Types of messages being sent between systems
Binding: US Public Health ValueSet - Message Types (extensible): US Public Health Message Types ValueSet
MessageHeader.destination This element must be supported. This element is included in summaries. 1..* BackboneElement Message destination application(s)
MessageHeader.destination.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MessageHeader.destination.endpoint This element must be supported. This element is included in summaries. 1..1 url Actual destination address or id
MessageHeader.sender This element must be supported. This element is included in summaries. 1..1 Reference(US Public Health Organization) Real world sender of the message
MessageHeader.source This element must be supported. This element is included in summaries. 1..1 BackboneElement Message source application
MessageHeader.source.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MessageHeader.source.name This element must be supported. This element is included in summaries. 0..1 string Name of system
MessageHeader.source.contact This element must be supported. This element is included in summaries. 0..1 ContactPoint Human contact for problems
MessageHeader.source.endpoint This element must be supported. This element is included in summaries. 1..1 url Actual message source address or id
MessageHeader.reason This element must be supported. This element is included in summaries. 1..1 CodeableConcept The named event that gave rise to the message
Binding: US Public Health ValueSet - TriggerDefinition NamedEvent (extensible): US Public Health TriggerDefinition NamedEvents
MessageHeader.response This element must be supported. This element is included in summaries. 0..1 BackboneElement If this is a reply to prior message
MessageHeader.response.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MessageHeader.response.identifier This element must be supported. This element is included in summaries. 1..1 id Id of original message
MessageHeader.response.code This element must be supported. This element is included in summaries. 1..1 code ok | transient-error | fatal-error
Binding: ResponseType (required): The kind of response to a message.
MessageHeader.response.details This element must be supported. This element is included in summaries. 0..1 Reference(OperationOutcome) Specific list of hints/warnings/errors
MessageHeader.focus This element must be supported. This element is included in summaries. 1..1 Reference(eICR Document Bundle | RR Document Bundle) The actual content of the message

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MessageHeader.event[x] Base extensible US Public Health ValueSet - Message Types 📦2.0.0-snapshot US Public Health Profiles Library v2.0
MessageHeader.reason Base extensible US Public Health ValueSet - TriggerDefinition NamedEvent 📦2.0.0-snapshot US Public Health Profiles Library v2.0
MessageHeader.response.​code Base required ResponseType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error MessageHeader If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MessageHeader If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MessageHeader If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error MessageHeader If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MessageHeader A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from USPublicHealthMessageHeader

NameFlagsCard.TypeDescription & Constraints    Filter: doco
MessageHeader 0..* USPublicHealthMessageHeader US Public Health MessageHeader
MessageHeader.source
MessageHeader.source.name This element must be supported. 0..1 string Name of system
MessageHeader.source.contact This element must be supported. 0..1 ContactPoint Human contact for problems
MessageHeader.focus This element must be supported. 1..1 Reference(eICR Document Bundle | RR Document Bundle) The actual content of the message

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: doco
MessageHeader 0..* USPublicHealthMessageHeader US Public Health MessageHeader
MessageHeader.id This element is included in summaries. 0..1 id Logical id of this artifact
MessageHeader.meta This element is included in summaries. 0..1 Meta Metadata about the resource
MessageHeader.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
MessageHeader.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
MessageHeader.text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
MessageHeader.contained 0..* Resource Contained, inline Resources
MessageHeader.Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
MessageHeader.Slices for extension.extension:dataEncrypted This element must be supported. 0..1 boolean US Public Health Data Encrypted Extension
URL: http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-data-encrypted-extension
MessageHeader.Slices for extension.extension:messageProcessingCategory This element must be supported. 1..1 code US Public Health Message Processing Category Extension
URL: http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-message-processing-category-extension
Binding: MessageSignificanceCategory (required): MessageSignificanceCategory
MessageHeader.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
MessageHeader.event[x] This element must be supported. This element is included in summaries. 1..1 Coding Types of messages being sent between systems
Binding: US Public Health ValueSet - Message Types (extensible): US Public Health Message Types ValueSet
MessageHeader.destination This element must be supported. This element is included in summaries. 1..* BackboneElement Message destination application(s)
MessageHeader.destination.id 0..1 string Unique id for inter-element referencing
MessageHeader.destination.extension 0..* Extension Additional content defined by implementations
MessageHeader.destination.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MessageHeader.destination.name This element is included in summaries. 0..1 string Name of system
MessageHeader.destination.target This element is included in summaries. 0..1 Reference(Device) Particular delivery destination within the destination
MessageHeader.destination.endpoint This element must be supported. This element is included in summaries. 1..1 url Actual destination address or id
MessageHeader.destination.receiver This element is included in summaries. 0..1 Reference(Practitioner | PractitionerRole | Organization) Intended "real-world" recipient for the data
MessageHeader.sender This element must be supported. This element is included in summaries. 1..1 Reference(US Public Health Organization) Real world sender of the message
MessageHeader.enterer This element is included in summaries. 0..1 Reference(Practitioner | PractitionerRole) The source of the data entry
MessageHeader.author This element is included in summaries. 0..1 Reference(Practitioner | PractitionerRole) The source of the decision
MessageHeader.source This element must be supported. This element is included in summaries. 1..1 BackboneElement Message source application
MessageHeader.source.id 0..1 string Unique id for inter-element referencing
MessageHeader.source.extension 0..* Extension Additional content defined by implementations
MessageHeader.source.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MessageHeader.source.name This element must be supported. This element is included in summaries. 0..1 string Name of system
MessageHeader.source.software This element is included in summaries. 0..1 string Name of software running the system
MessageHeader.source.version This element is included in summaries. 0..1 string Version of software running
MessageHeader.source.contact This element must be supported. This element is included in summaries. 0..1 ContactPoint Human contact for problems
MessageHeader.source.endpoint This element must be supported. This element is included in summaries. 1..1 url Actual message source address or id
MessageHeader.responsible This element is included in summaries. 0..1 Reference(Practitioner | PractitionerRole | Organization) Final responsibility for event
MessageHeader.reason This element must be supported. This element is included in summaries. 1..1 CodeableConcept The named event that gave rise to the message
Binding: US Public Health ValueSet - TriggerDefinition NamedEvent (extensible): US Public Health TriggerDefinition NamedEvents
MessageHeader.response This element must be supported. This element is included in summaries. 0..1 BackboneElement If this is a reply to prior message
MessageHeader.response.id 0..1 string Unique id for inter-element referencing
MessageHeader.response.extension 0..* Extension Additional content defined by implementations
MessageHeader.response.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MessageHeader.response.identifier This element must be supported. This element is included in summaries. 1..1 id Id of original message
MessageHeader.response.code This element must be supported. This element is included in summaries. 1..1 code ok | transient-error | fatal-error
Binding: ResponseType (required): The kind of response to a message.
MessageHeader.response.details This element must be supported. This element is included in summaries. 0..1 Reference(OperationOutcome) Specific list of hints/warnings/errors
MessageHeader.focus This element must be supported. This element is included in summaries. 1..1 Reference(eICR Document Bundle | RR Document Bundle) The actual content of the message
MessageHeader.definition This element is included in summaries. 0..1 canonical(MessageDefinition) Link to the definition for this message

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MessageHeader.language Base preferred Common Languages 📍4.0.1 FHIR Std.
MessageHeader.event[x] Base extensible US Public Health ValueSet - Message Types 📦2.0.0-snapshot US Public Health Profiles Library v2.0
MessageHeader.reason Base extensible US Public Health ValueSet - TriggerDefinition NamedEvent 📦2.0.0-snapshot US Public Health Profiles Library v2.0
MessageHeader.response.​code Base required ResponseType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error MessageHeader If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MessageHeader If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MessageHeader If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error MessageHeader If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MessageHeader A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from USPublicHealthMessageHeader

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
MessageHeader 0..* USPublicHealthMessageHeader US Public Health MessageHeader
MessageHeader.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
MessageHeader.Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
MessageHeader.Slices for extension.extension:dataEncrypted This element must be supported. 0..1 boolean US Public Health Data Encrypted Extension
URL: http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-data-encrypted-extension
MessageHeader.Slices for extension.extension:messageProcessingCategory This element must be supported. 1..1 code US Public Health Message Processing Category Extension
URL: http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-message-processing-category-extension
Binding: MessageSignificanceCategory (required): MessageSignificanceCategory
MessageHeader.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
MessageHeader.event[x] This element must be supported. This element is included in summaries. 1..1 Coding Types of messages being sent between systems
Binding: US Public Health ValueSet - Message Types (extensible): US Public Health Message Types ValueSet
MessageHeader.destination This element must be supported. This element is included in summaries. 1..* BackboneElement Message destination application(s)
MessageHeader.destination.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MessageHeader.destination.endpoint This element must be supported. This element is included in summaries. 1..1 url Actual destination address or id
MessageHeader.sender This element must be supported. This element is included in summaries. 1..1 Reference(US Public Health Organization) Real world sender of the message
MessageHeader.source This element must be supported. This element is included in summaries. 1..1 BackboneElement Message source application
MessageHeader.source.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MessageHeader.source.name This element must be supported. This element is included in summaries. 0..1 string Name of system
MessageHeader.source.contact This element must be supported. This element is included in summaries. 0..1 ContactPoint Human contact for problems
MessageHeader.source.endpoint This element must be supported. This element is included in summaries. 1..1 url Actual message source address or id
MessageHeader.reason This element must be supported. This element is included in summaries. 1..1 CodeableConcept The named event that gave rise to the message
Binding: US Public Health ValueSet - TriggerDefinition NamedEvent (extensible): US Public Health TriggerDefinition NamedEvents
MessageHeader.response This element must be supported. This element is included in summaries. 0..1 BackboneElement If this is a reply to prior message
MessageHeader.response.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MessageHeader.response.identifier This element must be supported. This element is included in summaries. 1..1 id Id of original message
MessageHeader.response.code This element must be supported. This element is included in summaries. 1..1 code ok | transient-error | fatal-error
Binding: ResponseType (required): The kind of response to a message.
MessageHeader.response.details This element must be supported. This element is included in summaries. 0..1 Reference(OperationOutcome) Specific list of hints/warnings/errors
MessageHeader.focus This element must be supported. This element is included in summaries. 1..1 Reference(eICR Document Bundle | RR Document Bundle) The actual content of the message

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MessageHeader.event[x] Base extensible US Public Health ValueSet - Message Types 📦2.0.0-snapshot US Public Health Profiles Library v2.0
MessageHeader.reason Base extensible US Public Health ValueSet - TriggerDefinition NamedEvent 📦2.0.0-snapshot US Public Health Profiles Library v2.0
MessageHeader.response.​code Base required ResponseType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error MessageHeader If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MessageHeader If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MessageHeader If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error MessageHeader If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MessageHeader A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

Differential View

This structure is derived from USPublicHealthMessageHeader

NameFlagsCard.TypeDescription & Constraints    Filter: doco
MessageHeader 0..* USPublicHealthMessageHeader US Public Health MessageHeader
MessageHeader.source
MessageHeader.source.name This element must be supported. 0..1 string Name of system
MessageHeader.source.contact This element must be supported. 0..1 ContactPoint Human contact for problems
MessageHeader.focus This element must be supported. 1..1 Reference(eICR Document Bundle | RR Document Bundle) The actual content of the message

doco Documentation for this format

Snapshot ViewView

NameFlagsCard.TypeDescription & Constraints    Filter: doco
MessageHeader 0..* USPublicHealthMessageHeader US Public Health MessageHeader
MessageHeader.id This element is included in summaries. 0..1 id Logical id of this artifact
MessageHeader.meta This element is included in summaries. 0..1 Meta Metadata about the resource
MessageHeader.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
MessageHeader.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
MessageHeader.text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
MessageHeader.contained 0..* Resource Contained, inline Resources
MessageHeader.Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
MessageHeader.Slices for extension.extension:dataEncrypted This element must be supported. 0..1 boolean US Public Health Data Encrypted Extension
URL: http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-data-encrypted-extension
MessageHeader.Slices for extension.extension:messageProcessingCategory This element must be supported. 1..1 code US Public Health Message Processing Category Extension
URL: http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-message-processing-category-extension
Binding: MessageSignificanceCategory (required): MessageSignificanceCategory
MessageHeader.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
MessageHeader.event[x] This element must be supported. This element is included in summaries. 1..1 Coding Types of messages being sent between systems
Binding: US Public Health ValueSet - Message Types (extensible): US Public Health Message Types ValueSet
MessageHeader.destination This element must be supported. This element is included in summaries. 1..* BackboneElement Message destination application(s)
MessageHeader.destination.id 0..1 string Unique id for inter-element referencing
MessageHeader.destination.extension 0..* Extension Additional content defined by implementations
MessageHeader.destination.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MessageHeader.destination.name This element is included in summaries. 0..1 string Name of system
MessageHeader.destination.target This element is included in summaries. 0..1 Reference(Device) Particular delivery destination within the destination
MessageHeader.destination.endpoint This element must be supported. This element is included in summaries. 1..1 url Actual destination address or id
MessageHeader.destination.receiver This element is included in summaries. 0..1 Reference(Practitioner | PractitionerRole | Organization) Intended "real-world" recipient for the data
MessageHeader.sender This element must be supported. This element is included in summaries. 1..1 Reference(US Public Health Organization) Real world sender of the message
MessageHeader.enterer This element is included in summaries. 0..1 Reference(Practitioner | PractitionerRole) The source of the data entry
MessageHeader.author This element is included in summaries. 0..1 Reference(Practitioner | PractitionerRole) The source of the decision
MessageHeader.source This element must be supported. This element is included in summaries. 1..1 BackboneElement Message source application
MessageHeader.source.id 0..1 string Unique id for inter-element referencing
MessageHeader.source.extension 0..* Extension Additional content defined by implementations
MessageHeader.source.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MessageHeader.source.name This element must be supported. This element is included in summaries. 0..1 string Name of system
MessageHeader.source.software This element is included in summaries. 0..1 string Name of software running the system
MessageHeader.source.version This element is included in summaries. 0..1 string Version of software running
MessageHeader.source.contact This element must be supported. This element is included in summaries. 0..1 ContactPoint Human contact for problems
MessageHeader.source.endpoint This element must be supported. This element is included in summaries. 1..1 url Actual message source address or id
MessageHeader.responsible This element is included in summaries. 0..1 Reference(Practitioner | PractitionerRole | Organization) Final responsibility for event
MessageHeader.reason This element must be supported. This element is included in summaries. 1..1 CodeableConcept The named event that gave rise to the message
Binding: US Public Health ValueSet - TriggerDefinition NamedEvent (extensible): US Public Health TriggerDefinition NamedEvents
MessageHeader.response This element must be supported. This element is included in summaries. 0..1 BackboneElement If this is a reply to prior message
MessageHeader.response.id 0..1 string Unique id for inter-element referencing
MessageHeader.response.extension 0..* Extension Additional content defined by implementations
MessageHeader.response.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MessageHeader.response.identifier This element must be supported. This element is included in summaries. 1..1 id Id of original message
MessageHeader.response.code This element must be supported. This element is included in summaries. 1..1 code ok | transient-error | fatal-error
Binding: ResponseType (required): The kind of response to a message.
MessageHeader.response.details This element must be supported. This element is included in summaries. 0..1 Reference(OperationOutcome) Specific list of hints/warnings/errors
MessageHeader.focus This element must be supported. This element is included in summaries. 1..1 Reference(eICR Document Bundle | RR Document Bundle) The actual content of the message
MessageHeader.definition This element is included in summaries. 0..1 canonical(MessageDefinition) Link to the definition for this message

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MessageHeader.language Base preferred Common Languages 📍4.0.1 FHIR Std.
MessageHeader.event[x] Base extensible US Public Health ValueSet - Message Types 📦2.0.0-snapshot US Public Health Profiles Library v2.0
MessageHeader.reason Base extensible US Public Health ValueSet - TriggerDefinition NamedEvent 📦2.0.0-snapshot US Public Health Profiles Library v2.0
MessageHeader.response.​code Base required ResponseType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error MessageHeader If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MessageHeader If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MessageHeader If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error MessageHeader If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MessageHeader A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from USPublicHealthMessageHeader

 

Other representations of profile: CSV, Excel, Schematron