PackagesCanonicalsLogsProblems
    Packages
    rs/il.core.fhir.r4@0.8.1
    http://fhir.health.gov.il/StructureDefinition/il-core-practitioner
description: Proposed constraints and extensions on the Practitioner Resource
package_name: rs/il.core.fhir.r4
derivation: constraint
name: ILCorePractitioner
type: Practitioner
elements:
  identifier:
    index: 0
    elements:
      system: {mustSupport: true, index: 1}
      value: {mustSupport: true, index: 2}
    required: [system, value]
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: 1
      slices:
        prac-lic:
          match: {system: 'http://practitioners.health.gov.il/Practitioners'}
          schema:
            short: Israeli Ministry of Health practitioner license
            mustSupport: true
            pattern:
              type: Identifier
              value: {system: 'http://practitioners.health.gov.il/Practitioners'}
            type: Identifier
            index: 3
            elements:
              system:
                pattern: {type: uri, value: 'http://practitioners.health.gov.il/Practitioners'}
                type: uri
                index: 4
              value: {short: Israeli Ministry of Health Practitioner License, index: 5}
        nurse-lic:
          match: {system: 'http://practitioners.health.gov.il/Nurses'}
          schema:
            short: Israeli MOH Nurse license
            mustSupport: true
            pattern:
              type: Identifier
              value: {system: 'http://practitioners.health.gov.il/Nurses'}
            type: Identifier
            index: 6
            elements:
              system:
                pattern: {type: uri, value: 'http://practitioners.health.gov.il/Nurses'}
                type: uri
                index: 7
              value: {short: MOH Nurse License, index: 8}
        il-id:
          match: {system: 'http://fhir.health.gov.il/identifier/il-national-id'}
          schema:
            short: Israeli National Identifier
            mustSupport: true
            pattern:
              type: Identifier
              value: {system: 'http://fhir.health.gov.il/identifier/il-national-id'}
            type: Identifier
            index: 9
            elements:
              system:
                pattern: {type: uri, value: 'http://fhir.health.gov.il/identifier/il-national-id'}
                type: uri
                index: 10
              value:
                short: An Israeli ID number
                constraint:
                  il-id-chk:
                    human: Israeli ID must be 9-digits with a correct check-digit at the end.
                    source: http://fhir.health.gov.il/StructureDefinition/il-core-practitioner
                    severity: error
                    expression: "\r\nmatches('[0-9]{9}') and\r\nsubstring(8,1).toInteger()=\r\n(10-((substring(0,1).toInteger() +\r\nsubstring(1,1).toInteger()*2 mod 10 +\r\nsubstring(1,1).toInteger()*2 div 10 +\r\nsubstring(2,1).toInteger() +\r\nsubstring(3,1).toInteger()*2 mod 10 +\r\nsubstring(3,1).toInteger()*2 div 10 +\r\nsubstring(4,1).toInteger() +\r\nsubstring(5,1).toInteger()*2 mod 10 +\r\nsubstring(5,1).toInteger()*2 div 10 +\r\nsubstring(6,1).toInteger() +\r\nsubstring(7,1).toInteger()*2 mod 10 +\r\nsubstring(7,1).toInteger()*2 div 10) mod 10)) mod 10\r\n"
                index: 11
        pna-id:
          match: {system: 'http://fhir.health.gov.il/identifier/pna-national-id'}
          schema:
            short: Palestinian National Identifier
            mustSupport: false
            pattern:
              type: Identifier
              value: {system: 'http://fhir.health.gov.il/identifier/pna-national-id'}
            type: Identifier
            index: 12
            elements:
              system:
                pattern: {type: uri, value: 'http://fhir.health.gov.il/identifier/pna-national-id'}
                type: uri
                index: 13
              value: {short: A Palestininan ID number, index: 14}
        ppn:
          match:
            type:
              coding:
              - {code: PPN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
          schema:
            short: Passport Number
            mustSupport: false
            array: true
            pattern:
              type: Identifier
              value:
                type:
                  coding:
                  - {code: PPN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
            type: Identifier
            index: 15
            elements:
              type: {index: 16}
              system:
                binding: {strength: required, valueSet: 'http://fhir.health.gov.il/ValueSet/passport-uri'}
                index: 17
              value: {short: Passport Number, index: 18}
            required: [type]
  name:
    mustSupport: true
    index: 19
    elements:
      family: {mustSupport: true, index: 20}
    required: [family]
  address: {type: Address, index: 21}
  qualification:
    index: 22
    elements:
      code:
        binding: {strength: extensible, valueSet: 'http://fhir.health.gov.il/ValueSet/practitioner-certificate-type-moh'}
        index: 23
    slicing:
      rules: open
      discriminator:
      - {path: code.coding.system, type: value}
      - {path: code.coding.code, type: value}
      min: null
      slices:
        moh-temp-practitioner-license:
          match:
            code:
              coding: {system: 'http://fhir.health.gov.il/cs/practitioner-certificate-type-moh', code: '1'}
          schema:
            short: רישיון זמני
            array: true
            index: 24
            extensions:
              practice:
                url: http://fhir.health.gov.il/StructureDefinition/ext-qualification-practice
                type: Extension
                index: 26
                elements:
                  valueCodeableConcept:
                    binding: {strength: required, valueSet: 'http://fhir.health.gov.il/ValueSet/practitioner-profession-moh'}
                    index: 27
            elements:
              extension:
                index: 25
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    practice:
                      match: {url: null}
                      schema:
                        type: Extension
                        url: http://fhir.health.gov.il/StructureDefinition/ext-qualification-practice
                        index: 26
                        elements:
                          valueCodeableConcept:
                            binding: {strength: required, valueSet: 'http://fhir.health.gov.il/ValueSet/practitioner-profession-moh'}
                            index: 27
              identifier:
                index: 28
                elements:
                  system:
                    short: Israeli MoH Practitioner License URI
                    pattern: {type: uri, value: 'http://practitioners.health.gov.il/Practitioners'}
                    type: uri
                    index: 29
                  value: {short: 'License number, including prefix', index: 30}
                required: [system, value]
              code:
                elements:
                  coding:
                    index: 31
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://fhir.health.gov.il/cs/practitioner-certificate-type-moh'}
                        type: uri
                        index: 32
                      code:
                        pattern: {type: code, value: '1'}
                        type: code
                        index: 33
                      display:
                        pattern: {type: string, value: רשיון זמני}
                        type: string
                        index: 34
                    required: [code, system]
                required: [coding]
            required: [extension, identifier]
        moh-practitioner-license:
          match:
            code:
              coding: {system: 'http://fhir.health.gov.il/cs/practitioner-certificate-type-moh', code: '2'}
          schema:
            short: רישיון קבוע
            array: true
            index: 35
            extensions:
              practice:
                url: http://fhir.health.gov.il/StructureDefinition/ext-qualification-practice
                type: Extension
                index: 37
                elements:
                  valueCodeableConcept:
                    binding: {strength: required, valueSet: 'http://fhir.health.gov.il/ValueSet/practitioner-profession-moh'}
                    index: 38
            elements:
              extension:
                index: 36
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    practice:
                      match: {url: null}
                      schema:
                        type: Extension
                        url: http://fhir.health.gov.il/StructureDefinition/ext-qualification-practice
                        index: 37
                        elements:
                          valueCodeableConcept:
                            binding: {strength: required, valueSet: 'http://fhir.health.gov.il/ValueSet/practitioner-profession-moh'}
                            index: 38
              identifier:
                index: 39
                elements:
                  system:
                    short: Israeli MoH Practitioner License URI
                    pattern: {type: uri, value: 'http://practitioners.health.gov.il/Practitioners'}
                    type: uri
                    index: 40
                  value: {short: 'License number, including prefix', index: 41}
                required: [system, value]
              code:
                elements:
                  coding:
                    index: 42
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://fhir.health.gov.il/cs/practitioner-certificate-type-moh'}
                        type: uri
                        index: 43
                      code:
                        pattern: {type: code, value: '2'}
                        type: code
                        index: 44
                      display:
                        pattern: {type: string, value: רשיון קבוע}
                        type: string
                        index: 45
                    required: [code, system]
                required: [coding]
            required: [extension, identifier]
        moh-expertise:
          match:
            code:
              coding: {system: 'http://fhir.health.gov.il/cs/practitioner-certificate-type-moh', code: '5'}
          schema:
            short: תעודת מומחה
            array: true
            index: 46
            extensions:
              practice:
                url: http://fhir.health.gov.il/StructureDefinition/ext-qualification-practice
                type: Extension
                index: 48
                elements:
                  valueCodeableConcept:
                    binding: {strength: required, valueSet: 'http://fhir.health.gov.il/ValueSet/practitioner-expertise-moh'}
                    index: 49
            elements:
              extension:
                index: 47
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    practice:
                      match: {url: null}
                      schema:
                        type: Extension
                        url: http://fhir.health.gov.il/StructureDefinition/ext-qualification-practice
                        index: 48
                        elements:
                          valueCodeableConcept:
                            binding: {strength: required, valueSet: 'http://fhir.health.gov.il/ValueSet/practitioner-expertise-moh'}
                            index: 49
              identifier:
                index: 50
                elements:
                  system:
                    short: Israeli MoH expertise certificate URI
                    pattern: {type: uri, value: 'http://practitioners.health.gov.il/practitioner-certificate'}
                    type: uri
                    index: 51
                  value: {short: Certificate number, index: 52}
                required: [system, value]
              code:
                elements:
                  coding:
                    index: 53
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://fhir.health.gov.il/cs/practitioner-certificate-type-moh'}
                        type: uri
                        index: 54
                      code:
                        pattern: {type: code, value: '5'}
                        type: code
                        index: 55
                      display:
                        pattern: {type: string, value: תעודת מומחה}
                        type: string
                        index: 56
                    required: [code, system]
                required: [coding]
            required: [extension, identifier]
        moh-instructor:
          match:
            code:
              coding: {system: 'http://fhir.health.gov.il/cs/practitioner-certificate-type-moh', code: '13'}
          schema:
            short: תעודת מדריך
            array: true
            index: 57
            extensions:
              practice:
                url: http://fhir.health.gov.il/StructureDefinition/ext-qualification-practice
                type: Extension
                index: 59
                elements:
                  valueCodeableConcept:
                    binding: {strength: required, valueSet: 'http://fhir.health.gov.il/ValueSet/practitioner-expertise-moh'}
                    index: 60
            elements:
              extension:
                index: 58
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    practice:
                      match: {url: null}
                      schema:
                        type: Extension
                        url: http://fhir.health.gov.il/StructureDefinition/ext-qualification-practice
                        index: 59
                        elements:
                          valueCodeableConcept:
                            binding: {strength: required, valueSet: 'http://fhir.health.gov.il/ValueSet/practitioner-expertise-moh'}
                            index: 60
              identifier:
                index: 61
                elements:
                  system:
                    short: Israeli MoH expertise certificate URI
                    pattern: {type: uri, value: 'http://practitioners.health.gov.il/practitioner-certificate'}
                    type: uri
                    index: 62
                  value: {short: Certificate number, index: 63}
                required: [system, value]
              code:
                elements:
                  coding:
                    index: 64
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://fhir.health.gov.il/cs/practitioner-certificate-type-moh'}
                        type: uri
                        index: 65
                      code:
                        pattern: {type: code, value: '13'}
                        type: code
                        index: 66
                      display:
                        pattern: {type: string, value: תעודת מדריך}
                        type: string
                        index: 67
                    required: [code, system]
                required: [coding]
            required: [extension, identifier]
package_version: 0.8.1
class: profile
kind: resource
url: http://fhir.health.gov.il/StructureDefinition/il-core-practitioner
base: http://hl7.org/fhir/StructureDefinition/Practitioner
version: 0.8.1
required: [identifier, name]