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 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}'')).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] SSIN: match: {system: 'https://www.ehealth.fgov.be/standards/fhir/core/NamingSystem/ssin'} schema: array: true index: 7 elements: system: pattern: {type: Uri, value: 'https://www.ehealth.fgov.be/standards/fhir/core/NamingSystem/ssin'} index: 8 value: {index: 9} required: [value, system] EHP: match: {system: 'https://www.ehealth.fgov.be/standards/fhir/core/NamingSystem/ehp'} schema: array: true index: 10 elements: system: pattern: {type: Uri, value: 'https://www.ehealth.fgov.be/standards/fhir/core/NamingSystem/ehp'} index: 11 value: {index: 12} required: [value, system] active: {index: 13} type: index: 14 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: 15 elements: coding: elements: system: pattern: {type: Uri, value: 'https://www.ehealth.fgov.be/standards/fhir/core/CodeSystem/cd-hcparty'} index: 16 code: {index: 17} required: [system, code] telecom: {index: 18} address: {type: Address, index: 19} package_version: 2.1.0 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.0