PackagesCanonicalsLogsProblems
    Packages
    ca.qc.sq.sgrdv@1.1.0
    http://sante.quebec/fhir/StructureDefinition/sgrdv-lock-result-parameters
description: Paramètres de résultat de l'opération $lock retournés par SGRDV. Présents en cas de succès uniquement. La disponibilité verrouillée est exposée en logical reference (identifier seul) — la ressource Appointment n'est pas matérialisée dans le Bundle de réponse.
package_name: ca.qc.sq.sgrdv
derivation: constraint
name: SGRDVLockResultParameters
type: Parameters
elements:
  parameter:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: name, type: value}
      min: null
      slices:
        lockIdentifier:
          match: {name: lockIdentifier}
          schema:
            mustSupport: true
            index: 1
            elements:
              name:
                pattern: {type: String, value: lockIdentifier}
                mustSupport: true
                index: 2
              value:
                mustSupport: true
                choices: [valueString]
                index: 4
              valueString: {type: string, mustSupport: true, choiceOf: value, index: 5}
            required: [valueString, value]
        lockEndTime:
          match: {name: lockEndTime}
          schema:
            mustSupport: true
            index: 6
            elements:
              name:
                pattern: {type: String, value: lockEndTime}
                mustSupport: true
                index: 7
              value:
                mustSupport: true
                choices: [valueDateTime]
                index: 9
              valueDateTime: {type: dateTime, mustSupport: true, choiceOf: value, index: 10}
            required: [valueDateTime, value]
        lockedAppointment:
          match: {name: lockedAppointment}
          schema:
            mustSupport: true
            index: 11
            elements:
              name:
                pattern: {type: String, value: lockedAppointment}
                mustSupport: true
                index: 12
              value:
                mustSupport: true
                choices: [valueReference]
                index: 14
              valueReference:
                type: Reference
                mustSupport: true
                choiceOf: value
                refers: ['http://sante.quebec/fhir/StructureDefinition/sgrdv-lock-response-appointment']
                index: 15
              value[x]:
                elements:
                  reference: {index: 16}
                  identifier:
                    index: 17
                    elements:
                      type:
                        index: 18
                        elements:
                          coding:
                            index: 19
                            elements:
                              system:
                                pattern: {type: Uri, value: 'http://sante.quebec/fhir/CodeSystem/sgrdv-identifier-type'}
                                index: 20
                              code:
                                pattern: {type: Code, value: IdDispoDME}
                                index: 21
                        required: [coding]
                      system: {index: 22}
                      value: {index: 23}
                    required: [value, type, system]
                required: [identifier]
            required: [valueReference, value]
package_version: 1.1.0
class: profile
kind: resource
url: http://sante.quebec/fhir/StructureDefinition/sgrdv-lock-result-parameters
base: http://sante.quebec/fhir/StructureDefinition/sgrdv-base-lock-response-parameters
version: 1.1.0