PackagesCanonicalsLogsProblems
    Packages
    de.basisprofil.r4@1.5.0-alpha1
    http://fhir.de/StructureDefinition/identifier-bsnr
description: Identifier-Profil für die Abbildung einer Betriebsstättennummer
package_name: de.basisprofil.r4
derivation: constraint
name: IdentifierBsnr
type: Identifier
elements:
  use:
    pattern: {type: Code, value: official}
    index: 0
  type:
    binding: {strength: extensible, valueSet: 'http://fhir.de/ValueSet/identifier-type-de-basis'}
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: BSNR, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
    index: 1
  system:
    pattern: {type: Uri, value: 'https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR'}
    index: 2
  value:
    constraint:
      ele-1: {human: All FHIR elements must have a @value or children, source: 'http://fhir.de/StructureDefinition/identifier-iknr', severity: error, expression: hasValue() or (children().count() > id.count())}
      bsnr-1: {human: Eine BSNR muss 9-stellig numerisch sein, source: 'http://fhir.de/StructureDefinition/identifier-bsnr', severity: warning, expression: 'matches(''^[0-9]{9}$'')'}
    index: 3
  assigner:
    elements:
      identifier:
        elements:
          system:
            pattern: {type: Uri, value: 'http://fhir.de/sid/arge-ik/iknr'}
            index: 4
          value:
            constraint:
              bsnr-1: {human: Eine BSNR muss neunstellig numerisch sein, source: 'http://fhir.de/StructureDefinition/identifier-bsnr', severity: warning, expression: 'matches(''^[0-9]{9}$'')'}
            index: 5
        required: [value, system]
      display: {index: 6}
    required: [display]
package_version: 1.5.0-alpha1
class: complex-type
kind: complex-type
url: http://fhir.de/StructureDefinition/identifier-bsnr
base: http://hl7.org/fhir/StructureDefinition/Identifier
version: 1.5.0
required: [value, system]