PackagesCanonicalsLogsProblems
    Packages
    ca.qc.sq.sgrdv@1.2.1
    http://sante.quebec/fhir/StructureDefinition/sgrdv-base-find-response-appointment
description: Profil neutre d'un Appointment retourné par $find — disponibilité (status proposed) ou rendez-vous existant (status booked).
package_name: ca.qc.sq.sgrdv
derivation: constraint
name: SGRDVBaseFindResponseAppointment
type: Appointment
elements:
  serviceCategory:
    binding: {strength: required, valueSet: 'http://sante.quebec/fhir/ValueSet/sgrdv-timeslot-category-vs'}
    mustSupport: true
    index: 15
    elements:
      coding:
        mustSupport: true
        index: 16
        elements:
          system:
            pattern: {type: Uri, value: 'http://sante.quebec/fhir/CodeSystem/sgrdv-timeslot-category'}
            index: 17
          code: {mustSupport: true, index: 18}
  slot:
    type: Reference
    mustSupport: true
    refers: ['http://sante.quebec/fhir/StructureDefinition/sgrdv-base-dme-slot']
    index: 29
    elements:
      reference: {index: 30}
      identifier:
        index: 31
        elements:
          type:
            index: 32
            elements:
              coding:
                index: 33
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://sante.quebec/fhir/CodeSystem/sgrdv-identifier-type'}
                    index: 34
                  code:
                    pattern: {type: Code, value: IdSlotDME}
                    index: 35
            required: [coding]
          system: {index: 36}
          value: {index: 37}
        required: [value, type, system]
    required: [identifier]
  start: {mustSupport: true, index: 27}
  participant:
    mustSupport: true
    array: true
    min: 2
    index: 38
    slicing:
      rules: open
      discriminator:
      - {path: actor, type: type}
      min: 2
      slices:
        practitionerRole:
          match: {}
          schema:
            mustSupport: true
            _required: true
            index: 39
            elements:
              actor:
                type: Reference
                mustSupport: true
                refers: ['http://sante.quebec/fhir/StructureDefinition/sgrdv-base-find-response-practitioner-role']
                index: 40
            required: [actor]
        location:
          match: {}
          schema:
            mustSupport: true
            _required: true
            index: 41
            elements:
              actor:
                type: Reference
                mustSupport: true
                refers: ['http://sante.quebec/fhir/StructureDefinition/sgrdv-base-find-response-location']
                index: 42
            required: [actor]
  serviceType:
    binding: {strength: required, valueSet: 'http://sante.quebec/fhir/ValueSet/sgrdv-trajectoire-vs'}
    mustSupport: true
    index: 19
    elements:
      coding:
        mustSupport: true
        index: 20
        elements:
          system:
            pattern: {type: Uri, value: 'http://sante.quebec/fhir/CodeSystem/sgrdv-trajectoire'}
            index: 21
          code: {mustSupport: true, index: 22}
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        encounter:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: http://sante.quebec/fhir/StructureDefinition/sgrdv-appointment-encounter
            index: 1
            elements:
              value:
                mustSupport: true
                choices: []
                index: 3
        cancellable:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: http://sante.quebec/fhir/StructureDefinition/sgrdv-appointment-cancellable
            index: 4
            elements:
              value:
                mustSupport: true
                choices: []
                index: 6
  appointmentType:
    binding: {strength: required, valueSet: 'http://sante.quebec/fhir/ValueSet/sgrdv-appointment-type-vs'}
    mustSupport: true
    index: 23
    elements:
      coding:
        mustSupport: true
        index: 24
        elements:
          system:
            pattern: {type: Uri, value: 'http://sante.quebec/fhir/CodeSystem/sgrdv-appointment-type'}
            index: 25
          code: {mustSupport: true, index: 26}
  status: {mustSupport: true, index: 14}
  identifier:
    mustSupport: true
    index: 7
    elements:
      type:
        mustSupport: true
        index: 8
        elements:
          coding:
            index: 9
            elements:
              system:
                pattern: {type: Uri, value: 'http://sante.quebec/fhir/CodeSystem/sgrdv-identifier-type'}
                index: 10
              code:
                pattern: {type: Code, value: IdDispoDME}
                index: 11
        required: [coding]
      system: {mustSupport: true, index: 12}
      value: {mustSupport: true, index: 13}
    required: [value, type, system]
  end: {mustSupport: true, index: 28}
package_version: 1.2.1
extensions:
  encounter:
    url: http://sante.quebec/fhir/StructureDefinition/sgrdv-appointment-encounter
    type: Extension
    mustSupport: true
    index: 1
    elements:
      value:
        mustSupport: true
        choices: []
        index: 3
  cancellable:
    url: http://sante.quebec/fhir/StructureDefinition/sgrdv-appointment-cancellable
    type: Extension
    mustSupport: true
    index: 4
    elements:
      value:
        mustSupport: true
        choices: []
        index: 6
class: profile
kind: resource
url: http://sante.quebec/fhir/StructureDefinition/sgrdv-base-find-response-appointment
base: http://hl7.org/fhir/StructureDefinition/Appointment
version: 1.2.1
required: [slot, start, identifier, appointmentType, serviceCategory, end]