PackagesCanonicalsLogsProblems
    Packages
    ehelse.fhir.no.grunndata@2.3.5-buildingnumbersuffix
    http://ehelse.no/fhir/StructureDefinition/gd-fake-identity
description: Information about a fake identity registration in FREG\r\n\r\nidentitet som tilhører en annen enn den som benytter den, eller ikke tilhører noen i det hele tatt, men presenteres som om den er reell
package_name: ehelse.fhir.no.grunndata
derivation: constraint
name: GdFakeIdentity
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        fregIsFake:
          match: {url: fregIsFake}
          schema:
            short: Indicates whether the identity in this person resource is considered fake.
            mustSupport: true
            _required: true
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: fregIsFake}
                index: 2
              value:
                choices: [valueBoolean]
                index: 4
              valueBoolean: {type: boolean, choiceOf: value, index: 5}
            required: [value, valueBoolean]
        identityUnknown:
          match: {url: identityUnknown}
          schema:
            short: The identity is unknown
            mustSupport: true
            index: 6
            elements:
              url:
                pattern: {type: Uri, value: identityUnknown}
                index: 7
              value:
                choices: [valueBoolean]
                index: 9
              valueBoolean: {type: boolean, choiceOf: value, index: 10}
        identifier:
          match: {url: identifier}
          schema:
            short: The identifier of the correct identity for this person.
            mustSupport: true
            index: 11
            elements:
              url:
                pattern: {type: Uri, value: identifier}
                index: 12
              value:
                choices: [valueString]
                index: 14
              valueString: {type: string, choiceOf: value, index: 15}
        fregMetadata:
          match: {url: fregMetadata}
          schema:
            short: registermetadata fra folkeregisteret
            mustSupport: true
            index: 16
            extensions:
              metadata:
                url: http://ehelse.no/fhir/StructureDefinition/gd-fregmetadata
                type: Extension
                index: 18
                elements:
                  url:
                    pattern: {type: Uri, value: metadata}
                    index: 19
            elements:
              extension:
                index: 17
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    metadata:
                      match: {url: metadata}
                      schema:
                        type: Extension
                        url: http://ehelse.no/fhir/StructureDefinition/gd-fregmetadata
                        index: 18
                        elements:
                          url:
                            pattern: {type: Uri, value: metadata}
                            index: 19
              url:
                pattern: {type: Uri, value: fregMetadata}
                index: 20
              value:
                choices: []
                index: 22
        identifyingInformation:
          match: {url: identifyingInformation}
          schema:
            short: Identifying information
            mustSupport: true
            index: 23
            extensions:
              name:
                url: name
                short: HumanName of the person
                mustSupport: true
                _required: true
                index: 25
                elements:
                  url:
                    pattern: {type: Uri, value: name}
                    index: 26
                  value:
                    choices: [valueHumanName]
                    index: 28
                  valueHumanName: {type: HumanName, choiceOf: value, index: 29}
                  value[x]:
                    extensions:
                      middlename: {url: null, mustSupport: true, index: 31}
                    elements:
                      extension:
                        index: 30
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: null
                          slices:
                            middlename:
                              match: {url: null}
                              schema: {mustSupport: true, index: 31}
                      use: {index: 32}
                      text: {index: 33}
                      family: {mustSupport: true, index: 34}
                      given: {mustSupport: true, index: 35}
                      prefix: {index: 36}
                      suffix: {index: 37}
                      period: {index: 38}
              birthDate:
                url: birthDate
                short: Birth date of the person
                mustSupport: true
                index: 39
                elements:
                  url:
                    pattern: {type: Uri, value: birthDate}
                    index: 40
                  value:
                    choices: [valueDate]
                    index: 42
                  valueDate: {type: date, choiceOf: value, index: 43}
              gender:
                url: gender
                short: Juridical gender of the person
                mustSupport: true
                binding: {strength: required, valueSet: 'http://ehelse.no/fhir/ValueSet/gd-person-gender'}
                index: 44
                elements:
                  url:
                    pattern: {type: Uri, value: gender}
                    index: 45
                  value:
                    choices: [valueCode]
                    index: 47
                  valueCode: {type: code, choiceOf: value, index: 48}
              citizenship:
                url: citizenship
                isModifier: false
                short: statsborgerskap
                mustSupport: true
                _required: true
                binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/iso3166-1-3'}
                index: 49
                elements:
                  url:
                    pattern: {type: Uri, value: citizenship}
                    index: 50
                  value:
                    choices: [valueCode]
                    index: 52
                  valueCode: {type: code, choiceOf: value, index: 53}
            elements:
              valueBase64Binary: {type: base64Binary, choiceOf: value, index: 57}
              valueAge: {type: Age, choiceOf: value, index: 77}
              valueParameterDefinition: {type: ParameterDefinition, choiceOf: value, index: 101}
              valueTiming: {type: Timing, choiceOf: value, index: 96}
              valueCode: {type: code, choiceOf: value, index: 60}
              valueReference: {type: Reference, choiceOf: value, index: 93}
              valueContributor: {type: Contributor, choiceOf: value, index: 98}
              valueContactDetail: {type: ContactDetail, choiceOf: value, index: 97}
              valueUri: {type: uri, choiceOf: value, index: 73}
              valueUsageContext: {type: UsageContext, choiceOf: value, index: 104}
              valueTime: {type: time, choiceOf: value, index: 71}
              valueDecimal: {type: decimal, choiceOf: value, index: 63}
              valueCanonical: {type: canonical, choiceOf: value, index: 59}
              valueMarkdown: {type: markdown, choiceOf: value, index: 67}
              valueIdentifier: {type: Identifier, choiceOf: value, index: 87}
              valueTriggerDefinition: {type: TriggerDefinition, choiceOf: value, index: 103}
              valueQuantity: {type: Quantity, choiceOf: value, index: 90}
              value:
                choices: [valueBase64Binary, valueBoolean, valueCanonical, valueCode, valueDate, valueDateTime, valueDecimal, valueId, valueInstant, valueInteger, valueMarkdown, valueOid, valuePositiveInt, valueString, valueTime, valueUnsignedInt, valueUri, valueUrl, valueUuid, valueAddress, valueAge, valueAnnotation, valueAttachment, valueCodeableConcept, valueCoding, valueContactPoint, valueCount, valueDistance, valueDuration, valueHumanName, valueIdentifier, valueMoney, valuePeriod, valueQuantity, valueRange, valueRatio, valueReference, valueSampledData, valueSignature, valueTiming, valueContactDetail, valueContributor, valueDataRequirement, valueExpression, valueParameterDefinition, valueRelatedArtifact, valueTriggerDefinition, valueUsageContext, valueDosage]
                index: 56
              valueCount: {type: Count, choiceOf: value, index: 83}
              valueString: {type: string, choiceOf: value, index: 70}
              valueRatio: {type: Ratio, choiceOf: value, index: 92}
              valueBoolean: {type: boolean, choiceOf: value, index: 58}
              valueInstant: {type: instant, choiceOf: value, index: 65}
              valueDateTime: {type: dateTime, choiceOf: value, index: 62}
              valueDate: {type: date, choiceOf: value, index: 61}
              valueDuration: {type: Duration, choiceOf: value, index: 85}
              valueDataRequirement: {type: DataRequirement, choiceOf: value, index: 99}
              valueMoney: {type: Money, choiceOf: value, index: 88}
              valueCoding: {type: Coding, choiceOf: value, index: 81}
              valueExpression: {type: Expression, choiceOf: value, index: 100}
              extension:
                index: 24
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    name:
                      match: {url: name}
                      schema:
                        short: HumanName of the person
                        mustSupport: true
                        _required: true
                        index: 25
                        elements:
                          url:
                            pattern: {type: Uri, value: name}
                            index: 26
                          value:
                            choices: [valueHumanName]
                            index: 28
                          valueHumanName: {type: HumanName, choiceOf: value, index: 29}
                          value[x]:
                            extensions:
                              middlename: {url: null, mustSupport: true, index: 31}
                            elements:
                              extension:
                                index: 30
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: url, type: value}
                                  min: null
                                  slices:
                                    middlename:
                                      match: {url: null}
                                      schema: {mustSupport: true, index: 31}
                              use: {index: 32}
                              text: {index: 33}
                              family: {mustSupport: true, index: 34}
                              given: {mustSupport: true, index: 35}
                              prefix: {index: 36}
                              suffix: {index: 37}
                              period: {index: 38}
                    birthDate:
                      match: {url: birthDate}
                      schema:
                        short: Birth date of the person
                        mustSupport: true
                        index: 39
                        elements:
                          url:
                            pattern: {type: Uri, value: birthDate}
                            index: 40
                          value:
                            choices: [valueDate]
                            index: 42
                          valueDate: {type: date, choiceOf: value, index: 43}
                    gender:
                      match: {url: gender}
                      schema:
                        short: Juridical gender of the person
                        mustSupport: true
                        binding: {strength: required, valueSet: 'http://ehelse.no/fhir/ValueSet/gd-person-gender'}
                        index: 44
                        elements:
                          url:
                            pattern: {type: Uri, value: gender}
                            index: 45
                          value:
                            choices: [valueCode]
                            index: 47
                          valueCode: {type: code, choiceOf: value, index: 48}
                    citizenship:
                      match: {url: citizenship}
                      schema:
                        isModifier: false
                        short: statsborgerskap
                        mustSupport: true
                        _required: true
                        binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/iso3166-1-3'}
                        index: 49
                        elements:
                          url:
                            pattern: {type: Uri, value: citizenship}
                            index: 50
                          value:
                            choices: [valueCode]
                            index: 52
                          valueCode: {type: code, choiceOf: value, index: 53}
              valueSampledData: {type: SampledData, choiceOf: value, index: 94}
              valueDosage: {type: Dosage, choiceOf: value, index: 105}
              valueContactPoint: {type: ContactPoint, choiceOf: value, index: 82}
              url:
                pattern: {type: Uri, value: identifyingInformation}
                index: 54
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 80}
              valueAnnotation: {type: Annotation, choiceOf: value, index: 78}
              valuePeriod: {type: Period, choiceOf: value, index: 89}
              valueDistance: {type: Distance, choiceOf: value, index: 84}
              valueRange: {type: Range, choiceOf: value, index: 91}
              valueSignature: {type: Signature, choiceOf: value, index: 95}
              valueUuid: {type: uuid, choiceOf: value, index: 75}
              valueInteger: {type: integer, choiceOf: value, index: 66}
              valueHumanName: {type: HumanName, choiceOf: value, index: 86}
              valueUnsignedInt: {type: unsignedInt, choiceOf: value, index: 72}
              valueAttachment: {type: Attachment, choiceOf: value, index: 79}
              valueOid: {type: oid, choiceOf: value, index: 68}
              valueAddress: {type: Address, choiceOf: value, index: 76}
              valueRelatedArtifact: {type: RelatedArtifact, choiceOf: value, index: 102}
              valuePositiveInt: {type: positiveInt, choiceOf: value, index: 69}
              valueId: {type: id, choiceOf: value, index: 64}
              valueUrl: {type: url, choiceOf: value, index: 74}
  url:
    pattern: {type: Uri, value: 'http://ehelse.no/fhir/StructureDefinition/gd-fake-identity'}
    index: 106
  value:
    choices: []
    index: 108
