MessageHeader
The FHIR resource MessageHeader is for sending and receiving applications purposes
MessageHeader | I | MessageHeader | |
id | Σ | 1..1 | string |
meta | Σ | 1..1 | Meta |
id | 0..1 | string | |
extension | I | 0..* | Extension |
versionId | Σ | 0..1 | id |
lastUpdated | Σ | 0..1 | instant |
source | Σ | 0..1 | uri |
profile | Σ | 1..1 | canonical(StructureDefinition)Fixed Value |
security | Σ | 0..1 | CodingBinding |
tag | Σ | 0..1 | Coding |
implicitRules | Σ ?! | 0..1 | uri |
language | 0..1 | codeBinding | |
text | 0..1 | Narrative | |
contained | 0..1 | Resource | |
extension | I | 0..* | Extension |
modifierExtension | ?! I | 0..* | Extension |
event[x] | Σ | 1..1 | Fixed Value |
eventUri | uri | ||
destination | Σ | 1..* | BackboneElement |
id | 0..1 | string | |
extension | I | 0..* | Extension |
modifierExtension | Σ ?! I | 0..* | Extension |
name | Σ | 1..1 | string |
target | Σ | 0..1 | Reference(Device) |
id | 0..0 | string | |
extension | I | 0..* | Extension |
reference | Σ I | 0..0 | string |
type | Σ | 0..0 | uriBinding |
identifier | Σ | 0..0 | Identifier |
display | Σ | 0..0 | string |
endpoint | Σ | 1..1 | url |
receiver | Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization) |
sender | Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization) |
enterer | Σ | 0..1 | Reference(Practitioner | PractitionerRole) |
author | Σ | 0..1 | Reference(Practitioner | PractitionerRole) |
source | Σ | 1..1 | BackboneElement |
id | 0..1 | string | |
extension | I | 0..* | Extension |
modifierExtension | Σ ?! I | 0..* | Extension |
name | Σ | 1..1 | stringFixed Value |
software | Σ | 0..1 | string |
version | Σ | 0..1 | string |
contact | Σ | 0..1 | ContactPoint |
endpoint | Σ | 1..1 | url |
responsible | Σ | 1..1 | Reference(Practitioner | PractitionerRole | Organization) |
id | 0..1 | string | |
extension | I | 0..* | Extension |
reference | Σ I | 1..1 | string |
type | Σ | 0..1 | uriBinding |
identifier | Σ | 0..1 | Identifier |
display | Σ | 0..1 | string |
reason | Σ | 0..1 | CodeableConcept |
id | 0..0 | string | |
extension | I | 0..* | Extension |
coding | Σ | 0..0 | Coding |
text | Σ | 0..1 | string |
response | Σ | 0..1 | BackboneElement |
id | 0..1 | string | |
extension | I | 0..* | Extension |
modifierExtension | Σ ?! I | 0..* | Extension |
identifier | Σ | 1..1 | id |
code | Σ | 1..1 | codeBinding |
details | Σ | 0..1 | Reference(OperationOutcome) |
focus | Σ | 1..1 | Reference(Resource) |
id | 0..1 | string | |
extension | I | 0..* | Extension |
reference | Σ I | 1..1 | string |
type | Σ | 0..1 | uriBinding |
identifier | Σ | 0..1 | Identifier |
display | Σ | 0..1 | string |
definition | Σ | 0..1 | canonical(MessageDefinition) |
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. |
Cardinality | 0...* |
Invariants |
|
Mappings |
|
MessageHeader.id | |
Definition | The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes. |
Cardinality | 1...1 |
Type | string |
Summary | True |
Comments | See Mappings |
Mappings |
|
MessageHeader.meta | |
Definition | The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource. |
Cardinality | 1...1 |
Type | Meta |
Summary | True |
Invariants |
|
MessageHeader.meta.id | |
Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. |
Cardinality | 0...1 |
Type | string |
Mappings |
|
MessageHeader.meta.extension | |
Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. |
Cardinality | 0...* |
Type | Extension |
Alias | extensions, user content |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Slicing | Unordered, Open, by url(Value) |
Invariants |
|
Mappings |
|
MessageHeader.meta.versionId | |
Definition | The version specific identifier, as it appears in the version portion of the URL. This value changes when the resource is created, updated, or deleted. |
Cardinality | 0...1 |
Type | id |
Summary | True |
Comments | Apply '2025.01.1' (This indicates FHIR changes onJan 2025). |
Invariants |
|
MessageHeader.meta.lastUpdated | |
Definition | When the resource last changed - e.g. when the version changed. |
Cardinality | 0...1 |
Type | instant |
Summary | True |
Comments | Updated: Relax the previously crossed-out elements. |
Invariants |
|
MessageHeader.meta.source | |
Definition | A uri that identifies the source system of the resource. This provides a minimal amount of [Provenance](provenance.html#) information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc. |
Cardinality | 0...1 |
Type | uri |
Summary | True |
Comments | In the provenance resource, this corresponds to Provenance.entity.what[x]. The exact use of the source (and the implied Provenance.entity.role) is left to implementer discretion. Only one nominated source is allowed; for additional provenance details, a full Provenance resource should be used. This element can be used to indicate where the current master source of a resource that has a canonical URL if the resource is no longer hosted at the canonical URL. |
Invariants |
|
MessageHeader.meta.profile | |
Definition | A list of profiles (references to [StructureDefinition](structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](structuredefinition-definitions.html#StructureDefinition.url). |
Cardinality | 1...1 |
Type | canonical(StructureDefinition) |
Summary | True |
Comments | Use 'http://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunizationdistribution/MessageHeader' |
Invariants |
|
Fixed Value | http://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunizationdistribution/MessageHeader |
MessageHeader.meta.security | |
Definition | Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure. |
Cardinality | 0...1 |
Type | Coding |
Binding | Security Labels from the Healthcare Privacy and Security Classification System. |
Summary | True |
Comments | The security labels can be updated without changing the stated version of the resource. The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored. |
Invariants |
|
MessageHeader.meta.tag | |
Definition | Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource. |
Cardinality | 0...1 |
Type | Coding |
Binding | Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". |
Summary | True |
Comments | The tags can be updated without changing the stated version of the resource. The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored. |
Invariants |
|
MessageHeader.implicitRules | |
Definition | A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc. |
Cardinality | 0...1 |
Type | uri |
Modifier | True |
Summary | True |
Comments | Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc. |
Invariants |
|
MessageHeader.language | |
Definition | The base language in which the resource is written. |
Cardinality | 0...1 |
Type | code |
Binding | A human language. |
Comments | Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute). |
Invariants |
|
MessageHeader.text | |
Definition | A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety. |
Cardinality | 0...1 |
Type | Narrative |
Alias | narrative, html, xhtml, display |
Comments | Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded information is added later. |
Invariants |
|
Mappings |
|
MessageHeader.contained | |
Definition | These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope. |
Cardinality | 0...1 |
Type | Resource |
Alias | inline resources, anonymous resources, contained resources |
Comments | This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels. |
Mappings |
|
MessageHeader.extension | |
Definition | May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. |
Cardinality | 0...* |
Type | Extension |
Alias | extensions, user content |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Invariants |
|
Mappings |
|
MessageHeader.modifierExtension | |
Definition | May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). |
Cardinality | 0...* |
Type | Extension |
Modifier | True |
Alias | extensions, user content |
Requirements | Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions. |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Invariants |
|
Mappings |
|
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 have the system value "http://terminology.hl7.org/CodeSystem/message-events". Alternatively uri to the EventDefinition. |
Cardinality | 1...1 |
Type | uri |
Binding | One of the message events defined as part of this version of FHIR. |
Summary | True |
Requirements | Drives the behavior associated with this message. |
Comments | Apply 'http://ehealth.bc.ca/panorama/fhir/MessageHeader' |
Invariants |
|
Fixed Value | http://ehealth.bc.ca/panorama/fhir/MessageHeader |
Mappings |
|
MessageHeader.destination | |
Definition | The destination application which the message is intended for. |
Cardinality | 1...* |
Type | BackboneElement |
Summary | True |
Requirements | Indicates where message is to be sent for routing purposes. Allows verification of "am I the intended recipient". |
Comments | There SHOULD be at least one destination, but in some circumstances, the source system is unaware of any particular destination system. |
Invariants |
|
Mappings |
|
MessageHeader.destination.id | |
Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. |
Cardinality | 0...1 |
Type | string |
Mappings |
|
MessageHeader.destination.extension | |
Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. |
Cardinality | 0...* |
Type | Extension |
Alias | extensions, user content |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Invariants |
|
Mappings |
|
MessageHeader.destination.modifierExtension | |
Definition | May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). |
Cardinality | 0...* |
Type | Extension |
Modifier | True |
Summary | True |
Alias | extensions, user content, modifiers |
Requirements | Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions. |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Invariants |
|
Mappings |
|
MessageHeader.destination.name | |
Definition | Human-readable name for the target system. |
Cardinality | 1...1 |
Type | string |
Summary | True |
Requirements | May be used for routing of response and/or to support audit. |
Comments | See Mappings |
Invariants |
|
Mappings |
|
MessageHeader.destination.target | |
Definition | Identifies the target end system in situations where the initial message transmission is to an intermediary system. |
Cardinality | 0...1 |
Type | Reference(Device) |
Summary | True |
Requirements | Supports multi-hop routing. |
Invariants |
|
Mappings |
|
MessageHeader.destination.target.id | |
Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. |
Cardinality | 0...0 |
Type | string |
Mappings |
|
MessageHeader.destination.target.extension | |
Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. |
Cardinality | 0...* |
Type | Extension |
Alias | extensions, user content |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Slicing | Unordered, Open, by url(Value) |
Invariants |
|
Mappings |
|
MessageHeader.destination.target.reference | |
Definition | A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources. |
Cardinality | 0...0 |
Type | string |
Summary | True |
Comments | Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server. |
Invariants |
|
Mappings |
|
MessageHeader.destination.target.type | |
Definition | The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent. The type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. "Patient" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources). |
Cardinality | 0...0 |
Type | uri |
Binding | Aa resource (or, for logical models, the URI of the logical model). |
Summary | True |
Comments | This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified. |
Invariants |
|
Mappings |
|
MessageHeader.destination.target.identifier | |
Definition | An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference. |
Cardinality | 0...0 |
Type | Identifier |
Summary | True |
Comments | When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it. Reference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any). |
Invariants |
|
Mappings |
|
MessageHeader.destination.target.display | |
Definition | Plain text narrative that identifies the resource in addition to the resource reference. |
Cardinality | 0...0 |
Type | string |
Summary | True |
Comments | This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it. |
Invariants |
|
Mappings |
|
MessageHeader.destination.endpoint | |
Definition | Indicates where the message should be routed to. |
Cardinality | 1...1 |
Type | url |
Summary | True |
Requirements | Identifies where to route the message. |
Comments | See Mappings |
Invariants |
|
Mappings |
|
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. |
Cardinality | 0...1 |
Type | Reference(Practitioner | PractitionerRole | Organization) |
Summary | True |
Requirements | Allows routing beyond just the application level. |
Invariants |
|
Mappings |
|
MessageHeader.sender | |
Definition | Identifies the sending system to allow the use of a trust relationship. |
Cardinality | 0...1 |
Type | Reference(Practitioner | PractitionerRole | Organization) |
Summary | True |
Requirements | Allows routing beyond just the application level. |
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. |
Invariants |
|
Mappings |
|
MessageHeader.enterer | |
Definition | The person or device that performed the data entry leading to this message. When there is more than one candidate, pick the most proximal to the message. Can provide other enterers in extensions. |
Cardinality | 0...1 |
Type | Reference(Practitioner | PractitionerRole) |
Summary | True |
Requirements | Need to know for audit/traceback requirements and possibly for authorization. |
Comments | Usually only for the request but can be used in a response. |
Invariants |
|
Mappings |
|
MessageHeader.author | |
Definition | The logical author of the message - the person or device that decided the described event should happen. When there is more than one candidate, pick the most proximal to the MessageHeader. Can provide other authors in extensions. |
Cardinality | 0...1 |
Type | Reference(Practitioner | PractitionerRole) |
Summary | True |
Requirements | Need to know for audit/traceback requirements and possibly for authorization. |
Comments | Usually only for the request but can be used in a response. |
Invariants |
|
Mappings |
|
MessageHeader.source | |
Definition | The source application from which this message originated - Provincial Immunization Registry (PIR) |
Cardinality | 1...1 |
Type | BackboneElement |
Summary | True |
Requirements | Allows replies, supports audit. |
Invariants |
|
Mappings |
|
MessageHeader.source.id | |
Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. |
Cardinality | 0...1 |
Type | string |
Mappings |
|
MessageHeader.source.extension | |
Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. |
Cardinality | 0...* |
Type | Extension |
Alias | extensions, user content |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Invariants |
|
Mappings |
|
MessageHeader.source.modifierExtension | |
Definition | May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). |
Cardinality | 0...* |
Type | Extension |
Modifier | True |
Summary | True |
Alias | extensions, user content, modifiers |
Requirements | Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions. |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Invariants |
|
Mappings |
|
MessageHeader.source.name | |
Definition | Human-readable name for the source system. |
Cardinality | 1...1 |
Type | string |
Summary | True |
Requirements | May be used to support audit. |
Comments | Hardcode as "PIR Immz" |
Invariants |
|
Fixed Value | PIR Immz |
Mappings |
|
MessageHeader.source.software | |
Definition | May include configuration or other information useful in debugging. |
Cardinality | 0...1 |
Type | string |
Summary | True |
Requirements | Supports audit and possibly interface engine behavior. |
Invariants |
|
Mappings |
|
MessageHeader.source.version | |
Definition | Can convey versions of multiple systems in situations where a message passes through multiple hands. |
Cardinality | 0...1 |
Type | string |
Summary | True |
Requirements | Supports audit and possibly interface engine behavior. |
Invariants |
|
Mappings |
|
MessageHeader.source.contact | |
Definition | An e-mail, phone, website or other contact point to use to resolve issues with message communications. |
Cardinality | 0...1 |
Type | ContactPoint |
Summary | True |
Requirements | Allows escalation of technical issues. |
Invariants |
|
Mappings |
|
MessageHeader.source.endpoint | |
Definition | Identifies the routing target to send acknowledgements to. |
Cardinality | 1...1 |
Type | url |
Summary | True |
Requirements | Identifies where to send responses, may influence security permissions. |
Comments | See Mappings |
Invariants |
|
Mappings |
|
MessageHeader.responsible | |
Definition | The Panorama Organizational Unit and/or Client Health Region (CHR) 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. |
Cardinality | 1...1 |
Type | Reference(Practitioner | PractitionerRole | Organization) |
Summary | True |
Requirements | Need to know for audit/traceback requirements and possibly for authorization. |
Comments | See Mappings |
Invariants |
|
Mappings |
|
MessageHeader.responsible.id | |
Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. |
Cardinality | 0...1 |
Type | string |
Mappings |
|
MessageHeader.responsible.extension | |
Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. |
Cardinality | 0...* |
Type | Extension |
Alias | extensions, user content |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Slicing | Unordered, Open, by url(Value) |
Invariants |
|
Mappings |
|
MessageHeader.responsible.reference | |
Definition | A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources. |
Cardinality | 1...1 |
Type | string |
Summary | True |
Comments | fullURL of Panorama + 'Organization' + (PIR Org ID). |
Invariants |
|
Mappings |
|
MessageHeader.responsible.type | |
Definition | The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent. The type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. "Patient" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources). |
Cardinality | 0...1 |
Type | uri |
Binding | Aa resource (or, for logical models, the URI of the logical model). |
Summary | True |
Comments | This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified. |
Invariants |
|
Mappings |
|
MessageHeader.responsible.identifier | |
Definition | An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference. |
Cardinality | 0...1 |
Type | Identifier |
Summary | True |
Comments | When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it. Reference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any). |
Invariants |
|
Mappings |
|
MessageHeader.responsible.display | |
Definition | Plain text narrative that identifies the resource in addition to the resource reference. |
Cardinality | 0...1 |
Type | string |
Summary | True |
Comments | This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it. |
Invariants |
|
Mappings |
|
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. |
Cardinality | 0...1 |
Type | CodeableConcept |
Binding | Reason for event occurrence. |
Summary | True |
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. |
Comments | See Mappings. List of event type(s) in alphabetical which have been triggered, also can be applied for filtering purposes. |
Invariants |
|
Mappings |
|
MessageHeader.reason.id | |
Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. |
Cardinality | 0...0 |
Type | string |
Mappings |
|
MessageHeader.reason.extension | |
Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. |
Cardinality | 0...* |
Type | Extension |
Alias | extensions, user content |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Slicing | Unordered, Open, by url(Value) |
Invariants |
|
Mappings |
|
MessageHeader.reason.coding | |
Definition | A reference to a code defined by a terminology system. |
Cardinality | 0...0 |
Type | Coding |
Summary | True |
Requirements | Allows for alternative encodings within a code system, and translations to other code systems. |
Comments | Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true. |
Invariants |
|
Mappings |
|
MessageHeader.reason.text | |
Definition | A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user. |
Cardinality | 0...1 |
Type | string |
Summary | True |
Requirements | The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source. |
Comments | To be applied if IDS message contains only Forecasting data only. See Mappings. |
Invariants |
|
Mappings |
|
MessageHeader.response | |
Definition | Information about the message that this message is a response to. Only present if this message is a response. |
Cardinality | 0...1 |
Type | BackboneElement |
Summary | True |
Invariants |
|
Mappings |
|
MessageHeader.response.id | |
Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. |
Cardinality | 0...1 |
Type | string |
Mappings |
|
MessageHeader.response.extension | |
Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. |
Cardinality | 0...* |
Type | Extension |
Alias | extensions, user content |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Invariants |
|
Mappings |
|
MessageHeader.response.modifierExtension | |
Definition | May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). |
Cardinality | 0...* |
Type | Extension |
Modifier | True |
Summary | True |
Alias | extensions, user content, modifiers |
Requirements | Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions. |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Invariants |
|
Mappings |
|
MessageHeader.response.identifier | |
Definition | The MessageHeader.id of the message to which this message is a response. |
Cardinality | 1...1 |
Type | id |
Summary | True |
Requirements | Allows receiver to know what message is being responded to. |
Invariants |
|
Mappings |
|
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. |
Cardinality | 1...1 |
Type | code |
Binding | The kind of response to a message. |
Summary | True |
Requirements | Allows the sender of the acknowledge message to know if the request was successful or if action is needed. |
Comments | This is a generic response to the request message. Specific data for the response will be found in MessageHeader.focus. |
Invariants |
|
Mappings |
|
MessageHeader.response.details | |
Definition | Full details of any issues found in the message. |
Cardinality | 0...1 |
Type | Reference(OperationOutcome) |
Summary | True |
Requirements | Allows the sender of the message to determine what the specific issues are. |
Comments | This SHALL be contained in the bundle. If any of the issues are errors, the response code SHALL be an error. |
Invariants |
|
Mappings |
|
MessageHeader.focus | |
Definition | The actual data of the message all related to a specific patient. |
Cardinality | 1...1 |
Type | Reference(Resource) |
Summary | True |
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. |
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. |
Invariants |
|
Mappings |
|
MessageHeader.focus.id | |
Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. |
Cardinality | 0...1 |
Type | string |
Mappings |
|
MessageHeader.focus.extension | |
Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. |
Cardinality | 0...* |
Type | Extension |
Alias | extensions, user content |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
Slicing | Unordered, Open, by url(Value) |
Invariants |
|
Mappings |
|
MessageHeader.focus.reference | |
Definition | A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources. |
Cardinality | 1...1 |
Type | string |
Summary | True |
Comments | fullURL of Panorama + 'Patient' + PIR Client ID |
Invariants |
|
Mappings |
|
MessageHeader.focus.type | |
Definition | The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent. The type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. "Patient" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources). |
Cardinality | 0...1 |
Type | uri |
Binding | Aa resource (or, for logical models, the URI of the logical model). |
Summary | True |
Comments | This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified. |
Invariants |
|
Mappings |
|
MessageHeader.focus.identifier | |
Definition | An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference. |
Cardinality | 0...1 |
Type | Identifier |
Summary | True |
Comments | When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it. Reference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any). |
Invariants |
|
Mappings |
|
MessageHeader.focus.display | |
Definition | Plain text narrative that identifies the resource in addition to the resource reference. |
Cardinality | 0...1 |
Type | string |
Summary | True |
Comments | This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it. |
Invariants |
|
Mappings |
|
MessageHeader.definition | |
Definition | Permanent link to the MessageDefinition for this message. |
Cardinality | 0...1 |
Type | canonical(MessageDefinition) |
Summary | True |
Requirements | Allows sender to define the expected contents of the message. |
Invariants |
|
Mappings |
|
<StructureDefinition xmlns="http://hl7.org/fhir"> <id value="f1b0af3a-c77c-4357-be00-acc45bdee22b" /> <meta> <versionId value="18" /> <lastUpdated value="2025-01-24T22:57:28.3446711+00:00" /> </meta> <url value="http://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunizationdistribution/MessageHeader" /> <name value="MessageHeader" /> <status value="draft" /> <date value="2022-03-12T00:03:09.9131217+00:00" /> <fhirVersion value="4.0.1" /> <mapping> <identity value="v2" /> <uri value="http://hl7.org/v2" /> <name value="HL7 v2 Mapping" /> </mapping> <mapping> <identity value="rim" /> <uri value="http://hl7.org/v3" /> <name value="RIM Mapping" /> </mapping> <mapping> <identity value="w5" /> <uri value="http://hl7.org/fhir/fivews" /> <name value="FiveWs Pattern Mapping" /> </mapping> <kind value="resource" /> <abstract value="false" /> <type value="MessageHeader" /> <baseDefinition value="http://hl7.org/fhir/StructureDefinition/MessageHeader" /> <derivation value="constraint" /> <differential> <element id="MessageHeader.id"> <path value="MessageHeader.id" /> <short value="Same unique GUID as resourceBundle.id" /> <comment value="See Mappings" /> <min value="1" /> <mapping> <identity value="bundleID" /> <map value="(bundle.id)" /> </mapping> </element> <element id="MessageHeader.meta"> <path value="MessageHeader.meta" /> <min value="1" /> </element> <element id="MessageHeader.meta.versionId"> <path value="MessageHeader.meta.versionId" /> <comment value="Apply '2025.01.1' (This indicates FHIR changes onJan 2025)." /> </element> <element id="MessageHeader.meta.lastUpdated"> <path value="MessageHeader.meta.lastUpdated" /> <comment value="Updated: Relax the previously crossed-out elements." /> </element> <element id="MessageHeader.meta.profile"> <path value="MessageHeader.meta.profile" /> <comment value="Use 'http://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunizationdistribution/MessageHeader'" /> <min value="1" /> <max value="1" /> <fixedCanonical value="http://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunizationdistribution/MessageHeader" /> </element> <element id="MessageHeader.meta.security"> <path value="MessageHeader.meta.security" /> <max value="1" /> </element> <element id="MessageHeader.meta.tag"> <path value="MessageHeader.meta.tag" /> <max value="1" /> </element> <element id="MessageHeader.contained"> <path value="MessageHeader.contained" /> <max value="1" /> </element> <element id="MessageHeader.event[x]"> <path value="MessageHeader.event[x]" /> <comment value="Apply 'http://ehealth.bc.ca/panorama/fhir/MessageHeader'" /> <type> <code value="uri" /> </type> <fixedUri value="http://ehealth.bc.ca/panorama/fhir/MessageHeader" /> </element> <element id="MessageHeader.destination"> <path value="MessageHeader.destination" /> <min value="1" /> </element> <element id="MessageHeader.destination.name"> <path value="MessageHeader.destination.name" /> <comment value="See Mappings" /> <min value="1" /> <mapping> <identity value="dest-fha" /> <map value="fha" /> </mapping> <mapping> <identity value="dest-HealthGateway" /> <map value="hgwy" /> </mapping> <mapping> <identity value="dest-iha" /> <map value="iha" /> </mapping> <mapping> <identity value="dest-nha" /> <map value="nha" /> <comment value="NHA COVID Immunization Record" /> </mapping> <mapping> <identity value="dest-vcha" /> <map value="vcha" /> </mapping> <mapping> <identity value="dest-viha" /> <map value="viha" /> <comment value="VIHA COVID Immunization Record" /> </mapping> <mapping> <identity value="dest-indigenousHealthOrganization" /> <map value="indigenous health organizations" /> </mapping> </element> <element id="MessageHeader.destination.target.id"> <path value="MessageHeader.destination.target.id" /> <max value="0" /> </element> <element id="MessageHeader.destination.target.reference"> <path value="MessageHeader.destination.target.reference" /> <max value="0" /> </element> <element id="MessageHeader.destination.target.type"> <path value="MessageHeader.destination.target.type" /> <max value="0" /> </element> <element id="MessageHeader.destination.target.identifier"> <path value="MessageHeader.destination.target.identifier" /> <max value="0" /> </element> <element id="MessageHeader.destination.target.display"> <path value="MessageHeader.destination.target.display" /> <max value="0" /> </element> <element id="MessageHeader.destination.endpoint"> <path value="MessageHeader.destination.endpoint" /> <comment value="See Mappings" /> <mapping> <identity value="dest-fha" /> <map value="[id-system-local-base]/ca-bc-fha" /> </mapping> <mapping> <identity value="dest-HealthGateway" /> <map value="[id-system-local-base]/ca-bc-healthGateway" /> </mapping> <mapping> <identity value="dest-iha" /> <map value="[id-system-local-base]/ca-bc-iha" /> </mapping> <mapping> <identity value="dest-nha" /> <map value="[id-system-local-base]/ca-bc-nha" /> <comment value="NHA endpoint" /> </mapping> <mapping> <identity value="dest-OutOfBC" /> <map value="[id-system-local-base]/ca-bc-outofprovince" /> </mapping> <mapping> <identity value="dest-vch" /> <map value="[id-system-local-base]/ca-bc-vcha" /> </mapping> <mapping> <identity value="dest-viha" /> <map value="[id-system-local-base]/ca-bc-viha" /> <comment value="VIHA endpoint" /> </mapping> <mapping> <identity value="dest-IndigenousHealthOrganizations" /> <map value="[id-system-local-base]/ca-bc-indigenous health organizations" /> </mapping> </element> <element id="MessageHeader.source"> <path value="MessageHeader.source" /> <short value="Message source application - PIR" /> <definition value="The source application from which this message originated - Provincial Immunization Registry (PIR)" /> </element> <element id="MessageHeader.source.name"> <path value="MessageHeader.source.name" /> <comment value="Hardcode as "PIR Immz"" /> <min value="1" /> <fixedString value="PIR Immz" /> </element> <element id="MessageHeader.source.endpoint"> <path value="MessageHeader.source.endpoint" /> <comment value="See Mappings" /> <mapping> <identity value="PIRtest" /> <map value="https://pir.healthbc.org/test/immunization" /> <comment value="PIR Test Environment" /> </mapping> <mapping> <identity value="PIRprod" /> <map value="https://pir.healthbc.org/prod/immunization" /> <comment value="PIR Prod ennvironment" /> </mapping> </element> <element id="MessageHeader.responsible"> <path value="MessageHeader.responsible" /> <short value="The Panorama Organizational Unit and/or Client Health Region which submitted the message contents." /> <definition value="The Panorama Organizational Unit and/or Client Health Region (CHR) 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." /> <comment value="See Mappings" /> <min value="1" /> <mapping> <identity value="source-PIR" /> <map value="CHR or Submitter's Org" /> </mapping> <mapping> <identity value="source-PHSL" /> <map value="clientHealthRegion" /> </mapping> </element> <element id="MessageHeader.responsible.reference"> <path value="MessageHeader.responsible.reference" /> <comment value="fullURL of Panorama + 'Organization' + (PIR Org ID)." /> <min value="1" /> </element> <element id="MessageHeader.reason"> <path value="MessageHeader.reason" /> <comment value="See Mappings. List of event type(s) in alphabetical which have been triggered, also can be applied for filtering purposes." /> <mapping> <identity value="trigger-CHR" /> <map value="CLIENT" /> </mapping> <mapping> <identity value="trriger-humanSubject" /> <map value="CLIENT" /> </mapping> <mapping> <identity value="trigger-riskFactor" /> <map value="RISKFACTOR" /> </mapping> <mapping> <identity value="trigger-subjectName" /> <map value="CLIENT" /> </mapping> <mapping> <identity value="trigger-consent" /> <map value="CONSENT" /> </mapping> <mapping> <identity value="trigger-consentComment" /> <map value="CONSENTCMMT" /> </mapping> <mapping> <identity value="trigger-AEFI" /> <map value="AEFI" /> </mapping> <mapping> <identity value="trigger-aefiRecommendation" /> <map value="AEFI" /> </mapping> <mapping> <identity value="trigger-invalidVaccine" /> <map value="IMMS" /> </mapping> <mapping> <identity value="trigger-deferral" /> <map value="DEFERRAL" /> </mapping> <mapping> <identity value="trigger-forecast" /> <map value="FORECAST" /> </mapping> <mapping> <identity value="trigger-vaccination" /> <map value="IMMS" /> </mapping> <mapping> <identity value="trigger-immsComments-IC" /> <map value="IMMSCMMTIC" /> </mapping> <mapping> <identity value="trigger-immsComments-SC" /> <map value="IMMSCMMTSC" /> </mapping> <mapping> <identity value="trigger-immsComments-DF" /> <map value="IMMSCMMTDF" /> </mapping> <mapping> <identity value="trigger-immsComments-AE" /> <map value="IMMSCMMTAE" /> </mapping> <mapping> <identity value="trigger-specialConsideration" /> <map value="SPECIALCONSID" /> </mapping> <mapping> <identity value="trigger-vaccineStatus" /> <map value="IMMS" /> </mapping> <mapping> <identity value="trigger-clientMerge" /> <map value="CLIENT" /> </mapping> </element> <element id="MessageHeader.reason.id"> <path value="MessageHeader.reason.id" /> <max value="0" /> </element> <element id="MessageHeader.reason.coding"> <path value="MessageHeader.reason.coding" /> <max value="0" /> </element> <element id="MessageHeader.reason.text"> <path value="MessageHeader.reason.text" /> <comment value="To be applied if IDS message contains only Forecasting data only. See Mappings." /> <mapping> <identity value="source-PIR" /> <map value="Forecast" /> </mapping> </element> <element id="MessageHeader.focus"> <path value="MessageHeader.focus" /> <short value="The actual content of the message related to a specific patient." /> <definition value="The actual data of the message all related to a specific patient." /> <min value="1" /> <max value="1" /> </element> <element id="MessageHeader.focus.reference"> <path value="MessageHeader.focus.reference" /> <comment value="fullURL of Panorama + 'Patient' + PIR Client ID" /> <min value="1" /> </element> </differential> </StructureDefinition>
{ "resourceType": "StructureDefinition", "id": "f1b0af3a-c77c-4357-be00-acc45bdee22b", "meta": { "versionId": "18", "lastUpdated": "01/24/2025 22:57:28" }, "url": "http://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunizationdistribution/MessageHeader", "name": "MessageHeader", "status": "draft", "date": "03/12/2022 00:03:09", "fhirVersion": "4.0.1", "mapping": [ { "identity": "v2", "uri": "http://hl7.org/v2", "name": "HL7 v2 Mapping" }, { "identity": "rim", "uri": "http://hl7.org/v3", "name": "RIM Mapping" }, { "identity": "w5", "uri": "http://hl7.org/fhir/fivews", "name": "FiveWs Pattern Mapping" } ], "kind": "resource", "abstract": false, "type": "MessageHeader", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MessageHeader", "derivation": "constraint", "differential": { "element": [ { "id": "MessageHeader.id", "path": "MessageHeader.id", "short": "Same unique GUID as resourceBundle.id", "comment": "See Mappings", "min": 1, "mapping": [ { "identity": "bundleID", "map": "(bundle.id)" } ] }, { "id": "MessageHeader.meta", "path": "MessageHeader.meta", "min": 1 }, { "id": "MessageHeader.meta.versionId", "path": "MessageHeader.meta.versionId", "comment": "Apply '2025.01.1' (This indicates FHIR changes onJan 2025)." }, { "id": "MessageHeader.meta.lastUpdated", "path": "MessageHeader.meta.lastUpdated", "comment": "Updated: Relax the previously crossed-out elements." }, { "id": "MessageHeader.meta.profile", "path": "MessageHeader.meta.profile", "comment": "Use 'http://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunizationdistribution/MessageHeader'", "min": 1, "max": "1", "fixedCanonical": "http://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunizationdistribution/MessageHeader" }, { "id": "MessageHeader.meta.security", "path": "MessageHeader.meta.security", "max": "1" }, { "id": "MessageHeader.meta.tag", "path": "MessageHeader.meta.tag", "max": "1" }, { "id": "MessageHeader.contained", "path": "MessageHeader.contained", "max": "1" }, { "id": "MessageHeader.event[x]", "path": "MessageHeader.event[x]", "comment": "Apply 'http://ehealth.bc.ca/panorama/fhir/MessageHeader'", "type": [ { "code": "uri" } ], "fixedUri": "http://ehealth.bc.ca/panorama/fhir/MessageHeader" }, { "id": "MessageHeader.destination", "path": "MessageHeader.destination", "min": 1 }, { "id": "MessageHeader.destination.name", "path": "MessageHeader.destination.name", "comment": "See Mappings", "min": 1, "mapping": [ { "identity": "dest-fha", "map": "fha" }, { "identity": "dest-HealthGateway", "map": "hgwy" }, { "identity": "dest-iha", "map": "iha" }, { "identity": "dest-nha", "map": "nha", "comment": "NHA COVID Immunization Record" }, { "identity": "dest-vcha", "map": "vcha" }, { "identity": "dest-viha", "map": "viha", "comment": "VIHA COVID Immunization Record" }, { "identity": "dest-indigenousHealthOrganization", "map": "indigenous health organizations" } ] }, { "id": "MessageHeader.destination.target.id", "path": "MessageHeader.destination.target.id", "max": "0" }, { "id": "MessageHeader.destination.target.reference", "path": "MessageHeader.destination.target.reference", "max": "0" }, { "id": "MessageHeader.destination.target.type", "path": "MessageHeader.destination.target.type", "max": "0" }, { "id": "MessageHeader.destination.target.identifier", "path": "MessageHeader.destination.target.identifier", "max": "0" }, { "id": "MessageHeader.destination.target.display", "path": "MessageHeader.destination.target.display", "max": "0" }, { "id": "MessageHeader.destination.endpoint", "path": "MessageHeader.destination.endpoint", "comment": "See Mappings", "mapping": [ { "identity": "dest-fha", "map": "[id-system-local-base]/ca-bc-fha" }, { "identity": "dest-HealthGateway", "map": "[id-system-local-base]/ca-bc-healthGateway" }, { "identity": "dest-iha", "map": "[id-system-local-base]/ca-bc-iha" }, { "identity": "dest-nha", "map": "[id-system-local-base]/ca-bc-nha", "comment": "NHA endpoint" }, { "identity": "dest-OutOfBC", "map": "[id-system-local-base]/ca-bc-outofprovince" }, { "identity": "dest-vch", "map": "[id-system-local-base]/ca-bc-vcha" }, { "identity": "dest-viha", "map": "[id-system-local-base]/ca-bc-viha", "comment": "VIHA endpoint" }, { "identity": "dest-IndigenousHealthOrganizations", "map": "[id-system-local-base]/ca-bc-indigenous health organizations" } ] }, { "id": "MessageHeader.source", "path": "MessageHeader.source", "short": "Message source application - PIR", "definition": "The source application from which this message originated - Provincial Immunization Registry (PIR)" }, { "id": "MessageHeader.source.name", "path": "MessageHeader.source.name", "comment": "Hardcode as \"PIR Immz\"", "min": 1, "fixedString": "PIR Immz" }, { "id": "MessageHeader.source.endpoint", "path": "MessageHeader.source.endpoint", "comment": "See Mappings", "mapping": [ { "identity": "PIRtest", "map": "https://pir.healthbc.org/test/immunization", "comment": "PIR Test Environment" }, { "identity": "PIRprod", "map": "https://pir.healthbc.org/prod/immunization", "comment": "PIR Prod ennvironment" } ] }, { "id": "MessageHeader.responsible", "path": "MessageHeader.responsible", "short": "The Panorama Organizational Unit and/or Client Health Region which submitted the message contents.", "definition": "The Panorama Organizational Unit and/or Client Health Region (CHR) 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.", "comment": "See Mappings", "min": 1, "mapping": [ { "identity": "source-PIR", "map": "CHR or Submitter's Org" }, { "identity": "source-PHSL", "map": "clientHealthRegion" } ] }, { "id": "MessageHeader.responsible.reference", "path": "MessageHeader.responsible.reference", "comment": "fullURL of Panorama + 'Organization' + (PIR Org ID).", "min": 1 }, { "id": "MessageHeader.reason", "path": "MessageHeader.reason", "comment": "See Mappings. List of event type(s) in alphabetical which have been triggered, also can be applied for filtering purposes.", "mapping": [ { "identity": "trigger-CHR", "map": "CLIENT" }, { "identity": "trriger-humanSubject", "map": "CLIENT" }, { "identity": "trigger-riskFactor", "map": "RISKFACTOR" }, { "identity": "trigger-subjectName", "map": "CLIENT" }, { "identity": "trigger-consent", "map": "CONSENT" }, { "identity": "trigger-consentComment", "map": "CONSENTCMMT" }, { "identity": "trigger-AEFI", "map": "AEFI" }, { "identity": "trigger-aefiRecommendation", "map": "AEFI" }, { "identity": "trigger-invalidVaccine", "map": "IMMS" }, { "identity": "trigger-deferral", "map": "DEFERRAL" }, { "identity": "trigger-forecast", "map": "FORECAST" }, { "identity": "trigger-vaccination", "map": "IMMS" }, { "identity": "trigger-immsComments-IC", "map": "IMMSCMMTIC" }, { "identity": "trigger-immsComments-SC", "map": "IMMSCMMTSC" }, { "identity": "trigger-immsComments-DF", "map": "IMMSCMMTDF" }, { "identity": "trigger-immsComments-AE", "map": "IMMSCMMTAE" }, { "identity": "trigger-specialConsideration", "map": "SPECIALCONSID" }, { "identity": "trigger-vaccineStatus", "map": "IMMS" }, { "identity": "trigger-clientMerge", "map": "CLIENT" } ] }, { "id": "MessageHeader.reason.id", "path": "MessageHeader.reason.id", "max": "0" }, { "id": "MessageHeader.reason.coding", "path": "MessageHeader.reason.coding", "max": "0" }, { "id": "MessageHeader.reason.text", "path": "MessageHeader.reason.text", "comment": "To be applied if IDS message contains only Forecasting data only. See Mappings.", "mapping": [ { "identity": "source-PIR", "map": "Forecast" } ] }, { "id": "MessageHeader.focus", "path": "MessageHeader.focus", "short": "The actual content of the message related to a specific patient.", "definition": "The actual data of the message all related to a specific patient.", "min": 1, "max": "1" }, { "id": "MessageHeader.focus.reference", "path": "MessageHeader.focus.reference", "comment": "fullURL of Panorama + 'Patient' + PIR Client ID", "min": 1 } ] } }