PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.emedicinal-product-info@2.0.0-ballot
    http://hl7.org/fhir/uv/emedicinal-product-info/StructureDefinition/Bundle-uv-epi
description: This profile represents the constraints applied to the Bundle resource used for an Electronic Product Information (ePI) document. It is used for ePI Type 1 (Digital Label), where the Bundle carries the Composition (ePI); other resources may also be included. The Type 2 and Type 3 Bundle profiles apply the same rules and add entry slices for product and clinical resources.
package_name: hl7.fhir.uv.emedicinal-product-info
derivation: constraint
name: BundleUvEpi
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-uv-epi', 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-uv-epi', severity: error, expression: resource.where($this is Binary).empty()}
    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: 1
      slices:
        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}
package_version: 2.0.0-ballot
class: profile
kind: resource
url: http://hl7.org/fhir/uv/emedicinal-product-info/StructureDefinition/Bundle-uv-epi
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: 2.0.0-ballot
required: [entry, timestamp, identifier]