description: Identifier holding a number for BER (Business and Enterprise Register), BUR (Betriebs- und Unternehmensregister), REE (Registre des entreprises et des établissements), RIS (Registro delle imprese e degli stabilimenti) package_name: ch.fhir.ig.ch-core derivation: constraint name: BERIdentifier type: Identifier elements: system: short: OID of the BER/BUR/REE/RIS pattern: {type: Uri, value: 'urn:oid:2.16.756.5.45'} index: 0 value: short: BER/BUR/REE/RIS number constraint: ber-length: {human: BER must start with a letter followed by 8 digits, source: 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-ber-identifier', severity: warning, expression: 'matches(''^[A-Z][0-9]{8}$'')'} ber-modulus-11: {human: BER must pass the modulus 11 check, source: 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-ber-identifier', severity: warning, expression: '11-((substring(1,1).toInteger()*5)+(substring(2,1).toInteger()*4)+(substring(3,1).toInteger()*3)+(substring(4,1).toInteger()*2)+(substring(5,1).toInteger()*7)+(substring(6,1).toInteger()*6)+(substring(7,1).toInteger()*5))mod(11)=substring(8,1).toInteger()'} index: 1 package_version: 5.0.0 class: complex-type kind: complex-type url: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-ber-identifier base: http://hl7.org/fhir/StructureDefinition/Identifier version: 5.0.0 required: [value, system]