description: Belgian federal profile for an organization. Initially based on the functional description of the NIHDI. package_name: hl7.fhir.be.core derivation: constraint name: BeOrganization type: Organization elements: identifier: constraint: be-inv-NIHDI: {human: NIHDI contains 11 or 8 (deprecated) digits without interpunction, source: 'https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-organization', 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}|\\d{8}'')).allTrue()'} be-inv-SSIN: {human: SINN contains 11 digits without interpunction, source: 'https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-organization', 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-organization', 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] CBE: match: {system: 'https://www.ehealth.fgov.be/standards/fhir/core/NamingSystem/cbe'} schema: array: true index: 4 elements: system: pattern: {type: Uri, value: 'https://www.ehealth.fgov.be/standards/fhir/core/NamingSystem/cbe'} index: 5 value: {index: 6} required: [value, system] EHP: match: {system: 'https://www.ehealth.fgov.be/standards/fhir/core/NamingSystem/ehp'} schema: array: true index: 7 elements: system: pattern: {type: Uri, value: 'https://www.ehealth.fgov.be/standards/fhir/core/NamingSystem/ehp'} index: 8 value: {index: 9} required: [value, system] active: {index: 10} type: index: 11 slicing: rules: open discriminator: - {path: coding.system, type: value} min: null slices: CD-HCPARTY: match: coding: {system: 'https://www.ehealth.fgov.be/standards/fhir/core/CodeSystem/cd-hcparty'} schema: array: true index: 12 elements: coding: elements: system: pattern: {type: Uri, value: 'https://www.ehealth.fgov.be/standards/fhir/core/CodeSystem/cd-hcparty'} index: 13 code: {index: 14} required: [system, code] telecom: {index: 15} address: {type: Address, index: 16} package_version: 2.1.2 class: profile kind: resource url: https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-organization base: http://hl7.org/fhir/StructureDefinition/Organization version: 2.1.2