PackagesCanonicalsLogsProblems
    Packages
    il.szmc.fhir.r4@0.2.0
    http://fhir.szmc.org.il/StructureDefinition/szmc-practitioner-role
description: SZMC PractitionerRole profile based on the ILCore PractitionerRole profile
package_name: il.szmc.fhir.r4
derivation: constraint
name: SzmcPractitionerRole
type: PractitionerRole
elements:
  meta:
    type: Meta
    index: 0
    elements:
      security:
        index: 1
        slicing:
          slices:
            HDP:
              match: {}
              schema:
                index: 1
                elements:
                  code:
                    pattern: {type: code, value: practitioner}
                    type: code
                    index: 2
                  display:
                    pattern: {type: string, value: מטפל}
                    type: string
                    index: 3
  identifier:
    index: 4
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: 1
      slices:
        emp-role:
          match: {system: 'http://fhir.szmc.org.il/identifier/employee-role'}
          schema:
            _required: true
            index: 5
            elements:
              system:
                pattern: {type: uri, value: 'http://fhir.szmc.org.il/identifier/employee-role'}
                type: uri
                index: 6
              value: {index: 7}
            required: [system, value]
        enc-id:
          match: {system: null}
          schema:
            array: true
            index: 8
            elements:
              system: {index: 9}
            required: [system]
  practitioner:
    elements:
      identifier:
        elements:
          system:
            pattern: {type: uri, value: 'http://fhir.szmc.org.il/identifier/enc-id'}
            type: uri
            index: 10
  code:
    elements:
      coding:
        index: 11
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: 1
          slices:
            tafkid:
              match: {system: 'http://fhir.szmc.org.il/cs/tafkid'}
              schema:
                _required: true
                index: 12
                elements:
                  system:
                    pattern: {type: uri, value: 'http://fhir.szmc.org.il/cs/tafkid'}
                    type: uri
                    index: 13
                  code: {index: 14}
                  display: {index: 15}
                required: [code, display, system]
    required: [coding]
package_version: 0.2.0
class: profile
kind: resource
url: http://fhir.szmc.org.il/StructureDefinition/szmc-practitioner-role
base: http://fhir.health.gov.il/StructureDefinition/il-core-practitioner-role
version: null
required: [identifier, meta]