PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.dk.core@2.2.0
    http://hl7.dk/fhir/core/StructureDefinition/dk-core-sor-identifier
description: Identifier holding the official SOR identifier for a danish healthcare organization
package_name: hl7.fhir.dk.core
derivation: constraint
name: SORIdentifier
type: Identifier
elements:
  use:
    pattern: {type: Code, value: official}
    index: 0
  system:
    pattern: {type: Uri, value: 'urn:oid:1.2.208.176.1.1'}
    index: 1
  value:
    constraint:
      ele-1: {human: All FHIR elements must have a @value or children, source: 'http://hl7.org/fhir/StructureDefinition/Element', severity: error, expression: hasValue() or (children().count() > id.count()), requirements: SOR Identifiers are at minimum 11 digits long}
      min-digits-sor: {human: 'SOR Identifiers are at minimum 11 digits long. See https://sundhedsdatastyrelsen.dk/-/media/sds/filer/rammer-og-retningslinjer/organisationsregistrering/adgang-til-sor/info-om-opbygningen-af-sor-ider.pdf', source: 'http://hl7.dk/fhir/core/StructureDefinition/dk-core-sor-identifier', severity: error, expression: 'matches(''^([0-9]){11,}$'')'}
    index: 2
package_version: 2.2.0
class: complex-type
kind: complex-type
url: http://hl7.dk/fhir/core/StructureDefinition/dk-core-sor-identifier
base: http://hl7.org/fhir/StructureDefinition/Identifier
version: 2.2.0
required: [value, system]