description: This structure holds the danish [CPR](https://cpr.dk/) identifier package_name: hl7.fhir.dk.core derivation: constraint name: DkCoreCprIdentifier type: Identifier elements: use: pattern: {type: Code, value: official} index: 0 system: binding: {strength: required, valueSet: 'http://hl7.dk/fhir/core/ValueSet/dk-core-cpr-identifier-system'} index: 1 value: maxLength: 10 constraint: cpr: {human: Requirement of danish civil registration numbers, source: 'https://cpr.dk/cpr-systemet/opbygning-af-cpr-nummeret/#:~:text=5%20%2D%206%20position%20angiver%20personens,i%20personnummeret%20angiver%20personens%20k%C3%B8n.', severity: error, expression: 'value.matches(''^(?:(?:31(?:0[13578]|1[02])|(?:30|29)(?:0[13-9]|1[0-2])|(?:0[1-9]|1[0-9]|2[0-8])(?:0[1-9]|1[0-2]))[0-9]{2}[0-9]|290200[4-9]|2902(?:(?!00)[02468][048]|[13579][26])[0-3])[0-9]{3}$'')', requirements: Requirement of danish civil registration numbers} mustSupport: false index: 2 package_version: 1.1.0 class: complex-type kind: complex-type url: http://hl7.dk/fhir/core/StructureDefinition/dk-core-cpr-identifier base: http://hl7.org/fhir/StructureDefinition/Identifier version: 1.1.0 required: [value, system]