FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagefi.kela.kanta.gen.r4
Resource TypeStructureDefinition
IdMitatointiProvenance.json
FHIR VersionR4

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

No narrative content found in resource


Source1

{
  "resourceType": "StructureDefinition",
  "url": "https://gen.kanta.fi/fhir/StructureDefinition/MitatointiProvenance",
  "version": "0.6.0",
  "name": "MitatointiProvenance",
  "status": "draft",
  "date": "2025-10-08",
  "publisher": "Kela",
  "description": "Kanta-palveluissa käytettävä Provenance-profiili, jota käytetään resurssin mitätöimisessä.",
  "purpose": "Kanta-palveluissa käytettävä Provenance-profiili, jota käytetään resurssin mitätöimisessä.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Provenance",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Provenance",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Provenance.meta",
        "path": "Provenance.meta"
      },
      {
        "id": "Provenance.meta.profile",
        "path": "Provenance.meta.profile",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Provenance.extension",
        "path": "Provenance.extension",
        "min": 1
      },
      {
        "id": "Provenance.extension:status",
        "path": "Provenance.extension",
        "sliceName": "status",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://gen.kanta.fi/fhir/StructureDefinition/extension/Status"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Provenance.target",
        "path": "Provenance.target",
        "short": "Mitätöitävän resurssin yksilöivä tunniste",
        "definition": "Sen resurssin yksilöivä tunniste, joka mitätöidään.",
        "max": "1"
      },
      {
        "id": "Provenance.target.id",
        "path": "Provenance.target.id",
        "max": "0"
      },
      {
        "id": "Provenance.target.reference",
        "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.",
        "min": 1
      },
      {
        "id": "Provenance.target.type",
        "path": "Provenance.target.type",
        "max": "0"
      },
      {
        "id": "Provenance.target.identifier",
        "path": "Provenance.target.identifier",
        "max": "0"
      },
      {
        "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]",
        "path": "Provenance.occurred[x]",
        "max": "0"
      },
      {
        "id": "Provenance.recorded",
        "path": "Provenance.recorded",
        "short": "Laatimis-/tallennusaika",
        "definition": "Mitätöinnissä käytettävän Provenenance-resurssin laatimis-/tallennusaika."
      },
      {
        "id": "Provenance.policy",
        "path": "Provenance.policy",
        "max": "0"
      },
      {
        "id": "Provenance.location",
        "path": "Provenance.location",
        "max": "0"
      },
      {
        "id": "Provenance.reason",
        "path": "Provenance.reason",
        "max": "0"
      },
      {
        "id": "Provenance.reason.id",
        "path": "Provenance.reason.id",
        "max": "0"
      },
      {
        "id": "Provenance.reason.coding",
        "path": "Provenance.reason.coding",
        "max": "0"
      },
      {
        "id": "Provenance.activity",
        "path": "Provenance.activity",
        "short": "Mitätöinnin syy",
        "definition": "Rakenteessa ilmoitetaan syy miksi resurssi mitätöidään.",
        "min": 1
      },
      {
        "id": "Provenance.activity.id",
        "path": "Provenance.activity.id",
        "max": "0"
      },
      {
        "id": "Provenance.activity.coding",
        "path": "Provenance.activity.coding",
        "short": "Mitätöinnin syy",
        "definition": "Mitätöinnin syy koodiarvolla ilmoitettuna, käytetään sosiaalihuollossa.",
        "max": "1"
      },
      {
        "id": "Provenance.activity.coding.id",
        "path": "Provenance.activity.coding.id",
        "max": "0"
      },
      {
        "id": "Provenance.activity.coding.system",
        "path": "Provenance.activity.coding.system",
        "short": "Käytettävä koodisto",
        "definition": "Sosiaalihuollossa käytetään koodistoa Sosiaalihuolto - Asiakirjan mitätöinnin syy.",
        "min": 1
      },
      {
        "id": "Provenance.activity.coding.version",
        "path": "Provenance.activity.coding.version",
        "max": "0"
      },
      {
        "id": "Provenance.activity.coding.code",
        "path": "Provenance.activity.coding.code",
        "short": "Mitätöinnin syyn koodiarvo",
        "min": 1
      },
      {
        "id": "Provenance.activity.coding.display",
        "path": "Provenance.activity.coding.display",
        "short": "Mitätöinnin syy",
        "definition": "Koodiarvoa vastaava mitätöinnin syy.",
        "min": 1
      },
      {
        "id": "Provenance.activity.coding.userSelected",
        "path": "Provenance.activity.coding.userSelected",
        "max": "0"
      },
      {
        "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": {
          "discriminator": [
            {
              "type": "value",
              "path": "role.coding.code"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Provenance.agent.role",
        "path": "Provenance.agent.role",
        "min": 1,
        "max": "1",
        "binding": {
          "strength": "required",
          "valueSet": "http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory"
        }
      },
      {
        "id": "Provenance.agent.role.id",
        "path": "Provenance.agent.role.id",
        "max": "0"
      },
      {
        "id": "Provenance.agent.role.text",
        "path": "Provenance.agent.role.text",
        "max": "0"
      },
      {
        "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",
        "path": "Provenance.agent.who.id",
        "max": "0"
      },
      {
        "id": "Provenance.agent.who.type",
        "path": "Provenance.agent.who.type",
        "max": "0"
      },
      {
        "id": "Provenance.agent:Patient",
        "path": "Provenance.agent",
        "sliceName": "Patient",
        "short": "Asiakas tai potilas",
        "definition": "Sen asiakkaan tai potilaan tiedot, johon liittyvä resurssi mitätöidään.",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Provenance.agent:Patient.id",
        "path": "Provenance.agent.id",
        "max": "0"
      },
      {
        "id": "Provenance.agent:Patient.type",
        "path": "Provenance.agent.type",
        "max": "0"
      },
      {
        "id": "Provenance.agent:Patient.role",
        "path": "Provenance.agent.role",
        "code": [
          {
            "system": "http://gen.kanta.fi/figen-cs-provenancerolecategory"
          }
        ],
        "min": 1,
        "max": "1",
        "binding": {
          "strength": "required",
          "valueSet": "http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory"
        }
      },
      {
        "id": "Provenance.agent:Patient.role.id",
        "path": "Provenance.agent.role.id",
        "max": "0"
      },
      {
        "id": "Provenance.agent:Patient.role.coding",
        "path": "Provenance.agent.role.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Provenance.agent:Patient.role.coding.id",
        "path": "Provenance.agent.role.coding.id",
        "max": "0"
      },
      {
        "id": "Provenance.agent:Patient.role.coding.system",
        "path": "Provenance.agent.role.coding.system",
        "min": 1,
        "fixedUri": "http://gen.kanta.fi/figen-cs-provenancerolecategory"
      },
      {
        "id": "Provenance.agent:Patient.role.coding.version",
        "path": "Provenance.agent.role.coding.version",
        "max": "0"
      },
      {
        "id": "Provenance.agent:Patient.role.coding.code",
        "path": "Provenance.agent.role.coding.code",
        "min": 1,
        "fixedCode": "3"
      },
      {
        "id": "Provenance.agent:Patient.role.coding.display",
        "path": "Provenance.agent.role.coding.display",
        "min": 1
      },
      {
        "id": "Provenance.agent:Patient.role.coding.userSelected",
        "path": "Provenance.agent.role.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Provenance.agent:Patient.role.text",
        "path": "Provenance.agent.role.text",
        "max": "0"
      },
      {
        "id": "Provenance.agent:Patient.who",
        "path": "Provenance.agent.who",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://gen.kanta.fi/fhir/StructureDefinition/KantaPatient"
            ],
            "aggregation": [
              "contained"
            ]
          }
        ]
      },
      {
        "id": "Provenance.agent:Patient.who.id",
        "path": "Provenance.agent.who.id",
        "max": "0"
      },
      {
        "id": "Provenance.agent:Patient.who.reference",
        "path": "Provenance.agent.who.reference",
        "short": "Viittaus käytettävään resurssiin",
        "min": 1
      },
      {
        "id": "Provenance.agent:Patient.who.type",
        "path": "Provenance.agent.who.type",
        "max": "0"
      },
      {
        "id": "Provenance.agent:Patient.who.identifier",
        "path": "Provenance.agent.who.identifier",
        "max": "0"
      },
      {
        "id": "Provenance.agent:Patient.who.display",
        "path": "Provenance.agent.who.display",
        "max": "0"
      },
      {
        "id": "Provenance.agent:Patient.onBehalfOf",
        "path": "Provenance.agent.onBehalfOf",
        "max": "0"
      },
      {
        "id": "Provenance.agent:Practitioner",
        "path": "Provenance.agent",
        "sliceName": "Practitioner",
        "short": "Mitätöinnin tekijä",
        "definition": "Sen sosiaali- ja terveydenhuollon ammattihenkilön tai arkistonhoitajan tiedot, joka mitätöi resurssin.",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Provenance.agent:Practitioner.id",
        "path": "Provenance.agent.id",
        "max": "0"
      },
      {
        "id": "Provenance.agent:Practitioner.type",
        "path": "Provenance.agent.type",
        "max": "0"
      },
      {
        "id": "Provenance.agent:Practitioner.role",
        "path": "Provenance.agent.role",
        "code": [
          {
            "system": "http://gen.kanta.fi/figen-cs-provenancerolecategory"
          }
        ],
        "min": 1,
        "max": "1",
        "binding": {
          "strength": "required",
          "valueSet": "http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory"
        }
      },
      {
        "id": "Provenance.agent:Practitioner.role.id",
        "path": "Provenance.agent.role.id",
        "max": "0"
      },
      {
        "id": "Provenance.agent:Practitioner.role.coding",
        "path": "Provenance.agent.role.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Provenance.agent:Practitioner.role.coding.id",
        "path": "Provenance.agent.role.coding.id",
        "max": "0"
      },
      {
        "id": "Provenance.agent:Practitioner.role.coding.system",
        "path": "Provenance.agent.role.coding.system",
        "min": 1,
        "fixedUri": "http://gen.kanta.fi/figen-cs-provenancerolecategory"
      },
      {
        "id": "Provenance.agent:Practitioner.role.coding.version",
        "path": "Provenance.agent.role.coding.version",
        "max": "0"
      },
      {
        "id": "Provenance.agent:Practitioner.role.coding.code",
        "path": "Provenance.agent.role.coding.code",
        "min": 1,
        "fixedCode": "2"
      },
      {
        "id": "Provenance.agent:Practitioner.role.coding.display",
        "path": "Provenance.agent.role.coding.display",
        "min": 1
      },
      {
        "id": "Provenance.agent:Practitioner.role.coding.userSelected",
        "path": "Provenance.agent.role.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Provenance.agent:Practitioner.role.text",
        "path": "Provenance.agent.role.text",
        "max": "0"
      },
      {
        "id": "Provenance.agent:Practitioner.who",
        "path": "Provenance.agent.who",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://gen.kanta.fi/fhir/StructureDefinition/KantaPractitioner"
            ],
            "aggregation": [
              "contained"
            ]
          }
        ]
      },
      {
        "id": "Provenance.agent:Practitioner.who.id",
        "path": "Provenance.agent.who.id",
        "max": "0"
      },
      {
        "id": "Provenance.agent:Practitioner.who.reference",
        "path": "Provenance.agent.who.reference",
        "short": "Viittaus käytettävään resurssiin",
        "min": 1
      },
      {
        "id": "Provenance.agent:Practitioner.who.type",
        "path": "Provenance.agent.who.type",
        "max": "0"
      },
      {
        "id": "Provenance.agent:Practitioner.who.identifier",
        "path": "Provenance.agent.who.identifier",
        "max": "0"
      },
      {
        "id": "Provenance.agent:Practitioner.who.display",
        "path": "Provenance.agent.who.display",
        "max": "0"
      },
      {
        "id": "Provenance.agent:Practitioner.onBehalfOf",
        "path": "Provenance.agent.onBehalfOf",
        "max": "0"
      },
      {
        "id": "Provenance.entity",
        "path": "Provenance.entity",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Provenance.entity.id",
        "path": "Provenance.entity.id",
        "max": "0"
      },
      {
        "id": "Provenance.entity.role",
        "path": "Provenance.entity.role",
        "fixedCode": "removal"
      },
      {
        "id": "Provenance.entity.what.id",
        "path": "Provenance.entity.what.id",
        "max": "0"
      },
      {
        "id": "Provenance.entity.what.reference",
        "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.",
        "min": 1
      },
      {
        "id": "Provenance.entity.what.type",
        "path": "Provenance.entity.what.type",
        "max": "0"
      },
      {
        "id": "Provenance.entity.what.identifier",
        "path": "Provenance.entity.what.identifier",
        "max": "0"
      },
      {
        "id": "Provenance.entity.what.display",
        "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.",
        "max": "0"
      },
      {
        "id": "Provenance.entity.agent",
        "path": "Provenance.entity.agent",
        "max": "0"
      },
      {
        "id": "Provenance.signature",
        "path": "Provenance.signature",
        "max": "0"
      }
    ]
  }
}