PackagesCanonicalsLogsProblems
    Packages
    il.laniado.fhir.r4@0.2.0
    http://fhir.laniado.org.il/StructureDefinition/laniado-practitioner
description: Laniado Proposed Practitioner Resource
package_name: il.laniado.fhir.r4
derivation: constraint
name: LaniadoPractitioner
type: Practitioner
elements:
  meta:
    elements:
      security:
        index: 0
        elements:
          system: {index: 1}
          code: {index: 2}
        required: [system, code]
        slicing:
          rules: closed
          description: ILHDP codes only
          discriminator:
          - {path: system, type: value}
          min: 1
          slices:
            HDP:
              match: {system: 'http://fhir.health.gov.il/cs/il-hdp-information-buckets'}
              schema:
                _required: true
                index: 3
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.health.gov.il/cs/il-hdp-information-buckets'}
                    index: 4
                  code:
                    pattern: {type: Code, value: practitioner}
                    index: 5
                  display:
                    pattern: {type: String, value: מטפל}
                    index: 6
    required: [security]
  identifier:
    array: true
    min: 2
    index: 7
    slicing:
      slices:
        strong-id:
          match: {}
          schema:
            short: Strong practitioner identification.
            _required: true
            index: 8
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.laniado.org.il/Identifier/id-practitioner'}
                index: 9
              value: {short: Strong practitioner identification., index: 10}
            required: [system]
        empId:
          match: {}
          schema:
            short: Employee Id
            _required: true
            index: 11
            elements:
              use:
                pattern: {type: Code, value: usual}
                index: 12
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: PN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                index: 13
              system:
                pattern: {type: Uri, value: 'http://fhir.laniado.org.il/Identifier/prac-id'}
                index: 14
            required: [system]
        userName:
          match: {}
          schema:
            short: Username
            index: 15
            elements:
              use:
                pattern: {type: Code, value: official}
                index: 16
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: CAAI, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                index: 17
              system:
                pattern: {type: Uri, value: 'http://fhir.laniado.org.il/Identifier/user-name'}
                index: 18
              value:
                short: The username
                constraint:
                  username-chk: {human: The username must meet the specified requirements, source: 'http://fhir.laniado.org.il/StructureDefinition/laniado-practitioner', severity: warning, expression: 'matches(''^[a-zA-Z0-9_-]{3,}$'')'}
                index: 19
              assigner:
                elements:
                  reference:
                    pattern: {type: String, value: Organization/01604}
                    index: 20
                  identifier:
                    index: 21
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://institutions.health.gov.il/Institutions'}
                        index: 22
                      value:
                        pattern: {type: String, value: '01604'}
                        index: 23
                  display:
                    pattern: {type: String, value: בית חולים לניאדו}
                    index: 24
                required: [identifier]
            required: [system]
        misparOved:
          match: {}
          schema:
            short: Employee number
            index: 25
            elements:
              use:
                pattern: {type: Code, value: official}
                index: 26
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: EI, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                index: 27
              system:
                pattern: {type: Uri, value: 'http://fhir.laniado.org.il/Identifier/mispar-oved'}
                index: 28
              value: {short: The employee number, index: 29}
              assigner:
                elements:
                  reference:
                    pattern: {type: String, value: Organization/01604}
                    index: 30
                  identifier:
                    index: 31
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://institutions.health.gov.il/Institutions'}
                        index: 32
                      value:
                        pattern: {type: String, value: '01604'}
                        index: 33
                  display:
                    pattern: {type: String, value: בית חולים לניאדו}
                    index: 34
                required: [identifier]
            required: [system]
  name:
    index: 35
    elements:
      prefix:
        extensions:
          prefixCode:
            url: http://fhir.laniado.org.il/StructureDefinition/code-specification
            type: Extension
            index: 37
            elements:
              value:
                choices: []
                index: 39
        elements:
          extension:
            index: 36
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: url, type: value}
              min: 1
              slices:
                prefixCode:
                  match: {url: null}
                  schema:
                    type: Extension
                    url: http://fhir.laniado.org.il/StructureDefinition/code-specification
                    index: 37
                    elements:
                      value:
                        choices: []
                        index: 39
        required: [extension]
  telecom:
    constraint:
      phone-or-fax-number: {human: A phone number or fax number SHALL begin with one of the specified prefixes followed by 6-7 digits separated by a '-'., source: 'http://fhir.laniado.org.il/StructureDefinition/laniado-practitioner', severity: error, expression: '(system=''phone'' or system=''fax'') implies value.matches(''^(02|03|04|050|051|052|053|054|055|056|058|059|072|073|074|076|077|08|09)-[0-9]{6,7}$'')'}
    index: 40
package_version: 0.2.0
class: profile
kind: resource
url: http://fhir.laniado.org.il/StructureDefinition/laniado-practitioner
base: http://fhir.health.gov.il/StructureDefinition/il-core-practitioner
version: null