PackagesCanonicalsLogsProblems
    Packages
    ca.ab.fhir.psab@0.3.0-pre9
    https://www.alberta.ca/fhir/psab/StructureDefinition/BundlePSAB
description: This profile defines a set of constraints to the FHIR Bundle resource for use in Alberta Patient Summaries (PS-AB). It re-profiles the PS-CA Bundle profile and refines constraints applied to the Bundle resource by the PS-CA project to include hard constraints (invariants) than enforce what sections and resource elements are allowed to be present in an Alberta Patient Summary. 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 Patient Summary against the re-use of clinical FHIR profiles under different contexts.
package_name: ca.ab.fhir.psab
derivation: constraint
name: BundlePSAB
type: Bundle
elements:
  meta:
    extensions:
      submittingSiteID:
        url: https://www.alberta.ca/fhir/psab/StructureDefinition/ext-EntityIdentifierAndName
        type: Extension
        mustSupport: true
        index: 1
        extensions:
          entityIdentifier:
            url: null
            index: 2
            elements:
              value[x]:
                elements:
                  type:
                    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/identifier-type'}
                    index: 3
        elements:
          extension:
            index: 2
            slicing:
              slices:
                entityIdentifier:
                  match: {}
                  schema:
                    index: 2
                    elements:
                      value[x]:
                        elements:
                          type:
                            binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/identifier-type'}
                            index: 3
      submittingEMRVendorName:
        url: https://www.alberta.ca/fhir/psab/StructureDefinition/ext-EntityIdentifierAndName
        type: Extension
        mustSupport: true
        index: 4
        extensions:
          entityIdentifier: {url: null, max: 0, index: 5}
        elements:
          extension:
            index: 5
            slicing:
              slices:
                entityIdentifier:
                  match: {}
                  schema: {index: 5}
                  max: 0
      submittingProductName:
        url: https://www.alberta.ca/fhir/psab/StructureDefinition/ext-EntityIdentifierAndName
        type: Extension
        mustSupport: true
        index: 6
        extensions:
          entityIdentifier: {url: null, max: 0, index: 7}
        elements:
          extension:
            index: 7
            slicing:
              slices:
                entityIdentifier:
                  match: {}
                  schema: {index: 7}
                  max: 0
      submissionIGVersion:
        url: https://www.alberta.ca/fhir/psab/StructureDefinition/ext-EntityIdentifierAndName
        type: Extension
        mustSupport: true
        index: 8
        extensions:
          entityIdentifier: {url: null, max: 0, index: 9}
        elements:
          extension:
            index: 9
            slicing:
              slices:
                entityIdentifier:
                  match: {}
                  schema: {index: 9}
                  max: 0
      facilityID:
        url: https://www.alberta.ca/fhir/psab/StructureDefinition/ext-EntityIdentifierAndName
        type: Extension
        mustSupport: true
        index: 10
        extensions:
          entityIdentifier:
            url: null
            index: 11
            elements:
              value[x]:
                elements:
                  type:
                    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/identifier-type'}
                    index: 12
          entityName: {url: null, max: 0, index: 13}
        elements:
          extension:
            index: 11
            slicing:
              slices:
                entityIdentifier:
                  match: {}
                  schema:
                    index: 11
                    elements:
                      value[x]:
                        elements:
                          type:
                            binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/identifier-type'}
                            index: 12
                entityName:
                  match: {}
                  schema: {index: 13}
                  max: 0
      providerID:
        url: https://www.alberta.ca/fhir/psab/StructureDefinition/ext-EntityIdentifierAndName
        type: Extension
        mustSupport: true
        index: 14
        extensions:
          entityIdentifier:
            url: null
            index: 15
            elements:
              value[x]:
                elements:
                  type:
                    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/identifier-type'}
                    index: 16
          entityName: {url: null, max: 0, index: 17}
        elements:
          extension:
            index: 15
            slicing:
              slices:
                entityIdentifier:
                  match: {}
                  schema:
                    index: 15
                    elements:
                      value[x]:
                        elements:
                          type:
                            binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/identifier-type'}
                            index: 16
                entityName:
                  match: {}
                  schema: {index: 17}
                  max: 0
    elements:
      extension:
        array: true
        min: 6
        index: 0
        slicing:
          slices:
            submittingSiteID:
              match: {}
              schema:
                type: Extension
                mustSupport: true
                url: https://www.alberta.ca/fhir/psab/StructureDefinition/ext-EntityIdentifierAndName
                index: 1
                extensions:
                  entityIdentifier:
                    url: null
                    index: 2
                    elements:
                      value[x]:
                        elements:
                          type:
                            binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/identifier-type'}
                            index: 3
                elements:
                  extension:
                    index: 2
                    slicing:
                      slices:
                        entityIdentifier:
                          match: {}
                          schema:
                            index: 2
                            elements:
                              value[x]:
                                elements:
                                  type:
                                    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/identifier-type'}
                                    index: 3
            submittingEMRVendorName:
              match: {}
              schema:
                type: Extension
                mustSupport: true
                url: https://www.alberta.ca/fhir/psab/StructureDefinition/ext-EntityIdentifierAndName
                index: 4
                extensions:
                  entityIdentifier: {url: null, max: 0, index: 5}
                elements:
                  extension:
                    index: 5
                    slicing:
                      slices:
                        entityIdentifier:
                          match: {}
                          schema: {index: 5}
                          max: 0
            submittingProductName:
              match: {}
              schema:
                type: Extension
                mustSupport: true
                url: https://www.alberta.ca/fhir/psab/StructureDefinition/ext-EntityIdentifierAndName
                index: 6
                extensions:
                  entityIdentifier: {url: null, max: 0, index: 7}
                elements:
                  extension:
                    index: 7
                    slicing:
                      slices:
                        entityIdentifier:
                          match: {}
                          schema: {index: 7}
                          max: 0
            submissionIGVersion:
              match: {}
              schema:
                type: Extension
                mustSupport: true
                url: https://www.alberta.ca/fhir/psab/StructureDefinition/ext-EntityIdentifierAndName
                index: 8
                extensions:
                  entityIdentifier: {url: null, max: 0, index: 9}
                elements:
                  extension:
                    index: 9
                    slicing:
                      slices:
                        entityIdentifier:
                          match: {}
                          schema: {index: 9}
                          max: 0
            facilityID:
              match: {}
              schema:
                type: Extension
                mustSupport: true
                url: https://www.alberta.ca/fhir/psab/StructureDefinition/ext-EntityIdentifierAndName
                index: 10
                extensions:
                  entityIdentifier:
                    url: null
                    index: 11
                    elements:
                      value[x]:
                        elements:
                          type:
                            binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/identifier-type'}
                            index: 12
                  entityName: {url: null, max: 0, index: 13}
                elements:
                  extension:
                    index: 11
                    slicing:
                      slices:
                        entityIdentifier:
                          match: {}
                          schema:
                            index: 11
                            elements:
                              value[x]:
                                elements:
                                  type:
                                    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/identifier-type'}
                                    index: 12
                        entityName:
                          match: {}
                          schema: {index: 13}
                          max: 0
            providerID:
              match: {}
              schema:
                type: Extension
                mustSupport: true
                url: https://www.alberta.ca/fhir/psab/StructureDefinition/ext-EntityIdentifierAndName
                index: 14
                extensions:
                  entityIdentifier:
                    url: null
                    index: 15
                    elements:
                      value[x]:
                        elements:
                          type:
                            binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/identifier-type'}
                            index: 16
                  entityName: {url: null, max: 0, index: 17}
                elements:
                  extension:
                    index: 15
                    slicing:
                      slices:
                        entityIdentifier:
                          match: {}
                          schema:
                            index: 15
                            elements:
                              value[x]:
                                elements:
                                  type:
                                    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/identifier-type'}
                                    index: 16
                        entityName:
                          match: {}
                          schema: {index: 17}
                          max: 0
  entry:
    index: 18
    slicing:
      slices:
        composition:
          match: {}
          schema:
            index: 18
            elements:
              fullUrl: {mustSupport: true, index: 19}
              resource: {type: Composition, index: 20}
              search: {index: 21}
              request: {index: 22}
              response: {index: 23}
            required: [fullUrl]
        patient:
          match: {}
          schema:
            index: 24
            elements:
              resource: {type: Patient, index: 25}
              search: {index: 26}
              request: {index: 27}
              response: {index: 28}
package_version: 0.3.0-pre9
class: profile
kind: resource
url: https://www.alberta.ca/fhir/psab/StructureDefinition/BundlePSAB
base: http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/bundle-ca-ps
version: null