PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.psca@2.0.2-DFT-Ballot
    http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/bundle-ca-ps
description: This profile represents the constraints applied to the Bundle resource by the PS-CA project.
package_name: ca.infoway.io.psca
derivation: constraint
name: BundlePSCA
type: Bundle
elements:
  identifier: {mustSupport: true, index: 0}
  type:
    pattern: {type: Code, value: document}
    mustSupport: true
    index: 1
  timestamp: {mustSupport: true, index: 2}
  link: {index: 3}
  entry:
    short: Entry resource in the patient summary bundle
    mustSupport: true
    array: true
    min: 2
    index: 4
    elements:
      fullUrl: {mustSupport: true, index: 5}
      search: {index: 6}
      request: {index: 7}
      response: {index: 8}
    required: [fullUrl]
    slicing:
      rules: open
      discriminator:
      - {path: resource, type: type}
      - {path: resource, type: profile}
      min: 2
      slices:
        composition:
          match: {}
          schema:
            mustSupport: true
            _required: true
            index: 9
            elements:
              resource: {type: Composition, mustSupport: true, index: 10}
            required: [resource]
        patient:
          match: {}
          schema:
            mustSupport: true
            _required: true
            index: 11
            elements:
              resource: {type: Patient, mustSupport: true, index: 12}
            required: [resource]
package_version: 2.0.2-DFT-Ballot
class: profile
kind: resource
url: http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/bundle-ca-ps
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: null
required: [timestamp, identifier]