PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.dk.core@3.3.0
    http://hl7.dk/fhir/core/StructureDefinition/dk-core-d-ecpr-identifier
description: This strucure holds the danish [D-eCPR](https://www.nspop.dk/pages/viewpage.action?pageId=226757583#eCPRFormater(XeCPRogDeCPR)-Formatetfordecentraleerstatningspersonnumre-D-eCPR) identifier, which is often used by the Danish regions.
package_name: hl7.fhir.dk.core
derivation: constraint
name: DkCoreDeCprIdentifier
type: Identifier
elements:
  use:
    pattern: {type: Code, value: temp}
    index: 0
  system:
    binding: {strength: required, valueSet: 'http://hl7.dk/fhir/core/ValueSet/DkCoreDeCPRValueSet'}
    index: 1
  value:
    maxLength: 10
    constraint:
      d-ecpr: {human: 'Requirement of danish D-eCPR. See https://www.nspop.dk/pages/viewpage.action?pageId=226757583#eCPRFormater(XeCPRogDeCPR)-Formatetfordecentraleerstatningspersonnumre-D-eCPR', source: 'http://hl7.dk/fhir/core/StructureDefinition/dk-core-d-ecpr-identifier', severity: error, expression: 'value.matches(''^((((0[1-9]|1[0-9]|2[0-9]|3[0-1])(01|03|05|07|08|10|12))|((0[1-9]|1[0-9]|2[0-9]|30)(04|06|09|11))|((0[1-9]|1[0-9]|2[0-9])(02)))([0-9]{2})((0|5|6){1})([A-Z]{2})([0-9]{1}))$'')'}
    mustSupport: false
    index: 2
package_version: 3.3.0
class: complex-type
kind: complex-type
url: http://hl7.dk/fhir/core/StructureDefinition/dk-core-d-ecpr-identifier
base: http://hl7.org/fhir/StructureDefinition/Identifier
version: 3.3.0
required: [value, system]