description: Status and date of Norwegian citizenship for persons with multiple citizenships. (harBibehold, harIkkeLengerBibehold, norskStatsborgerTrengerIkkeBibehold) package_name: ehelse.fhir.no.grunndata derivation: constraint name: GdPersonCitizenshipRetention type: Extension elements: extension: index: 0 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: retentionStatus: match: {url: retentionStatus} schema: mustSupport: true _required: true index: 1 elements: url: pattern: {type: Uri, value: retentionStatus} index: 2 value: short: Status of Norwegian citizenship for persons with multiple citizenships choices: [valueCode] index: 4 valueCode: {type: code, short: Status of Norwegian citizenship for persons with multiple citizenships, choiceOf: value, index: 5} required: [valueCode, value] fregMetadata: match: {url: fregMetadata} schema: type: Extension url: http://ehelse.no/fhir/StructureDefinition/gd-fregmetadata index: 6 elements: url: pattern: {type: Uri, value: fregMetadata} index: 7 retentionDate: match: {url: retentionDate} schema: short: The date of issue of the retention index: 8 elements: url: pattern: {type: Uri, value: retentionDate} index: 9 value: choices: [valueDate] index: 11 valueDate: {type: date, choiceOf: value, index: 12} url: pattern: {type: Uri, value: 'http://ehelse.no/fhir/StructureDefinition/gd-person-citizenship-retention'} index: 13 value: choices: [] index: 15 package_version: 2.3.5-buildingnumbersuffix extensions: retentionStatus: url: retentionStatus mustSupport: true _required: true index: 1 elements: url: pattern: {type: Uri, value: retentionStatus} index: 2 value: short: Status of Norwegian citizenship for persons with multiple citizenships choices: [valueCode] index: 4 valueCode: {type: code, short: Status of Norwegian citizenship for persons with multiple citizenships, choiceOf: value, index: 5} required: [valueCode, value] fregMetadata: url: http://ehelse.no/fhir/StructureDefinition/gd-fregmetadata type: Extension index: 6 elements: url: pattern: {type: Uri, value: fregMetadata} index: 7 retentionDate: url: retentionDate short: The date of issue of the retention index: 8 elements: url: pattern: {type: Uri, value: retentionDate} index: 9 value: choices: [valueDate] index: 11 valueDate: {type: date, choiceOf: value, index: 12} class: extension kind: complex-type url: http://ehelse.no/fhir/StructureDefinition/gd-person-citizenship-retention base: http://hl7.org/fhir/StructureDefinition/Extension version: 3.0.0