PackagesCanonicalsLogsProblems
    Packages
    ca.qc.sq.sgrdv@1.0.2
    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: 105
            elements:
              name:
                pattern: {type: String, value: patient}
                index: 106
              resource: {type: Patient, index: 107}
            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: 92
            elements:
              name:
                pattern: {type: String, value: GMF}
                index: 93
              value:
                choices: [valueReference]
                index: 95
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://sante.quebec/fhir/StructureDefinition/sgrdv-base-find-organization']
                index: 96
              value[x]:
                elements:
                  reference: {index: 97}
                  identifier:
                    index: 98
                    elements:
                      type:
                        index: 99
                        elements:
                          coding:
                            index: 100
                            elements:
                              system:
                                pattern: {type: Uri, value: 'http://sante.quebec/fhir/CodeSystem/sgrdv-identifier-type'}
                                index: 101
                              code:
                                pattern: {type: Code, value: GMF}
                                index: 102
                        required: [coding]
                      system: {index: 103}
                      value: {index: 104}
                    required: [value, type, system]
                required: [identifier]
            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: 79
            elements:
              name:
                pattern: {type: String, value: clinic}
                index: 80
              value:
                choices: [valueReference]
                index: 82
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://sante.quebec/fhir/StructureDefinition/sgrdv-base-find-organization']
                index: 83
              value[x]:
                elements:
                  reference: {index: 84}
                  identifier:
                    index: 85
                    elements:
                      type:
                        index: 86
                        elements:
                          coding:
                            index: 87
                            elements:
                              system:
                                pattern: {type: Uri, value: 'http://sante.quebec/fhir/CodeSystem/sgrdv-identifier-type'}
                                index: 88
                              code:
                                pattern: {type: Code, value: CodeEtablissement}
                                index: 89
                        required: [coding]
                      system: {index: 90}
                      value: {index: 91}
                    required: [value, type, system]
                required: [identifier]
            required: [valueReference, value]
        provenance:
          match: {name: provenance}
          schema:
            _required: true
            index: 108
            elements:
              name:
                pattern: {type: String, value: provenance}
                index: 109
              resource: {type: Provenance, index: 110}
            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
              value[x]:
                elements:
                  reference: {index: 71}
                  identifier:
                    index: 72
                    elements:
                      type:
                        index: 73
                        elements:
                          coding:
                            index: 74
                            elements:
                              system:
                                pattern: {type: Uri, value: 'http://sante.quebec/fhir/CodeSystem/sgrdv-identifier-type'}
                                index: 75
                              code:
                                pattern: {type: Code, value: CodeProfessionnel}
                                index: 76
                        required: [coding]
                      system: {index: 77}
                      value: {index: 78}
                    required: [value, type, system]
                required: [identifier]
            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.2
class: profile
kind: resource
url: http://sante.quebec/fhir/StructureDefinition/sgrdv-base-find-payload-parameters
base: http://hl7.org/fhir/StructureDefinition/Parameters
version: null