FHIR Artifacts > Structure Definition: Bundle Profile
Structure Definition: Bundle Profile
Canonical URL:http://ehealthontario.ca/fhir/StructureDefinition/eReferralBundle
Simplifier project page: EReferralBundle
Derived from: Bundle (CA:eReC)
Base FHIR from: Bundle (R4)
Formal Views of Profile Content
Description of Profiles, Differentials, Snapshots and how the different presentations work
Differential View
| EReferralBundle (Bundle) | http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Bundle | ||
| meta | S | ||
| profile | S | ||
| identifier | S | ||
| system | S | 1.. | |
| value | S | 1.. | |
| type | S | Pattern | |
| timestamp | S | 1.. | |
| entry | S | 2.. | |
| (All Slices) | |||
| fullUrl | S | 1.. | |
| resource | S | 1.. | |
| search | ..0 | ||
| request | ..0 | ||
| response | ..0 | ||
| Message | S | 1..1 | |
| resource | EReferralMessageHeader | ||
| Focus | S | 1.. | |
| resource | EReferralAppointment, EReferralCommunication, EReferralServiceRequest, EReferralTask |
Hybrid View
| EReferralBundle (Bundle) | http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Bundle | ||
| meta | S | ||
| profile | S | ||
| identifier | S | ||
| system | S | 1.. | |
| value | S | 1.. | |
| type | S | Pattern | |
| timestamp | S | 1.. | |
| entry | S | 2.. | |
| (All Slices) | |||
| fullUrl | S | 1.. | |
| resource | S | 1.. | |
| search | ..0 | ||
| request | ..0 | ||
| response | ..0 | ||
| Message | S | 1..1 | |
| resource | EReferralMessageHeader | ||
| Focus | S | 1.. | |
| resource | EReferralAppointment, EReferralCommunication, EReferralServiceRequest, EReferralTask |
Snapshot View
| EReferralBundle (Bundle) | http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Bundle | ||
| meta | S | ||
| profile | S | ||
| identifier | S | ||
| system | S | 1.. | |
| value | S | 1.. | |
| type | S | Pattern | |
| timestamp | S | 1.. | |
| entry | S | 2.. | |
| (All Slices) | |||
| fullUrl | S | 1.. | |
| resource | S | 1.. | |
| search | ..0 | ||
| request | ..0 | ||
| response | ..0 | ||
| Message | S | 1..1 | |
| resource | EReferralMessageHeader | ||
| Focus | S | 1.. | |
| resource | EReferralAppointment, EReferralCommunication, EReferralServiceRequest, EReferralTask |
Table View
| Bundle | .. | |
| Bundle.meta | .. | |
| Bundle.meta.profile | .. | |
| Bundle.identifier | .. | |
| Bundle.identifier.system | 1.. | |
| Bundle.identifier.value | 1.. | |
| Bundle.type | .. | |
| Bundle.timestamp | 1.. | |
| Bundle.entry | 2.. | |
| Bundle.entry.fullUrl | 1.. | |
| Bundle.entry.resource | 1.. | |
| Bundle.entry.search | ..0 | |
| Bundle.entry.request | ..0 | |
| Bundle.entry.response | ..0 | |
| Bundle.entry:Message | 1..1 | |
| Bundle.entry:Message.resource | EReferralMessageHeader | .. |
| Bundle.entry:Focus | 1.. | |
| Bundle.entry:Focus.resource | EReferralAppointment, EReferralCommunication, EReferralServiceRequest, EReferralTask | .. |
JSON View
Usage
A Bundle resource (type=message) is used to package together a collection of FHIR Resource instances to be sent from one system to another. The Bundle SHALL have an entry for each of the FHIR Resources required to convey information about the business event, starting with the MessageHeader which SHALL always be first.
Notes
The following rules apply to message type Bundles.
.id
- used to uniquely identify a message instance
- populate this element with a UUID each time a message is sent
- note: a FHIR message contains two identifiers that are unique within the message stream, rules:
- a
Bundle.id(this element) SHALL be assigned each time the message is sent - a
MessageHeader.idSHALL be assigned when the message is created
- a
.meta.profile
- used to declare conformance to this profile
- populate with a fixed value:
http://ehealthontario.ca/fhir/StructureDefinition/eReferralBundle|1.2.2
.type
- declares that the Bundle contains a message
- populate with a fixed value:
message
.timestamp
- populate with the instant in time when the Bundle was created
- format: YYYY-MM-DDThh:mm:ss.sss+zz:zz (e.g. 2015-02-07T13:28:17.239+02:00 or 2017-01-01T00:00:00Z).
.entry
- create an
entryfor each of the FHIR Resources required to convey information about the business event - the MessageHeader SHALL be the first entry
.entry:Message.fullUrl
- each entry in the Bundle SHALL have a fullUrl which is the identity of the resource in the entry
- if a persistent identity for the resource is not available to use in the Bundle, a UUID SHOULD be used (urn:uuid:...)
.entry:Message.resource
- SHALL be populated with the resource for this entry
.entry:Message.request
- SHALL NOT be populated
.entry:Message.response
- SHALL NOT be populated