DataStandardsWales-PSOM-MessageDefinition
Profile | Description | Status | Purpose | URL |
---|---|---|---|---|
Data Standards Wales PSOM MessageDefinition | A profile that defines the characteristics of a PSOM message that can be shared between systems, including the type of event that initiates the message. Instances of this resource provide information on the content to be transmitted and what response(s), if any, are permitted. | draft | This profile defines the base MessageDefinition structure for PSOM messages. Inspiration is taken from the NHSDigital-MessageDefinition profile (url = https://fhir.nhs.uk/StructureDefinition/NHSDigital-MessageDefinition). | https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PSOM-MessageDefinition |
Formal Views of Profile Content
- Snapshot View
- Differential View
- Hybrid View
- Mappings
MessageDefinition | I | MessageDefinition | There are no (further) constraints on this element Element IdMessageDefinition A resource that defines a type of message that can be exchanged between systems DefinitionDefines the characteristics of a message that can be shared between systems, including the type of event that initiates the message, the content to be transmitted and what response(s), if any, are permitted. This would be a MIF-level artifact.
| |
url | Σ I | 1..1 | uri | Element IdMessageDefinition.url Business Identifier for a given MessageDefinition DefinitionThe business identifier that is used to reference the MessageDefinition and is expected to be consistent from server to server. Allows the message definition to be referenced by a single globally unique identifier. Can be a urn:uuid: or a urn:oid: but real http: addresses are preferred. Multiple instances may share the same URL if they have a distinct version. The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author. Considerations for making this decision are found in Technical and Business Versions. In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the meta.source element to indicate where the current master source of the resource can be found.
|
identifier | Σ | 0..* | Identifier | There are no (further) constraints on this element Element IdMessageDefinition.identifier Primary key for the message definition on a given server DefinitionA formal identifier that is used to identify this message definition when it is represented in other formats, or referenced in a specification, model, design or an instance. Allows externally provided and/or usable business identifiers to be easily associated with the module. Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this message definition outside of FHIR, where it is not possible to use the logical URI.
|
version | Σ | 0..1 | string | There are no (further) constraints on this element Element IdMessageDefinition.version Business version of the message definition DefinitionThe identifier that is used to identify this version of the message definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the message definition author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. There may be different message definition instances that have the same identifier but different versions. The version can be appended to the url in a reference to allow a reference to a particular business version of the message definition with the format [url]|[version].
|
name | Σ I | 0..1 | string | There are no (further) constraints on this element Element IdMessageDefinition.name Name for this message definition (computer friendly) DefinitionA natural language name identifying the message definition. This name should be usable as an identifier for the module by machine processing applications such as code generation. Support human navigation and code generation. The name is not expected to be globally unique. The name should be a simple alphanumeric type name to ensure that it is machine-processing friendly.
|
title | Σ | 0..1 | string | There are no (further) constraints on this element Element IdMessageDefinition.title Name for this message definition (human friendly) DefinitionA short, descriptive, user-friendly title for the message definition. This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.
|
replaces | Σ | 0..* | canonical(MessageDefinition) | There are no (further) constraints on this element Element IdMessageDefinition.replaces Takes the place of DefinitionA MessageDefinition that is superseded by this definition.
|
status | Σ ?! | 1..1 | codeBinding | There are no (further) constraints on this element Element IdMessageDefinition.status draft | active | retired | unknown DefinitionThe status of this message definition. Enables tracking the life-cycle of the content. Allows filtering of message definitions that are appropriate for use versus not. The lifecycle status of an artifact. PublicationStatus (required)Constraints
|
experimental | Σ | 0..1 | boolean | There are no (further) constraints on this element Element IdMessageDefinition.experimental For testing purposes, not real usage DefinitionA Boolean value to indicate that this message definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage. Enables experimental content to be developed following the same lifecycle that would be used for a production-level message definition. Allows filtering of message definitions that are appropriate for use versus not.
|
date | Σ | 1..1 | dateTime | There are no (further) constraints on this element Element IdMessageDefinition.date Date last changed Alternate namesRevision Date DefinitionThe date (and optionally time) when the message definition was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the message definition changes. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the message definition. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.
|
publisher | Σ | 0..1 | string | There are no (further) constraints on this element Element IdMessageDefinition.publisher Name of the publisher (organization or individual) DefinitionThe name of the organization or individual that published the message definition. Helps establish the "authority/credibility" of the message definition. May also allow for contact. Usually an organization but may be an individual. The publisher (or steward) of the message definition is the organization or individual primarily responsible for the maintenance and upkeep of the message definition. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the message definition. This item SHOULD be populated unless the information is available from context.
|
contact | Σ | 0..* | ContactDetail | There are no (further) constraints on this element Element IdMessageDefinition.contact Contact details for the publisher DefinitionContact details to assist a user in finding and communicating with the publisher. May be a web site, an email address, a telephone number, etc.
|
description | Σ | 1..1 | markdown | There are no (further) constraints on this element Element IdMessageDefinition.description Natural language description of the message definition DefinitionA free text natural language description of the message definition from a consumer's perspective. This description can be used to capture details such as why the message definition was built, comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the message definition as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the message definition is presumed to be the predominant language in the place the message definition was created).
|
useContext | Σ | 0..* | UsageContext | There are no (further) constraints on this element Element IdMessageDefinition.useContext The context that the content is intended to support DefinitionThe content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate message definition instances. Assist in searching for appropriate content. When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.
|
jurisdiction | Σ | 0..* | CodeableConceptBinding | There are no (further) constraints on this element Element IdMessageDefinition.jurisdiction Intended jurisdiction for message definition (if applicable) DefinitionA legal or geographic region in which the message definition is intended to be used. It may be possible for the message definition to be used in jurisdictions other than those for which it was originally designed or intended. Countries and regions within which this artifact is targeted for use. Jurisdiction ValueSet (extensible)Constraints
|
purpose | Σ | 0..1 | markdown | There are no (further) constraints on this element Element IdMessageDefinition.purpose Why this message definition is defined DefinitionExplanation of why this message definition is needed and why it has been designed as it has. This element does not describe the usage of the message definition. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is. This may be used to point to source materials or specifications that drove the structure of this message definition.
|
copyright | 0..1 | markdown | There are no (further) constraints on this element Element IdMessageDefinition.copyright Use and/or publishing restrictions Alternate namesLicense, Restrictions DefinitionA copyright statement relating to the message definition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the message definition. Consumers must be able to determine any legal restrictions on the use of the message definition and/or its content. Systems are not required to have markdown support, so the text should be readable without markdown processing. The markdown syntax is GFM - see https://github.github.com/gfm/
| |
base | Σ | 0..1 | canonical(MessageDefinition) | There are no (further) constraints on this element Element IdMessageDefinition.base Definition this one is based on DefinitionThe MessageDefinition that is the basis for the contents of this resource.
|
parent | Σ | 0..* | canonical(ActivityDefinition | PlanDefinition) | There are no (further) constraints on this element Element IdMessageDefinition.parent Protocol/workflow this is part of DefinitionIdentifies a protocol or workflow that this MessageDefinition represents a step in. It should be possible to use MessageDefinition to describe a message to be used by certain steps in a particular protocol as part of a PlanDefinition or ActivityDefinition. canonical(ActivityDefinition | PlanDefinition) Constraints
|
event[x] | Σ | 1..1 | Binding | Element IdMessageDefinition.event[x] Event code or link to the EventDefinition DefinitionEvent code or link to the EventDefinition. NHS Wales Message Events DataStandardsWalesPSOMMessageEvent (required)Constraints
|
eventCoding | Coding | Data Type | ||
category | Σ | 0..1 | codeBinding | There are no (further) constraints on this element Element IdMessageDefinition.category consequence | currency | notification DefinitionThe impact of the content of the message. Note that FHIR strings SHALL NOT exceed 1MB in size The impact of the content of a message. MessageSignificanceCategory (required)Constraints
|
focus | Σ I | 0..* | BackboneElement | There are no (further) constraints on this element Element IdMessageDefinition.focus Resource(s) that are the subject of the event DefinitionIdentifies the resource (or resources) that are being addressed by the event. For example, the Encounter for an admit message or two Account records for a merge.
|
code | Σ | 1..1 | codeBinding | There are no (further) constraints on this element Element IdMessageDefinition.focus.code Type of resource DefinitionThe kind of resource that must be the focus for this message. Multiple focuses addressing different resources may occasionally occur. E.g. to link or unlink a resource from a particular account or encounter, etc. One of the resource types defined as part of this version of FHIR. ResourceType (required)Constraints
|
profile | 0..1 | canonical(StructureDefinition) | There are no (further) constraints on this element Element IdMessageDefinition.focus.profile Profile that must be adhered to by focus DefinitionA profile that reflects constraints for the focal resource (and potentially for related resources). This profile allows setting boundaries for what content must appear within the message bundle vs. outside based on the declared aggregation constraints on referenced resources on this and related profiles. This should be present for most message definitions. However, if the message focus is only a single resource and there is no need to include referenced resources or otherwise enforce the presence of particular elements, it can be omitted. canonical(StructureDefinition) Constraints
| |
min | Σ | 1..1 | unsignedInt | There are no (further) constraints on this element Element IdMessageDefinition.focus.min Minimum number of focuses of this type DefinitionIdentifies the minimum number of resources of this type that must be pointed to by a message in order for it to be valid against this MessageDefinition. 32 bit number; for values larger than this, use decimal
|
max | I | 0..1 | string | There are no (further) constraints on this element Element IdMessageDefinition.focus.max Maximum number of focuses of this type DefinitionIdentifies the maximum number of resources of this type that must be pointed to by a message in order for it to be valid against this MessageDefinition. Note that FHIR strings SHALL NOT exceed 1MB in size
|
responseRequired | 0..1 | codeBinding | There are no (further) constraints on this element Element IdMessageDefinition.responseRequired always | on-error | never | on-success DefinitionDeclare at a message definition level whether a response is required or only upon error or success, or never. This enables the capability currently available through MSH-16 (Application Level acknowledgement) in HL7 Version 2 to declare at a message instance level whether a response is required or only upon error or success, or never. HL7-defined table of codes which identify conditions under which acknowledgments are required to be returned in response to a message. messageheader-response-request (required)Constraints
General always Mappings
| |
allowedResponse | 0..* | BackboneElement | There are no (further) constraints on this element Element IdMessageDefinition.allowedResponse Responses to this message DefinitionIndicates what types of messages may be sent as an application-level response to this message. This indicates an application level response to "close" a transaction implicit in a particular request message. To define a complete workflow scenario, look to the [[PlanDefinition]] resource which allows the definition of complex orchestrations, conditionality, etc.
| |
message | 1..1 | canonical(MessageDefinition) | There are no (further) constraints on this element Element IdMessageDefinition.allowedResponse.message Reference to allowed message definition response DefinitionA reference to the message definition that must be adhered to by this supported response.
| |
situation | 0..1 | markdown | There are no (further) constraints on this element Element IdMessageDefinition.allowedResponse.situation When should this response be used DefinitionProvides a description of the circumstances in which this response should be used (as opposed to one of the alternative responses). Systems are not required to have markdown support, so the text should be readable without markdown processing. The markdown syntax is GFM - see https://github.github.com/gfm/
| |
graph | 0..* | canonical(GraphDefinition) | There are no (further) constraints on this element Element IdMessageDefinition.graph Canonical reference to a GraphDefinition DefinitionCanonical reference to a GraphDefinition. If a URL is provided, it is the canonical reference to a GraphDefinition that it controls what resources are to be added to the bundle when building the document. The GraphDefinition can also specify profiles that apply to the various resources.
|
MessageDefinition | I | MessageDefinition | There are no (further) constraints on this element Element IdMessageDefinition A resource that defines a type of message that can be exchanged between systems DefinitionDefines the characteristics of a message that can be shared between systems, including the type of event that initiates the message, the content to be transmitted and what response(s), if any, are permitted. This would be a MIF-level artifact.
| |
url | Σ I | 1..1 | uri | Element IdMessageDefinition.url Business Identifier for a given MessageDefinition DefinitionThe business identifier that is used to reference the MessageDefinition and is expected to be consistent from server to server. Allows the message definition to be referenced by a single globally unique identifier. Can be a urn:uuid: or a urn:oid: but real http: addresses are preferred. Multiple instances may share the same URL if they have a distinct version. The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author. Considerations for making this decision are found in Technical and Business Versions. In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the meta.source element to indicate where the current master source of the resource can be found.
|
identifier | Σ | 0..* | Identifier | There are no (further) constraints on this element Element IdMessageDefinition.identifier Primary key for the message definition on a given server DefinitionA formal identifier that is used to identify this message definition when it is represented in other formats, or referenced in a specification, model, design or an instance. Allows externally provided and/or usable business identifiers to be easily associated with the module. Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this message definition outside of FHIR, where it is not possible to use the logical URI.
|
version | Σ | 0..1 | string | There are no (further) constraints on this element Element IdMessageDefinition.version Business version of the message definition DefinitionThe identifier that is used to identify this version of the message definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the message definition author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. There may be different message definition instances that have the same identifier but different versions. The version can be appended to the url in a reference to allow a reference to a particular business version of the message definition with the format [url]|[version].
|
name | Σ I | 0..1 | string | There are no (further) constraints on this element Element IdMessageDefinition.name Name for this message definition (computer friendly) DefinitionA natural language name identifying the message definition. This name should be usable as an identifier for the module by machine processing applications such as code generation. Support human navigation and code generation. The name is not expected to be globally unique. The name should be a simple alphanumeric type name to ensure that it is machine-processing friendly.
|
title | Σ | 0..1 | string | There are no (further) constraints on this element Element IdMessageDefinition.title Name for this message definition (human friendly) DefinitionA short, descriptive, user-friendly title for the message definition. This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.
|
replaces | Σ | 0..* | canonical(MessageDefinition) | There are no (further) constraints on this element Element IdMessageDefinition.replaces Takes the place of DefinitionA MessageDefinition that is superseded by this definition.
|
status | Σ ?! | 1..1 | codeBinding | There are no (further) constraints on this element Element IdMessageDefinition.status draft | active | retired | unknown DefinitionThe status of this message definition. Enables tracking the life-cycle of the content. Allows filtering of message definitions that are appropriate for use versus not. The lifecycle status of an artifact. PublicationStatus (required)Constraints
|
experimental | Σ | 0..1 | boolean | There are no (further) constraints on this element Element IdMessageDefinition.experimental For testing purposes, not real usage DefinitionA Boolean value to indicate that this message definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage. Enables experimental content to be developed following the same lifecycle that would be used for a production-level message definition. Allows filtering of message definitions that are appropriate for use versus not.
|
date | Σ | 1..1 | dateTime | There are no (further) constraints on this element Element IdMessageDefinition.date Date last changed Alternate namesRevision Date DefinitionThe date (and optionally time) when the message definition was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the message definition changes. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the message definition. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.
|
publisher | Σ | 0..1 | string | There are no (further) constraints on this element Element IdMessageDefinition.publisher Name of the publisher (organization or individual) DefinitionThe name of the organization or individual that published the message definition. Helps establish the "authority/credibility" of the message definition. May also allow for contact. Usually an organization but may be an individual. The publisher (or steward) of the message definition is the organization or individual primarily responsible for the maintenance and upkeep of the message definition. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the message definition. This item SHOULD be populated unless the information is available from context.
|
contact | Σ | 0..* | ContactDetail | There are no (further) constraints on this element Element IdMessageDefinition.contact Contact details for the publisher DefinitionContact details to assist a user in finding and communicating with the publisher. May be a web site, an email address, a telephone number, etc.
|
description | Σ | 1..1 | markdown | There are no (further) constraints on this element Element IdMessageDefinition.description Natural language description of the message definition DefinitionA free text natural language description of the message definition from a consumer's perspective. This description can be used to capture details such as why the message definition was built, comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the message definition as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the message definition is presumed to be the predominant language in the place the message definition was created).
|
useContext | Σ | 0..* | UsageContext | There are no (further) constraints on this element Element IdMessageDefinition.useContext The context that the content is intended to support DefinitionThe content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate message definition instances. Assist in searching for appropriate content. When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.
|
jurisdiction | Σ | 0..* | CodeableConceptBinding | There are no (further) constraints on this element Element IdMessageDefinition.jurisdiction Intended jurisdiction for message definition (if applicable) DefinitionA legal or geographic region in which the message definition is intended to be used. It may be possible for the message definition to be used in jurisdictions other than those for which it was originally designed or intended. Countries and regions within which this artifact is targeted for use. Jurisdiction ValueSet (extensible)Constraints
|
purpose | Σ | 0..1 | markdown | There are no (further) constraints on this element Element IdMessageDefinition.purpose Why this message definition is defined DefinitionExplanation of why this message definition is needed and why it has been designed as it has. This element does not describe the usage of the message definition. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is. This may be used to point to source materials or specifications that drove the structure of this message definition.
|
copyright | 0..1 | markdown | There are no (further) constraints on this element Element IdMessageDefinition.copyright Use and/or publishing restrictions Alternate namesLicense, Restrictions DefinitionA copyright statement relating to the message definition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the message definition. Consumers must be able to determine any legal restrictions on the use of the message definition and/or its content. Systems are not required to have markdown support, so the text should be readable without markdown processing. The markdown syntax is GFM - see https://github.github.com/gfm/
| |
base | Σ | 0..1 | canonical(MessageDefinition) | There are no (further) constraints on this element Element IdMessageDefinition.base Definition this one is based on DefinitionThe MessageDefinition that is the basis for the contents of this resource.
|
parent | Σ | 0..* | canonical(ActivityDefinition | PlanDefinition) | There are no (further) constraints on this element Element IdMessageDefinition.parent Protocol/workflow this is part of DefinitionIdentifies a protocol or workflow that this MessageDefinition represents a step in. It should be possible to use MessageDefinition to describe a message to be used by certain steps in a particular protocol as part of a PlanDefinition or ActivityDefinition. canonical(ActivityDefinition | PlanDefinition) Constraints
|
event[x] | Σ | 1..1 | Binding | Element IdMessageDefinition.event[x] Event code or link to the EventDefinition DefinitionEvent code or link to the EventDefinition. NHS Wales Message Events DataStandardsWalesPSOMMessageEvent (required)Constraints
|
eventCoding | Coding | Data Type | ||
category | Σ | 0..1 | codeBinding | There are no (further) constraints on this element Element IdMessageDefinition.category consequence | currency | notification DefinitionThe impact of the content of the message. Note that FHIR strings SHALL NOT exceed 1MB in size The impact of the content of a message. MessageSignificanceCategory (required)Constraints
|
focus | Σ I | 0..* | BackboneElement | There are no (further) constraints on this element Element IdMessageDefinition.focus Resource(s) that are the subject of the event DefinitionIdentifies the resource (or resources) that are being addressed by the event. For example, the Encounter for an admit message or two Account records for a merge.
|
code | Σ | 1..1 | codeBinding | There are no (further) constraints on this element Element IdMessageDefinition.focus.code Type of resource DefinitionThe kind of resource that must be the focus for this message. Multiple focuses addressing different resources may occasionally occur. E.g. to link or unlink a resource from a particular account or encounter, etc. One of the resource types defined as part of this version of FHIR. ResourceType (required)Constraints
|
profile | 0..1 | canonical(StructureDefinition) | There are no (further) constraints on this element Element IdMessageDefinition.focus.profile Profile that must be adhered to by focus DefinitionA profile that reflects constraints for the focal resource (and potentially for related resources). This profile allows setting boundaries for what content must appear within the message bundle vs. outside based on the declared aggregation constraints on referenced resources on this and related profiles. This should be present for most message definitions. However, if the message focus is only a single resource and there is no need to include referenced resources or otherwise enforce the presence of particular elements, it can be omitted. canonical(StructureDefinition) Constraints
| |
min | Σ | 1..1 | unsignedInt | There are no (further) constraints on this element Element IdMessageDefinition.focus.min Minimum number of focuses of this type DefinitionIdentifies the minimum number of resources of this type that must be pointed to by a message in order for it to be valid against this MessageDefinition. 32 bit number; for values larger than this, use decimal
|
max | I | 0..1 | string | There are no (further) constraints on this element Element IdMessageDefinition.focus.max Maximum number of focuses of this type DefinitionIdentifies the maximum number of resources of this type that must be pointed to by a message in order for it to be valid against this MessageDefinition. Note that FHIR strings SHALL NOT exceed 1MB in size
|
responseRequired | 0..1 | codeBinding | There are no (further) constraints on this element Element IdMessageDefinition.responseRequired always | on-error | never | on-success DefinitionDeclare at a message definition level whether a response is required or only upon error or success, or never. This enables the capability currently available through MSH-16 (Application Level acknowledgement) in HL7 Version 2 to declare at a message instance level whether a response is required or only upon error or success, or never. HL7-defined table of codes which identify conditions under which acknowledgments are required to be returned in response to a message. messageheader-response-request (required)Constraints
General always Mappings
| |
allowedResponse | 0..* | BackboneElement | There are no (further) constraints on this element Element IdMessageDefinition.allowedResponse Responses to this message DefinitionIndicates what types of messages may be sent as an application-level response to this message. This indicates an application level response to "close" a transaction implicit in a particular request message. To define a complete workflow scenario, look to the [[PlanDefinition]] resource which allows the definition of complex orchestrations, conditionality, etc.
| |
message | 1..1 | canonical(MessageDefinition) | There are no (further) constraints on this element Element IdMessageDefinition.allowedResponse.message Reference to allowed message definition response DefinitionA reference to the message definition that must be adhered to by this supported response.
| |
situation | 0..1 | markdown | There are no (further) constraints on this element Element IdMessageDefinition.allowedResponse.situation When should this response be used DefinitionProvides a description of the circumstances in which this response should be used (as opposed to one of the alternative responses). Systems are not required to have markdown support, so the text should be readable without markdown processing. The markdown syntax is GFM - see https://github.github.com/gfm/
| |
graph | 0..* | canonical(GraphDefinition) | There are no (further) constraints on this element Element IdMessageDefinition.graph Canonical reference to a GraphDefinition DefinitionCanonical reference to a GraphDefinition. If a URL is provided, it is the canonical reference to a GraphDefinition that it controls what resources are to be added to the bundle when building the document. The GraphDefinition can also specify profiles that apply to the various resources.
|
MessageDefinition | I | MessageDefinition | There are no (further) constraints on this element Element IdMessageDefinition A resource that defines a type of message that can be exchanged between systems DefinitionDefines the characteristics of a message that can be shared between systems, including the type of event that initiates the message, the content to be transmitted and what response(s), if any, are permitted. This would be a MIF-level artifact.
| |
url | Σ I | 1..1 | uri | Element IdMessageDefinition.url Business Identifier for a given MessageDefinition DefinitionThe business identifier that is used to reference the MessageDefinition and is expected to be consistent from server to server. Allows the message definition to be referenced by a single globally unique identifier. Can be a urn:uuid: or a urn:oid: but real http: addresses are preferred. Multiple instances may share the same URL if they have a distinct version. The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author. Considerations for making this decision are found in Technical and Business Versions. In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the meta.source element to indicate where the current master source of the resource can be found.
|
identifier | Σ | 0..* | Identifier | There are no (further) constraints on this element Element IdMessageDefinition.identifier Primary key for the message definition on a given server DefinitionA formal identifier that is used to identify this message definition when it is represented in other formats, or referenced in a specification, model, design or an instance. Allows externally provided and/or usable business identifiers to be easily associated with the module. Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this message definition outside of FHIR, where it is not possible to use the logical URI.
|
version | Σ | 0..1 | string | There are no (further) constraints on this element Element IdMessageDefinition.version Business version of the message definition DefinitionThe identifier that is used to identify this version of the message definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the message definition author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. There may be different message definition instances that have the same identifier but different versions. The version can be appended to the url in a reference to allow a reference to a particular business version of the message definition with the format [url]|[version].
|
name | Σ I | 0..1 | string | There are no (further) constraints on this element Element IdMessageDefinition.name Name for this message definition (computer friendly) DefinitionA natural language name identifying the message definition. This name should be usable as an identifier for the module by machine processing applications such as code generation. Support human navigation and code generation. The name is not expected to be globally unique. The name should be a simple alphanumeric type name to ensure that it is machine-processing friendly.
|
title | Σ | 0..1 | string | There are no (further) constraints on this element Element IdMessageDefinition.title Name for this message definition (human friendly) DefinitionA short, descriptive, user-friendly title for the message definition. This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.
|
replaces | Σ | 0..* | canonical(MessageDefinition) | There are no (further) constraints on this element Element IdMessageDefinition.replaces Takes the place of DefinitionA MessageDefinition that is superseded by this definition.
|
status | Σ ?! | 1..1 | codeBinding | There are no (further) constraints on this element Element IdMessageDefinition.status draft | active | retired | unknown DefinitionThe status of this message definition. Enables tracking the life-cycle of the content. Allows filtering of message definitions that are appropriate for use versus not. The lifecycle status of an artifact. PublicationStatus (required)Constraints
|
experimental | Σ | 0..1 | boolean | There are no (further) constraints on this element Element IdMessageDefinition.experimental For testing purposes, not real usage DefinitionA Boolean value to indicate that this message definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage. Enables experimental content to be developed following the same lifecycle that would be used for a production-level message definition. Allows filtering of message definitions that are appropriate for use versus not.
|
date | Σ | 1..1 | dateTime | There are no (further) constraints on this element Element IdMessageDefinition.date Date last changed Alternate namesRevision Date DefinitionThe date (and optionally time) when the message definition was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the message definition changes. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the message definition. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.
|
publisher | Σ | 0..1 | string | There are no (further) constraints on this element Element IdMessageDefinition.publisher Name of the publisher (organization or individual) DefinitionThe name of the organization or individual that published the message definition. Helps establish the "authority/credibility" of the message definition. May also allow for contact. Usually an organization but may be an individual. The publisher (or steward) of the message definition is the organization or individual primarily responsible for the maintenance and upkeep of the message definition. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the message definition. This item SHOULD be populated unless the information is available from context.
|
contact | Σ | 0..* | ContactDetail | There are no (further) constraints on this element Element IdMessageDefinition.contact Contact details for the publisher DefinitionContact details to assist a user in finding and communicating with the publisher. May be a web site, an email address, a telephone number, etc.
|
description | Σ | 1..1 | markdown | There are no (further) constraints on this element Element IdMessageDefinition.description Natural language description of the message definition DefinitionA free text natural language description of the message definition from a consumer's perspective. This description can be used to capture details such as why the message definition was built, comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the message definition as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the message definition is presumed to be the predominant language in the place the message definition was created).
|
useContext | Σ | 0..* | UsageContext | There are no (further) constraints on this element Element IdMessageDefinition.useContext The context that the content is intended to support DefinitionThe content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate message definition instances. Assist in searching for appropriate content. When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.
|
jurisdiction | Σ | 0..* | CodeableConceptBinding | There are no (further) constraints on this element Element IdMessageDefinition.jurisdiction Intended jurisdiction for message definition (if applicable) DefinitionA legal or geographic region in which the message definition is intended to be used. It may be possible for the message definition to be used in jurisdictions other than those for which it was originally designed or intended. Countries and regions within which this artifact is targeted for use. Jurisdiction ValueSet (extensible)Constraints
|
purpose | Σ | 0..1 | markdown | There are no (further) constraints on this element Element IdMessageDefinition.purpose Why this message definition is defined DefinitionExplanation of why this message definition is needed and why it has been designed as it has. This element does not describe the usage of the message definition. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is. This may be used to point to source materials or specifications that drove the structure of this message definition.
|
copyright | 0..1 | markdown | There are no (further) constraints on this element Element IdMessageDefinition.copyright Use and/or publishing restrictions Alternate namesLicense, Restrictions DefinitionA copyright statement relating to the message definition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the message definition. Consumers must be able to determine any legal restrictions on the use of the message definition and/or its content. Systems are not required to have markdown support, so the text should be readable without markdown processing. The markdown syntax is GFM - see https://github.github.com/gfm/
| |
base | Σ | 0..1 | canonical(MessageDefinition) | There are no (further) constraints on this element Element IdMessageDefinition.base Definition this one is based on DefinitionThe MessageDefinition that is the basis for the contents of this resource.
|
parent | Σ | 0..* | canonical(ActivityDefinition | PlanDefinition) | There are no (further) constraints on this element Element IdMessageDefinition.parent Protocol/workflow this is part of DefinitionIdentifies a protocol or workflow that this MessageDefinition represents a step in. It should be possible to use MessageDefinition to describe a message to be used by certain steps in a particular protocol as part of a PlanDefinition or ActivityDefinition. canonical(ActivityDefinition | PlanDefinition) Constraints
|
event[x] | Σ | 1..1 | Binding | Element IdMessageDefinition.event[x] Event code or link to the EventDefinition DefinitionEvent code or link to the EventDefinition. NHS Wales Message Events DataStandardsWalesPSOMMessageEvent (required)Constraints
|
eventCoding | Coding | Data Type | ||
category | Σ | 0..1 | codeBinding | There are no (further) constraints on this element Element IdMessageDefinition.category consequence | currency | notification DefinitionThe impact of the content of the message. Note that FHIR strings SHALL NOT exceed 1MB in size The impact of the content of a message. MessageSignificanceCategory (required)Constraints
|
focus | Σ I | 0..* | BackboneElement | There are no (further) constraints on this element Element IdMessageDefinition.focus Resource(s) that are the subject of the event DefinitionIdentifies the resource (or resources) that are being addressed by the event. For example, the Encounter for an admit message or two Account records for a merge.
|
code | Σ | 1..1 | codeBinding | There are no (further) constraints on this element Element IdMessageDefinition.focus.code Type of resource DefinitionThe kind of resource that must be the focus for this message. Multiple focuses addressing different resources may occasionally occur. E.g. to link or unlink a resource from a particular account or encounter, etc. One of the resource types defined as part of this version of FHIR. ResourceType (required)Constraints
|
profile | 0..1 | canonical(StructureDefinition) | There are no (further) constraints on this element Element IdMessageDefinition.focus.profile Profile that must be adhered to by focus DefinitionA profile that reflects constraints for the focal resource (and potentially for related resources). This profile allows setting boundaries for what content must appear within the message bundle vs. outside based on the declared aggregation constraints on referenced resources on this and related profiles. This should be present for most message definitions. However, if the message focus is only a single resource and there is no need to include referenced resources or otherwise enforce the presence of particular elements, it can be omitted. canonical(StructureDefinition) Constraints
| |
min | Σ | 1..1 | unsignedInt | There are no (further) constraints on this element Element IdMessageDefinition.focus.min Minimum number of focuses of this type DefinitionIdentifies the minimum number of resources of this type that must be pointed to by a message in order for it to be valid against this MessageDefinition. 32 bit number; for values larger than this, use decimal
|
max | I | 0..1 | string | There are no (further) constraints on this element Element IdMessageDefinition.focus.max Maximum number of focuses of this type DefinitionIdentifies the maximum number of resources of this type that must be pointed to by a message in order for it to be valid against this MessageDefinition. Note that FHIR strings SHALL NOT exceed 1MB in size
|
responseRequired | 0..1 | codeBinding | There are no (further) constraints on this element Element IdMessageDefinition.responseRequired always | on-error | never | on-success DefinitionDeclare at a message definition level whether a response is required or only upon error or success, or never. This enables the capability currently available through MSH-16 (Application Level acknowledgement) in HL7 Version 2 to declare at a message instance level whether a response is required or only upon error or success, or never. HL7-defined table of codes which identify conditions under which acknowledgments are required to be returned in response to a message. messageheader-response-request (required)Constraints
General always Mappings
| |
allowedResponse | 0..* | BackboneElement | There are no (further) constraints on this element Element IdMessageDefinition.allowedResponse Responses to this message DefinitionIndicates what types of messages may be sent as an application-level response to this message. This indicates an application level response to "close" a transaction implicit in a particular request message. To define a complete workflow scenario, look to the [[PlanDefinition]] resource which allows the definition of complex orchestrations, conditionality, etc.
| |
message | 1..1 | canonical(MessageDefinition) | There are no (further) constraints on this element Element IdMessageDefinition.allowedResponse.message Reference to allowed message definition response DefinitionA reference to the message definition that must be adhered to by this supported response.
| |
situation | 0..1 | markdown | There are no (further) constraints on this element Element IdMessageDefinition.allowedResponse.situation When should this response be used DefinitionProvides a description of the circumstances in which this response should be used (as opposed to one of the alternative responses). Systems are not required to have markdown support, so the text should be readable without markdown processing. The markdown syntax is GFM - see https://github.github.com/gfm/
| |
graph | 0..* | canonical(GraphDefinition) | There are no (further) constraints on this element Element IdMessageDefinition.graph Canonical reference to a GraphDefinition DefinitionCanonical reference to a GraphDefinition. If a URL is provided, it is the canonical reference to a GraphDefinition that it controls what resources are to be added to the bundle when building the document. The GraphDefinition can also specify profiles that apply to the various resources.
|