description: Ajanvarauksen mitätöinnissä käytettävä Provenance-profiili. package_name: fi.kela.kanta.pta.ajanvaraus.r4 derivation: constraint name: AppointmentMitatointiProvenance type: Provenance elements: id: {short: Resurssin yksilöivä tunnus, index: 0} meta: index: 1 elements: profile: pattern: {type: Canonical, value: 'https://pta.kanta.fi/fhir/StructureDefinition/AppointmentMitatointiProvenance'} index: 2 language: {index: 3} extension: array: true min: 3 index: 4 slicing: slices: status: match: {} schema: index: 5 elements: value: choices: [] index: 7 registerSpecifier: match: {} schema: {type: Extension, isModifier: false, url: 'https://pta.kanta.fi/fhir/StructureDefinition/extension/RegisterSpecifier', index: 8} registerType: match: {} schema: {type: Extension, isModifier: false, url: 'https://gen.kanta.fi/fhir/StructureDefinition/extension/RegisterType', index: 9} min: 1 max: 1 serviceEvent: match: {} schema: type: Extension isModifier: false url: https://gen.kanta.fi/fhir/StructureDefinition/extension/serviceEvent index: 10 elements: id: {index: 11} value: choices: [] index: 13 value[x]: elements: id: {index: 14} use: {index: 15} type: {index: 16} period: {index: 17} assigner: {index: 18} required: [value] target: elements: display: {index: 19} activity: binding: {strength: required, valueSet: 'https://pta.kanta.fi/fhir/ValueSet/fipta-vs-deletereason'} index: 20 elements: coding: index: 21 elements: code: {index: 22} text: {index: 23} required: [coding, text] agent: index: 24 slicing: slices: Palvelunjarjestaja: match: {} schema: _required: true index: 116 elements: id: {index: 117} type: {index: 118} role: elements: coding: index: 119 elements: id: {index: 120} system: pattern: {type: Uri, value: 'http://gen.kanta.fi/figen-cs-provenancerolecategory'} index: 121 version: {index: 122} code: pattern: {type: Code, value: '10'} index: 123 display: {index: 124} userSelected: {index: 125} required: [display, system, code] required: [coding] who: type: Reference refers: ['https://gen.kanta.fi/fhir/StructureDefinition/KantaDevice', 'https://pta.kanta.fi/fhir/StructureDefinition/AppointmentPatient', 'https://pta.kanta.fi/fhir/StructureDefinition/AppointmentPractitioner'] index: 126 elements: reference: {index: 127} identifier: index: 128 elements: id: {index: 129} use: {index: 130} type: {index: 131} system: pattern: {type: Uri, value: 'urn:ietf:rfc:3986'} index: 132 value: binding: {strength: required, valueSet: 'https://pta.kanta.fi/fhir/ValueSet/fipta-vs-organization'} index: 133 period: {index: 134} assigner: {index: 135} required: [value, system] display: {index: 136} required: [identifier, display] onBehalfOf: {index: 137} Patient: match: {} schema: index: 24 elements: who: type: Reference refers: ['https://pta.kanta.fi/fhir/StructureDefinition/AppointmentPatient'] index: 25 Palveluntuottaja: match: {} schema: _required: true index: 50 elements: id: {index: 51} type: {index: 52} role: elements: coding: index: 53 elements: id: {index: 54} system: pattern: {type: Uri, value: 'http://gen.kanta.fi/figen-cs-provenancerolecategory'} index: 55 version: {index: 56} code: pattern: {type: Code, value: '13'} index: 57 display: {index: 58} userSelected: {index: 59} required: [display, system] required: [coding] who: type: Reference refers: ['https://gen.kanta.fi/fhir/StructureDefinition/KantaDevice', 'https://pta.kanta.fi/fhir/StructureDefinition/AppointmentPatient', 'https://pta.kanta.fi/fhir/StructureDefinition/AppointmentPractitioner'] index: 60 elements: reference: {index: 61} identifier: index: 62 elements: id: {index: 63} use: {index: 64} type: {index: 65} system: pattern: {type: Uri, value: 'urn:ietf:rfc:3986'} index: 66 value: {index: 67} period: {index: 68} assigner: {index: 69} required: [value, system] display: {index: 70} required: [identifier, display] onBehalfOf: {index: 71} Practitioner: match: {} schema: index: 26 elements: who: type: Reference refers: ['https://pta.kanta.fi/fhir/StructureDefinition/AppointmentPractitioner'] index: 27 Isantaorganisaatio: match: {} schema: index: 94 elements: id: {index: 95} type: {index: 96} role: elements: coding: index: 97 elements: id: {index: 98} system: pattern: {type: Uri, value: 'http://gen.kanta.fi/figen-cs-provenancerolecategory'} index: 99 version: {index: 100} code: pattern: {type: Code, value: '8'} index: 101 display: {index: 102} userSelected: {index: 103} required: [display, system, code] required: [coding] who: type: Reference refers: ['https://gen.kanta.fi/fhir/StructureDefinition/KantaDevice', 'https://pta.kanta.fi/fhir/StructureDefinition/AppointmentPatient', 'https://pta.kanta.fi/fhir/StructureDefinition/AppointmentPractitioner'] index: 104 elements: reference: {index: 105} identifier: index: 106 elements: id: {index: 107} use: {index: 108} type: {index: 109} system: pattern: {type: Uri, value: 'urn:ietf:rfc:3986'} index: 110 value: binding: {strength: required, valueSet: 'https://pta.kanta.fi/fhir/ValueSet/fipta-vs-organization'} index: 111 period: {index: 112} assigner: {index: 113} required: [value, system] display: {index: 114} required: [identifier] onBehalfOf: {index: 115} Tallentajan_palveluyksikko: match: {} schema: index: 72 elements: id: {index: 73} type: {index: 74} role: elements: coding: index: 75 elements: id: {index: 76} system: pattern: {type: Uri, value: 'http://gen.kanta.fi/figen-cs-provenancerolecategory'} index: 77 version: {index: 78} code: pattern: {type: Code, value: '7'} index: 79 display: {index: 80} userSelected: {index: 81} required: [display, system, code] required: [coding] who: type: Reference refers: ['https://gen.kanta.fi/fhir/StructureDefinition/KantaDevice', 'https://pta.kanta.fi/fhir/StructureDefinition/AppointmentPatient', 'https://pta.kanta.fi/fhir/StructureDefinition/AppointmentPractitioner'] index: 82 elements: reference: {index: 83} identifier: index: 84 elements: id: {index: 85} use: {index: 86} type: {index: 87} system: pattern: {type: Uri, value: 'urn:ietf:rfc:3986'} index: 88 value: binding: {strength: required, valueSet: 'https://pta.kanta.fi/fhir/ValueSet/fipta-vs-organization'} index: 89 period: {index: 90} assigner: {index: 91} required: [value, system] display: {index: 92} required: [identifier, display] onBehalfOf: {index: 93} Ohjelmisto: match: {} schema: _required: true index: 160 elements: id: {index: 161} type: {index: 162} role: elements: coding: index: 163 elements: id: {index: 164} system: pattern: {type: Uri, value: 'http://gen.kanta.fi/figen-cs-provenancerolecategory'} index: 165 version: {index: 166} code: pattern: {type: Code, value: '4'} index: 167 display: {index: 168} userSelected: {index: 169} required: [display, system, code] required: [coding] who: type: Reference refers: ['https://gen.kanta.fi/fhir/StructureDefinition/KantaDevice'] index: 170 elements: reference: {index: 171} identifier: {index: 172} display: {index: 173} required: [reference] onBehalfOf: {index: 174} Aktiivi_rekisterinpitaja: match: {} schema: index: 138 elements: id: {index: 139} type: {index: 140} role: elements: coding: index: 141 elements: id: {index: 142} system: pattern: {type: Uri, value: 'http://gen.kanta.fi/figen-cs-provenancerolecategory'} index: 143 version: {index: 144} code: pattern: {type: Code, value: '11'} index: 145 display: {index: 146} userSelected: {index: 147} required: [display, system, code] required: [coding] who: type: Reference refers: ['https://gen.kanta.fi/fhir/StructureDefinition/KantaDevice', 'https://pta.kanta.fi/fhir/StructureDefinition/AppointmentPatient', 'https://pta.kanta.fi/fhir/StructureDefinition/AppointmentPractitioner'] index: 148 elements: reference: {index: 149} identifier: index: 150 elements: id: {index: 151} use: {index: 152} type: {index: 153} system: pattern: {type: Uri, value: 'urn:ietf:rfc:3986'} index: 154 value: {index: 155} period: {index: 156} assigner: {index: 157} required: [value, system] display: {index: 158} required: [identifier, display] onBehalfOf: {index: 159} Rekisterinpitaja: match: {} schema: short: Rekisterinpitäjä _required: true index: 28 elements: id: {index: 29} type: {index: 30} role: short: Rekisterinpitäjä index: 31 elements: coding: short: Kanta Provenance Role Category index: 32 elements: id: {index: 33} system: pattern: {type: Uri, value: 'http://gen.kanta.fi/figen-cs-provenancerolecategory'} index: 34 version: {index: 35} code: pattern: {type: Code, value: '1'} index: 36 display: {index: 37} userSelected: {index: 38} required: [display, system, code] required: [coding] who: elements: reference: {index: 39} identifier: short: Rekisterinpitäjän tunniste index: 40 elements: id: {index: 41} use: {index: 42} type: {index: 43} system: pattern: {type: Uri, value: 'urn:ietf:rfc:3986'} index: 44 value: {short: Rekisterinpitäjän tunnus, index: 45} period: {index: 46} assigner: {index: 47} required: [system] display: {short: Rekisterinpitäjän nimi, index: 48} required: [identifier, display] onBehalfOf: {index: 49} package_version: 1.0.0-RC1 extensions: status: url: null index: 5 elements: value: choices: [] index: 7 registerSpecifier: {url: 'https://pta.kanta.fi/fhir/StructureDefinition/extension/RegisterSpecifier', type: Extension, isModifier: false, index: 8} registerType: {url: 'https://gen.kanta.fi/fhir/StructureDefinition/extension/RegisterType', min: 1, max: 1, type: Extension, isModifier: false, index: 9} serviceEvent: url: https://gen.kanta.fi/fhir/StructureDefinition/extension/serviceEvent type: Extension isModifier: false index: 10 elements: id: {index: 11} value: choices: [] index: 13 value[x]: elements: id: {index: 14} use: {index: 15} type: {index: 16} period: {index: 17} assigner: {index: 18} required: [value] class: profile kind: resource url: https://pta.kanta.fi/fhir/StructureDefinition/AppointmentMitatointiProvenance base: https://gen.kanta.fi/fhir/StructureDefinition/MitatointiProvenance version: 0.3.0 required: [language]