PackagesCanonicalsLogsProblems
    Packages
    ca.qc.sq.sgrdv@1.0.5
    http://sante.quebec/fhir/StructureDefinition/sgrdv-base-book-payload-parameters
description: Profil parent neutre des paramètres d'entrée de l'opération $book. Ne pas utiliser directement — utiliser SGRDVBookRequestParameters (api-sgrdv) ou SGRDVSourceBookNotificationParameters (api-source). Inclut la cible (appointment + slot en logical reference), le récit de navigation Vitrai, le patient enrichi (telecom + SMS), la raison de consultation, le code postal de recherche et la provenance multi-agents.
package_name: ca.qc.sq.sgrdv
derivation: constraint
name: SGRDVBaseBookPayloadParameters
type: Parameters
elements:
  parameter:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: name, type: value}
      min: null
      slices:
        orientationId:
          match: {name: orientation-id}
          schema:
            index: 29
            elements:
              name:
                pattern: {type: String, value: orientation-id}
                index: 30
              value:
                choices: [valueInteger]
                index: 32
              valueInteger: {type: integer, choiceOf: value, index: 33}
            required: [value, valueInteger]
        patient:
          match: {name: patient}
          schema:
            index: 34
            elements:
              name:
                pattern: {type: String, value: patient}
                index: 35
              resource: {type: Patient, index: 36}
            required: [resource]
        appointment:
          match: {name: appointment}
          schema:
            index: 1
            elements:
              name:
                pattern: {type: String, value: appointment}
                index: 2
              value:
                choices: [valueReference]
                index: 4
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://hl7.org/fhir/StructureDefinition/Appointment']
                index: 5
              value[x]:
                elements:
                  reference: {index: 6}
                  type:
                    pattern: {type: Uri, value: Appointment}
                    index: 7
                  identifier:
                    index: 8
                    elements:
                      type:
                        index: 9
                        elements:
                          coding:
                            index: 10
                            elements:
                              system:
                                pattern: {type: Uri, value: 'http://sante.quebec/fhir/CodeSystem/sgrdv-identifier-type'}
                                index: 11
                              code:
                                pattern: {type: Code, value: IdDispoDME}
                                index: 12
                        required: [coding]
                      system: {index: 13}
                      value: {index: 14}
                    required: [value, type, system]
                required: [identifier]
            required: [valueReference, value]
        slot:
          match: {name: slot}
          schema:
            array: true
            index: 15
            elements:
              name:
                pattern: {type: String, value: slot}
                index: 16
              value:
                choices: [valueReference]
                index: 18
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://hl7.org/fhir/StructureDefinition/Slot']
                index: 19
              value[x]:
                elements:
                  reference: {index: 20}
                  type:
                    pattern: {type: Uri, value: Slot}
                    index: 21
                  identifier:
                    index: 22
                    elements:
                      type:
                        index: 23
                        elements:
                          coding:
                            index: 24
                            elements:
                              system:
                                pattern: {type: Uri, value: 'http://sante.quebec/fhir/CodeSystem/sgrdv-identifier-type'}
                                index: 25
                              code:
                                pattern: {type: Code, value: IdSlotDME}
                                index: 26
                        required: [coding]
                      system: {index: 27}
                      value: {index: 28}
                    required: [value, type, system]
                required: [identifier]
            required: [valueReference, value]
        locationString:
          match: {name: location-string}
          schema:
            index: 42
            elements:
              name:
                pattern: {type: String, value: location-string}
                index: 43
              value:
                choices: [valueString]
                index: 45
              valueString: {type: string, choiceOf: value, index: 46}
            required: [valueString, value]
        organisationREO:
          match: {name: organisationREO}
          schema:
            index: 52
            elements:
              name:
                pattern: {type: String, value: organisationREO}
                index: 53
              resource: {type: Organization, index: 54}
            required: [resource]
        encounterReason:
          match: {name: encounter-reason}
          schema:
            index: 37
            elements:
              name:
                pattern: {type: String, value: encounter-reason}
                index: 38
              value:
                choices: [valueString]
                index: 40
              valueString: {type: string, choiceOf: value, index: 41}
            required: [valueString, value]
        provenance:
          match: {name: provenance}
          schema:
            index: 55
            elements:
              name:
                pattern: {type: String, value: provenance}
                index: 56
              resource: {type: Provenance, index: 57}
            required: [resource]
        lockIdentifier:
          match: {name: lockIdentifier}
          schema:
            index: 47
            elements:
              name:
                pattern: {type: String, value: lockIdentifier}
                index: 48
              value:
                choices: [valueString]
                index: 50
              valueString: {type: string, choiceOf: value, index: 51}
            required: [valueString, value]
package_version: 1.0.5
class: profile
kind: resource
url: http://sante.quebec/fhir/StructureDefinition/sgrdv-base-book-payload-parameters
base: http://hl7.org/fhir/StructureDefinition/Parameters
version: null