PackagesCanonicalsLogsProblems
    Packages
    ca.qc.sq.sgrdv@1.1.0
    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:
              coding:
              - {code: tuilePortail, system: 'http://sante.quebec/fhir/CodeSystem/sgrdv-device-property-type'}
          schema:
            mustSupport: true
            index: 1
            elements:
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: tuilePortail, system: 'http://sante.quebec/fhir/CodeSystem/sgrdv-device-property-type'}
                index: 2
              valueCode:
                binding: {strength: required, valueSet: 'http://sante.quebec/fhir/ValueSet/sgrdv-tuile-portail-reo-vs'}
                mustSupport: true
                index: 3
                elements:
                  coding:
                    index: 4
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://sante.quebec/fhir/CodeSystem/sgrdv-tuile-portail-reo'}
                        index: 5
                      code: {mustSupport: true, index: 6}
                required: [coding]
            required: [valueCode]
  owner:
    type: Reference
    mustSupport: true
    refers: ['http://sante.quebec/fhir/StructureDefinition/sgrdv-base-find-organization']
    index: 7
    elements:
      reference: {index: 8}
      type:
        pattern: {type: Uri, value: Organization}
        index: 9
      identifier:
        index: 10
        elements:
          type:
            index: 11
            elements:
              coding:
                index: 12
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://sante.quebec/fhir/CodeSystem/sgrdv-identifier-type'}
                    index: 13
                  code:
                    pattern: {type: Code, value: CodeEtablissement}
                    index: 14
            required: [coding]
          system: {index: 15}
          value: {index: 16}
        required: [value, type, system]
    required: [identifier]
package_version: 1.1.0
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: 1.1.0