{ "resourceType" : "StructureDefinition", "id" : "ehealth-dk-crn-identifier", "text" : { "status" : "generated", "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/formats.html#table\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/formats.html#table\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/formats.html#table\" title=\"Minimum and Maximum # of times the the element can appear in the instance\">Card.</a></th><th style=\"width: 100px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/formats.html#table\" title=\"Reference to the type of the element\">Type</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/formats.html#table\" title=\"Additional information about the element\">Description & Constraints</a><span style=\"float: right\"><a href=\"http://hl7.org/fhir/STU3/formats.html#table\" title=\"Legend for this format\"><img src=\"http://hl7.org/fhir/STU3/help16.png\" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> Identifier<a name=\"Identifier\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/datatypes.html#Identifier\">Identifier</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7;\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> use<a name=\"Identifier.use\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.4\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.4\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.4\" href=\"http://hl7.org/fhir/STU3/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-weight:bold\">Fixed Value: </span><span style=\"color: darkgreen\">official</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> system<a name=\"Identifier.system\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.4\" href=\"http://hl7.org/fhir/STU3/datatypes.html#uri\">uri</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-weight:bold\">Fixed Value: </span><span style=\"color: darkgreen\">urn:oid:1.2.208.176.1.2</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7;\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> value<a name=\"Identifier.value\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: black; null\" title=\"This element has or is affected by some invariants (crn)\">I</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.4\" href=\"http://hl7.org/fhir/STU3/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-weight:bold\">crn: </span>Requirement of danish civil registration numbers</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> assigner<a name=\"Identifier.assigner\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.4\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.4\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/references.html\">Reference</a>(<a href=\"http://hl7.org/fhir/STU3/organization.html\">Organization</a>)<a href=\"http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html\"> {</a><a href=\"http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html\" title=\"The reference to a resource that has to be resolved externally to the resource that includes the reference.\">r</a><a href=\"http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html\">}</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"http://hl7.org/fhir/STU3/formats.html#table\" title=\"Legend for this format\"><img src=\"http://hl7.org/fhir/STU3/help16.png\" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>" }, "url" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-dk-crn-identifier", "name" : "DK CRN Identifier", "title" : "eHealth Danish Civil Registration Number", "status" : "draft", "date" : "2020-02-04T09:11:17+00:00", "publisher" : "ehealth.sundhed.dk", "description" : "This structure holds the danish *civil registration number* (CRN) identifier", "fhirVersion" : "3.0.2", "mapping" : [ { "identity" : "v2", "uri" : "http://hl7.org/v2", "name" : "HL7 v2 Mapping" }, { "identity" : "rim", "uri" : "http://hl7.org/v3", "name" : "RIM Mapping" }, { "identity" : "servd", "uri" : "http://www.omg.org/spec/ServD/1.0/", "name" : "ServD" } ], "kind" : "complex-type", "abstract" : false, "type" : "Identifier", "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Identifier", "derivation" : "constraint", "snapshot" : { "element" : [ { "id" : "Identifier", "path" : "Identifier", "short" : "An identifier intended for computation", "definition" : "A technical identifier - identifies some entity uniquely and unambiguously.", "min" : 0, "max" : "*", "base" : { "path" : "Identifier", "min" : 0, "max" : "*" }, "condition" : [ "ele-1" ], "constraint" : [ { "key" : "ele-1", "severity" : "error", "human" : "All FHIR elements must have a @value or children", "expression" : "hasValue() | (children().count() > id.count())", "xpath" : "@value|f:*|h:div", "source" : "Element" } ], "mapping" : [ { "identity" : "rim", "map" : "n/a" }, { "identity" : "v2", "map" : "CX / EI (occasionally, more often EI maps to a resource id or a URL)" }, { "identity" : "rim", "map" : "II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]" }, { "identity" : "servd", "map" : "Identifier" } ] }, { "id" : "Identifier.id", "path" : "Identifier.id", "representation" : [ "xmlAttr" ], "short" : "xml:id (or equivalent in JSON)", "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min" : 0, "max" : "1", "base" : { "path" : "Element.id", "min" : 0, "max" : "1" }, "type" : [ { "code" : "string" } ], "mapping" : [ { "identity" : "rim", "map" : "n/a" } ] }, { "id" : "Identifier.extension", "path" : "Identifier.extension", "slicing" : { "discriminator" : [ { "type" : "value", "path" : "url" } ], "description" : "Extensions are always sliced by (at least) url", "rules" : "open" }, "short" : "Additional Content defined by implementations", "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias" : [ "extensions", "user content" ], "min" : 0, "max" : "*", "base" : { "path" : "Element.extension", "min" : 0, "max" : "*" }, "type" : [ { "code" : "Extension" } ], "mapping" : [ { "identity" : "rim", "map" : "n/a" } ] }, { "id" : "Identifier.use", "path" : "Identifier.use", "short" : "usual | official | temp | secondary (If known)", "definition" : "The purpose of this identifier.", "comment" : "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one. Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.", "requirements" : "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.", "min" : 0, "max" : "1", "base" : { "path" : "Identifier.use", "min" : 0, "max" : "1" }, "type" : [ { "code" : "code" } ], "fixedCode" : "official", "isModifier" : true, "isSummary" : true, "binding" : { "extension" : [ { "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString" : "IdentifierUse" } ], "strength" : "required", "description" : "Identifies the purpose for this identifier, if known .", "valueSetReference" : { "reference" : "http://hl7.org/fhir/ValueSet/identifier-use" } }, "mapping" : [ { "identity" : "v2", "map" : "N/A" }, { "identity" : "rim", "map" : "Role.code or implied by context" } ] }, { "id" : "Identifier.type", "path" : "Identifier.type", "short" : "Description of identifier", "definition" : "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.", "comment" : "This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. \n\nWhere the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.", "requirements" : "Allows users to make use of identifiers when the identifier system is not known.", "min" : 0, "max" : "1", "base" : { "path" : "Identifier.type", "min" : 0, "max" : "1" }, "type" : [ { "code" : "CodeableConcept" } ], "isSummary" : true, "binding" : { "extension" : [ { "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString" : "IdentifierType" }, { "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", "valueBoolean" : true } ], "strength" : "extensible", "description" : "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.", "valueSetReference" : { "reference" : "http://hl7.org/fhir/ValueSet/identifier-type" } }, "mapping" : [ { "identity" : "v2", "map" : "CX.5" }, { "identity" : "rim", "map" : "Role.code or implied by context" } ] }, { "id" : "Identifier.system", "path" : "Identifier.system", "short" : "The namespace for the identifier value", "definition" : "Establishes the namespace for the value - that is, a URL that describes a set values that are unique.", "requirements" : "There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.", "min" : 1, "max" : "1", "base" : { "path" : "Identifier.system", "min" : 0, "max" : "1" }, "type" : [ { "code" : "uri" } ], "fixedUri" : "urn:oid:1.2.208.176.1.2", "example" : [ { "label" : "General", "valueUri" : "http://www.acme.com/identifiers/patient" } ], "isSummary" : true, "mapping" : [ { "identity" : "v2", "map" : "CX.4 / EI-2-4" }, { "identity" : "rim", "map" : "II.root or Role.id.root" }, { "identity" : "servd", "map" : "./IdentifierType" } ] }, { "id" : "Identifier.value", "path" : "Identifier.value", "short" : "The value that is unique", "definition" : "The portion of the identifier typically relevant to the user and which is unique within the context of the system.", "comment" : "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the [Rendered Value extension](http://hl7.org/fhir/STU3/extension-rendered-value.html).", "min" : 1, "max" : "1", "base" : { "path" : "Identifier.value", "min" : 0, "max" : "1" }, "type" : [ { "code" : "string" } ], "example" : [ { "label" : "General", "valueString" : "123456" } ], "constraint" : [ { "key" : "crn", "requirements" : "Requirement of danish civil registration numbers", "severity" : "error", "human" : "Requirement of danish civil registration numbers", "expression" : "value.matches('^[0-9]{10}$')" } ], "mustSupport" : false, "isSummary" : true, "mapping" : [ { "identity" : "v2", "map" : "CX.1 / EI.1" }, { "identity" : "rim", "map" : "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)" }, { "identity" : "servd", "map" : "./Value" } ] }, { "id" : "Identifier.period", "path" : "Identifier.period", "short" : "Time period when id is/was valid for use", "definition" : "Time period during which identifier is/was valid for use.", "min" : 0, "max" : "1", "base" : { "path" : "Identifier.period", "min" : 0, "max" : "1" }, "type" : [ { "code" : "Period" } ], "isSummary" : true, "mapping" : [ { "identity" : "v2", "map" : "CX.7 + CX.8" }, { "identity" : "rim", "map" : "Role.effectiveTime or implied by context" }, { "identity" : "servd", "map" : "./StartDate and ./EndDate" } ] }, { "id" : "Identifier.assigner", "path" : "Identifier.assigner", "short" : "Organization that issued id (may be just text)", "definition" : "Organization that issued/manages the identifier.", "comment" : "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.", "min" : 0, "max" : "1", "base" : { "path" : "Identifier.assigner", "min" : 0, "max" : "1" }, "type" : [ { "code" : "Reference", "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Organization" } ], "isSummary" : true, "mapping" : [ { "identity" : "v2", "map" : "CX.4 / (CX.4,CX.9,CX.10)" }, { "identity" : "rim", "map" : "II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper" }, { "identity" : "servd", "map" : "./IdentifierIssuingAuthority" } ] } ] }, "differential" : { "element" : [ { "id" : "Identifier.use", "path" : "Identifier.use", "fixedCode" : "official" }, { "id" : "Identifier.system", "path" : "Identifier.system", "min" : 1, "fixedUri" : "urn:oid:1.2.208.176.1.2" }, { "id" : "Identifier.value", "path" : "Identifier.value", "min" : 1, "constraint" : [ { "key" : "crn", "requirements" : "Requirement of danish civil registration numbers", "severity" : "error", "human" : "Requirement of danish civil registration numbers", "expression" : "value.matches('^[0-9]{10}$')" } ], "mustSupport" : false }, { "id" : "Identifier.assigner", "path" : "Identifier.assigner", "type" : [ { "code" : "Reference", "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Organization" } ] } ] } }