PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.dk.core@3.5.0
    http://hl7.dk/fhir/core/StructureDefinition/dk-core-related-person
description: HL7 Denmark core profile for a related person
package_name: hl7.fhir.dk.core
derivation: constraint
name: DkCoreRelatedPerson
type: RelatedPerson
elements:
  identifier:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        cpr:
          match: {system: null}
          schema: {type: Identifier, short: '[DA] cpr-nummer, som det fremgår af CPR registeret', index: 1}
          min: 0
          max: 1
        x-ecpr:
          match: {system: null}
          schema: {type: Identifier, short: '[DA] X-eCPR, tildelt fra den nationale eCPR service', index: 2}
          min: 0
          max: 1
        d-ecpr:
          match: {system: null}
          schema: {type: Identifier, short: '[DA] D-eCPR, decentral eCPR', index: 3}
          min: 0
          max: 1
  patient:
    type: Reference
    refers: ['http://hl7.dk/fhir/core/StructureDefinition/dk-core-patient']
    index: 4
  relationship:
    binding: {strength: extensible, valueSet: 'http://hl7.dk/fhir/core/ValueSet/dk-core-RelatedPersonRelationshipTypes'}
    index: 5
  name:
    index: 6
    slicing:
      rules: open
      discriminator:
      - {path: use, type: value}
      min: null
      slices:
        official:
          match: {use: official}
          schema:
            short: '[DA] Officielt navn, som det fremgår af CPR registeret'
            index: 7
            elements:
              use:
                pattern: {type: Code, value: official}
                index: 8
              family: {index: 9}
            required: [family, use]
package_version: 3.5.0
class: profile
kind: resource
url: http://hl7.dk/fhir/core/StructureDefinition/dk-core-related-person
base: http://hl7.org/fhir/StructureDefinition/RelatedPerson
version: 3.5.0