PackagesCanonicalsLogsProblems
    Packages
    ca.qc.sq.sgrdv@1.0.4
    http://sante.quebec/fhir/StructureDefinition/sgrdv-base-book-source-device
description: Spécialisation du Device source pour les demandes de réservation. Embarque la tuile du portail REO via Device.property[tuilePortail] et le lieu Clinique d'origine via Device.owner (logical reference vers Organization).
package_name: ca.qc.sq.sgrdv
derivation: constraint
name: SGRDVBaseBookSourceDevice
type: Device
elements:
  property:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: type, type: pattern}
      min: null
      slices:
        tuilePortail:
          match: {type: null}
          schema:
            mustSupport: true
            index: 1
            elements:
              type:
                elements:
                  coding:
                    index: 2
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://sante.quebec/fhir/CodeSystem/sgrdv-device-property-type'}
                        index: 3
                      code:
                        pattern: {type: Code, value: tuilePortail}
                        index: 4
                required: [coding]
              valueCode:
                binding: {strength: required, valueSet: 'http://sante.quebec/fhir/ValueSet/sgrdv-tuile-portail-reo-vs'}
                mustSupport: true
                index: 5
                elements:
                  coding:
                    index: 6
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://sante.quebec/fhir/CodeSystem/sgrdv-tuile-portail-reo'}
                        index: 7
                      code: {mustSupport: true, index: 8}
                required: [coding]
            required: [valueCode]
  owner:
    type: Reference
    mustSupport: true
    refers: ['http://sante.quebec/fhir/StructureDefinition/sgrdv-base-find-organization']
    index: 9
    elements:
      reference: {index: 10}
      type:
        pattern: {type: Uri, value: Organization}
        index: 11
      identifier:
        index: 12
        elements:
          type:
            index: 13
            elements:
              coding:
                index: 14
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://sante.quebec/fhir/CodeSystem/sgrdv-identifier-type'}
                    index: 15
                  code:
                    pattern: {type: Code, value: CodeEtablissement}
                    index: 16
            required: [coding]
          system: {index: 17}
          value: {index: 18}
        required: [value, type, system]
    required: [identifier]
package_version: 1.0.4
class: profile
kind: resource
url: http://sante.quebec/fhir/StructureDefinition/sgrdv-base-book-source-device
base: http://sante.quebec/fhir/StructureDefinition/sgrdv-base-source-system-device
version: null