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: \r\n- Sending a set of resources as part of a message exchange\r\n- 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.infoway.io.erec derivation: constraint name: Bundle type: Bundle elements: identifier: mustSupport: true index: 0 elements: system: {mustSupport: true, index: 1} value: {mustSupport: true, index: 2} required: [value, system] type: mustSupport: true pattern: {type: Code, value: message} index: 3 timestamp: {mustSupport: true, index: 4} entry: mustSupport: true array: true min: 2 index: 5 elements: fullUrl: {mustSupport: true, index: 6} resource: {mustSupport: true, index: 7} search: {index: 8} request: {index: 9} response: {index: 10} required: [resource, fullUrl] slicing: rules: open description: The specific bundle entries that are needed for an eReC Message Bundle. discriminator: - {path: resource, type: type} min: 2 slices: Message: match: {} schema: short: Entry in the bundle - will have a resource or information mustSupport: true _required: true index: 11 elements: resource: {type: Resource, short: A resource that describes a message that is exchanged between systems, index: 12} Focus: match: {} schema: short: Entry in the bundle - will have a resource or information mustSupport: true _required: true index: 13 elements: resource: {type: Resource, short: A resource that describes a message that is exchanged between systems, index: 14} package_version: 1.0.0-dft class: profile kind: resource url: http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Bundle base: http://hl7.org/fhir/StructureDefinition/Bundle version: 1.0.0 required: [timestamp]