PackagesCanonicalsLogsProblems
    Packages
    ehelse.fhir.no.grunndata@2.3.5-buildingnumbersuffix
    http://ehelse.no/fhir/StructureDefinition/gd-RelatedPerson
description: A related person registered in the norwegian master Person index (FREG). In the case where the RelatedPerson itself is not a person registered in FREG (foreign citizen) the name, nationality, birthDate and gender is returned in the RelatedPerson instance. In all other cases only the RelatedPerson.identifier containing FNR or DNR is returned.
package_name: ehelse.fhir.no.grunndata
derivation: constraint
name: GdRelatedPerson
type: RelatedPerson
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        citizenship:
          match: {url: null}
          schema:
            short: The nationality of the person
            type: Extension
            mustSupport: true
            url: http://hl7.no/fhir/StructureDefinition/no-basis-person-citizenship
            index: 1
            extensions:
              code:
                url: null
                binding: {strength: required, valueSet: 'urn:iso:std:iso:3166'}
                index: 3
            elements:
              extension:
                index: 2
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    code:
                      match: {url: null}
                      schema:
                        binding: {strength: required, valueSet: 'urn:iso:std:iso:3166'}
                        index: 3
  identifier:
    mustSupport: true
    index: 4
    slicing:
      slices:
        FNR:
          match: {}
          schema: {mustSupport: true, index: 5}
        DNR:
          match: {}
          schema: {mustSupport: true, index: 6}
  active: {mustSupport: true, index: 7}
  patient:
    type: Reference
    mustSupport: true
    refers: ['http://ehelse.no/fhir/StructureDefinition/gd-Person', 'http://hl7.no/fhir/StructureDefinition/no-basis-Patient', 'http://hl7.no/fhir/StructureDefinition/no-basis-Person', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Person']
    index: 8
    elements:
      reference: {mustSupport: true, index: 9}
  relationship:
    mustSupport: true
    index: 10
    slicing:
      slices:
        maritalStatus:
          match: {}
          schema:
            mustSupport: true
            index: 11
            extensions:
              fregMarital: {url: 'http://ehelse.no/fhir/StructureDefinition/gd-marital-status', type: Extension, index: 13}
            elements:
              extension:
                index: 12
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    fregMarital:
                      match: {url: null}
                      schema: {type: Extension, url: 'http://ehelse.no/fhir/StructureDefinition/gd-marital-status', index: 13}
        familyRelation:
          match: {}
          schema:
            mustSupport: true
            index: 14
            extensions:
              fregFamily:
                url: http://ehelse.no/fhir/StructureDefinition/gd-family-relation
                type: Extension
                index: 16
                extensions:
                  roleOfRelatedPersonInstance: {url: null, index: 18}
                elements:
                  extension:
                    index: 17
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        roleOfRelatedPersonInstance:
                          match: {url: null}
                          schema: {index: 18}
            elements:
              extension:
                index: 15
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    fregFamily:
                      match: {url: null}
                      schema:
                        type: Extension
                        url: http://ehelse.no/fhir/StructureDefinition/gd-family-relation
                        index: 16
                        extensions:
                          roleOfRelatedPersonInstance: {url: null, index: 18}
                        elements:
                          extension:
                            index: 17
                            slicing:
                              rules: open
                              discriminator:
                              - {path: url, type: value}
                              min: null
                              slices:
                                roleOfRelatedPersonInstance:
                                  match: {url: null}
                                  schema: {index: 18}
        parental:
          match: {}
          schema:
            mustSupport: true
            index: 19
            extensions:
              fregParental: {url: 'http://ehelse.no/fhir/StructureDefinition/gd-parental', type: Extension, index: 21}
            elements:
              extension:
                index: 20
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    fregParental:
                      match: {url: null}
                      schema: {type: Extension, url: 'http://ehelse.no/fhir/StructureDefinition/gd-parental', index: 21}
        guardianship:
          match: {}
          schema:
            short: guardianship registered in FREG
            binding: {strength: required, valueSet: 'http://ehelse.no/fhir/ValueSet/gd-person-guardiantype'}
            mustSupport: true
            index: 22
            extensions:
              guardianship: {url: 'http://ehelse.no/fhir/StructureDefinition/gd-guardianship', max: 1, type: Extension, short: Informasjon om Vergemaal eller fremtidsfullmakt fra FREG., index: 24}
            elements:
              extension:
                index: 23
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    guardianship:
                      match: {url: null}
                      schema: {type: Extension, short: Informasjon om Vergemaal eller fremtidsfullmakt fra FREG., url: 'http://ehelse.no/fhir/StructureDefinition/gd-guardianship', index: 24}
                      max: 1
              coding:
                short: Vergemaaltype fra FREG
                index: 25
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://ehelse.no/fhir/CodeSystem/gd-person-guardiantype'}
                    index: 26
  name:
    mustSupport: true
    index: 27
    extensions:
      middlename: {url: null, mustSupport: true, index: 29}
    elements:
      extension:
        index: 28
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            middlename:
              match: {url: null}
              schema: {mustSupport: true, index: 29}
      family: {mustSupport: true, index: 30}
      given: {mustSupport: true, index: 31}
  gender: {mustSupport: true, index: 32}
  birthDate: {mustSupport: true, index: 33}
package_version: 2.3.5-buildingnumbersuffix
extensions:
  citizenship:
    url: http://hl7.no/fhir/StructureDefinition/no-basis-person-citizenship
    short: The nationality of the person
    type: Extension
    mustSupport: true
    index: 1
    extensions:
      code:
        url: null
        binding: {strength: required, valueSet: 'urn:iso:std:iso:3166'}
        index: 3
    elements:
      extension:
        index: 2
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            code:
              match: {url: null}
              schema:
                binding: {strength: required, valueSet: 'urn:iso:std:iso:3166'}
                index: 3
class: profile
kind: resource
url: http://ehelse.no/fhir/StructureDefinition/gd-RelatedPerson
base: http://hl7.no/fhir/StructureDefinition/no-basis-RelatedPerson
version: 2.3.2