package_version: 2.3.5-buildingnumbersuffix
extensions:
  fregIsFake:
    url: fregIsFake
    short: Indicates whether the identity in this person resource is considered fake.
    mustSupport: true
    _required: true
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: fregIsFake}
        index: 2
      value:
        choices: [valueBoolean]
        index: 4
      valueBoolean: {type: boolean, choiceOf: value, index: 5}
    required: [value, valueBoolean]
  identityUnknown:
    url: identityUnknown
    short: The identity is unknown
    mustSupport: true
    index: 6
    elements:
      url:
        pattern: {type: Uri, value: identityUnknown}
        index: 7
      value:
        choices: [valueBoolean]
        index: 9
      valueBoolean: {type: boolean, choiceOf: value, index: 10}
  identifier:
    url: identifier
    short: The identifier of the correct identity for this person.
    mustSupport: true
    index: 11
    elements:
      url:
        pattern: {type: Uri, value: identifier}
        index: 12
      value:
        choices: [valueString]
        index: 14
      valueString: {type: string, choiceOf: value, index: 15}
  fregMetadata:
    url: fregMetadata
    short: registermetadata fra folkeregisteret
    mustSupport: true
    index: 16
    extensions:
      metadata:
        url: http://ehelse.no/fhir/StructureDefinition/gd-fregmetadata
        type: Extension
        index: 18
        elements:
          url:
            pattern: {type: Uri, value: metadata}
            index: 19
    elements:
      extension:
        index: 17
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            metadata:
              match: {url: metadata}
              schema:
                type: Extension
                url: http://ehelse.no/fhir/StructureDefinition/gd-fregmetadata
                index: 18
                elements:
                  url:
                    pattern: {type: Uri, value: metadata}
                    index: 19
      url:
        pattern: {type: Uri, value: fregMetadata}
        index: 20
      value:
        choices: []
        index: 22
  identifyingInformation:
    url: identifyingInformation
    short: Identifying information
    mustSupport: true
    index: 23
    extensions:
      name:
        url: name
        short: HumanName of the person
        mustSupport: true
        _required: true
        index: 25
        elements:
          url:
            pattern: {type: Uri, value: name}
            index: 26
          value:
            choices: [valueHumanName]
            index: 28
          valueHumanName: {type: HumanName, choiceOf: value, index: 29}
          value[x]:
            extensions:
              middlename: {url: null, mustSupport: true, index: 31}
            elements:
              extension:
                index: 30
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    middlename:
                      match: {url: null}
                      schema: {mustSupport: true, index: 31}
              use: {index: 32}
              text: {index: 33}
              family: {mustSupport: true, index: 34}
              given: {mustSupport: true, index: 35}
              prefix: {index: 36}
              suffix: {index: 37}
              period: {index: 38}
      birthDate:
        url: birthDate
        short: Birth date of the person
        mustSupport: true
        index: 39
        elements:
          url:
            pattern: {type: Uri, value: birthDate}
            index: 40
          value:
            choices: [valueDate]
            index: 42
          valueDate: {type: date, choiceOf: value, index: 43}
      gender:
        url: gender
        short: Juridical gender of the person
        mustSupport: true
        binding: {strength: required, valueSet: 'http://ehelse.no/fhir/ValueSet/gd-person-gender'}
        index: 44
        elements:
          url:
            pattern: {type: Uri, value: gender}
            index: 45
          value:
            choices: [valueCode]
            index: 47
          valueCode: {type: code, choiceOf: value, index: 48}
      citizenship:
        url: citizenship
        isModifier: false
        short: statsborgerskap
        mustSupport: true
        _required: true
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/iso3166-1-3'}
        index: 49
        elements:
          url:
            pattern: {type: Uri, value: citizenship}
            index: 50
          value:
            choices: [valueCode]
            index: 52
          valueCode: {type: code, choiceOf: value, index: 53}
    elements:
      valueBase64Binary: {type: base64Binary, choiceOf: value, index: 57}
      valueAge: {type: Age, choiceOf: value, index: 77}
      valueParameterDefinition: {type: ParameterDefinition, choiceOf: value, index: 101}
      valueTiming: {type: Timing, choiceOf: value, index: 96}
      valueCode: {type: code, choiceOf: value, index: 60}
      valueReference: {type: Reference, choiceOf: value, index: 93}
      valueContributor: {type: Contributor, choiceOf: value, index: 98}
      valueContactDetail: {type: ContactDetail, choiceOf: value, index: 97}
      valueUri: {type: uri, choiceOf: value, index: 73}
      valueUsageContext: {type: UsageContext, choiceOf: value, index: 104}
      valueTime: {type: time, choiceOf: value, index: 71}
      valueDecimal: {type: decimal, choiceOf: value, index: 63}
      valueCanonical: {type: canonical, choiceOf: value, index: 59}
      valueMarkdown: {type: markdown, choiceOf: value, index: 67}
      valueIdentifier: {type: Identifier, choiceOf: value, index: 87}
      valueTriggerDefinition: {type: TriggerDefinition, choiceOf: value, index: 103}
      valueQuantity: {type: Quantity, choiceOf: value, index: 90}
      value:
        choices: [valueBase64Binary, valueBoolean, valueCanonical, valueCode, valueDate, valueDateTime, valueDecimal, valueId, valueInstant, valueInteger, valueMarkdown, valueOid, valuePositiveInt, valueString, valueTime, valueUnsignedInt, valueUri, valueUrl, valueUuid, valueAddress, valueAge, valueAnnotation, valueAttachment, valueCodeableConcept, valueCoding, valueContactPoint, valueCount, valueDistance, valueDuration, valueHumanName, valueIdentifier, valueMoney, valuePeriod, valueQuantity, valueRange, valueRatio, valueReference, valueSampledData, valueSignature, valueTiming, valueContactDetail, valueContributor, valueDataRequirement, valueExpression, valueParameterDefinition, valueRelatedArtifact, valueTriggerDefinition, valueUsageContext, valueDosage]
        index: 56
      valueCount: {type: Count, choiceOf: value, index: 83}
      valueString: {type: string, choiceOf: value, index: 70}
      valueRatio: {type: Ratio, choiceOf: value, index: 92}
      valueBoolean: {type: boolean, choiceOf: value, index: 58}
      valueInstant: {type: instant, choiceOf: value, index: 65}
      valueDateTime: {type: dateTime, choiceOf: value, index: 62}
      valueDate: {type: date, choiceOf: value, index: 61}
      valueDuration: {type: Duration, choiceOf: value, index: 85}
      valueDataRequirement: {type: DataRequirement, choiceOf: value, index: 99}
      valueMoney: {type: Money, choiceOf: value, index: 88}
      valueCoding: {type: Coding, choiceOf: value, index: 81}
      valueExpression: {type: Expression, choiceOf: value, index: 100}
      extension:
        index: 24
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            name:
              match: {url: name}
              schema:
                short: HumanName of the person
                mustSupport: true
                _required: true
                index: 25
                elements:
                  url:
                    pattern: {type: Uri, value: name}
                    index: 26
                  value:
                    choices: [valueHumanName]
                    index: 28
                  valueHumanName: {type: HumanName, choiceOf: value, index: 29}
                  value[x]:
                    extensions:
                      middlename: {url: null, mustSupport: true, index: 31}
                    elements:
                      extension:
                        index: 30
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: null
                          slices:
                            middlename:
                              match: {url: null}
                              schema: {mustSupport: true, index: 31}
                      use: {index: 32}
                      text: {index: 33}
                      family: {mustSupport: true, index: 34}
                      given: {mustSupport: true, index: 35}
                      prefix: {index: 36}
                      suffix: {index: 37}
                      period: {index: 38}
            birthDate:
              match: {url: birthDate}
              schema:
                short: Birth date of the person
                mustSupport: true
                index: 39
                elements:
                  url:
                    pattern: {type: Uri, value: birthDate}
                    index: 40
                  value:
                    choices: [valueDate]
                    index: 42
                  valueDate: {type: date, choiceOf: value, index: 43}
            gender:
              match: {url: gender}
              schema:
                short: Juridical gender of the person
                mustSupport: true
                binding: {strength: required, valueSet: 'http://ehelse.no/fhir/ValueSet/gd-person-gender'}
                index: 44
                elements:
                  url:
                    pattern: {type: Uri, value: gender}
                    index: 45
                  value:
                    choices: [valueCode]
                    index: 47
                  valueCode: {type: code, choiceOf: value, index: 48}
            citizenship:
              match: {url: citizenship}
              schema:
                isModifier: false
                short: statsborgerskap
                mustSupport: true
                _required: true
                binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/iso3166-1-3'}
                index: 49
                elements:
                  url:
                    pattern: {type: Uri, value: citizenship}
                    index: 50
                  value:
                    choices: [valueCode]
                    index: 52
                  valueCode: {type: code, choiceOf: value, index: 53}
      valueSampledData: {type: SampledData, choiceOf: value, index: 94}
      valueDosage: {type: Dosage, choiceOf: value, index: 105}
      valueContactPoint: {type: ContactPoint, choiceOf: value, index: 82}
      url:
        pattern: {type: Uri, value: identifyingInformation}
        index: 54
      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 80}
      valueAnnotation: {type: Annotation, choiceOf: value, index: 78}
      valuePeriod: {type: Period, choiceOf: value, index: 89}
      valueDistance: {type: Distance, choiceOf: value, index: 84}
      valueRange: {type: Range, choiceOf: value, index: 91}
      valueSignature: {type: Signature, choiceOf: value, index: 95}
      valueUuid: {type: uuid, choiceOf: value, index: 75}
      valueInteger: {type: integer, choiceOf: value, index: 66}
      valueHumanName: {type: HumanName, choiceOf: value, index: 86}
      valueUnsignedInt: {type: unsignedInt, choiceOf: value, index: 72}
      valueAttachment: {type: Attachment, choiceOf: value, index: 79}
      valueOid: {type: oid, choiceOf: value, index: 68}
      valueAddress: {type: Address, choiceOf: value, index: 76}
      valueRelatedArtifact: {type: RelatedArtifact, choiceOf: value, index: 102}
      valuePositiveInt: {type: positiveInt, choiceOf: value, index: 69}
      valueId: {type: id, choiceOf: value, index: 64}
      valueUrl: {type: url, choiceOf: value, index: 74}
class: extension
kind: complex-type
url: http://ehelse.no/fhir/StructureDefinition/gd-fake-identity
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 3.0.0