PackagesCanonicalsLogsProblems
    Packages
    fhir.ca-bc.provider@1.0.1
    http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-location-bundle
description: A bundle that submits Location information.
package_name: fhir.ca-bc.provider
derivation: constraint
name: BCLocationBundle
type: Bundle
elements:
  type:
    pattern: {type: code, value: collection}
    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}
      response: {index: 6}
    required: [fullUrl, resource]
    slicing:
      rules: open
      description: The specific bundle entries that are needed for creating or updating a BC Location.
      discriminator:
      - {path: resource, type: type}
      min: 1
      slices:
        Location:
          match: {}
          schema:
            mustSupport: true
            array: true
            min: 1
            _required: true
            index: 7
            elements:
              resource: {type: Location, index: 8}
        OrganizationAffiliation:
          match: {}
          schema:
            mustSupport: true
            array: true
            index: 9
            elements:
              resource: {type: OrganizationAffiliation, index: 10}
        PractitionerRole:
          match: {}
          schema:
            mustSupport: true
            array: true
            index: 11
            elements:
              resource: {type: PractitionerRole, index: 12}
package_version: 1.0.1
class: profile
kind: resource
url: http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-location-bundle
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: 1.0.0
required: [entry]