PackagesCanonicalsLogsProblems
    Packages
    ehelse.fhir.no.grunndata@2.3.5-buildnumbersuffix2
    http://ehelse.no/fhir/StructureDefinition/gd-residue-contact
description: Information concerning a person or organization that handles the residue after the person is deceased.\r\n\r\ninformasjon om hvilken person eller organisasjon som ivaretar rollen som bobestyrer, testamentfullbyrder eller fullmektig samt kontaktinformasjonen til denne\r\nDet vil foreligge informasjon om enten en person, en advokat eller en organisasjon.
package_name: ehelse.fhir.no.grunndata
derivation: constraint
name: GdResidueContact
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        attestedDate:
          match: {url: attestedDate}
          schema:
            short: Date of issue for the residue contract
            mustSupport: true
            _required: true
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: attestedDate}
                index: 2
              value:
                choices: [valueDate]
                index: 4
              valueDate: {type: date, choiceOf: value, index: 5}
        formOfTransfer:
          match: {url: formOfTransfer}
          schema:
            short: private or public form of transfer
            mustSupport: true
            _required: true
            binding: {strength: required, valueSet: 'http://ehelse.no/fhir/ValueSet/gd-person-formoftransfer'}
            index: 6
            elements:
              url:
                pattern: {type: Uri, value: formOfTransfer}
                index: 7
              value:
                choices: [valueCode]
                index: 9
              valueCode: {type: code, choiceOf: value, index: 10}
        address:
          match: {url: address}
          schema:
            short: Contact address in Norway or abroad for the person, lawyer or organization
            mustSupport: true
            _required: true
            index: 11
            elements:
              url:
                pattern: {type: Uri, value: address}
                index: 12
              value:
                choices: [valueAddress]
                index: 14
              valueAddress: {type: Address, choiceOf: value, index: 15}
              value[x]:
                elements:
                  use: {index: 16}
                  city: {mustSupport: true, index: 20}
                  type: {index: 17}
                  state: {index: 22}
                  line: {mustSupport: true, index: 19}
                  postalCode: {mustSupport: true, index: 23}
                  period: {index: 25}
                  country: {mustSupport: true, index: 24}
                  district: {index: 21}
                  text: {index: 18}
                required: [city, postalCode, line]
        contactLawyer:
          match: {url: contactLawyer}
          schema:
            type: Extension
            mustSupport: true
            url: http://ehelse.no/fhir/StructureDefinition/gd-contact-lawyer
            index: 26
            elements:
              url:
                pattern: {type: Uri, value: contactLawyer}
                index: 27
        contactPerson:
          match: {url: contactPerson}
          schema:
            type: Extension
            mustSupport: true
            url: http://ehelse.no/fhir/StructureDefinition/gd-contact-person
            index: 28
            elements:
              url:
                pattern: {type: Uri, value: contactPerson}
                index: 29
        contactOrganization:
          match: {url: contactOrganization}
          schema:
            type: Extension
            mustSupport: true
            url: http://ehelse.no/fhir/StructureDefinition/gd-contact-organization
            index: 30
            elements:
              url:
                pattern: {type: Uri, value: contactOrganization}
                index: 31
        fregMetadata:
          match: {url: fregMetadata}
          schema:
            type: Extension
            url: http://ehelse.no/fhir/StructureDefinition/gd-fregmetadata
            index: 32
            elements:
              url:
                pattern: {type: Uri, value: fregMetadata}
                index: 33
  url:
    pattern: {type: Uri, value: 'http://ehelse.no/fhir/StructureDefinition/gd-residue-contact'}
    index: 34
  value:
    choices: []
    index: 36
package_version: 2.3.5-buildnumbersuffix2
extensions:
  attestedDate:
    url: attestedDate
    short: Date of issue for the residue contract
    mustSupport: true
    _required: true
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: attestedDate}
        index: 2
      value:
        choices: [valueDate]
        index: 4
      valueDate: {type: date, choiceOf: value, index: 5}
  formOfTransfer:
    url: formOfTransfer
    short: private or public form of transfer
    mustSupport: true
    _required: true
    binding: {strength: required, valueSet: 'http://ehelse.no/fhir/ValueSet/gd-person-formoftransfer'}
    index: 6
    elements:
      url:
        pattern: {type: Uri, value: formOfTransfer}
        index: 7
      value:
        choices: [valueCode]
        index: 9
      valueCode: {type: code, choiceOf: value, index: 10}
  address:
    url: address
    short: Contact address in Norway or abroad for the person, lawyer or organization
    mustSupport: true
    _required: true
    index: 11
    elements:
      url:
        pattern: {type: Uri, value: address}
        index: 12
      value:
        choices: [valueAddress]
        index: 14
      valueAddress: {type: Address, choiceOf: value, index: 15}
      value[x]:
        elements:
          use: {index: 16}
          city: {mustSupport: true, index: 20}
          type: {index: 17}
          state: {index: 22}
          line: {mustSupport: true, index: 19}
          postalCode: {mustSupport: true, index: 23}
          period: {index: 25}
          country: {mustSupport: true, index: 24}
          district: {index: 21}
          text: {index: 18}
        required: [city, postalCode, line]
  contactLawyer:
    url: http://ehelse.no/fhir/StructureDefinition/gd-contact-lawyer
    type: Extension
    mustSupport: true
    index: 26
    elements:
      url:
        pattern: {type: Uri, value: contactLawyer}
        index: 27
  contactPerson:
    url: http://ehelse.no/fhir/StructureDefinition/gd-contact-person
    type: Extension
    mustSupport: true
    index: 28
    elements:
      url:
        pattern: {type: Uri, value: contactPerson}
        index: 29
  contactOrganization:
    url: http://ehelse.no/fhir/StructureDefinition/gd-contact-organization
    type: Extension
    mustSupport: true
    index: 30
    elements:
      url:
        pattern: {type: Uri, value: contactOrganization}
        index: 31
  fregMetadata:
    url: http://ehelse.no/fhir/StructureDefinition/gd-fregmetadata
    type: Extension
    index: 32
    elements:
      url:
        pattern: {type: Uri, value: fregMetadata}
        index: 33
class: extension
kind: complex-type
url: http://ehelse.no/fhir/StructureDefinition/gd-residue-contact
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 3.0.0