PackagesCanonicalsLogsProblems
    Packages
    fhir.ca@bc.client-1.0.1-beta
    http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-merge-response-bundle
description: A Bundle that is used in the Client Registry response to Merge Patient requests.
package_name: fhir.ca
derivation: constraint
name: MergeResponseBundle
type: Bundle
elements:
  type:
    pattern: {type: Code, value: collection}
    mustSupport: true
    index: 0
  entry:
    array: true
    min: 2
    max: 2
    index: 1
    elements:
      fullUrl: {mustSupport: true, index: 2}
      resource: {mustSupport: true, index: 3}
      request: {mustSupport: true, index: 4}
    required: [resource, fullUrl]
    slicing:
      rules: open
      description: The specific bundle entries that are needed when the Client Registry is responding to a merge request.
      discriminator:
      - {path: resource, type: type}
      min: 2
      max: 2
      slices:
        parameters:
          match: {}
          schema:
            short: Metadata out parameters
            mustSupport: true
            _required: true
            index: 5
            elements:
              resource: {type: Parameters, index: 6}
        operationOutcome:
          match: {}
          schema:
            short: Messages and codes returned by HCIM.
            mustSupport: true
            _required: true
            index: 7
            elements:
              resource: {type: OperationOutcome, index: 8}
package_version: bc.client-1.0.1-beta
class: profile
kind: resource
url: http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-merge-response-bundle
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: 1.0.0