PackagesCanonicalsLogsProblems
    Packages
    ihe.iti.pdqm@3.0.0-comment
    https://profiles.ihe.net/ITI/PDQm/StructureDefinition/IHE.PDQm.MatchParametersIn
description: The PDQm Match Input Parameters Profile describes the Parameters Resource that is to be posted to the $match endpoint when invoking ITI-119.\nThis profile is consistent with the expections of the [Patient-match operation in FHIR core](http://hl7.org/fhir/R4/patient-operation-match.html),\nexcept the input resource shall be an instance of the [PDQm Patient Profile for $match Input](StructureDefinition-IHE.PDQm.MatchInputPatient.html).\n\nNote that the only required parameter is the Patient Resource. When only the Patient is supplied, it can be POSTed directly to the $match endpoint\nwithout being wrapped in a Parameters Resource, as long as it conforms to the [PDQm Patient Profile for $match Input](StructureDefinition-IHE.PDQm.MatchInputPatient.html).
package_name: ihe.iti.pdqm
derivation: constraint
name: MatchParametersIn
type: Parameters
elements:
  implicitRules: {index: 0}
  parameter:
    array: true
    min: 1
    max: 3
    index: 1
    elements:
      modifierExtension: {index: 2}
    slicing:
      rules: closed
      ordered: false
      description: Parameters should match those of the $match input, with PDQm Profile Restrictions
      discriminator:
      - {path: name, type: value}
      min: 1
      max: 3
      slices:
        resource:
          match: {name: resource}
          schema:
            _required: true
            index: 3
            elements:
              modifierExtension: {index: 4}
              name:
                pattern: {type: String, value: resource}
                index: 5
              value:
                choices: []
                index: 7
              resource: {type: Patient, index: 8}
              part: {index: 9}
            required: [resource]
        onlyCertainMatches:
          match: {name: onlyCertainMatches}
          schema:
            index: 10
            elements:
              modifierExtension: {index: 11}
              name:
                pattern: {type: String, value: onlyCertainMatches}
                index: 12
              value:
                choices: [valueBoolean]
                index: 14
              valueBoolean: {type: boolean, choiceOf: value, index: 15}
              resource: {index: 16}
              part: {index: 17}
            required: [value, valueBoolean]
        count:
          match: {name: count}
          schema:
            index: 18
            elements:
              modifierExtension: {index: 19}
              name:
                pattern: {type: String, value: count}
                index: 20
              value:
                choices: [valueInteger]
                index: 22
              valueInteger: {type: integer, choiceOf: value, index: 23}
              resource: {index: 24}
              part: {index: 25}
            required: [value, valueInteger]
package_version: 3.0.0-comment
class: profile
kind: resource
url: https://profiles.ihe.net/ITI/PDQm/StructureDefinition/IHE.PDQm.MatchParametersIn
base: http://hl7.org/fhir/StructureDefinition/Parameters
version: 3.0.0-comment
required: [parameter]