{
"description": "Kanta-palveluissa käytettävä Provenance-profiili, jota käytetään resurssin mitätöimisessä.",
"_filename": "MitatointiProvenance.json",
"package_name": "fi.kela.kanta.gen.r4",
"date": "2025-10-08",
"derivation": "constraint",
"publisher": "Kela",
"fhirVersion": "4.0.1",
"purpose": "Kanta-palveluissa käytettävä Provenance-profiili, jota käytetään resurssin mitätöimisessä.",
"name": "MitatointiProvenance",
"abstract": false,
"type": "Provenance",
"experimental": null,
"resourceType": "StructureDefinition",
"title": null,
"package_version": "1.0.0-rc5",
"status": "draft",
"id": "a20c6be4-e8e2-4f8b-8735-0ea90874988e",
"kind": "resource",
"url": "https://gen.kanta.fi/fhir/StructureDefinition/MitatointiProvenance",
"version": "0.6.0",
"differential": {
"element": [ {
"id": "Provenance.meta",
"path": "Provenance.meta"
}, {
"id": "Provenance.meta.profile",
"max": "1",
"min": 1,
"path": "Provenance.meta.profile"
}, {
"id": "Provenance.extension",
"min": 1,
"path": "Provenance.extension"
}, {
"id": "Provenance.extension:status",
"path": "Provenance.extension",
"type": [ {
"code": "Extension",
"profile": [ "https://gen.kanta.fi/fhir/StructureDefinition/extension/Status" ]
} ],
"sliceName": "status",
"isModifier": false
}, {
"id": "Provenance.target",
"max": "1",
"path": "Provenance.target",
"short": "Mitätöitävän resurssin yksilöivä tunniste",
"definition": "Sen resurssin yksilöivä tunniste, joka mitätöidään."
}, {
"id": "Provenance.target.id",
"max": "0",
"path": "Provenance.target.id"
}, {
"id": "Provenance.target.reference",
"min": 1,
"path": "Provenance.target.reference",
"short": "Mitätöitävän pääresurssi-instanssin looginen id",
"definition": "Sen resurssi-instanssin looginen id, joka mitätöidään."
}, {
"id": "Provenance.target.type",
"max": "0",
"path": "Provenance.target.type"
}, {
"id": "Provenance.target.identifier",
"max": "0",
"path": "Provenance.target.identifier"
}, {
"id": "Provenance.target.display",
"path": "Provenance.target.display",
"short": "Nimike",
"definition": "Mitätöitävän resurssin nimeke.\r\n\r\nHuom! Tämä on määriteltävä tarkemmin toimialakohtaisesti."
}, {
"id": "Provenance.occurred[x]",
"max": "0",
"path": "Provenance.occurred[x]"
}, {
"id": "Provenance.recorded",
"path": "Provenance.recorded",
"short": "Laatimis-/tallennusaika",
"definition": "Mitätöinnissä käytettävän Provenenance-resurssin laatimis-/tallennusaika."
}, {
"id": "Provenance.policy",
"max": "0",
"path": "Provenance.policy"
}, {
"id": "Provenance.location",
"max": "0",
"path": "Provenance.location"
}, {
"id": "Provenance.reason",
"max": "0",
"path": "Provenance.reason"
}, {
"id": "Provenance.reason.id",
"max": "0",
"path": "Provenance.reason.id"
}, {
"id": "Provenance.reason.coding",
"max": "0",
"path": "Provenance.reason.coding"
}, {
"id": "Provenance.activity",
"min": 1,
"path": "Provenance.activity",
"short": "Mitätöinnin syy",
"definition": "Rakenteessa ilmoitetaan syy miksi resurssi mitätöidään."
}, {
"id": "Provenance.activity.id",
"max": "0",
"path": "Provenance.activity.id"
}, {
"id": "Provenance.activity.coding",
"max": "1",
"path": "Provenance.activity.coding",
"short": "Mitätöinnin syy",
"definition": "Mitätöinnin syy koodiarvolla ilmoitettuna, käytetään sosiaalihuollossa."
}, {
"id": "Provenance.activity.coding.id",
"max": "0",
"path": "Provenance.activity.coding.id"
}, {
"id": "Provenance.activity.coding.system",
"min": 1,
"path": "Provenance.activity.coding.system",
"short": "Käytettävä koodisto",
"definition": "Sosiaalihuollossa käytetään koodistoa Sosiaalihuolto - Asiakirjan mitätöinnin syy."
}, {
"id": "Provenance.activity.coding.version",
"max": "0",
"path": "Provenance.activity.coding.version"
}, {
"id": "Provenance.activity.coding.code",
"min": 1,
"path": "Provenance.activity.coding.code",
"short": "Mitätöinnin syyn koodiarvo"
}, {
"id": "Provenance.activity.coding.display",
"min": 1,
"path": "Provenance.activity.coding.display",
"short": "Mitätöinnin syy",
"definition": "Koodiarvoa vastaava mitätöinnin syy."
}, {
"id": "Provenance.activity.coding.userSelected",
"max": "0",
"path": "Provenance.activity.coding.userSelected"
}, {
"id": "Provenance.activity.text",
"path": "Provenance.activity.text",
"short": "Mitätöinnin syy",
"definition": "Resurssin mitätöinnin syy vapaatekstinä, käytetään terveydenhuollossa."
}, {
"id": "Provenance.agent",
"path": "Provenance.agent",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "role.coding.code",
"type": "value"
} ]
}
}, {
"id": "Provenance.agent.role",
"max": "1",
"min": 1,
"path": "Provenance.agent.role",
"binding": {
"strength": "required",
"valueSet": "http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory"
}
}, {
"id": "Provenance.agent.role.id",
"max": "0",
"path": "Provenance.agent.role.id"
}, {
"id": "Provenance.agent.role.text",
"max": "0",
"path": "Provenance.agent.role.text"
}, {
"id": "Provenance.agent.who",
"path": "Provenance.agent.who",
"type": [ {
"code": "Reference",
"targetProfile": [ "https://gen.kanta.fi/fhir/StructureDefinition/KantaPatient", "https://gen.kanta.fi/fhir/StructureDefinition/KantaPractitioner", "https://gen.kanta.fi/fhir/StructureDefinition/KantaDevice" ]
} ]
}, {
"id": "Provenance.agent.who.id",
"max": "0",
"path": "Provenance.agent.who.id"
}, {
"id": "Provenance.agent.who.type",
"max": "0",
"path": "Provenance.agent.who.type"
}, {
"id": "Provenance.agent:Patient",
"max": "1",
"min": 1,
"path": "Provenance.agent",
"short": "Asiakas tai potilas",
"sliceName": "Patient",
"definition": "Sen asiakkaan tai potilaan tiedot, johon liittyvä resurssi mitätöidään."
}, {
"id": "Provenance.agent:Patient.id",
"max": "0",
"path": "Provenance.agent.id"
}, {
"id": "Provenance.agent:Patient.type",
"max": "0",
"path": "Provenance.agent.type"
}, {
"id": "Provenance.agent:Patient.role",
"max": "1",
"min": 1,
"code": [ {
"system": "http://gen.kanta.fi/figen-cs-provenancerolecategory"
} ],
"path": "Provenance.agent.role",
"binding": {
"strength": "required",
"valueSet": "http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory"
}
}, {
"id": "Provenance.agent:Patient.role.id",
"max": "0",
"path": "Provenance.agent.role.id"
}, {
"id": "Provenance.agent:Patient.role.coding",
"max": "1",
"min": 1,
"path": "Provenance.agent.role.coding"
}, {
"id": "Provenance.agent:Patient.role.coding.id",
"max": "0",
"path": "Provenance.agent.role.coding.id"
}, {
"id": "Provenance.agent:Patient.role.coding.system",
"min": 1,
"path": "Provenance.agent.role.coding.system",
"fixedUri": "http://gen.kanta.fi/figen-cs-provenancerolecategory"
}, {
"id": "Provenance.agent:Patient.role.coding.version",
"max": "0",
"path": "Provenance.agent.role.coding.version"
}, {
"id": "Provenance.agent:Patient.role.coding.code",
"min": 1,
"path": "Provenance.agent.role.coding.code",
"fixedCode": "3"
}, {
"id": "Provenance.agent:Patient.role.coding.display",
"min": 1,
"path": "Provenance.agent.role.coding.display"
}, {
"id": "Provenance.agent:Patient.role.coding.userSelected",
"max": "0",
"path": "Provenance.agent.role.coding.userSelected"
}, {
"id": "Provenance.agent:Patient.role.text",
"max": "0",
"path": "Provenance.agent.role.text"
}, {
"id": "Provenance.agent:Patient.who",
"path": "Provenance.agent.who",
"type": [ {
"code": "Reference",
"aggregation": [ "contained" ],
"targetProfile": [ "https://gen.kanta.fi/fhir/StructureDefinition/KantaPatient" ]
} ]
}, {
"id": "Provenance.agent:Patient.who.id",
"max": "0",
"path": "Provenance.agent.who.id"
}, {
"id": "Provenance.agent:Patient.who.reference",
"min": 1,
"path": "Provenance.agent.who.reference",
"short": "Viittaus käytettävään resurssiin"
}, {
"id": "Provenance.agent:Patient.who.type",
"max": "0",
"path": "Provenance.agent.who.type"
}, {
"id": "Provenance.agent:Patient.who.identifier",
"max": "0",
"path": "Provenance.agent.who.identifier"
}, {
"id": "Provenance.agent:Patient.who.display",
"max": "0",
"path": "Provenance.agent.who.display"
}, {
"id": "Provenance.agent:Patient.onBehalfOf",
"max": "0",
"path": "Provenance.agent.onBehalfOf"
}, {
"id": "Provenance.agent:Practitioner",
"max": "1",
"min": 1,
"path": "Provenance.agent",
"short": "Mitätöinnin tekijä",
"sliceName": "Practitioner",
"definition": "Sen sosiaali- ja terveydenhuollon ammattihenkilön tai arkistonhoitajan tiedot, joka mitätöi resurssin."
}, {
"id": "Provenance.agent:Practitioner.id",
"max": "0",
"path": "Provenance.agent.id"
}, {
"id": "Provenance.agent:Practitioner.type",
"max": "0",
"path": "Provenance.agent.type"
}, {
"id": "Provenance.agent:Practitioner.role",
"max": "1",
"min": 1,
"code": [ {
"system": "http://gen.kanta.fi/figen-cs-provenancerolecategory"
} ],
"path": "Provenance.agent.role",
"binding": {
"strength": "required",
"valueSet": "http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory"
}
}, {
"id": "Provenance.agent:Practitioner.role.id",
"max": "0",
"path": "Provenance.agent.role.id"
}, {
"id": "Provenance.agent:Practitioner.role.coding",
"max": "1",
"min": 1,
"path": "Provenance.agent.role.coding"
}, {
"id": "Provenance.agent:Practitioner.role.coding.id",
"max": "0",
"path": "Provenance.agent.role.coding.id"
}, {
"id": "Provenance.agent:Practitioner.role.coding.system",
"min": 1,
"path": "Provenance.agent.role.coding.system",
"fixedUri": "http://gen.kanta.fi/figen-cs-provenancerolecategory"
}, {
"id": "Provenance.agent:Practitioner.role.coding.version",
"max": "0",
"path": "Provenance.agent.role.coding.version"
}, {
"id": "Provenance.agent:Practitioner.role.coding.code",
"min": 1,
"path": "Provenance.agent.role.coding.code",
"fixedCode": "2"
}, {
"id": "Provenance.agent:Practitioner.role.coding.display",
"min": 1,
"path": "Provenance.agent.role.coding.display"
}, {
"id": "Provenance.agent:Practitioner.role.coding.userSelected",
"max": "0",
"path": "Provenance.agent.role.coding.userSelected"
}, {
"id": "Provenance.agent:Practitioner.role.text",
"max": "0",
"path": "Provenance.agent.role.text"
}, {
"id": "Provenance.agent:Practitioner.who",
"path": "Provenance.agent.who",
"type": [ {
"code": "Reference",
"aggregation": [ "contained" ],
"targetProfile": [ "https://gen.kanta.fi/fhir/StructureDefinition/KantaPractitioner" ]
} ]
}, {
"id": "Provenance.agent:Practitioner.who.id",
"max": "0",
"path": "Provenance.agent.who.id"
}, {
"id": "Provenance.agent:Practitioner.who.reference",
"min": 1,
"path": "Provenance.agent.who.reference",
"short": "Viittaus käytettävään resurssiin"
}, {
"id": "Provenance.agent:Practitioner.who.type",
"max": "0",
"path": "Provenance.agent.who.type"
}, {
"id": "Provenance.agent:Practitioner.who.identifier",
"max": "0",
"path": "Provenance.agent.who.identifier"
}, {
"id": "Provenance.agent:Practitioner.who.display",
"max": "0",
"path": "Provenance.agent.who.display"
}, {
"id": "Provenance.agent:Practitioner.onBehalfOf",
"max": "0",
"path": "Provenance.agent.onBehalfOf"
}, {
"id": "Provenance.entity",
"max": "1",
"min": 1,
"path": "Provenance.entity"
}, {
"id": "Provenance.entity.id",
"max": "0",
"path": "Provenance.entity.id"
}, {
"id": "Provenance.entity.role",
"path": "Provenance.entity.role",
"fixedCode": "removal"
}, {
"id": "Provenance.entity.what.id",
"max": "0",
"path": "Provenance.entity.what.id"
}, {
"id": "Provenance.entity.what.reference",
"min": 1,
"path": "Provenance.entity.what.reference",
"short": "Mitätöitävän resurssi-instanssin looginen id",
"definition": "Sen resurssi-instanssin looginen id, joka mitätöidään."
}, {
"id": "Provenance.entity.what.type",
"max": "0",
"path": "Provenance.entity.what.type"
}, {
"id": "Provenance.entity.what.identifier",
"max": "0",
"path": "Provenance.entity.what.identifier"
}, {
"id": "Provenance.entity.what.display",
"max": "0",
"path": "Provenance.entity.what.display",
"short": "Nimike",
"definition": "Mitätöitävän resurssin nimeke.\r\n\r\nHuom! Tämä on määriteltävä tarkemmin toimialakohtaisesti."
}, {
"id": "Provenance.entity.agent",
"max": "0",
"path": "Provenance.entity.agent"
}, {
"id": "Provenance.signature",
"max": "0",
"path": "Provenance.signature"
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Provenance"
}