PackagesCanonicalsLogsProblems
    Packages
    PCR.R4.1@1-0-pkg-1.1.0
    http://ehealthontario.ca/fhir/StructureDefinition/ca-on-pcr-pixm-out-profile-Parameters
description: This is the Parameters profiles for PIXm repsonse from PCR.
package_name: PCR.R4.1
derivation: constraint
name: PCRParametersPixmOut
type: Parameters
elements:
  id: {short: random guid, index: 0}
  meta:
    mustSupport: true
    index: 1
    elements:
      profile:
        mustSupport: true
        pattern: {type: Canonical, value: 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-pcr-pixm-out-profile-Parameters|2.0.0'}
        index: 2
    required: [profile]
  parameter:
    short: patient pattern
    mustSupport: true
    index: 3
    elements:
      name: {mustSupport: true, index: 4}
      resource: {type: Resource, mustSupport: true, index: 5}
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: name, type: value}
      min: null
      slices:
        targetId:
          match: {name: targetId}
          schema:
            short: contains patient's ECID
            mustSupport: true
            index: 6
            elements:
              name:
                pattern: {type: String, value: targetId}
                mustSupport: true
                index: 7
              value:
                choices: []
                index: 9
                slicing:
                  rules: closed
                  discriminator:
                  - {path: $this, type: type}
                  min: null
                  slices:
                    valueReference:
                      match: {}
                      schema:
                        mustSupport: true
                        choices: [valueReference]
                        _required: true
                        index: 11
                      min: 1
              valueReference:
                type: Reference
                mustSupport: true
                choiceOf: value
                index: 12
                slicing:
                  slices:
                    valueReference:
                      match: {}
                      schema: {type: Reference, mustSupport: true, choiceOf: value, _required: true, index: 12}
                      min: 1
              value[x]:
                elements:
                  reference: {short: Relative URL to patient's location indicated by the ECID (e.g. /Patient/12345), mustSupport: true, index: 13}
            required: [valueReference]
        targetIdentifier:
          match: {name: targetIdentifier}
          schema:
            mustSupport: true
            index: 14
            elements:
              name:
                pattern: {type: String, value: targetIdentifier}
                mustSupport: true
                index: 15
              value:
                choices: []
                index: 17
                slicing:
                  rules: closed
                  discriminator:
                  - {path: $this, type: type}
                  min: null
                  slices:
                    valueIdentifier:
                      match: {}
                      schema:
                        short: parameter that contains the reference to patient ecid
                        mustSupport: true
                        choices: [valueIdentifier]
                        _required: true
                        index: 19
                      min: 1
              valueIdentifier:
                type: Identifier
                short: parameter that contains the reference to patient ecid
                mustSupport: true
                choiceOf: value
                index: 20
                slicing:
                  slices:
                    valueIdentifier:
                      match: {}
                      schema: {type: Identifier, short: parameter that contains the reference to patient ecid, mustSupport: true, choiceOf: value, _required: true, index: 20}
                      min: 1
            required: [valueIdentifier]
        operationoutcome:
          match: {name: warning}
          schema:
            mustSupport: true
            index: 21
            elements:
              name:
                pattern: {type: String, value: warning}
                mustSupport: true
                index: 22
              resource: {type: Resource, mustSupport: true, index: 23}
package_version: 1-0-pkg-1.1.0
class: profile
kind: resource
url: http://ehealthontario.ca/fhir/StructureDefinition/ca-on-pcr-pixm-out-profile-Parameters
base: http://hl7.org/fhir/StructureDefinition/Parameters
version: 2.0.0
required: [id, meta]