description: Ajanvarauksessa käytettävä Patient-profiili package_name: fi.kela.kanta.pta.ajanvaraus.r4 derivation: constraint name: AppointmentPatient type: Patient elements: address: {index: 51} meta: index: 0 elements: profile: pattern: {type: Canonical, value: 'https://pta.kanta.fi/fhir/StructureDefinition/AppointmentPatient'} index: 1 required: [profile] managingOrganization: {index: 96} name: short: Asiakkaan nimitiedot array: true min: 1 max: 2 index: 27 slicing: rules: closed discriminator: - {path: use, type: value} min: 1 max: 2 slices: OfficialName: match: {use: official} schema: short: Asiakkaan virallinen nimi _required: true index: 28 elements: id: {index: 29} use: pattern: {type: Code, value: official} index: 30 text: {index: 31} family: {short: Asiakkaan sukunimi, index: 32} given: {short: Asiakkaan etunimet, array: true, min: 1, max: 4, index: 33} prefix: {index: 34} suffix: {index: 35} period: {index: 36} required: [given, family, use] NickName: match: {use: nickname} schema: short: Asiakkaan kutsumanimi index: 37 elements: id: {index: 38} use: pattern: {type: Code, value: nickname} index: 39 text: {index: 40} family: {index: 41} given: {short: Asiakkaan kutsumanimi, index: 42} prefix: {index: 43} suffix: {index: 44} period: {index: 45} required: [given, use] birthDate: {short: Asiakkaan syntymäaika, index: 48} multipleBirth: choices: [] index: 54 deceased: choices: [] index: 50 extension: type: Extension isModifier: false url: https://pta.kanta.fi/fhir/StructureDefinition/OfficialCommunicationLanguage index: 2 slicing: slices: officialCommunicationLanguage: match: {} schema: {type: Extension, isModifier: false, url: 'https://pta.kanta.fi/fhir/StructureDefinition/OfficialCommunicationLanguage', index: 2} max: 1 photo: {index: 55} link: {index: 97} active: {index: 26} communication: short: Asiakkaan äidinkieli index: 82 elements: id: {index: 83} language: short: Asiakkaan äidinkieli binding: {strength: required, valueSet: 'https://pta.kanta.fi/ValueSet/fipta-vs-communicationlanguage'} index: 84 elements: id: {index: 85} coding: index: 86 elements: id: {index: 87} system: {index: 88} version: {index: 89} code: {short: Kielen koodiarvo, index: 90} display: {short: Kielen nimi, index: 91} userSelected: {index: 92} required: [display, system, code] text: {index: 93} required: [coding] preferred: pattern: {type: Boolean, value: true} index: 94 required: [preferred] identifier: short: Asiakkaan yksilöivä tunnus index: 3 slicing: slices: PIC: match: {} schema: short: Henkilötunnus index: 4 elements: id: {index: 5} type: {index: 6} system: {short: Henkilötunnuksen nimiavaruus, index: 7} value: {short: Henkilötunnus, index: 8} period: {index: 9} assigner: {index: 10} temp: match: {} schema: short: Tilapäinen yksilöintitunnus index: 11 elements: id: {index: 12} type: {index: 13} system: {short: Käytetty nimiavaruus, index: 14} value: {short: Tilapäinen yksilöintitunnus, index: 15} period: {index: 16} assigner: {index: 17} old: match: {} schema: short: Asiakkaan aiempi yksilöivä tunnus index: 18 elements: id: {index: 19} use: {index: 20} type: {index: 21} system: {short: Nimiavaruus, index: 22} value: {short: Aiempi yksilöivä tunnus, index: 23} period: {index: 24} assigner: {index: 25} telecom: {index: 46} generalPractitioner: {index: 95} gender: {index: 47} maritalStatus: {index: 52} contact: short: Yhteyshenkilön yhteystiedot index: 56 elements: id: {index: 57} relationship: short: Yhteyshenkilön tyyppi binding: {strength: required, valueSet: 'https://pta.kanta.fi/fhir/ValueSet/fipta-vs-contactrelationship'} index: 58 elements: id: {index: 59} coding: index: 60 elements: id: {index: 61} system: {index: 62} version: {index: 63} code: {short: Yhteyshenkilön tyypin koodiarvo, index: 64} display: {short: Yhteyshenkilön tyypin nimi, index: 65} userSelected: {index: 66} required: [display, system, code] text: {index: 67} required: [coding] name: short: Yhteyshenkilön nimitiedot index: 68 elements: id: {index: 69} use: pattern: {type: Code, value: official} index: 70 text: {index: 71} family: {short: Yhteyshenkilön sukunimi, index: 72} given: {short: Yhteyshenkilön etunimet, array: true, min: 1, max: 4, index: 73} prefix: {index: 74} suffix: {index: 75} period: {index: 76} required: [given, family, use] telecom: {index: 77} address: {index: 78} gender: {index: 79} organization: {index: 80} period: {index: 81} required: [name] package_version: 0.1.0 extensions: officialCommunicationLanguage: {url: 'https://pta.kanta.fi/fhir/StructureDefinition/OfficialCommunicationLanguage', max: 1, type: Extension, isModifier: false, index: 2} class: profile kind: resource url: https://pta.kanta.fi/fhir/StructureDefinition/AppointmentPatient base: https://gen.kanta.fi/fhir/StructureDefinition/KantaPatient version: null required: [name, identifier]