PackagesCanonicalsLogsProblems
    Packages
    ehelse.fhir.no.grunndata@2.3.5-buildingnumbersuffix
    http://ehelse.no/fhir/StructureDefinition/gd-Person
description: The GdPerson profile describes the structure and coding of demographic data concerning a norwegian citizen or person with other legal relation with the kingdom of Norway. At this time the information is collected from FREG and presented through a FHIR RESTful interface from the Person information service.\r\n\r\nFolkeregisterperson fra FREG.
package_name: ehelse.fhir.no.grunndata
derivation: constraint
name: GdPerson
type: Person
elements:
  address: {type: Address, mustSupport: true, index: 44}
  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/CodeSystem/gd-address-confidentiality'}
              schema:
                short: address confidentiality from FREG
                type: Coding
                mustSupport: true
                binding: {strength: required, valueSet: 'http://ehelse.no/fhir/ValueSet/gd-person-addressprotection'}
                index: 2
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://ehelse.no/fhir/CodeSystem/gd-address-confidentiality'}
                    index: 3
                  code: {short: graderingsnivå from FREG, index: 4}
                required: [system, code]
  managingOrganization: {mustSupport: false, index: 46}
  name: {type: HumanName, mustSupport: true, index: 39}
  implicitRules: {mustSupport: false, index: 5}
  birthDate: {mustSupport: true, index: 43}
  extension:
    index: 9
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        residueContact:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: http://ehelse.no/fhir/StructureDefinition/gd-residue-contact
            index: 30
            extensions:
              fregMetadata: {url: null, mustSupport: true, index: 32}
            elements:
              extension:
                index: 31
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    fregMetadata:
                      match: {url: null}
                      schema: {mustSupport: true, index: 32}
        samiLanguage:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://ehelse.no/fhir/StructureDefinition/gd-sami-language', index: 33}
        identityControlStatus:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://ehelse.no/fhir/StructureDefinition/gd-identity-control', index: 28}
        fregPersonStatus:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://ehelse.no/fhir/StructureDefinition/gd-person-status', index: 24}
        deceased:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://ehelse.no/fhir/StructureDefinition/gd-deceased', index: 10}
        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: 25}
        identityDocument:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://ehelse.no/fhir/StructureDefinition/gd-identity-document', index: 29}
        citizenship:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: http://ehelse.no/fhir/StructureDefinition/gd-person-citizenship
            index: 16
            extensions:
              code:
                url: null
                mustSupport: true
                index: 18
                elements:
                  value[x]:
                    elements:
                      coding:
                        elements:
                          system: {mustSupport: true, index: 19}
                          code: {mustSupport: true, index: 20}
              period:
                url: null
                mustSupport: true
                index: 21
                elements:
                  value[x]:
                    elements:
                      start: {mustSupport: true, index: 22}
              fregMetadata: {url: null, mustSupport: true, index: 23}
            elements:
              extension:
                index: 17
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    code:
                      match: {url: null}
                      schema:
                        mustSupport: true
                        index: 18
                        elements:
                          value[x]:
                            elements:
                              coding:
                                elements:
                                  system: {mustSupport: true, index: 19}
                                  code: {mustSupport: true, index: 20}
                    period:
                      match: {url: null}
                      schema:
                        mustSupport: true
                        index: 21
                        elements:
                          value[x]:
                            elements:
                              start: {mustSupport: true, index: 22}
                    fregMetadata:
                      match: {url: null}
                      schema: {mustSupport: true, index: 23}
        citizenshipRetention:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://ehelse.no/fhir/StructureDefinition/gd-person-citizenship-retention', index: 26}
        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}
        birth:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: http://ehelse.no/fhir/StructureDefinition/gd-birth
            index: 11
            extensions:
              birthYear: {url: null, index: 13}
            elements:
              extension:
                index: 12
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    birthYear:
                      match: {url: null}
                      schema: {index: 13}
        fakeIdentity:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, meaningWhenMissing: 'When fakeIdentity is missing from the resource the Person resource, the information describes an actual person. Only a fregIsFake value of "true" means the Person information describes a known fake identity.', url: 'http://ehelse.no/fhir/StructureDefinition/gd-fake-identity', index: 27}
          max: 1
  contained: {mustSupport: false, index: 8}
  photo: {mustSupport: false, index: 45}
  language: {mustSupport: false, index: 6}
  link: {mustSupport: false, index: 48}
  active: {mustSupport: true, index: 47}
  identifier:
    mustSupport: true
    index: 34
    slicing:
      rules: closed
      description: Sliced by value:system (FNR/DNR) or type.system (foreign Identifier)
      min: 1
      slices:
        FNR:
          match: {}
          schema: {type: Identifier, mustSupport: true, index: 35}
        DNR:
          match: {}
          schema: {type: Identifier, mustSupport: true, index: 36}
        foreignIdentifier:
          match: {}
          schema:
            type: Identifier
            mustSupport: true
            index: 37
            elements:
              system:
                pattern: {type: Uri, value: 'http://ehelse.no/fhir/CodeSystem/gd-person-identificationnumbertype'}
                index: 38
  gender:
    short: Juridical gender of the person male | female
    binding: {strength: required, valueSet: 'http://ehelse.no/fhir/ValueSet/gd-person-gender'}
    mustSupport: true
    index: 40
    extensions:
      metadata: {url: 'http://ehelse.no/fhir/StructureDefinition/gd-fregmetadata', max: 1, type: Extension, short: Metadata about gender from FREG, index: 42}
    elements:
      extension:
        index: 41
        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: 42}
              max: 1
  text: {mustSupport: false, index: 7}
