PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch-core@5.0.0-ballot
    http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-uidb-identifier
description: Identifier holding a number for UIDB (Unique Identification Business), UID (Verwendung der Unternehmens-Identifikationsnummer), IDE (Utilisation du numéro d'identification des entreprises), IDI (Utilizzo del numero d'identificazione delle imprese)
package_name: ch.fhir.ig.ch-core
derivation: constraint
name: UIDBIdentifier
type: Identifier
elements:
  system:
    short: OID of the UIDB/UID/IDE/IDI
    pattern: {type: Uri, value: 'urn:oid:2.16.756.5.35'}
    index: 0
  value:
    short: UIDB/UID/IDE/IDI number
    constraint:
      uidb-length: {human: UIDB must start with 'CHE' followed by 9 digits, source: 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-uidb-identifier', severity: warning, expression: 'matches(''^CHE[0-9]{9}$'')'}
      uidb-modulus-11: {human: UIDB must pass the modulus 11 check, source: 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-uidb-identifier', severity: warning, expression: '11-((substring(3,1).toInteger()*5)+(substring(4,1).toInteger()*4)+(substring(5,1).toInteger()*3)+(substring(6,1).toInteger()*2)+(substring(7,1).toInteger()*7)+(substring(8,1).toInteger()*6)+(substring(9,1).toInteger()*5)+(substring(10,1).toInteger()*4))mod(11)=substring(11,1).toInteger()'}
    index: 1
package_version: 5.0.0-ballot
class: complex-type
kind: complex-type
url: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-uidb-identifier
base: http://hl7.org/fhir/StructureDefinition/Identifier
version: 5.0.0-ballot
required: [value, system]