PackagesCanonicalsLogsProblems
    Packages
    ehelse.fhir.no.grunndata@2.3.5-buildnumbersuffix2
    http://ehelse.no/fhir/StructureDefinition/gd-identity-document
description: An identity document (also called a piece of identification or ID, or colloquially as papers) is any document that may be used to prove a person's identity.\r\n\r\ndokument med opplysninger om en persons identitet sammen med annen informasjon (som biometriske karakteristika) for å verifisere identiteten til innehaveren av dokumentet
package_name: ehelse.fhir.no.grunndata
derivation: constraint
name: GdIdentityDocument
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        validPeriod:
          match: {url: validPeriod}
          schema:
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: validPeriod}
                index: 2
              value:
                choices: [valuePeriod]
                index: 4
              valuePeriod: {type: Period, choiceOf: value, index: 5}
              value[x]:
                elements:
                  start: {index: 6}
                  end: {index: 7}
        identityDocumentNumber:
          match: {url: identityDocumentNumber}
          schema:
            index: 8
            elements:
              url:
                pattern: {type: Uri, value: identityDocumentNumber}
                index: 9
              value:
                choices: [valueString]
                index: 11
              valueString: {type: string, choiceOf: value, index: 12}
        identityDocumentType:
          match: {url: identityDocumentType}
          schema:
            _required: true
            index: 13
            elements:
              url:
                pattern: {type: Uri, value: identityDocumentType}
                index: 14
              value:
                choices: [valueString]
                index: 16
              valueString: {type: string, choiceOf: value, index: 17}
        countryOfIssue:
          match: {url: countryOfIssue}
          schema:
            binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/iso3166-1-3'}
            _required: true
            index: 18
            elements:
              url:
                pattern: {type: Uri, value: countryOfIssue}
                index: 19
              value:
                choices: [valueCode]
                index: 21
              valueCode: {type: code, choiceOf: value, index: 22}
        nameOfIssuer:
          match: {url: nameOfIssuer}
          schema:
            index: 23
            elements:
              url:
                pattern: {type: Uri, value: nameOfIssuer}
                index: 24
              value:
                choices: [valueString]
                index: 26
              valueString: {type: string, choiceOf: value, index: 27}
        documentControlStatus:
          match: {url: documentControlStatus}
          schema:
            index: 28
            elements:
              url:
                pattern: {type: Uri, value: documentControlStatus}
                index: 29
              value:
                choices: [valueString]
                index: 31
              valueString: {type: string, choiceOf: value, index: 32}
        documentControlTimestamp:
          match: {url: documentControlTimestamp}
          schema:
            index: 33
            elements:
              url:
                pattern: {type: Uri, value: documentControlTimestamp}
                index: 34
              value:
                choices: [valueDateTime]
                index: 36
              valueDateTime: {type: dateTime, choiceOf: value, index: 37}
        fregMetadata:
          match: {url: fregMetadata}
          schema:
            type: Extension
            url: http://ehelse.no/fhir/StructureDefinition/gd-fregmetadata
            index: 38
            elements:
              url:
                pattern: {type: Uri, value: fregMetadata}
                index: 39
  url:
    pattern: {type: Uri, value: 'http://ehelse.no/fhir/StructureDefinition/gd-identity-document'}
    index: 40
  value:
    choices: []
    index: 42
package_version: 2.3.5-buildnumbersuffix2
extensions:
  validPeriod:
    url: validPeriod
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: validPeriod}
        index: 2
      value:
        choices: [valuePeriod]
        index: 4
      valuePeriod: {type: Period, choiceOf: value, index: 5}
      value[x]:
        elements:
          start: {index: 6}
          end: {index: 7}
  identityDocumentNumber:
    url: identityDocumentNumber
    index: 8
    elements:
      url:
        pattern: {type: Uri, value: identityDocumentNumber}
        index: 9
      value:
        choices: [valueString]
        index: 11
      valueString: {type: string, choiceOf: value, index: 12}
  identityDocumentType:
    url: identityDocumentType
    _required: true
    index: 13
    elements:
      url:
        pattern: {type: Uri, value: identityDocumentType}
        index: 14
      value:
        choices: [valueString]
        index: 16
      valueString: {type: string, choiceOf: value, index: 17}
  countryOfIssue:
    url: countryOfIssue
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/iso3166-1-3'}
    _required: true
    index: 18
    elements:
      url:
        pattern: {type: Uri, value: countryOfIssue}
        index: 19
      value:
        choices: [valueCode]
        index: 21
      valueCode: {type: code, choiceOf: value, index: 22}
  nameOfIssuer:
    url: nameOfIssuer
    index: 23
    elements:
      url:
        pattern: {type: Uri, value: nameOfIssuer}
        index: 24
      value:
        choices: [valueString]
        index: 26
      valueString: {type: string, choiceOf: value, index: 27}
  documentControlStatus:
    url: documentControlStatus
    index: 28
    elements:
      url:
        pattern: {type: Uri, value: documentControlStatus}
        index: 29
      value:
        choices: [valueString]
        index: 31
      valueString: {type: string, choiceOf: value, index: 32}
  documentControlTimestamp:
    url: documentControlTimestamp
    index: 33
    elements:
      url:
        pattern: {type: Uri, value: documentControlTimestamp}
        index: 34
      value:
        choices: [valueDateTime]
        index: 36
      valueDateTime: {type: dateTime, choiceOf: value, index: 37}
  fregMetadata:
    url: http://ehelse.no/fhir/StructureDefinition/gd-fregmetadata
    type: Extension
    index: 38
    elements:
      url:
        pattern: {type: Uri, value: fregMetadata}
        index: 39
class: extension
kind: complex-type
url: http://ehelse.no/fhir/StructureDefinition/gd-identity-document
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 3.0.0