package_version: 2.3.5-buildingnumbersuffix
extensions:
  residueContact:
    url: http://ehelse.no/fhir/StructureDefinition/gd-residue-contact
    type: Extension
    mustSupport: true
    index: 30
    extensions:
      fregMetadata: {url: null, mustSupport: true, index: 32}
    elements:
      extension:
        index: 31
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            fregMetadata:
              match: {url: null}
              schema: {mustSupport: true, index: 32}
  samiLanguage: {url: 'http://ehelse.no/fhir/StructureDefinition/gd-sami-language', type: Extension, mustSupport: true, index: 33}
  identityControlStatus: {url: 'http://ehelse.no/fhir/StructureDefinition/gd-identity-control', type: Extension, mustSupport: true, index: 28}
  fregPersonStatus: {url: 'http://ehelse.no/fhir/StructureDefinition/gd-person-status', type: Extension, mustSupport: true, index: 24}
  deceased: {url: 'http://ehelse.no/fhir/StructureDefinition/gd-deceased', type: Extension, mustSupport: true, index: 10}
  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: 25}
  identityDocument: {url: 'http://ehelse.no/fhir/StructureDefinition/gd-identity-document', type: Extension, mustSupport: true, index: 29}
  citizenship:
    url: http://ehelse.no/fhir/StructureDefinition/gd-person-citizenship
    type: Extension
    mustSupport: true
    index: 16
    extensions:
      code:
        url: null
        mustSupport: true
        index: 18
        elements:
          value[x]:
            elements:
              coding:
                elements:
                  system: {mustSupport: true, index: 19}
                  code: {mustSupport: true, index: 20}
      period:
        url: null
        mustSupport: true
        index: 21
        elements:
          value[x]:
            elements:
              start: {mustSupport: true, index: 22}
      fregMetadata: {url: null, mustSupport: true, index: 23}
    elements:
      extension:
        index: 17
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            code:
              match: {url: null}
              schema:
                mustSupport: true
                index: 18
                elements:
                  value[x]:
                    elements:
                      coding:
                        elements:
                          system: {mustSupport: true, index: 19}
                          code: {mustSupport: true, index: 20}
            period:
              match: {url: null}
              schema:
                mustSupport: true
                index: 21
                elements:
                  value[x]:
                    elements:
                      start: {mustSupport: true, index: 22}
            fregMetadata:
              match: {url: null}
              schema: {mustSupport: true, index: 23}
  citizenshipRetention: {url: 'http://ehelse.no/fhir/StructureDefinition/gd-person-citizenship-retention', type: Extension, mustSupport: true, index: 26}
  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}
  birth:
    url: http://ehelse.no/fhir/StructureDefinition/gd-birth
    type: Extension
    mustSupport: true
    index: 11
    extensions:
      birthYear: {url: null, index: 13}
    elements:
      extension:
        index: 12
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            birthYear:
              match: {url: null}
              schema: {index: 13}
  fakeIdentity: {url: 'http://ehelse.no/fhir/StructureDefinition/gd-fake-identity', max: 1, type: Extension, mustSupport: true, meaningWhenMissing: 'When fakeIdentity is missing from the resource the Person resource, the information describes an actual person. Only a fregIsFake value of "true" means the Person information describes a known fake identity.', index: 27}
class: profile
kind: resource
url: http://ehelse.no/fhir/StructureDefinition/gd-Person
base: http://hl7.no/fhir/StructureDefinition/no-basis-Person
version: 3.0.0
required: [identifier]