description: Ajanvarauksessa käytettävä Provenance-profiili. package_name: fi.kela.kanta.pta.ajanvaraus.r4 derivation: constraint name: AppointmentProvenance type: Provenance elements: meta: index: 1 elements: profile: short: Noudatettu määritys pattern: {type: Canonical, value: 'https://pta.kanta.fi/fhir/StructureDefinition/AppointmentProvenance'} index: 2 required: [profile] occurred: choices: [] index: 33 signature: {short: Sähköiset allekirjoitukset, index: 341} recorded: {short: Luontiaika, index: 34} agent: index: 46 slicing: rules: closed discriminator: - {path: role.coding.code, type: value} min: null slices: Palvelunjarjestaja: match: role: coding: {code: '10'} schema: short: Palvelunjärjestäjä _required: true index: 177 elements: id: {index: 178} type: {index: 179} role: short: Palvelunjärjestäjä binding: {strength: required, valueSet: 'http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory'} index: 180 elements: id: {index: 181} coding: short: Kanta Provenance Role Category index: 182 elements: id: {index: 183} system: pattern: {type: Uri, value: 'http://gen.kanta.fi/figen-cs-provenancerolecategory'} index: 184 version: {index: 185} code: short: Roolin koodiarvo pattern: {type: Code, value: '10'} index: 186 display: {index: 187} userSelected: {index: 188} required: [display, system, code] text: {index: 189} required: [coding] who: elements: id: {index: 190} reference: {index: 191} type: {index: 192} identifier: short: Palvelunjärjestäjän tunniste index: 193 elements: id: {index: 194} use: {index: 195} type: {index: 196} system: pattern: {type: Uri, value: 'urn:ietf:rfc:3986'} index: 197 value: short: Palvelunjärjestäjän tunnus binding: {strength: required, valueSet: 'https://pta.kanta.fi/fhir/ValueSet/fipta-vs-organization'} index: 198 period: {index: 199} assigner: {index: 200} required: [value, system] display: {short: Organisaation nimi, index: 201} required: [identifier, display] onBehalfOf: {index: 202} required: [role] AppointmentBookerPatient: match: role: coding: {code: '12'} schema: short: Ajavaraustoimenpiteen tekijä index: 264 elements: id: {index: 265} type: {index: 266} role: short: Ajanvarauksen tallentanut potilas binding: {strength: required, valueSet: 'http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory'} index: 267 elements: id: {index: 268} coding: short: Kanta Provenance Role Category index: 269 elements: id: {index: 270} system: pattern: {type: Uri, value: 'http://gen.kanta.fi/figen-cs-provenancerolecategory'} index: 271 version: {index: 272} code: short: Roolin koodiarvo pattern: {type: Code, value: '12'} index: 273 display: {index: 274} userSelected: {index: 275} required: [display, system, code] text: {index: 276} required: [coding] who: type: Reference refers: ['https://pta.kanta.fi/fhir/StructureDefinition/AppointmentBookerPatient'] index: 277 elements: reference: {short: Viittaus käytettävään resurssiin, index: 278} type: {index: 279} identifier: {index: 280} display: {index: 281} required: [reference] onBehalfOf: {index: 282} required: [role] Isannan_palveluyksikko: match: role: coding: {code: '9'} schema: short: Vuokralaisen isäntä index: 151 elements: id: {index: 152} type: {index: 153} role: short: Vuokralaisen isäntä binding: {strength: example, valueSet: 'http://gen.kanta.fi/figen-vs-provenancerolecategory'} index: 154 elements: id: {index: 155} coding: index: 156 elements: id: {index: 157} system: short: Healt Care Service Role Category pattern: {type: Uri, value: 'http://gen.kanta.fi/figen-cs-provenancerolecategory'} index: 158 version: {index: 159} code: short: Roolin koodiarvo pattern: {type: Code, value: '9'} index: 160 display: {index: 161} userSelected: {index: 162} required: [display, system, code] text: {index: 163} required: [coding] who: elements: id: {index: 164} reference: {index: 165} type: {index: 166} identifier: index: 167 elements: id: {index: 168} use: {index: 169} type: {index: 170} system: pattern: {type: Uri, value: 'urn:ietf:rfc:3986'} index: 171 value: {short: Isännän organisaatiotunnus (palveluyksikko), index: 172} period: {index: 173} assigner: {index: 174} required: [value, system] display: {index: 175} required: [identifier] onBehalfOf: {index: 176} required: [role] Patient: match: role: coding: {code: '3'} schema: short: Potilas _required: true index: 245 elements: id: {index: 246} type: {index: 247} role: short: Potilas binding: {strength: required, valueSet: 'http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory'} index: 248 elements: id: {index: 249} coding: short: Kanta Provenance Role Category index: 250 elements: id: {index: 251} system: pattern: {type: Uri, value: 'http://gen.kanta.fi/figen-cs-provenancerolecategory'} index: 252 version: {index: 253} code: short: Roolin koodiarvo pattern: {type: Code, value: '3'} index: 254 display: {index: 255} userSelected: {index: 256} required: [display, system, code] text: {index: 257} required: [coding] who: type: Reference refers: ['https://pta.kanta.fi/fhir/StructureDefinition/AppointmentPatient'] index: 258 elements: reference: {short: Viittaus käytettävään resurssiin, index: 259} type: {index: 260} identifier: {index: 261} display: {index: 262} required: [reference] onBehalfOf: {index: 263} required: [role] Palveluntuottaja: match: role: coding: {code: '13'} schema: short: Palveluntuottaja _required: true index: 73 elements: id: {index: 74} type: {index: 75} role: short: Palveluntuottaja binding: {strength: required, valueSet: 'http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory'} index: 76 elements: id: {index: 77} coding: short: Kanta Provenance Role Category index: 78 elements: id: {index: 79} system: pattern: {type: Uri, value: 'http://gen.kanta.fi/figen-cs-provenancerolecategory'} index: 80 version: {index: 81} code: short: Roolin koodiarvo pattern: {type: Code, value: '13'} index: 82 display: {index: 83} userSelected: {index: 84} required: [display, system, code] text: {index: 85} required: [coding] who: elements: id: {index: 86} reference: {index: 87} type: {index: 88} identifier: short: Palvelunantajan tunniste index: 89 elements: id: {index: 90} use: {index: 91} type: {index: 92} system: pattern: {type: Uri, value: 'urn:ietf:rfc:3986'} index: 93 value: {short: Palveluntuottajan tunnus, index: 94} period: {index: 95} assigner: {index: 96} required: [value, system] display: {short: Organisaation nimi, index: 97} required: [identifier, display] onBehalfOf: {index: 98} required: [role] AppointmentBookerOnBehalfOf: match: role: coding: {code: '5'} schema: short: Ajavaraustoimenpiteen tekijä index: 283 elements: id: {index: 284} type: {index: 285} role: short: Ajanvarauksen tallentanut puolesta-asioija binding: {strength: required, valueSet: 'http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory'} index: 286 elements: id: {index: 287} coding: short: Kanta Provenance Role Category index: 288 elements: id: {index: 289} system: pattern: {type: Uri, value: 'http://gen.kanta.fi/figen-cs-provenancerolecategory'} index: 290 version: {index: 291} code: short: Roolin koodiarvo pattern: {type: Code, value: '5'} index: 292 display: {index: 293} userSelected: {index: 294} required: [display, system, code] text: {index: 295} required: [coding] who: type: Reference refers: ['https://pta.kanta.fi/fhir/StructureDefinition/AppointmentBookerOnBehalfOf'] index: 296 elements: reference: {short: Viittaus käytettävään resurssiin, index: 297} type: {index: 298} identifier: {index: 299} display: {index: 300} required: [reference] onBehalfOf: {index: 301} required: [role] Isantaorganisaatio: match: role: coding: {code: '8'} schema: short: Vuokralaisen isäntä index: 125 elements: id: {index: 126} type: {index: 127} role: short: Vuokralaisen isäntä binding: {strength: required, valueSet: 'http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory'} index: 128 elements: id: {index: 129} coding: short: Kanta Provenance Role Category index: 130 elements: id: {index: 131} system: pattern: {type: Uri, value: 'http://gen.kanta.fi/figen-cs-provenancerolecategory'} index: 132 version: {index: 133} code: short: Roolin koodiarvo pattern: {type: Code, value: '8'} index: 134 display: {index: 135} userSelected: {index: 136} required: [display, system, code] text: {index: 137} required: [coding] who: elements: id: {index: 138} reference: {index: 139} type: {index: 140} identifier: short: Vuokralaisen isäntäorganisaation tunniste index: 141 elements: id: {index: 142} use: {index: 143} type: {index: 144} system: pattern: {type: Uri, value: 'urn:ietf:rfc:3986'} index: 145 value: short: Isännän organisaatiotunnus (palvelunantaja) binding: {strength: required, valueSet: 'https://pta.kanta.fi/fhir/ValueSet/fipta-vs-organization'} index: 146 period: {index: 147} assigner: {index: 148} required: [value, system] display: {index: 149} required: [identifier] onBehalfOf: {index: 150} required: [role] Tallentajan_palveluyksikko: match: role: coding: {code: '7'} schema: short: Ajanvaraustoimenpiteen tekijän palveluyksikkö index: 99 elements: id: {index: 100} type: {index: 101} role: short: Ajanvaraustoimenpiteen tekijän palveluyksikkö binding: {strength: required, valueSet: 'http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory'} index: 102 elements: id: {index: 103} coding: short: Kanta Provenance Role Category index: 104 elements: id: {index: 105} system: pattern: {type: Uri, value: 'http://gen.kanta.fi/figen-cs-provenancerolecategory'} index: 106 version: {index: 107} code: short: Roolin koodiarvo pattern: {type: Code, value: '7'} index: 108 display: {index: 109} userSelected: {index: 110} required: [display, system, code] text: {index: 111} required: [coding] who: elements: id: {index: 112} reference: {index: 113} type: {index: 114} identifier: short: Ajanvaraustoimenpiteen tekijän palveluyksikko index: 115 elements: id: {index: 116} use: {index: 117} type: {index: 118} system: pattern: {type: Uri, value: 'urn:ietf:rfc:3986'} index: 119 value: short: Palveluyksikön tunnus binding: {strength: required, valueSet: 'https://pta.kanta.fi/fhir/ValueSet/fipta-vs-organization'} index: 120 period: {index: 121} assigner: {index: 122} required: [value, system] display: {short: Organisaation nimi, index: 123} required: [identifier, display] onBehalfOf: {index: 124} required: [role] Ohjelmisto: match: role: coding: {code: '4'} schema: short: Tiedot tuottanut ohjelmisto _required: true index: 229 elements: type: {index: 230} role: binding: {strength: required, valueSet: 'http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory'} index: 231 elements: coding: short: Kanta Provenance Role Category index: 232 elements: system: pattern: {type: Uri, value: 'http://gen.kanta.fi/figen-cs-provenancerolecategory'} index: 233 version: {index: 234} code: short: Roolin koodiarvo pattern: {type: Code, value: '4'} index: 235 display: {index: 236} userSelected: {index: 237} required: [display, system, code] text: {index: 238} required: [coding] who: type: Reference refers: ['https://gen.kanta.fi/fhir/StructureDefinition/KantaDevice'] index: 239 elements: reference: {short: Viittaus käytettävään resurssiin, index: 240} type: {index: 241} identifier: {index: 242} display: {index: 243} required: [reference] onBehalfOf: {index: 244} required: [role] Aktiivi_rekisterinpitaja: match: role: coding: {code: '11'} schema: short: Aktiivi rekisterinpitäjä index: 203 elements: id: {index: 204} type: {index: 205} role: short: Rekisterinpitäjä binding: {strength: required, valueSet: 'http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory'} index: 206 elements: id: {index: 207} coding: short: Kanta Provenance Role Category index: 208 elements: id: {index: 209} system: pattern: {type: Uri, value: 'http://gen.kanta.fi/figen-cs-provenancerolecategory'} index: 210 version: {index: 211} code: short: Roolin koodiarvo pattern: {type: Code, value: '11'} index: 212 display: {index: 213} userSelected: {index: 214} required: [display, system, code] text: {index: 215} required: [coding] who: elements: id: {index: 216} reference: {short: Viittaus käytettävään resurssiin, index: 217} type: {index: 218} identifier: index: 219 elements: id: {index: 220} use: {index: 221} type: {index: 222} system: pattern: {type: Uri, value: 'urn:ietf:rfc:3986'} index: 223 value: {short: Rekisterinpitäjän tunnus, index: 224} period: {index: 225} assigner: {index: 226} required: [value, system] display: {index: 227} required: [identifier, display] onBehalfOf: {index: 228} required: [role] Rekisterinpitaja: match: role: coding: {code: '1'} schema: short: Rekisterinpitäjä _required: true index: 47 elements: id: {index: 48} type: {index: 49} role: short: Rekisterinpitäjä binding: {strength: required, valueSet: 'http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory'} index: 50 elements: id: {index: 51} coding: short: Kanta Provenance Role Category index: 52 elements: id: {index: 53} system: pattern: {type: Uri, value: 'http://gen.kanta.fi/figen-cs-provenancerolecategory'} index: 54 version: {index: 55} code: pattern: {type: Code, value: '1'} index: 56 display: {index: 57} userSelected: {index: 58} required: [display, system, code] text: {index: 59} required: [coding] who: elements: id: {index: 60} reference: {short: Viittaus käytettävään resurssiin, index: 61} type: {index: 62} identifier: short: Rekisterinpitäjän tunniste index: 63 elements: id: {index: 64} use: {index: 65} type: {index: 66} system: pattern: {type: Uri, value: 'urn:ietf:rfc:3986'} index: 67 value: {short: Rekisterinpitäjän tunnus, index: 68} period: {index: 69} assigner: {index: 70} required: [value, system] display: {short: Rekisterinpitäjän nimi, index: 71} required: [identifier, display] onBehalfOf: {index: 72} required: [role] AppointmentBookerDevice: match: role: coding: {code: '6'} schema: short: Ajavaraustoimenpiteen tekijä index: 321 elements: id: {index: 322} type: {index: 323} role: short: Ajanvarauksen tallentanut ohjelmisto binding: {strength: required, valueSet: 'http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory'} index: 324 elements: id: {index: 325} coding: short: Kanta Provenance Role Category index: 326 elements: id: {index: 327} system: pattern: {type: Uri, value: 'http://gen.kanta.fi/figen-cs-provenancerolecategory'} index: 328 version: {index: 329} code: short: Roolin koodiarvo pattern: {type: Code, value: '6'} index: 330 display: {index: 331} userSelected: {index: 332} required: [display, system, code] text: {index: 333} required: [coding] who: type: Reference refers: ['https://gen.kanta.fi/fhir/StructureDefinition/KantaDevice'] index: 334 elements: reference: {short: Viittaus käytettävään resurssiin, index: 335} type: {index: 336} identifier: {index: 337} display: {index: 338} required: [reference] onBehalfOf: {index: 339} required: [role] AppointmentBookerPractioner: match: role: coding: {code: '2'} schema: short: Ajavaraustoimenpiteen tekijä index: 302 elements: id: {index: 303} type: {index: 304} role: short: Ajanvarauksen tallentanut ammattilainen binding: {strength: required, valueSet: 'http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory'} index: 305 elements: id: {index: 306} coding: short: Kanta Provenance Role Category index: 307 elements: id: {index: 308} system: pattern: {type: Uri, value: 'http://gen.kanta.fi/figen-cs-provenancerolecategory'} index: 309 version: {index: 310} code: short: Roolin koodiarvo pattern: {type: Code, value: '2'} index: 311 display: {index: 312} userSelected: {index: 313} required: [display, system, code] text: {index: 314} required: [coding] who: type: Reference refers: ['https://pta.kanta.fi/fhir/StructureDefinition/AppointmentPractitioner'] index: 315 elements: reference: {short: Viittaus käytettävään resurssiin, index: 316} type: {index: 317} identifier: {index: 318} display: {index: 319} required: [reference] onBehalfOf: {index: 320} required: [role] policy: {index: 35} reason: {index: 37} activity: short: Korvauksen syy binding: {strength: required, valueSet: 'https://pta.kanta.fi/fhir/ValueSet/fipta-vs-updatereason'} index: 38 elements: coding: index: 39 elements: system: {index: 40} version: {index: 41} code: {short: Ajanvarauksen korvauksen syyn koodiarvo, index: 42} display: {short: Ajanvarauksen korvauksen syy, index: 43} userSelected: {index: 44} required: [display, system, code] text: {index: 45} required: [coding] extension: array: true min: 3 index: 4 slicing: slices: RegisterSpecifier: match: {} schema: {type: Extension, isModifier: false, url: 'https://pta.kanta.fi/fhir/StructureDefinition/extension/RegisterSpecifier', index: 5} ReleaseDateForPatientViewing: match: {} schema: {type: Extension, short: Viivästämisen päättymispäivä, isModifier: false, url: 'https://pta.kanta.fi/fhir/StructureDefinition/extension/ReleaseDateForPatientViewing', index: 6} max: 1 ServiceEvent: match: {} schema: type: Extension isModifier: false url: https://gen.kanta.fi/fhir/StructureDefinition/extension/serviceEvent index: 7 elements: id: {index: 8} value: choices: [] index: 10 value[x]: elements: id: {index: 11} use: {index: 12} type: {index: 13} period: {index: 14} assigner: {index: 15} required: [value] Status: match: {} schema: type: Extension isModifier: false url: https://gen.kanta.fi/fhir/StructureDefinition/extension/Status index: 16 elements: value: choices: [] index: 18 RestrictionParent: match: {} schema: {type: Extension, isModifier: false, url: 'https://pta.kanta.fi/fhir/StructureDefinition/extension/RestrictionParent', index: 19} TableOfContents: match: {} schema: type: Extension isModifier: false url: https://pta.kanta.fi/fhir/StructureDefinition/extension/TableOfContents index: 20 elements: value: choices: [] index: 22 RegisterType: match: {} schema: type: Extension isModifier: false url: https://gen.kanta.fi/fhir/StructureDefinition/extension/RegisterType index: 23 elements: value: choices: [] index: 25 language: {short: Ajanvarauksen kieli, index: 3} id: {short: Resurssin yksilöivä tunnus, index: 0} target: type: Reference short: Ajanvaraus refers: ['https://pta.kanta.fi/fhir/StructureDefinition/AppointmentAppointment'] index: 26 elements: id: {index: 27} reference: {short: Viittaus Appoint-resurssin yksilöivään tunnukseen, index: 28} type: {index: 29} identifier: {index: 30} display: short: Nimeke pattern: {type: String, value: Ajanvaraus} index: 31 required: [reference, display] location: {index: 36} entity: {index: 340} package_version: 1.0.0-RC1 extensions: RegisterSpecifier: {url: 'https://pta.kanta.fi/fhir/StructureDefinition/extension/RegisterSpecifier', type: Extension, isModifier: false, index: 5} ReleaseDateForPatientViewing: {url: 'https://pta.kanta.fi/fhir/StructureDefinition/extension/ReleaseDateForPatientViewing', max: 1, type: Extension, short: Viivästämisen päättymispäivä, isModifier: false, index: 6} ServiceEvent: url: https://gen.kanta.fi/fhir/StructureDefinition/extension/serviceEvent type: Extension isModifier: false index: 7 elements: id: {index: 8} value: choices: [] index: 10 value[x]: elements: id: {index: 11} use: {index: 12} type: {index: 13} period: {index: 14} assigner: {index: 15} required: [value] Status: url: https://gen.kanta.fi/fhir/StructureDefinition/extension/Status type: Extension isModifier: false index: 16 elements: value: choices: [] index: 18 RestrictionParent: {url: 'https://pta.kanta.fi/fhir/StructureDefinition/extension/RestrictionParent', type: Extension, isModifier: false, index: 19} TableOfContents: url: https://pta.kanta.fi/fhir/StructureDefinition/extension/TableOfContents type: Extension isModifier: false index: 20 elements: value: choices: [] index: 22 RegisterType: url: https://gen.kanta.fi/fhir/StructureDefinition/extension/RegisterType type: Extension isModifier: false index: 23 elements: value: choices: [] index: 25 class: profile kind: resource url: https://pta.kanta.fi/fhir/StructureDefinition/AppointmentProvenance base: http://hl7.org/fhir/StructureDefinition/Provenance version: 0.3.0 required: [language]