PackagesCanonicalsLogsProblems
    Packages
    ca.ab.fhir.aberec1@1.0.2
    https://www.alberta.ca/fhir/aberec/StructureDefinition/BundleABeReC
description: This profile defines a set of constraints to the FHIR Bundle resource for use in Alberta eReferral and eConsult (AB:eReC). It re-profiles the CA-eReC Bundle profile and it includes constraints applied to the Bundle resource by the AB:eReC project to include hard constraints (invariants) than enforce what sections and resource elements are allowed to be present in an Alberta eReferral and/or eConsult. These have been applied at the Bundle level as an alternative to forbidding elements through 0..0 cardinality - to balance the need for mechanical validation on eReferral and/or eConsult against the re-use of clinical FHIR profiles under different contexts.
package_name: ca.ab.fhir.aberec1
derivation: constraint
name: BundleABeReC
type: Bundle
elements:
  meta:
    extensions:
      submissionMetadata: {url: 'https://www.alberta.ca/fhir/psab/StructureDefinition/ext-EntityIdentifierAndName', min: 1, type: Extension, mustSupport: true, index: 1}
    elements:
      extension:
        index: 0
        slicing:
          slices:
            submissionMetadata:
              match: {}
              schema: {type: Extension, mustSupport: true, url: 'https://www.alberta.ca/fhir/psab/StructureDefinition/ext-EntityIdentifierAndName', index: 1}
              min: 1
      security:
        binding: {strength: extensible, valueSet: 'https://www.alberta.ca/fhir/ValueSet/security-label'}
        mustSupport: true
        index: 2
    required: [extension]
  identifier: {index: 3}
  entry:
    index: 4
    slicing:
      slices:
        Message:
          match: {}
          schema:
            index: 4
            elements:
              resource: {type: Resource, index: 5}
        Focus:
          match: {}
          schema:
            index: 6
            elements:
              resource: {type: Resource, index: 7}
package_version: 1.0.2
class: profile
kind: resource
url: https://www.alberta.ca/fhir/aberec/StructureDefinition/BundleABeReC
base: http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Bundle
version: 1.0.2
required: [identifier]