description: Proposed constraints and extensions on the Practitioner Resource package_name: 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: [value, system] 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'} index: 3 elements: value: {short: Israeli Ministry of Health Practitioner License, index: 4} 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'} index: 5 elements: value: {short: MOH Nurse License, index: 6} 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'} index: 7 elements: 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: 8 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'} index: 9 elements: value: {short: A Palestininan ID number, index: 10} 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'} index: 11 elements: type: {index: 12} system: binding: {strength: required, valueSet: 'http://fhir.health.gov.il/ValueSet/passport-uri'} index: 13 value: {short: Passport Number, index: 14} required: [type] name: mustSupport: true index: 15 elements: family: {mustSupport: true, index: 16} required: [family] address: {type: Address, index: 17} package_version: 0.4.0 class: profile kind: resource url: http://fhir.health.gov.il/StructureDefinition/il-core-practitioner base: http://hl7.org/fhir/StructureDefinition/Practitioner version: 0.4.0 required: [name, identifier]