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