PackagesCanonicalsLogsProblems
    Packages
    fhir.ca-bc.provider@1.0.1
    http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-batch-bundle
description: A Bundle that is used in the PLR Batch operation.
package_name: fhir.ca-bc.provider
derivation: constraint
name: BCBatchBundle
type: Bundle
elements:
  type:
    pattern: {type: code, value: batch}
    mustSupport: true
    type: code
    index: 0
  entry:
    index: 1
    elements:
      fullUrl: {mustSupport: true, index: 2}
      resource: {mustSupport: true, index: 3}
      search: {index: 4}
      request:
        mustSupport: true
        index: 5
        elements:
          method:
            mustSupport: true
            pattern: {type: code, value: PUT}
            type: code
            index: 6
          url: {mustSupport: true, index: 7}
      response: {index: 8}
    required: [fullUrl, request, resource]
    slicing:
      rules: open
      description: The specific bundle entries that are needed for creating or updating a BC Organization.
      discriminator:
      - {path: resource, type: profile}
      min: 1
      slices:
        Practitioner:
          match: {}
          schema:
            mustSupport: true
            array: true
            index: 9
            elements:
              resource: {type: Bundle, index: 10}
        Organization:
          match: {}
          schema:
            mustSupport: true
            array: true
            index: 11
            elements:
              resource: {type: Bundle, index: 12}
        Location:
          match: {}
          schema:
            mustSupport: true
            array: true
            index: 13
            elements:
              resource: {type: Bundle, index: 14}
package_version: 1.0.1
class: profile
kind: resource
url: http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-batch-bundle
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: 1.0.0
required: [entry]