PackagesCanonicalsLogsProblems
    Packages
    ehelse.fhir.no.grunndata@2.1.0
    http://ehelse.no/fhir/StructureDefinition/gd-Person
description: Folkeregisterperson fra FREG.\r\n\r\nversjon 2.1.0 - Feilretting på Adressestruktur, la inn gd-Address-unknown
package_name: ehelse.fhir.no.grunndata
derivation: constraint
name: GdPerson
type: Person
elements:
  address: {type: Address, mustSupport: true, index: 28}
  meta:
    mustSupport: true
    index: 0
    elements:
      security:
        mustSupport: true
        index: 1
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            addressConfidentiality:
              match: {system: 'http://ehelse.no/fhir/ValueSet/gd-address-confidentiality-v05'}
              schema:
                short: address confidentiality from FREG
                binding: {strength: extensible, valueSet: 'http://ehelse.no/fhir/ValueSet/gd-address-confidentiality-v05'}
                mustSupport: true
                index: 2
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://ehelse.no/fhir/ValueSet/gd-address-confidentiality-v05'}
                    mustSupport: true
                    index: 3
                  code: {short: graderingsnivå from FREG, mustSupport: true, index: 4}
                  extension:
                    index: 5
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        fregMetadata:
                          match: {url: null}
                          schema: {type: Extension, url: 'http://ehelse.no/fhir/StructureDefinition/gd-fregmetadata', index: 6}
                          max: 1
                required: [system, code]
                extensions:
                  fregMetadata: {url: 'http://ehelse.no/fhir/StructureDefinition/gd-fregmetadata', max: 1, type: Extension, index: 6}
  managingOrganization: {mustSupport: false, index: 30}
  name: {type: HumanName, mustSupport: true, index: 23}
  implicitRules: {mustSupport: false, index: 7}
  birthDate: {mustSupport: true, index: 27}
  extension:
    index: 11
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        deceased:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://ehelse.no/fhir/StructureDefinition/gd-deceased', index: 12}
        birth:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://ehelse.no/fhir/StructureDefinition/gd-birth', index: 13}
        birthInNorway:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://ehelse.no/fhir/StructureDefinition/gd-birth-in-norway', index: 14}
        migration:
          match: {url: null}
          schema: {type: Extension, short: Migration information from FREG about a Person, mustSupport: true, url: 'http://ehelse.no/fhir/StructureDefinition/gd-migration', index: 15}
        citizenship:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://ehelse.no/fhir/StructureDefinition/gd-person-citizenship', index: 16}
        fregPersonStatus:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://ehelse.no/fhir/StructureDefinition/gd-person-status', index: 17}
        residencePermit:
          match: {url: null}
          schema: {type: Extension, short: Information registered in FREG regarding the residence permit of the person., mustSupport: true, url: 'http://ehelse.no/fhir/StructureDefinition/gd-residence-permit', index: 18}
  contained: {mustSupport: false, index: 10}
  photo: {mustSupport: false, index: 29}
  language: {mustSupport: false, index: 8}
  link: {mustSupport: false, index: 32}
  active: {mustSupport: false, index: 31}
  identifier:
    mustSupport: true
    index: 19
    slicing:
      rules: closed
      min: 1
      slices:
        FNR:
          match: {}
          schema: {type: Identifier, mustSupport: true, index: 20}
        DNR:
          match: {}
          schema: {type: Identifier, mustSupport: true, index: 21}
        foreignIdentifier:
          match: {}
          schema: {type: Identifier, mustSupport: true, index: 22}
  gender:
    short: Juridical gender of the person male | female
    mustSupport: true
    index: 24
    extensions:
      metadata: {url: 'http://ehelse.no/fhir/StructureDefinition/gd-fregmetadata', max: 1, type: Extension, short: Metadata about gender from FREG, index: 26}
    elements:
      extension:
        index: 25
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            metadata:
              match: {url: null}
              schema: {type: Extension, short: Metadata about gender from FREG, url: 'http://ehelse.no/fhir/StructureDefinition/gd-fregmetadata', index: 26}
              max: 1
  text: {mustSupport: false, index: 9}
package_version: 2.1.0
extensions:
  deceased: {url: 'http://ehelse.no/fhir/StructureDefinition/gd-deceased', type: Extension, mustSupport: true, index: 12}
  birth: {url: 'http://ehelse.no/fhir/StructureDefinition/gd-birth', type: Extension, mustSupport: true, index: 13}
  birthInNorway: {url: 'http://ehelse.no/fhir/StructureDefinition/gd-birth-in-norway', type: Extension, mustSupport: true, index: 14}
  migration: {url: 'http://ehelse.no/fhir/StructureDefinition/gd-migration', type: Extension, short: Migration information from FREG about a Person, mustSupport: true, index: 15}
  citizenship: {url: 'http://ehelse.no/fhir/StructureDefinition/gd-person-citizenship', type: Extension, mustSupport: true, index: 16}
  fregPersonStatus: {url: 'http://ehelse.no/fhir/StructureDefinition/gd-person-status', type: Extension, mustSupport: true, index: 17}
  residencePermit: {url: 'http://ehelse.no/fhir/StructureDefinition/gd-residence-permit', type: Extension, short: Information registered in FREG regarding the residence permit of the person., mustSupport: true, index: 18}
class: profile
kind: resource
url: http://ehelse.no/fhir/StructureDefinition/gd-Person
base: http://hl7.no/fhir/StructureDefinition/no-basis-Person
version: 2.1.0
required: [identifier]