description: 'The bundle resource is used to package a collection of resources into a single instance. This resource would be used for referral in the following contexts: - Sending a set of resources as part of a message exchange - Grouping a self-contained set of resources to act as an exchangeable and persistable collection with clinical integrity , e.g. a clinical document' package_name: ca.on.erec.r4 derivation: constraint name: EReferralBundle type: Bundle elements: meta: mustSupport: true index: 0 elements: profile: {mustSupport: true, index: 1} identifier: mustSupport: true index: 2 elements: system: {mustSupport: true, index: 3} value: {mustSupport: true, index: 4} required: [value, system] type: mustSupport: true pattern: {type: Code, value: message} index: 5 timestamp: {mustSupport: true, index: 6} entry: mustSupport: true array: true min: 2 index: 7 elements: fullUrl: {mustSupport: true, index: 8} resource: {mustSupport: true, index: 9} search: {index: 10} request: {index: 11} response: {index: 12} required: [resource, fullUrl] slicing: rules: open description: The specific bundle entries that are needed for an eReC Message Bundle. discriminator: - {path: resource, type: profile} min: 2 slices: Message: match: {} schema: mustSupport: true _required: true index: 13 elements: resource: {short: A resource that describes a message that is exchanged between systems, index: 14} Focus: match: {} schema: mustSupport: true _required: true index: 15 elements: resource: {type: Resource, short: A resource that describes a message that is exchanged between systems, index: 16} package_version: 0.12.4-snapshot2 class: profile kind: resource url: http://ehealthontario.ca/fhir/StructureDefinition/eReferralBundle base: http://hl7.org/fhir/StructureDefinition/Bundle version: 1.2.0 required: [timestamp]