PackagesCanonicalsLogsProblems
    Packages
    dk.ehealth.sundhed.fhir.ig.core@6.0.0
    http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-skrs-patient
description: null
package_name: dk.ehealth.sundhed.fhir.ig.core
derivation: constraint
name: ehealth-skrs-patient
type: Patient
elements:
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        nameAndAddressProtection:
          match: {url: null}
          schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-nameandaddressprotection', index: 1}
          min: 0
          max: 1
  identifier:
    mustSupport: true
    index: 2
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: 1
      max: 1
      slices:
        ehealth-dk-crn-identifier:
          match: {system: null}
          schema: {type: Identifier, _required: true, index: 3}
          min: 1
          max: 1
  deceased:
    choices: []
    index: 5
    slicing:
      rules: closed
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        deceasedDateTime:
          match: {}
          schema:
            choices: [deceasedDateTime]
            index: 7
          min: 0
          max: 1
  deceasedDateTime:
    type: dateTime
    choiceOf: deceased
    index: 8
    slicing:
      slices:
        deceasedDateTime:
          match: {}
          schema: {type: dateTime, choiceOf: deceased, index: 8}
          min: 0
          max: 1
  address:
    index: 9
    slicing:
      rules: closed
      discriminator:
      - {path: use, type: value}
      min: null
      max: 1
      slices:
        officialHomeAddress:
          match: {use: home}
          schema:
            index: 10
            extensions:
              municipalityCodes: {url: 'http://hl7.dk/fhir/core/StructureDefinition/dk-core-municipalityCodes', min: 0, type: Extension, index: 11}
              regionalSubDivisionCodes: {url: 'http://hl7.dk/fhir/core/StructureDefinition/dk-core-RegionalSubDivisionCodes', min: 0, type: Extension, index: 12}
            elements:
              extension:
                type: Extension
                url: http://hl7.dk/fhir/core/StructureDefinition/dk-core-municipalityCodes
                index: 11
                slicing:
                  slices:
                    municipalityCodes:
                      match: {}
                      schema: {type: Extension, url: 'http://hl7.dk/fhir/core/StructureDefinition/dk-core-municipalityCodes', index: 11}
                      min: 0
                    regionalSubDivisionCodes:
                      match: {}
                      schema: {type: Extension, url: 'http://hl7.dk/fhir/core/StructureDefinition/dk-core-RegionalSubDivisionCodes', index: 12}
                      min: 0
              use:
                pattern: {type: Code, value: home}
                index: 13
            required: [use]
package_version: 6.0.0
extensions:
  nameAndAddressProtection: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-nameandaddressprotection', min: 0, max: 1, type: Extension, index: 1}
class: profile
kind: resource
url: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-skrs-patient
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 6.0.0
required: [identifier]