PackagesCanonicalsLogsProblems
    Packages
    fi.kela.kanta.gen.r4.tahdonilmaisut@1.0.0-rc1
    https://gen.kanta.fi/fhir/tahdonilmaisut/StructureDefinition/TahdonilmaisuProvenance
{
  "description": null,
  "_filename": "TahdonilmaisuProvenance.StructureDefinition.json",
  "package_name": "fi.kela.kanta.gen.r4.tahdonilmaisut",
  "date": null,
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "4.0.1",
  "name": "TahdonilmaisuProvenance",
  "abstract": false,
  "type": "Provenance",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "1.0.0-rc1",
  "status": "draft",
  "id": "19978e2a-03c4-4830-a3a8-65fd4c663852",
  "kind": "resource",
  "url": "https://gen.kanta.fi/fhir/tahdonilmaisut/StructureDefinition/TahdonilmaisuProvenance",
  "version": null,
  "differential": {
    "element": [ {
      "id": "Provenance",
      "path": "Provenance",
      "constraint": [ {
        "key": "TIP-PROV-1",
        "human": "Luovutusluvan tekijän palveluyksikkö pakollinen tieto, kun luovutusluvan tekijä on ammattilainen.",
        "severity": "error",
        "expression": "Provenance.agent.role.coding.where(code='2').exists() implies Provenance.agent.role.coding.where(code='7').exists()"
      }, {
        "key": "TIP-PROV-2",
        "human": "Luovutusluvan tekijän palveluyksikkö annetaan vain, jos luovutusluvan tekijä on ammattilainen.",
        "severity": "error",
        "expression": "Provenance.agent.role.coding.where(code='2').exists().not() implies Provenance.agent.role.coding.where(code='7').exists().not()"
      }, {
        "key": "TIP-PROV-3",
        "human": "Luovutusluvan tallentajaksi täytyy antaa joko asiakas itse, ammattihenkilö tai laillinen edustaja",
        "severity": "error",
        "expression": "Provenance.agent.role.coding.where(code='2').exists() or Provenance.agent.role.coding.where(code='12').exists() or Provenance.agent.role.coding.where(code='5').exists()"
      }, {
        "key": "TIP-PROV-4",
        "human": "Luovutusluvan tallentajaksi annetaan vain yksi näistä: asiakas, ammattihenkilö tai laillinen edustaja",
        "severity": "error",
        "expression": "(Provenance.agent.where(role.coding.code = '2').count() + Provenance.agent.where(role.coding.code = '12').count() + Provenance.agent.where(role.coding.code = '5').count()) = 1"
      } ]
    }, {
      "id": "Provenance.id",
      "path": "Provenance.id",
      "short": "Resurssin yksilöivä tunnus",
      "definition": "Resurssin globaalisti yksilöivä tunnus.\r\n\r\nResurssin tallennuksen yhteydessä Kanta-palvelut tuottaa resurssille yksilöivän tunnuksen."
    }, {
      "id": "Provenance.meta",
      "path": "Provenance.meta"
    }, {
      "id": "Provenance.meta.profile",
      "max": "1",
      "min": 1,
      "path": "Provenance.meta.profile",
      "fixedCanonical": "https://gen.kanta.fi/fhir/tahdonilmaisut/StructureDefinition/TahdonilmaisuProvenance"
    }, {
      "id": "Provenance.implicitRules",
      "max": "0",
      "path": "Provenance.implicitRules"
    }, {
      "id": "Provenance.language",
      "path": "Provenance.language",
      "short": "Tahdonilmaisun kieli",
      "binding": {
        "strength": "required",
        "valueSet": "https://gen.kanta.fi/fhir/tahdonilmaisut/ValueSet/figen-vs-languages-soteconsent",
        "description": "Tahdonilmaisun kieli"
      },
      "definition": "Kieli, jolla tahdonilmaisu on laadittu"
    }, {
      "id": "Provenance.text",
      "max": "0",
      "path": "Provenance.text"
    }, {
      "id": "Provenance.target",
      "path": "Provenance.target",
      "short": "Consent-resurssi",
      "definition": "Consent-resurssi, johon Provenance-resurssilla ilmoitettavat metatiedot liittyvät."
    }, {
      "id": "Provenance.target.reference",
      "min": 1,
      "path": "Provenance.target.reference",
      "short": "Viittaus Consent-resurssin yksilöivään tunnukseen",
      "definition": "Viittaus sen Consent-resurssin yksilöivään tunnukseen, johon Provenance-resurssi liittyy. \r\nYksilöivänä tunnuksena ilmoitetaan Consent-resurssissa ilmoitettu yksilöintitunnus Consent.id."
    }, {
      "id": "Provenance.occurred[x]",
      "max": "0",
      "path": "Provenance.occurred[x]"
    }, {
      "id": "Provenance.recorded",
      "path": "Provenance.recorded",
      "short": "Luontiaika",
      "definition": "Ajankohta, jolloin luovutuslupa on valmistunut.\r\n\r\n"
    }, {
      "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.activity",
      "max": "0",
      "path": "Provenance.activity"
    }, {
      "id": "Provenance.agent",
      "path": "Provenance.agent",
      "slicing": {
        "rules": "closed",
        "discriminator": [ {
          "path": "role.coding.code",
          "type": "value"
        } ]
      }
    }, {
      "id": "Provenance.agent:Custodian",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent",
      "short": "Rekisterinpitäjä",
      "sliceName": "Custodian",
      "definition": "Rekisterinpidosta vastaavan rekisterinpitäjän tiedot. \r\nTahdonilmaisuilla rekisterinpitäjä on aina Kansaneläkelaitos."
    }, {
      "id": "Provenance.agent:Custodian.role",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent.role",
      "short": "Rekisterinpitäjä",
      "binding": {
        "strength": "required",
        "valueSet": "http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory"
      },
      "definition": "Tahdonilmaisun rekisterinpidosta vastaava rekisterinpitäjä"
    }, {
      "id": "Provenance.agent:Custodian.role.coding",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent.role.coding",
      "short": "Kanta Provenance Role Category",
      "definition": "Koodiston arvoilla ilmoitetaan, mikä on toimijan rooli Provenance-resurssissa."
    }, {
      "id": "Provenance.agent:Custodian.role.coding.system",
      "min": 1,
      "path": "Provenance.agent.role.coding.system",
      "fixedUri": "http://gen.kanta.fi/figen-cs-provenancerolecategory"
    }, {
      "id": "Provenance.agent:Custodian.role.coding.code",
      "min": 1,
      "path": "Provenance.agent.role.coding.code",
      "short": "Roolin koodiarvo",
      "fixedCode": "1",
      "definition": "Koodiarvo, joka kertoo toimijan roolin provenancessa"
    }, {
      "id": "Provenance.agent:Custodian.role.coding.display",
      "min": 1,
      "path": "Provenance.agent.role.coding.display",
      "short": "Koodiarvon mukainen kuvaus"
    }, {
      "id": "Provenance.agent:Custodian.who.identifier",
      "min": 1,
      "path": "Provenance.agent.who.identifier",
      "short": "Rekisterinpitäjän tunniste"
    }, {
      "id": "Provenance.agent:Custodian.who.identifier.value",
      "min": 1,
      "path": "Provenance.agent.who.identifier.value",
      "short": "Rekisterinpitäjän tunnus",
      "definition": "Rekisterinpitäjän tunniste (Tahdonilmaisuilla aina Kansaneläkelaitos)",
      "fixedString": "1.2.246.10.2462460.19.1"
    }, {
      "id": "Provenance.agent:Custodian.who.display",
      "min": 1,
      "path": "Provenance.agent.who.display",
      "short": "Rekisterinpitäjän nimi",
      "definition": "Rekisterinpitäjän nimi (Tahdonilmaisuilla aina Kansaneläkelaitos)",
      "fixedString": "Kansaneläkelaitos"
    }, {
      "id": "Provenance.agent:Device",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent",
      "short": "Resurssin tuottanut tietojärjestelmä",
      "sliceName": "Device",
      "definition": "Luovutusluvan tuottaneen ohjelmiston tiedot."
    }, {
      "id": "Provenance.agent:Device.role",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent.role",
      "short": "Resurssin tuottanut ohjelmisto",
      "binding": {
        "strength": "required",
        "valueSet": "http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory"
      }
    }, {
      "id": "Provenance.agent:Device.role.coding",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent.role.coding",
      "short": "Kanta Provenance Role Category",
      "definition": "Koodiston arvoilla ilmoitetaan mikä on toimijan rooli Provenance-resurssissa."
    }, {
      "id": "Provenance.agent:Device.role.coding.system",
      "min": 1,
      "path": "Provenance.agent.role.coding.system",
      "fixedUri": "http://gen.kanta.fi/figen-cs-provenancerolecategory"
    }, {
      "id": "Provenance.agent:Device.role.coding.version",
      "max": "0",
      "path": "Provenance.agent.role.coding.version"
    }, {
      "id": "Provenance.agent:Device.role.coding.code",
      "min": 1,
      "path": "Provenance.agent.role.coding.code",
      "short": "Roolin koodiarvo",
      "fixedCode": "4",
      "definition": "Koodiarvo, joka kertoo toimijan roolin Provenance-resurssissa."
    }, {
      "id": "Provenance.agent:Device.role.coding.display",
      "min": 1,
      "path": "Provenance.agent.role.coding.display",
      "short": "Koodiarvon mukainen kuvaus"
    }, {
      "id": "Provenance.agent:Device.who",
      "path": "Provenance.agent.who",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://gen.kanta.fi/fhir/StructureDefinition/KantaDevice" ]
      } ]
    }, {
      "id": "Provenance.agent:Device.who.reference",
      "min": 1,
      "path": "Provenance.agent.who.reference",
      "short": "Viittaus käytettävään resurssiin"
    }, {
      "id": "Provenance.agent:Device.who.type",
      "max": "0",
      "path": "Provenance.agent.who.type"
    }, {
      "id": "Provenance.agent:Device.who.identifier",
      "max": "0",
      "path": "Provenance.agent.who.identifier"
    }, {
      "id": "Provenance.agent:Device.who.display",
      "max": "0",
      "path": "Provenance.agent.who.display"
    }, {
      "id": "Provenance.agent:Patient",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent",
      "short": "Asiakas",
      "sliceName": "Patient",
      "definition": "Asiakkaan tiedot, jonka tahdonilmaisu tallennetaan"
    }, {
      "id": "Provenance.agent:Patient.role",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent.role",
      "short": "Asiakas",
      "binding": {
        "strength": "required",
        "valueSet": "http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory"
      },
      "definition": "Asiakas, jota tahdonilmaisu koskee."
    }, {
      "id": "Provenance.agent:Patient.role.coding",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent.role.coding",
      "short": "Kanta Provenance Role Category",
      "definition": "Koodiston arvoilla ilmoitetaan, mikä on toimijan rooli Provenance-resurssissa."
    }, {
      "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.code",
      "min": 1,
      "path": "Provenance.agent.role.coding.code",
      "short": "Roolin koodiarvo",
      "fixedCode": "3",
      "definition": "Koodiarvo, joka kertoo toimijan roolin Provenance-resurssissa."
    }, {
      "id": "Provenance.agent:Patient.role.coding.display",
      "min": 1,
      "path": "Provenance.agent.role.coding.display",
      "short": "Koodiarvon mukainen kuvaus"
    }, {
      "id": "Provenance.agent:Patient.who",
      "path": "Provenance.agent.who",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://gen.kanta.fi/fhir/StructureDefinition/KantaPatientOfficialID" ]
      } ]
    }, {
      "id": "Provenance.agent:Patient.who.reference",
      "min": 1,
      "path": "Provenance.agent.who.reference",
      "short": "Viittaus käytettävään resurssiin"
    }, {
      "id": "Provenance.agent:RecordedByPatient",
      "max": "1",
      "path": "Provenance.agent",
      "short": "Tahdonilmaisun tallentajana asiakas",
      "sliceName": "RecordedByPatient",
      "definition": "Tahdonilmaisun tallentajana asiakas itse Omakannan kautta.\r\nTahdonilmaisun voi tallentaa asiakas, asiakkaan laillinen edustaja (ml. huoltaja) tai ammattilainen."
    }, {
      "id": "Provenance.agent:RecordedByPatient.role",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent.role",
      "short": "Luovutusluvan tallentanut asiakas",
      "binding": {
        "strength": "required",
        "valueSet": "http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory"
      },
      "definition": "Luovutusluvan tallentanut asiakas"
    }, {
      "id": "Provenance.agent:RecordedByPatient.role.coding",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent.role.coding",
      "short": "Kanta Provenance Role Category",
      "definition": "Koodiston arvoilla ilmoitetaan, mikä on toimijan rooli Provenance-resurssissa."
    }, {
      "id": "Provenance.agent:RecordedByPatient.role.coding.system",
      "min": 1,
      "path": "Provenance.agent.role.coding.system",
      "fixedUri": "http://gen.kanta.fi/figen-cs-provenancerolecategory"
    }, {
      "id": "Provenance.agent:RecordedByPatient.role.coding.code",
      "min": 1,
      "path": "Provenance.agent.role.coding.code",
      "short": "Roolin koodiarvo",
      "fixedCode": "12",
      "definition": "Koodiarvo, joka kertoo toimijan roolin Provenance-resurssissa."
    }, {
      "id": "Provenance.agent:RecordedByPatient.role.coding.display",
      "min": 1,
      "path": "Provenance.agent.role.coding.display",
      "short": "Koodiarvon mukainen kuvaus"
    }, {
      "id": "Provenance.agent:RecordedByPatient.who",
      "path": "Provenance.agent.who",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://gen.kanta.fi/fhir/StructureDefinition/KantaPatientOfficialID" ]
      } ]
    }, {
      "id": "Provenance.agent:RecordedByPatient.who.reference",
      "min": 1,
      "path": "Provenance.agent.who.reference",
      "short": "Viittaus käytettävään resurssiin"
    }, {
      "id": "Provenance.agent:RecordedByRelatedPerson",
      "max": "1",
      "path": "Provenance.agent",
      "short": "Tahdonilmaisun tallentajana laillinen ediustaja",
      "sliceName": "RecordedByRelatedPerson",
      "definition": "Tahdonilmaisunn tallentajana laillinen ediustaja (puolesta-asioija).\r\nTahdonilmaisun voi tallentaa asiakas, asiakkaan laillinen edustaja (ml. huoltaja) tai ammattilainen."
    }, {
      "id": "Provenance.agent:RecordedByRelatedPerson.role",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent.role",
      "short": "Tahdonilmaisun tallentanut puolesta-asioija",
      "binding": {
        "strength": "required",
        "valueSet": "http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory"
      },
      "definition": "Tahdonilmaisun tallentanut puolesta-asioija"
    }, {
      "id": "Provenance.agent:RecordedByRelatedPerson.role.coding",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent.role.coding"
    }, {
      "id": "Provenance.agent:RecordedByRelatedPerson.role.coding.system",
      "min": 1,
      "path": "Provenance.agent.role.coding.system",
      "fixedUri": "http://gen.kanta.fi/figen-cs-provenancerolecategory"
    }, {
      "id": "Provenance.agent:RecordedByRelatedPerson.role.coding.code",
      "min": 1,
      "path": "Provenance.agent.role.coding.code",
      "short": "Roolin koodiarvo",
      "fixedCode": "5",
      "definition": "Koodiarvo, joka kertoo toimijan roolin Provenance-resurssissa."
    }, {
      "id": "Provenance.agent:RecordedByRelatedPerson.role.coding.display",
      "min": 1,
      "path": "Provenance.agent.role.coding.display",
      "short": "Koodiarvon mukainen kuvaus"
    }, {
      "id": "Provenance.agent:RecordedByRelatedPerson.who",
      "path": "Provenance.agent.who",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://gen.kanta.fi/fhir/StructureDefinition/KantaRelatedPerson" ]
      } ]
    }, {
      "id": "Provenance.agent:RecordedByRelatedPerson.who.reference",
      "min": 1,
      "path": "Provenance.agent.who.reference"
    }, {
      "id": "Provenance.agent:RecordedByPractitioner",
      "max": "1",
      "path": "Provenance.agent",
      "short": "Tahdonilmaisun tallentajana ammattihenkilö",
      "sliceName": "RecordedByPractitioner",
      "definition": "Tahdonilmaisun tallentajana sote-ammattilainen.\r\nTahdonilmaisun voi tallentaa asiakas, asiakkaan laillinen edustaja (ml. huoltaja) tai ammattilainen."
    }, {
      "id": "Provenance.agent:RecordedByPractitioner.role",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent.role",
      "short": "Tahdonilmaisun tallentanut ammattihenkilö",
      "binding": {
        "strength": "required",
        "valueSet": "http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory"
      },
      "definition": "Tahdonilmaisun tallentanut ammattihenkilö"
    }, {
      "id": "Provenance.agent:RecordedByPractitioner.role.coding",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent.role.coding",
      "short": "Kanta Provenance Role Category",
      "definition": "Koodiston arvoilla ilmoitetaan, mikä on toimijan rooli Provenance-resurssissa."
    }, {
      "id": "Provenance.agent:RecordedByPractitioner.role.coding.system",
      "min": 1,
      "path": "Provenance.agent.role.coding.system",
      "fixedUri": "http://gen.kanta.fi/figen-cs-provenancerolecategory"
    }, {
      "id": "Provenance.agent:RecordedByPractitioner.role.coding.code",
      "min": 1,
      "path": "Provenance.agent.role.coding.code",
      "short": "Roolin koodiarvo",
      "fixedCode": "2",
      "definition": "Koodiarvo, joka kertoo toimijan roolin Provenance-resurssissa."
    }, {
      "id": "Provenance.agent:RecordedByPractitioner.role.coding.display",
      "min": 1,
      "path": "Provenance.agent.role.coding.display",
      "short": "Koodiarvon mukainen kuvaus"
    }, {
      "id": "Provenance.agent:RecordedByPractitioner.who",
      "path": "Provenance.agent.who",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://gen.kanta.fi/fhir/StructureDefinition/KantaPractitionerV2" ]
      } ]
    }, {
      "id": "Provenance.agent:RecordedByPractitioner.who.reference",
      "min": 1,
      "path": "Provenance.agent.who.reference",
      "short": "Viittaus käytettävään resurssiin"
    }, {
      "id": "Provenance.agent:PractitionerOrganizationUnit",
      "max": "1",
      "path": "Provenance.agent",
      "short": "Tahdonilmaisun talletaneen ammattilaisen palveluyksikkö",
      "sliceName": "PractitionerOrganizationUnit",
      "definition": "Tahdonilmaisun talletaneen ammattihenkiön organisaation tiedot."
    }, {
      "id": "Provenance.agent:PractitionerOrganizationUnit.role",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent.role",
      "short": "Tahdonilmaisun tallentaneen ammattihenkilön palveluyksikkö",
      "binding": {
        "strength": "required",
        "valueSet": "http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory"
      },
      "definition": "Tahdonilmaisun tallentaneen ammattihenkilön palveluyksikkö"
    }, {
      "id": "Provenance.agent:PractitionerOrganizationUnit.role.coding",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent.role.coding",
      "short": "Kanta Provenance Role Category",
      "definition": "Koodiston arvoilla ilmoitetaan, mikä on toimijan rooli Provenance-resurssissa."
    }, {
      "id": "Provenance.agent:PractitionerOrganizationUnit.role.coding.system",
      "min": 1,
      "path": "Provenance.agent.role.coding.system",
      "fixedUri": "http://gen.kanta.fi/figen-cs-provenancerolecategory"
    }, {
      "id": "Provenance.agent:PractitionerOrganizationUnit.role.coding.code",
      "min": 1,
      "path": "Provenance.agent.role.coding.code",
      "short": "Roolin koodiarvo",
      "fixedCode": "7",
      "definition": "Koodiarvo, joka kertoo toimijan roolin Provenance-resurssissa"
    }, {
      "id": "Provenance.agent:PractitionerOrganizationUnit.role.coding.display",
      "min": 1,
      "path": "Provenance.agent.role.coding.display",
      "short": "Koodiarvon mukainen kuvaus"
    }, {
      "id": "Provenance.agent:PractitionerOrganizationUnit.who.identifier",
      "min": 1,
      "path": "Provenance.agent.who.identifier",
      "short": "Luovutusluvan tallentaneen ammattihenkilön palveluyksikkö"
    }, {
      "id": "Provenance.agent:PractitionerOrganizationUnit.who.identifier.system",
      "min": 1,
      "path": "Provenance.agent.who.identifier.system",
      "fixedUri": "urn:ietf:rfc:3986"
    }, {
      "id": "Provenance.agent:PractitionerOrganizationUnit.who.identifier.value",
      "min": 1,
      "path": "Provenance.agent.who.identifier.value",
      "short": "Palveluyksikön tunnus",
      "definition": "Sosiaali- ja terveydenhuollon organisaation yksilöivänä tunnuksena THL - SOTE-organisaatiorekisterin (1.2.246.537.6.202.2008) mukainen yksilöintitunnus. Itsenäisen ammatinharjoittajan organisaation yksilöivänä tunnuksena Valvira - Terveydenhuollon itsenäiset ammatinharjoittajat -rekisterin (1.2.246.537.6.203.2014) mukainen yksilöintitunnus."
    }, {
      "id": "Provenance.agent:PractitionerOrganizationUnit.who.display",
      "min": 1,
      "path": "Provenance.agent.who.display",
      "short": "Organisaation nimi",
      "definition": "Organisaation nimi.\r\nNimen pitää vastata THL - SOTE-organisaatiorekisterissä (1.2.246.537.6.202.2008) tai IAH-rekisterissä organisaatiotunnukselle annettua nimeä"
    }, {
      "id": "Provenance.agent:ServiceProvider",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent",
      "short": "Palvelunantaja",
      "sliceName": "ServiceProvider",
      "definition": "Tahdonilmaisun tuottaneen palvelunantajan tiedot. Jos tehty Omakannasta, palvelunantaja Kela."
    }, {
      "id": "Provenance.agent:ServiceProvider.role",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent.role",
      "short": "Palvelunantaja",
      "binding": {
        "strength": "required",
        "valueSet": "http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory"
      },
      "definition": "Tahdonilmaisun tuottanut palvelunantaja."
    }, {
      "id": "Provenance.agent:ServiceProvider.role.coding",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent.role.coding",
      "short": "Kanta Provenance Role Category",
      "definition": "Koodiston arvoilla ilmoitetaan, mikä on toimijan rooli Provenance-resurssissa."
    }, {
      "id": "Provenance.agent:ServiceProvider.role.coding.system",
      "min": 1,
      "path": "Provenance.agent.role.coding.system",
      "fixedUri": "http://gen.kanta.fi/figen-cs-provenancerolecategory"
    }, {
      "id": "Provenance.agent:ServiceProvider.role.coding.code",
      "min": 1,
      "path": "Provenance.agent.role.coding.code",
      "short": "Roolin koodiarvo",
      "fixedCode": "13",
      "definition": "Koodiarvo, joka kertoo toimijan roolin Luovutusluvassa"
    }, {
      "id": "Provenance.agent:ServiceProvider.role.coding.display",
      "min": 1,
      "path": "Provenance.agent.role.coding.display",
      "short": "Koodiarvon mukainen kuvaus"
    }, {
      "id": "Provenance.agent:ServiceProvider.who.identifier",
      "min": 1,
      "path": "Provenance.agent.who.identifier",
      "short": "Palvelunantajan tunniste"
    }, {
      "id": "Provenance.agent:ServiceProvider.who.identifier.system",
      "path": "Provenance.agent.who.identifier.system",
      "fixedUri": "urn:ietf:rfc:3986",
      "definition": "Käytetään joko koodistoa THL - SOTE-organisaatiorekisteri (1.2.246.537.6.202.2008) tai  Valvira - Terveydenhuollon itsenäiset ammatinharjoittajat  (1.2.246.537.6.203.2014)."
    }, {
      "id": "Provenance.agent:ServiceProvider.who.identifier.value",
      "min": 1,
      "path": "Provenance.agent.who.identifier.value",
      "short": "Palvelunantajan tunnus",
      "definition": "Sosiaali- ja terveydenhuollon organisaation yksilöivänä tunnuksena THL - SOTE-organisaatiorekisterin (1.2.246.537.6.202.2008) mukainen yksilöintitunnus. Itsenäisen ammatinharjoittajan organisaation yksilöivänä tunnuksena Valvira - Terveydenhuollon itsenäiset ammatinharjoittajat -rekisterin (1.2.246.537.6.203.2014) mukainen yksilöintitunnus."
    }, {
      "id": "Provenance.agent:ServiceProvider.who.display",
      "min": 1,
      "path": "Provenance.agent.who.display",
      "short": "Organisaation nimi",
      "definition": "Organisaation nimi.\r\nNimen pitää vastata THL - SOTE-organisaatiorekisterissä (1.2.246.537.6.202.2008) tai IAH-rekisterissä organisaatiotunnukselle annettua nimeä"
    }, {
      "id": "Provenance.entity",
      "max": "0",
      "path": "Provenance.entity"
    }, {
      "id": "Provenance.signature",
      "max": "0",
      "path": "Provenance.signature"
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Provenance"
}