description: null package_name: fi.kela.kanta.gen.r4.tahdonilmaisut derivation: constraint name: TahdonilmaisuProvenance type: Provenance elements: meta: index: 1 elements: profile: pattern: {type: Canonical, value: 'https://gen.kanta.fi/fhir/tahdonilmaisut/StructureDefinition/TahdonilmaisuProvenance'} index: 2 required: [profile] occurred: choices: [] index: 9 signature: {index: 91} implicitRules: {index: 3} recorded: {short: Luontiaika, index: 10} agent: index: 15 slicing: rules: closed discriminator: - {path: role.coding.code, type: value} min: null slices: Custodian: match: role: coding: {code: '1'} schema: short: Rekisterinpitäjä _required: true index: 16 elements: role: short: Rekisterinpitäjä binding: {strength: required, valueSet: 'http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory'} index: 17 elements: coding: short: Kanta Provenance Role Category index: 18 elements: system: pattern: {type: Uri, value: 'http://gen.kanta.fi/figen-cs-provenancerolecategory'} index: 19 code: short: Roolin koodiarvo pattern: {type: Code, value: '1'} index: 20 display: {short: Koodiarvon mukainen kuvaus, index: 21} required: [display, system, code] required: [coding] who: elements: identifier: short: Rekisterinpitäjän tunniste index: 22 elements: system: pattern: {type: Uri, value: 'urn:ietf:rfc:3986'} index: 23 value: short: Rekisterinpitäjän tunnus pattern: {type: String, value: 'urn:oid:1.2.246.10.2462460.19.1'} index: 24 required: [value, system] display: short: Rekisterinpitäjän nimi pattern: {type: String, value: Kansaneläkelaitos} index: 25 required: [identifier, display] required: [role] Device: match: role: coding: {code: '4'} schema: short: Resurssin tuottanut tietojärjestelmä _required: true index: 26 elements: role: short: Resurssin tuottanut ohjelmisto binding: {strength: required, valueSet: 'http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory'} index: 27 elements: coding: short: Kanta Provenance Role Category index: 28 elements: system: pattern: {type: Uri, value: 'http://gen.kanta.fi/figen-cs-provenancerolecategory'} index: 29 version: {index: 30} code: short: Roolin koodiarvo pattern: {type: Code, value: '4'} index: 31 display: {short: Koodiarvon mukainen kuvaus, index: 32} required: [display, system, code] required: [coding] who: type: Reference refers: ['https://gen.kanta.fi/fhir/StructureDefinition/KantaDevice'] index: 33 elements: reference: {short: Viittaus käytettävään resurssiin, index: 34} type: {index: 35} identifier: {index: 36} display: {index: 37} required: [reference] required: [role] Patient: match: role: coding: {code: '3'} schema: short: Asiakas _required: true index: 38 elements: role: short: Asiakas binding: {strength: required, valueSet: 'http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory'} index: 39 elements: coding: short: Kanta Provenance Role Category index: 40 elements: system: pattern: {type: Uri, value: 'http://gen.kanta.fi/figen-cs-provenancerolecategory'} index: 41 code: short: Roolin koodiarvo pattern: {type: Code, value: '3'} index: 42 display: {short: Koodiarvon mukainen kuvaus, index: 43} required: [display, system, code] required: [coding] who: type: Reference refers: ['https://gen.kanta.fi/fhir/StructureDefinition/KantaPatientOfficialID'] index: 44 elements: reference: {short: Viittaus käytettävään resurssiin, index: 45} required: [reference] required: [role] RecordedByPatient: match: role: coding: {code: '12'} schema: short: Tahdonilmaisun tallentajana asiakas index: 46 elements: role: short: Luovutusluvan tallentanut asiakas binding: {strength: required, valueSet: 'http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory'} index: 47 elements: coding: short: Kanta Provenance Role Category index: 48 elements: system: pattern: {type: Uri, value: 'http://gen.kanta.fi/figen-cs-provenancerolecategory'} index: 49 code: short: Roolin koodiarvo pattern: {type: Code, value: '12'} index: 50 display: {short: Koodiarvon mukainen kuvaus, index: 51} required: [display, system, code] required: [coding] who: type: Reference refers: ['https://gen.kanta.fi/fhir/StructureDefinition/KantaPatientOfficialID'] index: 52 elements: reference: {short: Viittaus käytettävään resurssiin, index: 53} required: [reference] required: [role] RecordedByRelatedPerson: match: role: coding: {code: '5'} schema: short: Tahdonilmaisun tallentajana laillinen ediustaja index: 54 elements: role: short: Tahdonilmaisun tallentanut puolesta-asioija binding: {strength: required, valueSet: 'http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory'} index: 55 elements: coding: index: 56 elements: system: pattern: {type: Uri, value: 'http://gen.kanta.fi/figen-cs-provenancerolecategory'} index: 57 code: short: Roolin koodiarvo pattern: {type: Code, value: '5'} index: 58 display: {short: Koodiarvon mukainen kuvaus, index: 59} required: [display, system, code] required: [coding] who: type: Reference refers: ['https://gen.kanta.fi/fhir/StructureDefinition/KantaRelatedPerson'] index: 60 elements: reference: {index: 61} required: [reference] required: [role] RecordedByPractitioner: match: role: coding: {code: '2'} schema: short: Tahdonilmaisun tallentajana ammattihenkilö index: 62 elements: role: short: Tahdonilmaisun tallentanut ammattihenkilö binding: {strength: required, valueSet: 'http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory'} index: 63 elements: coding: short: Kanta Provenance Role Category index: 64 elements: system: pattern: {type: Uri, value: 'http://gen.kanta.fi/figen-cs-provenancerolecategory'} index: 65 code: short: Roolin koodiarvo pattern: {type: Code, value: '2'} index: 66 display: {short: Koodiarvon mukainen kuvaus, index: 67} required: [display, system, code] required: [coding] who: type: Reference refers: ['https://gen.kanta.fi/fhir/StructureDefinition/KantaPractitionerV2'] index: 68 elements: reference: {short: Viittaus käytettävään resurssiin, index: 69} required: [reference] required: [role] PractitionerOrganizationUnit: match: role: coding: {code: '7'} schema: short: Tahdonilmaisun talletaneen ammattilaisen palveluyksikkö index: 70 elements: role: short: Tahdonilmaisun tallentaneen ammattihenkilön palveluyksikkö binding: {strength: required, valueSet: 'http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory'} index: 71 elements: coding: short: Kanta Provenance Role Category index: 72 elements: system: pattern: {type: Uri, value: 'http://gen.kanta.fi/figen-cs-provenancerolecategory'} index: 73 code: short: Roolin koodiarvo pattern: {type: Code, value: '7'} index: 74 display: {short: Koodiarvon mukainen kuvaus, index: 75} required: [display, system, code] required: [coding] who: elements: identifier: short: Luovutusluvan tallentaneen ammattihenkilön palveluyksikkö index: 76 elements: system: pattern: {type: Uri, value: 'urn:ietf:rfc:3986'} index: 77 value: {short: Palveluyksikön tunnus, index: 78} required: [value, system] display: {short: Organisaation nimi, index: 79} required: [identifier, display] required: [role] ServiceProvider: match: role: coding: {code: '13'} schema: short: Palvelunantaja _required: true index: 80 elements: role: short: Palvelunantaja binding: {strength: required, valueSet: 'http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory'} index: 81 elements: coding: short: Kanta Provenance Role Category index: 82 elements: system: pattern: {type: Uri, value: 'http://gen.kanta.fi/figen-cs-provenancerolecategory'} index: 83 code: short: Roolin koodiarvo pattern: {type: Code, value: '13'} index: 84 display: {short: Koodiarvon mukainen kuvaus, index: 85} required: [display, system, code] required: [coding] who: elements: identifier: short: Palvelunantajan tunniste index: 86 elements: system: pattern: {type: Uri, value: 'urn:ietf:rfc:3986'} index: 87 value: {short: Palvelunantajan tunnus, index: 88} required: [value] display: {short: Organisaation nimi, index: 89} required: [identifier, display] required: [role] policy: {index: 11} reason: {index: 13} activity: {index: 14} language: short: Tahdonilmaisun kieli binding: {strength: required, valueSet: 'https://gen.kanta.fi/fhir/tahdonilmaisut/ValueSet/figen-vs-languages-soteconsent'} index: 4 id: {short: Resurssin yksilöivä tunnus, index: 0} target: short: Consent-resurssi index: 6 elements: reference: {short: Viittaus Consent-resurssin yksilöivään tunnukseen, index: 7} required: [reference] location: {index: 12} entity: {index: 90} text: {index: 5} package_version: 1.0.0-rc5 class: profile kind: resource url: https://gen.kanta.fi/fhir/tahdonilmaisut/StructureDefinition/TahdonilmaisuProvenance base: http://hl7.org/fhir/StructureDefinition/Provenance version: 1.1.0