PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch-epr-fhir@4.0.1-ballot-2
    http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/ch-pdqm-matchparametersout
description: A profile on the Query Patient Resource Response message for ITI-119
package_name: ch.fhir.ig.ch-epr-fhir
derivation: constraint
name: CHPDQmMatchParametersOut
type: Bundle
elements:
  type:
    pattern: {type: Code, value: searchset}
    index: 0
  total: {index: 1}
  entry:
    index: 2
    elements:
      fullUrl: {index: 3}
    required: [fullUrl]
    slicing:
      rules: open
      discriminator:
      - {path: resource, type: type}
      min: null
      slices:
        Patient:
          match: {}
          schema:
            short: Patient
            array: true
            max: 5
            index: 4
            elements:
              resource: {type: Patient, index: 5}
              search:
                index: 6
                extensions:
                  MatchGrade: {url: 'http://hl7.org/fhir/StructureDefinition/match-grade', min: 1, max: 1, type: Extension, index: 8}
                elements:
                  extension:
                    index: 7
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: 1
                      slices:
                        MatchGrade:
                          match: {url: null}
                          schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/match-grade', index: 8}
                          min: 1
                          max: 1
                  mode:
                    pattern: {type: Code, value: match}
                    index: 9
                  score: {index: 10}
                required: [score, mode, extension]
            required: [resource, search]
        OperationOutcome:
          match: {}
          schema:
            short: OperationOutcome
            array: true
            index: 11
            elements:
              resource: {type: OperationOutcome, index: 12}
            required: [resource]
package_version: 4.0.1-ballot-2
class: profile
kind: resource
url: http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/ch-pdqm-matchparametersout
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: 4.0.1-ballot-2
required: [total]