PackagesCanonicalsLogsProblems
    Packages
    ca.on.pcr.r4@1.0.0-draft1
    http://ontariohealth.ca/fhir/pcr/StructureDefinition/profile-parameters-unmerge-output
description: A profile that indicates the output parameters for the Patient Unmerge operation.
package_name: ca.on.pcr.r4
derivation: constraint
name: PatientUnmergeOutputParameters
type: Parameters
elements:
  parameter:
    array: true
    min: 2
    index: 0
    slicing:
      rules: open
      description: Slice parameters based on the name
      discriminator:
      - {path: name, type: value}
      min: 2
      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]
        retained-patient-result:
          match: {name: retained-patient-result}
          schema:
            mustSupport: true
            index: 6
            elements:
              name:
                pattern: {type: String, value: retained-patient-result}
                index: 7
              value:
                choices: []
                index: 9
              resource: {type: Patient, mustSupport: true, index: 10}
            required: [resource]
        restored-patient-result:
          match: {name: restored-patient-result}
          schema:
            mustSupport: true
            index: 11
            elements:
              name:
                pattern: {type: String, value: restored-patient-result}
                index: 12
              value:
                choices: []
                index: 14
              resource: {type: Patient, mustSupport: true, index: 15}
            required: [resource]
        operation-outcome:
          match: {name: operation-outcome}
          schema:
            mustSupport: true
            _required: true
            index: 16
            elements:
              name:
                pattern: {type: String, value: operation-outcome}
                index: 17
              value:
                choices: []
                index: 19
              resource: {type: OperationOutcome, mustSupport: true, index: 20}
            required: [resource]
package_version: 1.0.0-draft1
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/pcr/StructureDefinition/profile-parameters-unmerge-output
base: http://hl7.org/fhir/StructureDefinition/Parameters
version: 1.0.0-draft1