PackagesCanonicalsLogsProblems
    Packages
    ehelse.fhir.no.grunndata@2.3.5-buildnumbersuffix2
    http://ehelse.no/fhir/StructureDefinition/gd-contact-person
description: An identified individual is the contact, the resource contains identifying information regarding the person\r\n\r\nDet er en privatperson som er kontaktperson og entiteten inneholder enten en folkeregisteridentifikator eller identifiserende informasjon som fødselsdato og navn
package_name: ehelse.fhir.no.grunndata
derivation: constraint
name: GdContactPerson
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        personIdentifier:
          match: {url: personIdentifier}
          schema:
            short: Identifier for the person (fødselsnummer eller d-nummer)
            mustSupport: true
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: personIdentifier}
                index: 2
              value:
                choices: [valueString]
                index: 4
              valueString: {type: string, choiceOf: value, index: 5}
        birthDate:
          match: {url: birthDate}
          schema:
            short: birth date of the person
            mustSupport: true
            index: 6
            elements:
              url:
                pattern: {type: Uri, value: birthDate}
                index: 7
              value:
                choices: [valueDate]
                index: 9
              valueDate: {type: date, choiceOf: value, index: 10}
        personName:
          match: {url: personName}
          schema:
            short: Name of the person
            mustSupport: true
            index: 11
            elements:
              url:
                pattern: {type: Uri, value: personName}
                index: 12
              value:
                choices: [valueHumanName]
                index: 14
              valueHumanName: {type: HumanName, choiceOf: value, index: 15}
              value[x]:
                extensions:
                  middlename: {url: null, mustSupport: true, index: 17}
                elements:
                  extension:
                    index: 16
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        middlename:
                          match: {url: null}
                          schema: {mustSupport: true, index: 17}
                  use: {index: 18}
                  text: {index: 19}
                  family: {mustSupport: true, index: 20}
                  given: {mustSupport: true, index: 21}
                  prefix: {index: 22}
                  suffix: {index: 23}
                  period: {index: 24}
                required: [given, family]
  url:
    pattern: {type: Uri, value: 'http://ehelse.no/fhir/StructureDefinition/gd-contact-person'}
    index: 25
  value:
    choices: []
    index: 27
package_version: 2.3.5-buildnumbersuffix2
extensions:
  personIdentifier:
    url: personIdentifier
    short: Identifier for the person (fødselsnummer eller d-nummer)
    mustSupport: true
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: personIdentifier}
        index: 2
      value:
        choices: [valueString]
        index: 4
      valueString: {type: string, choiceOf: value, index: 5}
  birthDate:
    url: birthDate
    short: birth date of the person
    mustSupport: true
    index: 6
    elements:
      url:
        pattern: {type: Uri, value: birthDate}
        index: 7
      value:
        choices: [valueDate]
        index: 9
      valueDate: {type: date, choiceOf: value, index: 10}
  personName:
    url: personName
    short: Name of the person
    mustSupport: true
    index: 11
    elements:
      url:
        pattern: {type: Uri, value: personName}
        index: 12
      value:
        choices: [valueHumanName]
        index: 14
      valueHumanName: {type: HumanName, choiceOf: value, index: 15}
      value[x]:
        extensions:
          middlename: {url: null, mustSupport: true, index: 17}
        elements:
          extension:
            index: 16
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: null
              slices:
                middlename:
                  match: {url: null}
                  schema: {mustSupport: true, index: 17}
          use: {index: 18}
          text: {index: 19}
          family: {mustSupport: true, index: 20}
          given: {mustSupport: true, index: 21}
          prefix: {index: 22}
          suffix: {index: 23}
          period: {index: 24}
        required: [given, family]
class: extension
kind: complex-type
url: http://ehelse.no/fhir/StructureDefinition/gd-contact-person
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 3.0.0