This page is part of the Da Vinci Unsolicited Notifications (v0.2.0: STU 1 Ballot 1) based on FHIR R4. The current version which supercedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions
StructureDefinition-notifications-messagedefinition
The Da Vinci Notifications MessageDefinition Profile sets minimum expectations for the FHIR MessageDefinition resource to define the characteristics of a message that can be shared between systems for Da Vinci notification messaging. It includes the type of event that initiates the message and the content to be transmitted as well as other metadata information related to the definition.
Mandatory and Must Support Data Elements
The following data-elements are mandatory (i.e data MUST be present) or must be supported if the data is present in the sending system (Must Support definition). They are presented below in a simple human-readable explanation. Profile specific guidance and examples are provided as well. The Formal Profile Definition below provides the formal summary, definitions, and terminology requirements.
Each MessageDefinition must have:
- A canonical url
- A status
- A date
- An EventCoding
- A category of “notification”
- An event focus reference
- A GraphDefinition to define the Bundle contents
Each MessageDefinition must support:
- A version
- A name
- A title
- A publisher
- A description
Additional Profile specific implementation guidance:
none
Examples
Formal Views of Profile Content
Description of Profiles, Differentials, and Snapshots.
The official URL for this profile is:
http://hl7.org/fhir/us/davinci-alerts/StructureDefinition/notifications-messagedefinition
Published on Mon Nov 11 00:00:00 UTC 2019 as active by the Health eData Inc.
This profile builds on MessageDefinition
MessageDefinition
Summary of the Mandatory Requirements
- An uri in
MessageDefinition.url
- A code in
MessageDefinition.status
with a required binding to PublicationStatus - A dateTime in
MessageDefinition.date
- A code in
MessageDefinition.category
= the fixed value “notification” - One or more Focuses in
MessageDefinition.focus
with the following constraints: *Max must be postive int or **- which must have a code value in
MessageDefinition.focus.code
with a required binding to ResourceType - which should have a canonical value in
MessageDefinition.focus.profile
- which must have a code value in
- One or more canonicals in
MessageDefinition.graph
Summary of the Must Support Requirements
- A string in
MessageDefinition.version
- A string in
MessageDefinition.name
- A string in
MessageDefinition.title
- A string in
MessageDefinition.publisher
- A markdown in
MessageDefinition.description
Summary of the Unsupported Elements
MessageDefinition.responseRequired
MessageDefinition.allowedResponse
Summary of Constraints
- Name should be usable as an identifier for the module by machine processing applications such as code generation
- Max must be postive int or *
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MessageDefinition | 0..* | MessageDefinition | ||
url | S | 1..1 | uri | |
version | S | 0..1 | string | |
name | S | 0..1 | string | |
title | S | 0..1 | string | |
status | S | 1..1 | code | |
date | S | 1..1 | dateTime | |
publisher | S | 0..1 | string | |
description | S | 0..1 | markdown | |
eventCoding | S | 1..1 | Coding | Binding: Da Vinci Notification Event ValueSet (extensible) |
category | S | 1..1 | code | Fixed Value: notification |
focus | S | 1..* | BackboneElement | |
code | S | 1..1 | code | |
profile | S | 0..1 | canonical(StructureDefinition) | |
responseRequired | 0..0 | |||
allowedResponse | 0..0 | |||
graph | S | 1..* | canonical(GraphDefinition) | |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MessageDefinition | I | 0..* | MessageDefinition | A resource that defines a type of message that can be exchanged between systems |
id | Σ | 0..1 | string | Logical id of this artifact |
meta | ΣI | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!ΣI | 0..1 | uri | A set of rules under which this content was created |
language | I | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!I | 0..* | Extension | Extensions that cannot be ignored |
url | SΣI | 1..1 | uri | Business Identifier for a given MessageDefinition |
identifier | ΣI | 0..* | Identifier | Primary key for the message definition on a given server |
version | SΣI | 0..1 | string | Business version of the message definition |
name | SΣI | 0..1 | string | Name for this message definition (computer friendly) |
title | SΣI | 0..1 | string | Name for this message definition (human friendly) |
replaces | ΣI | 0..* | canonical(MessageDefinition) | Takes the place of |
status | ?!SΣI | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required) |
experimental | ΣI | 0..1 | boolean | For testing purposes, not real usage |
date | SΣI | 1..1 | dateTime | Date last changed |
publisher | SΣI | 0..1 | string | Name of the publisher (organization or individual) |
contact | ΣI | 0..* | ContactDetail | Contact details for the publisher |
description | SΣI | 0..1 | markdown | Natural language description of the message definition |
useContext | ΣI | 0..* | UsageContext | The context that the content is intended to support |
jurisdiction | ΣI | 0..* | CodeableConcept | Intended jurisdiction for message definition (if applicable) Binding: Jurisdiction ValueSet (extensible) |
purpose | ΣI | 0..1 | markdown | Why this message definition is defined |
copyright | I | 0..1 | markdown | Use and/or publishing restrictions |
base | ΣI | 0..1 | canonical(MessageDefinition) | Definition this one is based on |
parent | ΣI | 0..* | canonical(ActivityDefinition | PlanDefinition) | Protocol/workflow this is part of |
event[x] | ΣI | 1..1 | (Slice Definition) | Event code or link to the EventDefinition Slice: Unordered, Closed by type:$this Binding: MessageEvent (example) |
event[x]:eventCoding | SΣI | 1..1 | Coding | Event code or link to the EventDefinition Binding: Da Vinci Notification Event ValueSet (extensible) |
category | SΣI | 1..1 | code | consequence | currency | notification Binding: MessageSignificanceCategory (required) Fixed Value: notification |
focus | SΣI | 1..* | BackboneElement | Resource(s) that are the subject of the event |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
code | SΣI | 1..1 | code | Type of resource Binding: ResourceType (required) |
profile | SI | 0..1 | canonical(StructureDefinition) | Profile that must be adhered to by focus |
min | ΣI | 1..1 | unsignedInt | Minimum number of focuses of this type |
max | I | 0..1 | string | Maximum number of focuses of this type |
graph | SI | 1..* | canonical(GraphDefinition) | Canonical reference to a GraphDefinition |
Documentation for this format |
MessageDefinition
Summary of the Mandatory Requirements
- An uri in
MessageDefinition.url
- A code in
MessageDefinition.status
with a required binding to PublicationStatus - A dateTime in
MessageDefinition.date
- A code in
MessageDefinition.category
= the fixed value “notification” - One or more Focuses in
MessageDefinition.focus
with the following constraints: *Max must be postive int or **- which must have a code value in
MessageDefinition.focus.code
with a required binding to ResourceType - which should have a canonical value in
MessageDefinition.focus.profile
- which must have a code value in
- One or more canonicals in
MessageDefinition.graph
Summary of the Must Support Requirements
- A string in
MessageDefinition.version
- A string in
MessageDefinition.name
- A string in
MessageDefinition.title
- A string in
MessageDefinition.publisher
- A markdown in
MessageDefinition.description
Summary of the Unsupported Elements
MessageDefinition.responseRequired
MessageDefinition.allowedResponse
Summary of Constraints
- Name should be usable as an identifier for the module by machine processing applications such as code generation
- Max must be postive int or *
Differential View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MessageDefinition | 0..* | MessageDefinition | ||
url | S | 1..1 | uri | |
version | S | 0..1 | string | |
name | S | 0..1 | string | |
title | S | 0..1 | string | |
status | S | 1..1 | code | |
date | S | 1..1 | dateTime | |
publisher | S | 0..1 | string | |
description | S | 0..1 | markdown | |
eventCoding | S | 1..1 | Coding | Binding: Da Vinci Notification Event ValueSet (extensible) |
category | S | 1..1 | code | Fixed Value: notification |
focus | S | 1..* | BackboneElement | |
code | S | 1..1 | code | |
profile | S | 0..1 | canonical(StructureDefinition) | |
responseRequired | 0..0 | |||
allowedResponse | 0..0 | |||
graph | S | 1..* | canonical(GraphDefinition) | |
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MessageDefinition | I | 0..* | MessageDefinition | A resource that defines a type of message that can be exchanged between systems |
id | Σ | 0..1 | string | Logical id of this artifact |
meta | ΣI | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!ΣI | 0..1 | uri | A set of rules under which this content was created |
language | I | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!I | 0..* | Extension | Extensions that cannot be ignored |
url | SΣI | 1..1 | uri | Business Identifier for a given MessageDefinition |
identifier | ΣI | 0..* | Identifier | Primary key for the message definition on a given server |
version | SΣI | 0..1 | string | Business version of the message definition |
name | SΣI | 0..1 | string | Name for this message definition (computer friendly) |
title | SΣI | 0..1 | string | Name for this message definition (human friendly) |
replaces | ΣI | 0..* | canonical(MessageDefinition) | Takes the place of |
status | ?!SΣI | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required) |
experimental | ΣI | 0..1 | boolean | For testing purposes, not real usage |
date | SΣI | 1..1 | dateTime | Date last changed |
publisher | SΣI | 0..1 | string | Name of the publisher (organization or individual) |
contact | ΣI | 0..* | ContactDetail | Contact details for the publisher |
description | SΣI | 0..1 | markdown | Natural language description of the message definition |
useContext | ΣI | 0..* | UsageContext | The context that the content is intended to support |
jurisdiction | ΣI | 0..* | CodeableConcept | Intended jurisdiction for message definition (if applicable) Binding: Jurisdiction ValueSet (extensible) |
purpose | ΣI | 0..1 | markdown | Why this message definition is defined |
copyright | I | 0..1 | markdown | Use and/or publishing restrictions |
base | ΣI | 0..1 | canonical(MessageDefinition) | Definition this one is based on |
parent | ΣI | 0..* | canonical(ActivityDefinition | PlanDefinition) | Protocol/workflow this is part of |
event[x] | ΣI | 1..1 | (Slice Definition) | Event code or link to the EventDefinition Slice: Unordered, Closed by type:$this Binding: MessageEvent (example) |
event[x]:eventCoding | SΣI | 1..1 | Coding | Event code or link to the EventDefinition Binding: Da Vinci Notification Event ValueSet (extensible) |
category | SΣI | 1..1 | code | consequence | currency | notification Binding: MessageSignificanceCategory (required) Fixed Value: notification |
focus | SΣI | 1..* | BackboneElement | Resource(s) that are the subject of the event |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
code | SΣI | 1..1 | code | Type of resource Binding: ResourceType (required) |
profile | SI | 0..1 | canonical(StructureDefinition) | Profile that must be adhered to by focus |
min | ΣI | 1..1 | unsignedInt | Minimum number of focuses of this type |
max | I | 0..1 | string | Maximum number of focuses of this type |
graph | SI | 1..* | canonical(GraphDefinition) | Canonical reference to a GraphDefinition |
Documentation for this format |
See the Conformance requirements for a complete list of supported RESTful interactions for this IG.