description: Folkeregisterperson fra FREG.\r\n\r\nversjon 2.1.0 - Feilretting på Adressestruktur, la inn gd-Address-unknown package_name: ehelse.fhir.no.grunndata.test derivation: constraint name: GdPerson type: Person elements: address: {type: Address, mustSupport: true, index: 35} meta: mustSupport: true index: 0 elements: security: mustSupport: true index: 1 slicing: rules: open discriminator: - {path: system, type: value} min: null slices: addressConfidentiality: match: {system: 'http://ehelse.no/fhir/ValueSet/gd-address-confidentiality-v05'} schema: short: address confidentiality from FREG mustSupport: true binding: {strength: extensible, valueSet: 'http://ehelse.no/fhir/ValueSet/gd-address-confidentiality-v05'} index: 2 elements: system: pattern: {type: Uri, value: 'http://ehelse.no/fhir/ValueSet/gd-address-confidentiality-v05'} mustSupport: true index: 3 code: {short: graderingsnivå from FREG, mustSupport: true, index: 4} extension: index: 5 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: fregMetadata: match: {url: null} schema: {type: Extension, url: 'http://ehelse.no/fhir/StructureDefinition/gd-fregmetadata', index: 6} max: 1 required: [system, code] extensions: fregMetadata: {url: 'http://ehelse.no/fhir/StructureDefinition/gd-fregmetadata', max: 1, type: Extension, index: 6} managingOrganization: {mustSupport: false, index: 37} name: {type: HumanName, mustSupport: true, index: 30} implicitRules: {mustSupport: false, index: 7} birthDate: {mustSupport: true, index: 34} extension: index: 11 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: deceased: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'http://ehelse.no/fhir/StructureDefinition/gd-deceased', index: 12} birth: match: {url: null} schema: type: Extension mustSupport: true url: http://ehelse.no/fhir/StructureDefinition/gd-birth index: 13 extensions: birthYear: {url: null, index: 14} elements: extension: index: 14 slicing: slices: birthYear: match: {} schema: {index: 14} birthInNorway: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'http://ehelse.no/fhir/StructureDefinition/gd-birth-in-norway', index: 15} migration: match: {url: null} schema: {type: Extension, short: Migration information from FREG about a Person, mustSupport: true, url: 'http://ehelse.no/fhir/StructureDefinition/gd-migration', index: 16} citizenship: match: {url: null} schema: type: Extension mustSupport: true url: http://ehelse.no/fhir/StructureDefinition/gd-person-citizenship index: 17 extensions: code: url: null mustSupport: true index: 18 elements: value[x]: elements: coding: elements: system: {mustSupport: true, index: 19} code: {mustSupport: true, index: 20} period: url: null mustSupport: true index: 21 elements: value[x]: elements: start: {mustSupport: true, index: 22} fregMetadata: {url: null, mustSupport: true, index: 23} elements: extension: mustSupport: true index: 18 slicing: slices: code: match: {} schema: mustSupport: true index: 18 elements: value[x]: elements: coding: elements: system: {mustSupport: true, index: 19} code: {mustSupport: true, index: 20} period: match: {} schema: mustSupport: true index: 21 elements: value[x]: elements: start: {mustSupport: true, index: 22} fregMetadata: match: {} schema: {mustSupport: true, index: 23} fregPersonStatus: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'http://ehelse.no/fhir/StructureDefinition/gd-person-status', index: 24} residencePermit: match: {url: null} schema: {type: Extension, short: Information registered in FREG regarding the residence permit of the person., mustSupport: true, url: 'http://ehelse.no/fhir/StructureDefinition/gd-residence-permit', index: 25} contained: {mustSupport: false, index: 10} photo: {mustSupport: false, index: 36} language: {mustSupport: false, index: 8} link: {mustSupport: false, index: 39} active: {mustSupport: false, index: 38} identifier: mustSupport: true index: 26 slicing: rules: closed min: 1 slices: FNR: match: {} schema: {type: Identifier, mustSupport: true, index: 27} DNR: match: {} schema: {type: Identifier, mustSupport: true, index: 28} foreignIdentifier: match: {} schema: {type: Identifier, mustSupport: true, index: 29} gender: short: Juridical gender of the person male | female binding: {strength: required, valueSet: 'http://ehelse.no/fhir/ValueSet/gd-person-gender'} mustSupport: true index: 31 extensions: metadata: {url: 'http://ehelse.no/fhir/StructureDefinition/gd-fregmetadata', max: 1, type: Extension, short: Metadata about gender from FREG, index: 33} elements: extension: index: 32 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: metadata: match: {url: null} schema: {type: Extension, short: Metadata about gender from FREG, url: 'http://ehelse.no/fhir/StructureDefinition/gd-fregmetadata', index: 33} max: 1 text: {mustSupport: false, index: 9} package_version: 2.2.0 extensions: deceased: {url: 'http://ehelse.no/fhir/StructureDefinition/gd-deceased', type: Extension, mustSupport: true, index: 12} birth: url: http://ehelse.no/fhir/StructureDefinition/gd-birth type: Extension mustSupport: true index: 13 extensions: birthYear: {url: null, index: 14} elements: extension: index: 14 slicing: slices: birthYear: match: {} schema: {index: 14} birthInNorway: {url: 'http://ehelse.no/fhir/StructureDefinition/gd-birth-in-norway', type: Extension, mustSupport: true, index: 15} migration: {url: 'http://ehelse.no/fhir/StructureDefinition/gd-migration', type: Extension, short: Migration information from FREG about a Person, mustSupport: true, index: 16} citizenship: url: http://ehelse.no/fhir/StructureDefinition/gd-person-citizenship type: Extension mustSupport: true index: 17 extensions: code: url: null mustSupport: true index: 18 elements: value[x]: elements: coding: elements: system: {mustSupport: true, index: 19} code: {mustSupport: true, index: 20} period: url: null mustSupport: true index: 21 elements: value[x]: elements: start: {mustSupport: true, index: 22} fregMetadata: {url: null, mustSupport: true, index: 23} elements: extension: mustSupport: true index: 18 slicing: slices: code: match: {} schema: mustSupport: true index: 18 elements: value[x]: elements: coding: elements: system: {mustSupport: true, index: 19} code: {mustSupport: true, index: 20} period: match: {} schema: mustSupport: true index: 21 elements: value[x]: elements: start: {mustSupport: true, index: 22} fregMetadata: match: {} schema: {mustSupport: true, index: 23} fregPersonStatus: {url: 'http://ehelse.no/fhir/StructureDefinition/gd-person-status', type: Extension, mustSupport: true, index: 24} residencePermit: {url: 'http://ehelse.no/fhir/StructureDefinition/gd-residence-permit', type: Extension, short: Information registered in FREG regarding the residence permit of the person., mustSupport: true, index: 25} class: profile kind: resource url: http://ehelse.no/fhir/StructureDefinition/gd-Person base: http://hl7.no/fhir/StructureDefinition/no-basis-Person version: 2.1.0 required: [identifier]