PackagesCanonicalsLogsProblems
    Packages
    ca.on.pcr.r4@1.0.0-draft1
    http://ontariohealth.ca/fhir/pcr/StructureDefinition/profile-parameters-merge-output
description: A profile that indicates the output parameters for the Patient Merge operation.
package_name: ca.on.pcr.r4
derivation: constraint
name: PatientMergeOutputParameters
type: Parameters
elements:
  parameter:
    array: true
    min: 3
    index: 0
    slicing:
      rules: open
      description: Slice parameters based on the name
      discriminator:
      - {path: name, type: value}
      min: 3
      slices:
        merge-parameters:
          match: {name: input}
          schema:
            mustSupport: true
            _required: true
            index: 1
            elements:
              name:
                pattern: {type: String, value: input}
                index: 2
              value:
                choices: []
                index: 4
              resource: {type: Parameters, mustSupport: true, index: 5}
            required: [resource]
        result-patient:
          match: {name: result}
          schema:
            mustSupport: true
            _required: true
            index: 6
            elements:
              name:
                pattern: {type: String, value: result}
                index: 7
              value:
                choices: []
                index: 9
              resource: {type: Patient, mustSupport: true, index: 10}
            required: [resource]
        operation-outcome:
          match: {name: outcome}
          schema:
            mustSupport: true
            _required: true
            index: 11
            elements:
              name:
                pattern: {type: String, value: outcome}
                index: 12
              value:
                choices: []
                index: 14
              resource: {type: OperationOutcome, mustSupport: true, index: 15}
            required: [resource]
package_version: 1.0.0-draft1
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/pcr/StructureDefinition/profile-parameters-merge-output
base: http://hl7.org/fhir/StructureDefinition/Parameters
version: 1.0.0-draft1