PackagesCanonicalsLogsProblems
    Packages
    ca.qc.sq.sgrdv@1.0.0
    http://sante.quebec/fhir/StructureDefinition/sgrdv-base-find-payload-parameters
description: Profil parent neutre définissant la structure commune des paramètres de l'opération $find. Ne pas utiliser directement — utiliser SGRDVFindRequestParameters ou SGRDVSourceFindRequestParameters.
package_name: ca.qc.sq.sgrdv
derivation: constraint
name: SGRDVBaseFindPayloadParameters
type: Parameters
elements:
  parameter:
    array: true
    min: 6
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: name, type: value}
      min: 6
      slices:
        patient:
          match: {name: patient}
          schema:
            _required: true
            index: 81
            elements:
              name:
                pattern: {type: String, value: patient}
                index: 82
              resource: {type: Patient, index: 83}
            required: [resource]
        timeslotCategory:
          match: {name: timeslot-category}
          schema:
            index: 41
            elements:
              name:
                pattern: {type: String, value: timeslot-category}
                index: 42
              value:
                choices: [valueCode]
                index: 44
              valueCode: {type: code, choiceOf: value, index: 45}
            required: [valueCode, value]
        specialty:
          match: {name: specialty}
          schema:
            array: true
            index: 56
            elements:
              name:
                pattern: {type: String, value: specialty}
                index: 57
              value:
                choices: [valueCode]
                index: 59
              valueCode: {type: code, choiceOf: value, index: 60}
            required: [valueCode, value]
        encounterClass:
          match: {name: encounter-class}
          schema:
            index: 51
            elements:
              name:
                pattern: {type: String, value: encounter-class}
                index: 52
              value:
                choices: [valueCoding]
                index: 54
              valueCoding: {type: Coding, choiceOf: value, index: 55}
            required: [valueCoding, value]
        rls:
          match: {name: RLS}
          schema:
            index: 21
            elements:
              name:
                pattern: {type: String, value: RLS}
                index: 22
              value:
                choices: [valueCode]
                index: 24
              valueCode: {type: code, choiceOf: value, index: 25}
            required: [valueCode, value]
        locationString:
          match: {name: location-string}
          schema:
            index: 11
            elements:
              name:
                pattern: {type: String, value: location-string}
                index: 12
              value:
                choices: [valueString]
                index: 14
              valueString: {type: string, choiceOf: value, index: 15}
            required: [valueString, value]
        start:
          match: {name: start}
          schema:
            _required: true
            index: 1
            elements:
              name:
                pattern: {type: String, value: start}
                index: 2
              value:
                choices: [valueDateTime]
                index: 4
              valueDateTime: {type: dateTime, choiceOf: value, index: 5}
            required: [valueDateTime, value]
        patientPath:
          match: {name: patient-path}
          schema:
            index: 46
            elements:
              name:
                pattern: {type: String, value: patient-path}
                index: 47
              value:
                choices: [valueCode]
                index: 49
              valueCode: {type: code, choiceOf: value, index: 50}
            required: [valueCode, value]
        gmf:
          match: {name: GMF}
          schema:
            index: 76
            elements:
              name:
                pattern: {type: String, value: GMF}
                index: 77
              value:
                choices: [valueReference]
                index: 79
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://sante.quebec/fhir/StructureDefinition/sgrdv-base-find-organization']
                index: 80
            required: [valueReference, value]
        appointmentType:
          match: {name: appointment-type}
          schema:
            _required: true
            index: 36
            elements:
              name:
                pattern: {type: String, value: appointment-type}
                index: 37
              value:
                choices: [valueCode]
                index: 39
              valueCode: {type: code, choiceOf: value, index: 40}
            required: [valueCode, value]
        clinic:
          match: {name: clinic}
          schema:
            array: true
            index: 71
            elements:
              name:
                pattern: {type: String, value: clinic}
                index: 72
              value:
                choices: [valueReference]
                index: 74
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://sante.quebec/fhir/StructureDefinition/sgrdv-base-find-organization']
                index: 75
            required: [valueReference, value]
        provenance:
          match: {name: provenance}
          schema:
            _required: true
            index: 84
            elements:
              name:
                pattern: {type: String, value: provenance}
                index: 85
              resource: {type: Provenance, index: 86}
            required: [resource]
        practitioner:
          match: {name: practitioner}
          schema:
            array: true
            index: 66
            elements:
              name:
                pattern: {type: String, value: practitioner}
                index: 67
              value:
                choices: [valueReference]
                index: 69
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://sante.quebec/fhir/StructureDefinition/sgrdv-base-find-practitioner']
                index: 70
            required: [valueReference, value]
        locationType:
          match: {name: location-type}
          schema:
            _required: true
            index: 31
            elements:
              name:
                pattern: {type: String, value: location-type}
                index: 32
              value:
                choices: [valueCode]
                index: 34
              valueCode: {type: code, choiceOf: value, index: 35}
            required: [valueCode, value]
        rts:
          match: {name: RTS}
          schema:
            index: 16
            elements:
              name:
                pattern: {type: String, value: RTS}
                index: 17
              value:
                choices: [valueCode]
                index: 19
              valueCode: {type: code, choiceOf: value, index: 20}
            required: [valueCode, value]
        end:
          match: {name: end}
          schema:
            _required: true
            index: 6
            elements:
              name:
                pattern: {type: String, value: end}
                index: 7
              value:
                choices: [valueDateTime]
                index: 9
              valueDateTime: {type: dateTime, choiceOf: value, index: 10}
            required: [valueDateTime, value]
        distanceDeplacement:
          match: {name: distance-deplacement}
          schema:
            index: 26
            elements:
              name:
                pattern: {type: String, value: distance-deplacement}
                index: 27
              value:
                choices: [valueInteger]
                index: 29
              valueInteger: {type: integer, choiceOf: value, index: 30}
            required: [value, valueInteger]
        volunteerPractitioner:
          match: {name: volunteer-practitioner}
          schema:
            array: true
            index: 61
            elements:
              name:
                pattern: {type: String, value: volunteer-practitioner}
                index: 62
              value:
                choices: [valueCode]
                index: 64
              valueCode: {type: code, choiceOf: value, index: 65}
            required: [valueCode, value]
package_version: 1.0.0
class: profile
kind: resource
url: http://sante.quebec/fhir/StructureDefinition/sgrdv-base-find-payload-parameters
base: http://hl7.org/fhir/StructureDefinition/Parameters
version: null