description: Same rules as Bundle (ePI), with additional entry slices. This profile represents the constraints applied to the Bundle resource used in the ePI Type 2 (Structured Data) FHIR Implementation Guide. package_name: hl7.fhir.uv.emedicinal-product-info derivation: constraint name: BundleEpiType2 type: Bundle elements: identifier: {short: Persistent business identifier (UUID) for the Bundle. Does not change across versions (same as SPL Set ID), index: 0} type: pattern: {type: Code, value: document} index: 1 timestamp: {short: Persistent original date of approval., index: 2} entry: constraint: epi-bdl-uuid: {human: 'Every entry.fullUrl in an ePI Bundle SHALL be a UUID URN (urn:uuid:...).', source: 'http://hl7.org/fhir/uv/emedicinal-product-info/StructureDefinition/bundle-epi-type2', severity: error, expression: 'fullUrl.startsWith(''urn:uuid:'')'} epi-bdl-no-binary: {human: A Binary SHALL NOT be a Bundle entry on its own. Images are embedded in the Composition (as a contained Binary) or in the ManufacturedItemDefinition (as a property image attachment)., source: 'http://hl7.org/fhir/uv/emedicinal-product-info/StructureDefinition/bundle-epi-type2', severity: error, expression: resource.where($this is Binary).empty()} array: true min: 3 index: 3 elements: fullUrl: {short: UUID for the resource, index: 4} resource: {index: 5} required: [resource, fullUrl] slicing: rules: open discriminator: - {path: resource, type: profile} min: 3 slices: manufacturedItem: match: {} schema: short: 'The manufactured item(s): the dose form in its primary packaging, before any necessary transformation' array: true index: 12 elements: resource: {type: ManufacturedItemDefinition, index: 13} administrableProduct: match: {} schema: short: 'The administrable product(s): the dose form for administration, after any necessary transformation' array: true index: 14 elements: resource: {type: AdministrableProductDefinition, index: 15} organization: match: {} schema: short: The organizations referenced in the ePI (e.g., marketing authorization holder, manufacturer, regulator) array: true min: 1 _required: true index: 8 elements: resource: {type: Organization, index: 9} packagedProduct: match: {} schema: short: The marketed package presentation(s) of the product array: true index: 22 elements: resource: {type: PackagedProductDefinition, index: 23} substance: match: {} schema: short: The substances referenced by the ingredients array: true index: 18 elements: resource: {type: SubstanceDefinition, index: 19} ingredient: match: {} schema: short: The ingredients of the product (e.g., active substances, excipients) array: true index: 16 elements: resource: {type: Ingredient, index: 17} medicinalProduct: match: {} schema: short: The medicinal product(s) described by this ePI array: true min: 1 _required: true index: 10 elements: resource: {type: MedicinalProductDefinition, index: 11} composition: match: {} schema: short: 'Composition (ePI): carries the label content (e.g., section headings, text, images, tables)' _required: true index: 6 elements: resource: {type: Composition, index: 7} deviceDefinition: match: {} schema: short: Any device supplied in the package (e.g., oral syringe, measuring spoon, inhaler) array: true index: 24 elements: resource: {type: DeviceDefinition, index: 25} regulatedAuthorization: match: {} schema: short: The marketing authorization(s) for the product or package array: true index: 20 elements: resource: {type: RegulatedAuthorization, index: 21} package_version: 2.0.0-ballot class: profile kind: resource url: http://hl7.org/fhir/uv/emedicinal-product-info/StructureDefinition/bundle-epi-type2 base: http://hl7.org/fhir/StructureDefinition/Bundle version: 2.0.0-ballot required: [timestamp, identifier]