description: Resource profile for patient to be used in Finnish social and healthcare setting. \nSupports official and temporary national ids. Supports home municipality extension. package_name: hl7.fhir.fi.scheduling derivation: constraint name: FinnishAppointmentPatient type: Patient elements: extension: index: 0 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: homeMunicipality: match: {url: null} schema: {type: Extension, url: 'http://hl7.fi/fhir/StructureDefinition/HomeMunicipalityExtension', index: 1} min: 0 identifier: index: 2 slicing: rules: open discriminator: - {path: use, type: value} min: null slices: sliceIdentifierOfficial: match: {use: official} schema: pattern: type: Identifier value: {use: official} array: true index: 3 elements: use: pattern: {type: Code, value: official} index: 4 system: pattern: {type: Uri, value: 'urn:oid:1.2.246.21'} index: 5 value: {index: 6} required: [value, system, use] sliceIdentifierTemp: match: {use: temp} schema: pattern: type: Identifier value: {use: temp} array: true index: 7 elements: use: pattern: {type: Code, value: temp} index: 8 system: {index: 9} value: {index: 10} required: [value, system, use] contact: elements: relationship: elements: coding: elements: system: pattern: {type: Uri, value: 'urn:oid:1.2.246.537.6.882'} index: 11 communication: elements: language: elements: coding: elements: system: pattern: {type: Uri, value: 'urn:oid:1.2.246.537.5.40175.2008'} index: 12 package_version: 0.2.0 extensions: homeMunicipality: {url: 'http://hl7.fi/fhir/StructureDefinition/HomeMunicipalityExtension', min: 0, type: Extension, index: 1} class: profile kind: resource url: http://hl7.fi/fhir/StructureDefinition/FinnishAppointmentPatient base: http://hl7.org/fhir/StructureDefinition/Patient version: 0.2.0