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-bundle
The Da Vinci Notifications Bundle Profile constrains the FHIR Bundle resource to the Da Vinci notification messaging framework.
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 Bundle must have:
- A type code of “message”
- An entry for the MessageHeader
- An entry for the event or request resource reference by ‘MessageHeader.focus’
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-bundle
Published on Fri Nov 15 00:00:00 UTC 2019 as active by the Health eData Inc.
This profile builds on Bundle
Bundle
Summary of the Mandatory Requirements
- A code in
Bundle.type
= the fixed value “message”- which must have at least an Entry value in
Bundle.entry
- which must have a Resource Reference value in
Bundle.entry.resource
- which must have at least an Entry value in
Summary of the Unsupported Elements
Bundle.total
Bundle.entry.search
Bundle.entry.request
Bundle.entry.response
Summary of Constraints
- total only when a search or history
- entry.search only when a search
- entry.request mandatory for batch/transaction/history, otherwise prohibited
- entry.response mandatory for batch-response/transaction-response/history, otherwise prohibited
- FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles)
- A document must have an identifier with a system and a value
- A document must have a date
- A document must have a Composition as the first resource
- A message must have a MessageHeader as the first resource
- must be a resource unless there's a request or response
- fullUrl cannot be a version specific reference
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Bundle | 0..* | Bundle | ||
type | S | 1..1 | code | Fixed Value: message |
total | 0..0 | |||
entry | S | 2..* | (Slice Definition) | Slice: Unordered, Open by type:resource |
entry:All Slices | Content/Rules for all slices | |||
search | 0..0 | |||
request | 0..0 | |||
response | 0..0 | |||
entry:messageheader | S | 1..1 | BackboneElement | |
resource | S | 1..1 | NotificationsMessageHeader | |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Bundle | I | 0..* | Bundle | Contains a collection of resources |
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 |
identifier | ΣI | 0..1 | Identifier | Persistent identifier for the bundle |
type | SΣI | 1..1 | code | document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection Binding: BundleType (required) Fixed Value: message |
timestamp | ΣI | 0..1 | instant | When the bundle was assembled |
link | ΣI | 0..* | BackboneElement | Links related to this Bundle |
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 |
relation | ΣI | 1..1 | string | See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1 |
url | ΣI | 1..1 | uri | Reference details for the link |
entry | SΣI | 2..* | (Slice Definition) | Entry in the bundle - will have a resource or information Slice: Unordered, Open by type:resource This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
entry:All Slices | Content/Rules for all slices | |||
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 |
link | ΣI | 0..* | Unknown reference to #Bundle.link Links related to this entry | |
fullUrl | ΣI | 0..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) |
resource | Σ | 0..1 | Resource | A resource in the bundle |
entry:messageheader | SΣI | 1..1 | BackboneElement | Entry in the bundle - will have a resource or information This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
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 |
link | ΣI | 0..* | Unknown reference to #Bundle.link Links related to this entry | |
fullUrl | ΣI | 0..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) |
resource | SI | 1..1 | NotificationsMessageHeader | A resource that describes a message that is exchanged between systems |
search | ΣI | 0..1 | BackboneElement | Search related information |
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 |
mode | ΣI | 0..1 | code | match | include | outcome - why this is in the result set Binding: SearchEntryMode (required) |
score | ΣI | 0..1 | decimal | Search ranking (between 0 and 1) |
request | ΣI | 0..1 | BackboneElement | Additional execution information (transaction/batch/history) |
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 |
method | ΣI | 1..1 | code | GET | HEAD | POST | PUT | DELETE | PATCH Binding: HTTPVerb (required) |
url | ΣI | 1..1 | uri | URL for HTTP equivalent of this entry |
ifNoneMatch | ΣI | 0..1 | string | For managing cache currency |
ifModifiedSince | ΣI | 0..1 | instant | For managing cache currency |
ifMatch | ΣI | 0..1 | string | For managing update contention |
ifNoneExist | ΣI | 0..1 | string | For conditional creates |
response | ΣI | 0..1 | BackboneElement | Results of execution (transaction/batch/history) |
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 |
status | ΣI | 1..1 | string | Status response code (text optional) |
location | ΣI | 0..1 | uri | The location (if the operation returns a location) |
etag | ΣI | 0..1 | string | The Etag for the resource (if relevant) |
lastModified | ΣI | 0..1 | instant | Server's date time modified |
outcome | Σ | 0..1 | Resource | OperationOutcome with hints and warnings (for batch/transaction) |
signature | ΣI | 0..1 | Signature | Digital Signature |
Documentation for this format |
Bundle
Summary of the Mandatory Requirements
- A code in
Bundle.type
= the fixed value “message”- which must have at least an Entry value in
Bundle.entry
- which must have a Resource Reference value in
Bundle.entry.resource
- which must have at least an Entry value in
Summary of the Unsupported Elements
Bundle.total
Bundle.entry.search
Bundle.entry.request
Bundle.entry.response
Summary of Constraints
- total only when a search or history
- entry.search only when a search
- entry.request mandatory for batch/transaction/history, otherwise prohibited
- entry.response mandatory for batch-response/transaction-response/history, otherwise prohibited
- FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles)
- A document must have an identifier with a system and a value
- A document must have a date
- A document must have a Composition as the first resource
- A message must have a MessageHeader as the first resource
- must be a resource unless there's a request or response
- fullUrl cannot be a version specific reference
Differential View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Bundle | 0..* | Bundle | ||
type | S | 1..1 | code | Fixed Value: message |
total | 0..0 | |||
entry | S | 2..* | (Slice Definition) | Slice: Unordered, Open by type:resource |
entry:All Slices | Content/Rules for all slices | |||
search | 0..0 | |||
request | 0..0 | |||
response | 0..0 | |||
entry:messageheader | S | 1..1 | BackboneElement | |
resource | S | 1..1 | NotificationsMessageHeader | |
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Bundle | I | 0..* | Bundle | Contains a collection of resources |
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 |
identifier | ΣI | 0..1 | Identifier | Persistent identifier for the bundle |
type | SΣI | 1..1 | code | document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection Binding: BundleType (required) Fixed Value: message |
timestamp | ΣI | 0..1 | instant | When the bundle was assembled |
link | ΣI | 0..* | BackboneElement | Links related to this Bundle |
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 |
relation | ΣI | 1..1 | string | See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1 |
url | ΣI | 1..1 | uri | Reference details for the link |
entry | SΣI | 2..* | (Slice Definition) | Entry in the bundle - will have a resource or information Slice: Unordered, Open by type:resource This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
entry:All Slices | Content/Rules for all slices | |||
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 |
link | ΣI | 0..* | Unknown reference to #Bundle.link Links related to this entry | |
fullUrl | ΣI | 0..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) |
resource | Σ | 0..1 | Resource | A resource in the bundle |
entry:messageheader | SΣI | 1..1 | BackboneElement | Entry in the bundle - will have a resource or information This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
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 |
link | ΣI | 0..* | Unknown reference to #Bundle.link Links related to this entry | |
fullUrl | ΣI | 0..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) |
resource | SI | 1..1 | NotificationsMessageHeader | A resource that describes a message that is exchanged between systems |
search | ΣI | 0..1 | BackboneElement | Search related information |
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 |
mode | ΣI | 0..1 | code | match | include | outcome - why this is in the result set Binding: SearchEntryMode (required) |
score | ΣI | 0..1 | decimal | Search ranking (between 0 and 1) |
request | ΣI | 0..1 | BackboneElement | Additional execution information (transaction/batch/history) |
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 |
method | ΣI | 1..1 | code | GET | HEAD | POST | PUT | DELETE | PATCH Binding: HTTPVerb (required) |
url | ΣI | 1..1 | uri | URL for HTTP equivalent of this entry |
ifNoneMatch | ΣI | 0..1 | string | For managing cache currency |
ifModifiedSince | ΣI | 0..1 | instant | For managing cache currency |
ifMatch | ΣI | 0..1 | string | For managing update contention |
ifNoneExist | ΣI | 0..1 | string | For conditional creates |
response | ΣI | 0..1 | BackboneElement | Results of execution (transaction/batch/history) |
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 |
status | ΣI | 1..1 | string | Status response code (text optional) |
location | ΣI | 0..1 | uri | The location (if the operation returns a location) |
etag | ΣI | 0..1 | string | The Etag for the resource (if relevant) |
lastModified | ΣI | 0..1 | instant | Server's date time modified |
outcome | Σ | 0..1 | Resource | OperationOutcome with hints and warnings (for batch/transaction) |
signature | ΣI | 0..1 | Signature | Digital Signature |
Documentation for this format |
See the Conformance requirements for a complete list of supported RESTful interactions for this IG.