PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.dk.core@3.5.0
    http://hl7.dk/fhir/core/StructureDefinition/dk-core-patient
description: HL7 Denmark core profile for a patient
package_name: hl7.fhir.dk.core
derivation: constraint
name: DkCorePatient
type: Patient
elements:
  identifier:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: 1
      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
  name:
    index: 4
    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: 5
            elements:
              use:
                pattern: {type: Code, value: official}
                index: 6
              family: {index: 7}
            required: [family, use]
  address:
    index: 8
    extensions:
      municipalityCode: {url: 'http://hl7.dk/fhir/core/StructureDefinition/dk-core-municipalityCodes', min: 0, max: 1, type: Extension, short: '[DA] Kommunekode', index: 9}
      regionalSubDivisionCodes: {url: 'http://hl7.dk/fhir/core/StructureDefinition/dk-core-RegionalSubDivisionCodes', min: 0, max: 1, type: Extension, short: '[DA] Regionskode', index: 10}
      address-official: {url: 'http://hl7.org/fhir/StructureDefinition/address-official', min: 0, max: 1, type: Extension, short: 'Indicate that this address is meant to be the ''official'' address for that person. This can be indicated by setting the boolean to ''true'' or adding a code for the country, e.g. ''DK''. In Denmark the official is the address registered in the CPR-register, see: https://www.retsinformation.dk/eli/lta/2023/1010.', index: 11}
    elements:
      extension:
        type: Extension
        short: '[DA] Kommunekode'
        url: http://hl7.dk/fhir/core/StructureDefinition/dk-core-municipalityCodes
        index: 9
        slicing:
          slices:
            municipalityCode:
              match: {}
              schema: {type: Extension, short: '[DA] Kommunekode', url: 'http://hl7.dk/fhir/core/StructureDefinition/dk-core-municipalityCodes', index: 9}
              min: 0
              max: 1
            regionalSubDivisionCodes:
              match: {}
              schema: {type: Extension, short: '[DA] Regionskode', url: 'http://hl7.dk/fhir/core/StructureDefinition/dk-core-RegionalSubDivisionCodes', index: 10}
              min: 0
              max: 1
            address-official:
              match: {}
              schema: {type: Extension, short: 'Indicate that this address is meant to be the ''official'' address for that person. This can be indicated by setting the boolean to ''true'' or adding a code for the country, e.g. ''DK''. In Denmark the official is the address registered in the CPR-register, see: https://www.retsinformation.dk/eli/lta/2023/1010.', url: 'http://hl7.org/fhir/StructureDefinition/address-official', index: 11}
              min: 0
              max: 1
  maritalStatus:
    binding: {strength: extensible, valueSet: 'http://hl7.dk/fhir/core/ValueSet/dk-marital-status'}
    index: 12
  contact:
    elements:
      relationship:
        binding: {strength: extensible, valueSet: 'http://hl7.dk/fhir/core/ValueSet/extended-patient-contactrelationship'}
        index: 13
  generalPractitioner:
    type: Reference
    refers: ['http://hl7.dk/fhir/core/StructureDefinition/dk-core-organization', 'http://hl7.dk/fhir/core/StructureDefinition/dk-core-practitioner', 'http://hl7.dk/fhir/core/StructureDefinition/dk-core-practitioner-role']
    index: 14
    slicing:
      rules: open
      discriminator:
      - {path: identifier.system, type: value}
      min: null
      slices:
        referencedSORUnit:
          match:
            identifier: {system: null}
          schema:
            short: '[DA] Praktiserende læges SOR-id på sundhedsinstistutionsniveau'
            array: true
            index: 15
            elements:
              identifier: {type: Identifier, index: 16}
  managingOrganization:
    type: Reference
    refers: ['http://hl7.dk/fhir/core/StructureDefinition/dk-core-organization']
    index: 17
  link:
    elements:
      other:
        type: Reference
        refers: ['http://hl7.dk/fhir/core/StructureDefinition/dk-core-patient', 'http://hl7.dk/fhir/core/StructureDefinition/dk-core-related-person']
        index: 18
package_version: 3.5.0
class: profile
kind: resource
url: http://hl7.dk/fhir/core/StructureDefinition/dk-core-patient
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 3.5.0
required: [identifier]