description: Belgian federal profile for a practitioner. Initially based on the functional description of the NIHDI. package_name: hl7.fhir.be.core derivation: constraint name: BePractitioner type: Practitioner elements: identifier: constraint: be-inv-NIHDI: {human: NIHDI contains 11 digits without interpunction, source: 'https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-practitioner', severity: error, expression: 'Identifier.where(system = ''https://www.ehealth.fgov.be/standards/fhir/core/NamingSystem/nihdi'' or system = ''https://www.ehealth.fgov.be/standards/fhir/core/NamingSystem/nihdi-organization'' or system = ''https://www.ehealth.fgov.be/standards/fhir/core/NamingSystem/nihdi-professional'').where(value.extension.empty() or value.extension.where(url = ''https://www.ehealth.fgov.be/standards/fhir/infsec/StructureDefinition/be-ext-pseudonymization'').empty()).value.select($this.matches(''\\d{11}'')).allTrue()'} be-inv-SSIN: {human: SINN contains 11 digits without interpunction, source: 'https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-practitioner', severity: error, expression: 'Identifier.where(system = ''https://www.ehealth.fgov.be/standards/fhir/core/NamingSystem/ssin'').where(value.extension.empty() or value.extension.where(url = ''https://www.ehealth.fgov.be/standards/fhir/infsec/StructureDefinition/be-ext-pseudonymization'').empty()).value.select($this.matches(''\\d{11}'')).allTrue()'} be-inv-CBE: {human: 'CBE contains 10 digits without interpunction, the first one is 0 or 1', source: 'https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-practitioner', severity: error, expression: 'Identifier.where(system = ''https://www.ehealth.fgov.be/standards/fhir/core/NamingSystem/cbe'').where(value.extension.empty() or value.extension.where(url = ''https://www.ehealth.fgov.be/standards/fhir/infsec/StructureDefinition/be-ext-pseudonymization'').empty()).value.select($this.matches(''[0-1]\\d{9}'')).allTrue()'} mustSupport: true index: 0 slicing: rules: open discriminator: - {path: system, type: value} min: null slices: NIHDI: match: {system: 'https://www.ehealth.fgov.be/standards/fhir/core/NamingSystem/nihdi'} schema: array: true index: 1 elements: system: pattern: {type: Uri, value: 'https://www.ehealth.fgov.be/standards/fhir/core/NamingSystem/nihdi'} index: 2 value: {index: 3} required: [value, system] SSIN: match: {system: 'https://www.ehealth.fgov.be/standards/fhir/core/NamingSystem/ssin'} schema: array: true index: 4 elements: system: pattern: {type: Uri, value: 'https://www.ehealth.fgov.be/standards/fhir/core/NamingSystem/ssin'} index: 5 value: {index: 6} required: [value, system] CBE: match: {system: 'https://www.ehealth.fgov.be/standards/fhir/core/NamingSystem/cbe'} schema: array: true index: 7 elements: system: pattern: {type: Uri, value: 'https://www.ehealth.fgov.be/standards/fhir/core/NamingSystem/cbe'} index: 8 value: {index: 9} required: [value, system] active: {index: 10} name: {index: 11} telecom: {index: 12} address: {type: Address, index: 13} gender: {index: 14} communication: {index: 15} package_version: 2.1.1 class: profile kind: resource url: https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-practitioner base: http://hl7.org/fhir/StructureDefinition/Practitioner version: 2.1.1 required: [name]