PackagesCanonicalsLogsProblems
    Packages
    fi.kela.kanta.pta.ajanvaraus.r4@1.1.0
    https://pta.kanta.fi/fhir/StructureDefinition/AppointmentProvenance
{
  "description": "Ajanvarauksessa käytettävä Provenance-profiili.",
  "_filename": "AppointmentProvenance.StructureDefinition.json",
  "package_name": "fi.kela.kanta.pta.ajanvaraus.r4",
  "date": "2025-05-05",
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "4.0.1",
  "purpose": "AppointmentProvenance",
  "name": "AppointmentProvenance",
  "abstract": false,
  "type": "Provenance",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "1.1.0",
  "status": "active",
  "id": "39dfdf87-1186-43b0-b759-02076bbebb32",
  "kind": "resource",
  "url": "https://pta.kanta.fi/fhir/StructureDefinition/AppointmentProvenance",
  "version": "1.0.0",
  "differential": {
    "element": [ {
      "id": "Provenance",
      "path": "Provenance",
      "short": "Ajanvarauuksen metatiedot",
      "constraint": [ {
        "key": "PTA-PROV-1",
        "human": "Rekisterin tarkenne annettava, kun kyseessä työterveyshuolto (rekisteritunnus työterveys).",
        "severity": "error",
        "expression": "Provenance.extension.where(url='https://gen.kanta.fi/fhir/StructureDefinition/extension/RegisterType').value.where(code='4').exists() implies Provenance.extension.where(url='https://pta.kanta.fi/fhir/StructureDefinition/extension/RegisterSpecifier').exists()"
      }, {
        "key": "PTA-PROV-2",
        "human": "Rekisterin tarkennetta käytetään ainoastaan työterveysrekisterin yhteydessä.",
        "severity": "error",
        "expression": "Provenance.extension.where(url='https://gen.kanta.fi/fhir/StructureDefinition/extension/RegisterType').value.where(code='4').exists().not() implies Provenance.extension.where(url='https://pta.kanta.fi/fhir/StructureDefinition/extension/RegisterSpecifier').exists().not()"
      }, {
        "key": "PTA-PROV-3",
        "human": "Ajanvarauksen tekijän palveluyksikkö pakollinen tieto, kun ajanvarauksen tekijä ammattilainen.",
        "severity": "error",
        "expression": "Provenance.agent.role.coding.where(code='2').exists() implies Provenance.agent.role.coding.where(code='7').exists()"
      }, {
        "key": "PTA-PROV-4",
        "human": "Ajanvarauksen tekijän palveluyksikkö annetaan vain, jos ajanvarauksen tekijä ammattilainen tai ohjelmisto.",
        "severity": "error",
        "expression": "Provenance.agent.role.coding.where(code='2' or code='6').exists().not() implies Provenance.agent.role.coding.where(code='7').exists().not()"
      }, {
        "key": "PTA-PROV-5",
        "human": "Viivästämisen päättymispäivä annettava muodossa yyyy-mm-dd",
        "severity": "error",
        "expression": "Provenance.extension.where(url='https://pta.kanta.fi/fhir/StructureDefinition/extension/ReleaseDateForPatientViewing').exists() implies Provenance.extension.where(url='https://pta.kanta.fi/fhir/StructureDefinition/extension/ReleaseDateForPatientViewing').value.toString().length()=10"
      }, {
        "key": "PTA-PROV-7",
        "human": "Palvelutapahtuman tunnus (Provenance.extension.ServiceEvent) ylittää sallitun maksimipituuden.",
        "severity": "error",
        "expression": "Provenance.extension.where(url='https://gen.kanta.fi/fhir/StructureDefinition/extension/serviceEvent').exists() implies Provenance.extension.where(url='https://gen.kanta.fi/fhir/StructureDefinition/extension/serviceEvent').value.value.length() < 125"
      }, {
        "key": "PTA-PROV-8",
        "human": "Rekisteritarkenne (Provenance.extension. RegisterSpecifier) ylittää sallitun maksimipituuden.",
        "severity": "error",
        "expression": "Provenance.extension.where(url='https://pta.kanta.fi/fhir/StructureDefinition/extension/RegisterSpecifier').exists() implies (Provenance.extension.where(url='https://pta.kanta.fi/fhir/StructureDefinition/extension/RegisterSpecifier').value.system.length()+ Provenance.extension.where(url='https://pta.kanta.fi/fhir/StructureDefinition/extension/RegisterSpecifier').value.value.length()) < 125"
      }, {
        "key": "PTA-PROV-9",
        "human": "Kun asiakas on tehnyt ajanvarauksen, asiakkaan ja ajanvarauksen tekijän tunnusten tulee täsmätä.",
        "severity": "error",
        "expression": "agent.where(role.coding.code = '12').exists() implies (agent.where(role.coding.code = '3').first().who.resolve().identifier.where(use = 'official').first().value = agent.where(role.coding.code = '12').first().who.resolve().identifier.where(use = 'official').first().value)"
      }, {
        "key": "PTA-PROV-10",
        "human": "Kun puolesta-asioija on tehnyt ajanvarauksen, puolesta-asioijan tunnus ei voi olla sama kuin asiakkaan tunnus.",
        "severity": "error",
        "expression": "agent.where(role.coding.code = '5').exists() and agent.where(role.coding.code = '3').first().who.resolve().identifier.where(use = 'official').exists() implies (agent.where(role.coding.code = '3').first().who.resolve().identifier.where(use = 'official').first().value!=agent.where(role.coding.code = '5').first().who.resolve().identifier.where(use = 'official').first().value)"
      }, {
        "key": "PTA-PROV-11",
        "human": "Vain ammattihenkilö voi käyttää korvauksen syykoodia 3.",
        "severity": "error",
        "expression": "Provenance.activity.coding.where(code='3').exists() implies Provenance.agent.role.coding.where(code='2').exists()"
      } ],
      "definition": "AppointmentProvenance-profiililla ilmoitetaan ajanvarauksen metatiedot Potilastietovarantoon."
    }, {
      "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",
      "short": "Noudatettu määritys",
      "fixedCanonical": "https://pta.kanta.fi/fhir/StructureDefinition/AppointmentProvenance"
    }, {
      "id": "Provenance.language",
      "min": 1,
      "path": "Provenance.language",
      "short": "Ajanvarauksen kieli",
      "binding": {
        "strength": "required"
      },
      "definition": "Kieli, jolla ajanvaraus on laadittu.\r\n\r\nVastaa SÄHKE2-metatietoa 2.4 Kieli"
    }, {
      "id": "Provenance.extension",
      "min": 3,
      "path": "Provenance.extension"
    }, {
      "id": "Provenance.extension:RegisterSpecifier",
      "path": "Provenance.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://pta.kanta.fi/fhir/StructureDefinition/extension/RegisterSpecifier" ]
      } ],
      "sliceName": "RegisterSpecifier",
      "isModifier": false
    }, {
      "id": "Provenance.extension:ReleaseDateForPatientViewing",
      "max": "1",
      "path": "Provenance.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://pta.kanta.fi/fhir/StructureDefinition/extension/ReleaseDateForPatientViewing" ]
      } ],
      "short": "Viivästämisen päättymispäivä",
      "sliceName": "ReleaseDateForPatientViewing",
      "definition": "Päivämäärä, jolloin asiakirjan viivästäminen päättyy eli ensimmäinen päivä, jolloin viivästetty asiakirja voidaan näyttää kansalaiselle.",
      "isModifier": false
    }, {
      "id": "Provenance.extension:ServiceEvent",
      "max": "1",
      "min": 1,
      "path": "Provenance.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://gen.kanta.fi/fhir/StructureDefinition/extension/serviceEvent" ]
      } ],
      "sliceName": "ServiceEvent",
      "isModifier": false
    }, {
      "id": "Provenance.extension:ServiceEvent.id",
      "max": "0",
      "path": "Provenance.extension.id"
    }, {
      "id": "Provenance.extension:ServiceEvent.value[x]",
      "min": 1,
      "path": "Provenance.extension.value[x]"
    }, {
      "id": "Provenance.extension:ServiceEvent.value[x].id",
      "max": "0",
      "path": "Provenance.extension.value[x].id"
    }, {
      "id": "Provenance.extension:ServiceEvent.value[x].use",
      "max": "0",
      "path": "Provenance.extension.value[x].use"
    }, {
      "id": "Provenance.extension:ServiceEvent.value[x].type",
      "max": "0",
      "path": "Provenance.extension.value[x].type"
    }, {
      "id": "Provenance.extension:ServiceEvent.value[x].period",
      "max": "0",
      "path": "Provenance.extension.value[x].period"
    }, {
      "id": "Provenance.extension:ServiceEvent.value[x].assigner",
      "max": "0",
      "path": "Provenance.extension.value[x].assigner"
    }, {
      "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.extension:Status.value[x]",
      "path": "Provenance.extension.value[x]",
      "binding": {
        "strength": "required",
        "valueSet": "https://pta.kanta.fi/fhir/ValueSet/fipta-vs-recordstatus"
      }
    }, {
      "id": "Provenance.extension:RestrictionParent",
      "path": "Provenance.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://pta.kanta.fi/fhir/StructureDefinition/extension/RestrictionParent" ]
      } ],
      "sliceName": "RestrictionParent",
      "definition": "Huoltajille luovuttamisen kielto THL - Alaikäisen potilastietojen luovuttaminen huoltajille -luokitusta käyttäen. Sallitut arvot 1-4.\r\n\r\nPotilastietojärjestelmä tuottaa kirjauksen kiellon tilanteesta palvelutapahtuma-asiakirjan header-tietoihin.\r\n\r\nPotilastietovaranto kopioi kieltotiedon palvelutapahtumaan liittyvän ajanvarauksen metatietoihin ja palauttaa sen haun vastaussanomalla.\r\nTieto palautetaan Provenance-resurssin lisäksi Appointment.meta.security-tiedoissa.",
      "isModifier": false
    }, {
      "id": "Provenance.extension:TableOfContents",
      "max": "1",
      "path": "Provenance.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://pta.kanta.fi/fhir/StructureDefinition/extension/TableOfContents" ]
      } ],
      "sliceName": "TableOfContents",
      "definition": "AR/YDIN - Näkymät -luokituksella (1.2.246.537.6.12.2002) ilmoitettava näkymä.\r\n\r\nAjanvarauksella tässä välitetään erityissuojattava näkymä, kun varataan aika joka kohdistuu erityissuojattavaan palveluun.",
      "isModifier": false
    }, {
      "id": "Provenance.extension:TableOfContents.value[x]",
      "path": "Provenance.extension.value[x]",
      "binding": {
        "strength": "required",
        "valueSet": "https://pta.kanta.fi/fhir/ValueSet/fipta-vs-tableofcontentsprotected"
      }
    }, {
      "id": "Provenance.extension:RegisterType",
      "max": "1",
      "min": 1,
      "path": "Provenance.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://gen.kanta.fi/fhir/StructureDefinition/extension/RegisterType" ]
      } ],
      "sliceName": "RegisterType",
      "isModifier": false
    }, {
      "id": "Provenance.extension:RegisterType.value[x]",
      "path": "Provenance.extension.value[x]",
      "binding": {
        "strength": "required",
        "valueSet": "https://pta.kanta.fi/fhir/ValueSet/fipta-vs-registertype"
      }
    }, {
      "id": "Provenance.target",
      "max": "1",
      "path": "Provenance.target",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://pta.kanta.fi/fhir/StructureDefinition/AppointmentAppointment" ]
      } ],
      "short": "Ajanvaraus",
      "definition": "Appointment-resurssi, johon Provenance-resurssilla ilmoitettavat metatiedot liittyvät."
    }, {
      "id": "Provenance.target.id",
      "max": "0",
      "path": "Provenance.target.id"
    }, {
      "id": "Provenance.target.reference",
      "min": 1,
      "path": "Provenance.target.reference",
      "short": "Viittaus Appoint-resurssin yksilöivään tunnukseen",
      "definition": "Viittaus sen Appointment-resurssin yksilöivään tunnukseen, johon Provenance-resurssi liittyy. \r\nYksilöivänä tunnuksena ilmoitetaan Appointment-resurssissa ilmoitettu yksilöintitunnus Appointment.id."
    }, {
      "id": "Provenance.target.type",
      "max": "0",
      "path": "Provenance.target.type"
    }, {
      "id": "Provenance.target.identifier",
      "max": "0",
      "path": "Provenance.target.identifier"
    }, {
      "id": "Provenance.target.display",
      "min": 1,
      "path": "Provenance.target.display",
      "short": "Nimeke",
      "definition": "Nimekkeenä ilmoitetaan vakioarvo \"Ajanvaraus\",\r\n\r\nVastaa SÄHKE2-metatietoa 2.7 Nimeke",
      "fixedString": "Ajanvaraus"
    }, {
      "id": "Provenance.occurred[x]",
      "max": "0",
      "path": "Provenance.occurred[x]"
    }, {
      "id": "Provenance.recorded",
      "path": "Provenance.recorded",
      "short": "Luontiaika",
      "definition": "Ajankohta, jolloin potilas- tai ajanvaraustietojärjestelmän tiedoista tehtiin arkistoitava ajanvaraus.\r\n\r\nVastaa SÄHKE2-metatietoa 2.2.1 Avattu/laadittu"
    }, {
      "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",
      "path": "Provenance.activity",
      "short": "Korvauksen syy",
      "binding": {
        "strength": "required",
        "valueSet": "https://pta.kanta.fi/fhir/ValueSet/fipta-vs-updatereason"
      },
      "definition": "Ajanvarauksen korvauksen syy ilmoitetaan koodistolla eArkisto - Asiakirjan korvauksen syy (1.2.246.537.5.40178.2008).\r\n\r\nPakollinen ajanvarauksessa korvauksessa."
    }, {
      "id": "Provenance.activity.coding",
      "max": "1",
      "min": 1,
      "path": "Provenance.activity.coding"
    }, {
      "id": "Provenance.activity.coding.system",
      "min": 1,
      "path": "Provenance.activity.coding.system"
    }, {
      "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": "Ajanvarauksen korvauksen syyn koodiarvo",
      "definition": "Valuesetin fipta-vs-updatereason mukainen koodiarvo."
    }, {
      "id": "Provenance.activity.coding.display",
      "min": 1,
      "path": "Provenance.activity.coding.display",
      "short": "Ajanvarauksen korvauksen syy",
      "definition": "Valuesetin fipta-vs-updatereason mukainen arvo. Arvon nimen on vastattava annettua koodiarvoa."
    }, {
      "id": "Provenance.activity.coding.userSelected",
      "max": "0",
      "path": "Provenance.activity.coding.userSelected"
    }, {
      "id": "Provenance.activity.text",
      "max": "0",
      "path": "Provenance.activity.text"
    }, {
      "id": "Provenance.agent",
      "path": "Provenance.agent",
      "slicing": {
        "rules": "closed",
        "discriminator": [ {
          "path": "role.coding.code",
          "type": "value"
        } ]
      }
    }, {
      "id": "Provenance.agent:Rekisterinpitaja",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent",
      "short": "Rekisterinpitäjä",
      "sliceName": "Rekisterinpitaja",
      "definition": "Rekisterinpidosta vastaavan rekisterinpitäjän tiedot."
    }, {
      "id": "Provenance.agent:Rekisterinpitaja.id",
      "max": "0",
      "path": "Provenance.agent.id"
    }, {
      "id": "Provenance.agent:Rekisterinpitaja.type",
      "max": "0",
      "path": "Provenance.agent.type"
    }, {
      "id": "Provenance.agent:Rekisterinpitaja.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": "Ajanvarauksen rekisterinpidosta vastaava rekisterinpitäjä."
    }, {
      "id": "Provenance.agent:Rekisterinpitaja.role.id",
      "max": "0",
      "path": "Provenance.agent.role.id"
    }, {
      "id": "Provenance.agent:Rekisterinpitaja.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:Rekisterinpitaja.role.coding.id",
      "max": "0",
      "path": "Provenance.agent.role.coding.id"
    }, {
      "id": "Provenance.agent:Rekisterinpitaja.role.coding.system",
      "min": 1,
      "path": "Provenance.agent.role.coding.system",
      "fixedUri": "http://gen.kanta.fi/figen-cs-provenancerolecategory"
    }, {
      "id": "Provenance.agent:Rekisterinpitaja.role.coding.version",
      "max": "0",
      "path": "Provenance.agent.role.coding.version"
    }, {
      "id": "Provenance.agent:Rekisterinpitaja.role.coding.code",
      "min": 1,
      "path": "Provenance.agent.role.coding.code",
      "fixedCode": "1"
    }, {
      "id": "Provenance.agent:Rekisterinpitaja.role.coding.display",
      "min": 1,
      "path": "Provenance.agent.role.coding.display"
    }, {
      "id": "Provenance.agent:Rekisterinpitaja.role.coding.userSelected",
      "max": "0",
      "path": "Provenance.agent.role.coding.userSelected"
    }, {
      "id": "Provenance.agent:Rekisterinpitaja.role.text",
      "max": "0",
      "path": "Provenance.agent.role.text"
    }, {
      "id": "Provenance.agent:Rekisterinpitaja.who.id",
      "max": "0",
      "path": "Provenance.agent.who.id"
    }, {
      "id": "Provenance.agent:Rekisterinpitaja.who.reference",
      "max": "0",
      "path": "Provenance.agent.who.reference",
      "short": "Viittaus käytettävään resurssiin"
    }, {
      "id": "Provenance.agent:Rekisterinpitaja.who.type",
      "max": "0",
      "path": "Provenance.agent.who.type"
    }, {
      "id": "Provenance.agent:Rekisterinpitaja.who.identifier",
      "min": 1,
      "path": "Provenance.agent.who.identifier",
      "short": "Rekisterinpitäjän tunniste"
    }, {
      "id": "Provenance.agent:Rekisterinpitaja.who.identifier.id",
      "max": "0",
      "path": "Provenance.agent.who.identifier.id"
    }, {
      "id": "Provenance.agent:Rekisterinpitaja.who.identifier.use",
      "max": "0",
      "path": "Provenance.agent.who.identifier.use"
    }, {
      "id": "Provenance.agent:Rekisterinpitaja.who.identifier.type",
      "max": "0",
      "path": "Provenance.agent.who.identifier.type"
    }, {
      "id": "Provenance.agent:Rekisterinpitaja.who.identifier.system",
      "min": 1,
      "path": "Provenance.agent.who.identifier.system",
      "fixedUri": "urn:ietf:rfc:3986"
    }, {
      "id": "Provenance.agent:Rekisterinpitaja.who.identifier.value",
      "min": 1,
      "path": "Provenance.agent.who.identifier.value",
      "short": "Rekisterinpitäjän tunnus",
      "definition": "Julkiset: eArkisto - Rekisterinpitäjärekisteristä - 1.2.246.537.6.40174.2008\r\n\r\nYksityiset: SOTE-organisaatiorekisteristä tai IAH-rekisteristä"
    }, {
      "id": "Provenance.agent:Rekisterinpitaja.who.identifier.period",
      "max": "0",
      "path": "Provenance.agent.who.identifier.period"
    }, {
      "id": "Provenance.agent:Rekisterinpitaja.who.identifier.assigner",
      "max": "0",
      "path": "Provenance.agent.who.identifier.assigner"
    }, {
      "id": "Provenance.agent:Rekisterinpitaja.who.display",
      "min": 1,
      "path": "Provenance.agent.who.display",
      "short": "Rekisterinpitäjän nimi",
      "definition": "Rekisterinpitäjän nimi. \r\n\r\nNimen pitää vastata Rekisterinpitäjärekisterissä (1.2.246.537.6.40174.2008),  THL - SOTE-organisaatiorekisterissä (1.2.246.537.6.202.2008) tai  Valvira - Terveydenhuollon itsenäiset ammatinharjoittajat  -rekisterissä (1.2.246.537.6.203.2014) rekisterinpitäjälle annettua nimeä."
    }, {
      "id": "Provenance.agent:Rekisterinpitaja.onBehalfOf",
      "max": "0",
      "path": "Provenance.agent.onBehalfOf"
    }, {
      "id": "Provenance.agent:Palveluntuottaja",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent",
      "short": "Palveluntuottaja",
      "sliceName": "Palveluntuottaja",
      "definition": "Resurssin tuottaneen palveluntuottajan tiedot."
    }, {
      "id": "Provenance.agent:Palveluntuottaja.id",
      "max": "0",
      "path": "Provenance.agent.id"
    }, {
      "id": "Provenance.agent:Palveluntuottaja.type",
      "max": "0",
      "path": "Provenance.agent.type"
    }, {
      "id": "Provenance.agent:Palveluntuottaja.role",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent.role",
      "short": "Palveluntuottaja",
      "binding": {
        "strength": "required",
        "valueSet": "http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory"
      },
      "definition": "Asiakirjan tuottanut palvelunantaja."
    }, {
      "id": "Provenance.agent:Palveluntuottaja.role.id",
      "max": "0",
      "path": "Provenance.agent.role.id"
    }, {
      "id": "Provenance.agent:Palveluntuottaja.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:Palveluntuottaja.role.coding.id",
      "max": "0",
      "path": "Provenance.agent.role.coding.id"
    }, {
      "id": "Provenance.agent:Palveluntuottaja.role.coding.system",
      "min": 1,
      "path": "Provenance.agent.role.coding.system",
      "fixedUri": "http://gen.kanta.fi/figen-cs-provenancerolecategory"
    }, {
      "id": "Provenance.agent:Palveluntuottaja.role.coding.version",
      "max": "0",
      "path": "Provenance.agent.role.coding.version"
    }, {
      "id": "Provenance.agent:Palveluntuottaja.role.coding.code",
      "min": 1,
      "path": "Provenance.agent.role.coding.code",
      "short": "Roolin koodiarvo",
      "fixedCode": "13",
      "definition": "Koodiarvo, joka kertoo toimijan roolin ajanvarauksessa."
    }, {
      "id": "Provenance.agent:Palveluntuottaja.role.coding.display",
      "min": 1,
      "path": "Provenance.agent.role.coding.display"
    }, {
      "id": "Provenance.agent:Palveluntuottaja.role.coding.userSelected",
      "max": "0",
      "path": "Provenance.agent.role.coding.userSelected"
    }, {
      "id": "Provenance.agent:Palveluntuottaja.role.text",
      "max": "0",
      "path": "Provenance.agent.role.text"
    }, {
      "id": "Provenance.agent:Palveluntuottaja.who.id",
      "max": "0",
      "path": "Provenance.agent.who.id"
    }, {
      "id": "Provenance.agent:Palveluntuottaja.who.reference",
      "max": "0",
      "path": "Provenance.agent.who.reference"
    }, {
      "id": "Provenance.agent:Palveluntuottaja.who.type",
      "max": "0",
      "path": "Provenance.agent.who.type"
    }, {
      "id": "Provenance.agent:Palveluntuottaja.who.identifier",
      "min": 1,
      "path": "Provenance.agent.who.identifier",
      "short": "Palvelunantajan tunniste"
    }, {
      "id": "Provenance.agent:Palveluntuottaja.who.identifier.id",
      "max": "0",
      "path": "Provenance.agent.who.identifier.id"
    }, {
      "id": "Provenance.agent:Palveluntuottaja.who.identifier.use",
      "max": "0",
      "path": "Provenance.agent.who.identifier.use"
    }, {
      "id": "Provenance.agent:Palveluntuottaja.who.identifier.type",
      "max": "0",
      "path": "Provenance.agent.who.identifier.type"
    }, {
      "id": "Provenance.agent:Palveluntuottaja.who.identifier.system",
      "min": 1,
      "path": "Provenance.agent.who.identifier.system",
      "fixedUri": "urn:ietf:rfc:3986"
    }, {
      "id": "Provenance.agent:Palveluntuottaja.who.identifier.value",
      "min": 1,
      "path": "Provenance.agent.who.identifier.value",
      "short": "Palveluntuottajan 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:Palveluntuottaja.who.identifier.period",
      "max": "0",
      "path": "Provenance.agent.who.identifier.period"
    }, {
      "id": "Provenance.agent:Palveluntuottaja.who.identifier.assigner",
      "max": "0",
      "path": "Provenance.agent.who.identifier.assigner"
    }, {
      "id": "Provenance.agent:Palveluntuottaja.who.display",
      "min": 1,
      "path": "Provenance.agent.who.display",
      "short": "Organisaation nimi",
      "definition": "Organisaation nimi. \r\n\r\nNimen pitää vastata THL - SOTE-organisaatiorekisterissä (1.2.246.537.6.202.2008) tai  Valvira - Terveydenhuollon itsenäiset ammatinharjoittajat  -rekisterissä (1.2.246.537.6.203.2014) organisaatiotunnukselle annettua nimeä."
    }, {
      "id": "Provenance.agent:Palveluntuottaja.onBehalfOf",
      "max": "0",
      "path": "Provenance.agent.onBehalfOf"
    }, {
      "id": "Provenance.agent:Tallentajan_palveluyksikko",
      "max": "1",
      "path": "Provenance.agent",
      "short": "Ajanvaraustoimenpiteen tekijän palveluyksikkö",
      "sliceName": "Tallentajan_palveluyksikko",
      "definition": "Ajanvarauksen tehneen ammattihenkiön organisaation tiedot / Organisaation tiedot, jossa ajanvaraus on tehty ohjelmistolla."
    }, {
      "id": "Provenance.agent:Tallentajan_palveluyksikko.id",
      "max": "0",
      "path": "Provenance.agent.id"
    }, {
      "id": "Provenance.agent:Tallentajan_palveluyksikko.type",
      "max": "0",
      "path": "Provenance.agent.type"
    }, {
      "id": "Provenance.agent:Tallentajan_palveluyksikko.role",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent.role",
      "short": "Ajanvaraustoimenpiteen tekijän palveluyksikkö",
      "binding": {
        "strength": "required",
        "valueSet": "http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory"
      },
      "definition": "Ajanvaraustoimenpiteen tekijän palveluyksikkö."
    }, {
      "id": "Provenance.agent:Tallentajan_palveluyksikko.role.id",
      "max": "0",
      "path": "Provenance.agent.role.id"
    }, {
      "id": "Provenance.agent:Tallentajan_palveluyksikko.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:Tallentajan_palveluyksikko.role.coding.id",
      "max": "0",
      "path": "Provenance.agent.role.coding.id"
    }, {
      "id": "Provenance.agent:Tallentajan_palveluyksikko.role.coding.system",
      "min": 1,
      "path": "Provenance.agent.role.coding.system",
      "fixedUri": "http://gen.kanta.fi/figen-cs-provenancerolecategory"
    }, {
      "id": "Provenance.agent:Tallentajan_palveluyksikko.role.coding.version",
      "max": "0",
      "path": "Provenance.agent.role.coding.version"
    }, {
      "id": "Provenance.agent:Tallentajan_palveluyksikko.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:Tallentajan_palveluyksikko.role.coding.display",
      "min": 1,
      "path": "Provenance.agent.role.coding.display"
    }, {
      "id": "Provenance.agent:Tallentajan_palveluyksikko.role.coding.userSelected",
      "max": "0",
      "path": "Provenance.agent.role.coding.userSelected"
    }, {
      "id": "Provenance.agent:Tallentajan_palveluyksikko.role.text",
      "max": "0",
      "path": "Provenance.agent.role.text"
    }, {
      "id": "Provenance.agent:Tallentajan_palveluyksikko.who.id",
      "max": "0",
      "path": "Provenance.agent.who.id"
    }, {
      "id": "Provenance.agent:Tallentajan_palveluyksikko.who.reference",
      "max": "0",
      "path": "Provenance.agent.who.reference"
    }, {
      "id": "Provenance.agent:Tallentajan_palveluyksikko.who.type",
      "max": "0",
      "path": "Provenance.agent.who.type"
    }, {
      "id": "Provenance.agent:Tallentajan_palveluyksikko.who.identifier",
      "min": 1,
      "path": "Provenance.agent.who.identifier",
      "short": "Ajanvaraustoimenpiteen tekijän palveluyksikko"
    }, {
      "id": "Provenance.agent:Tallentajan_palveluyksikko.who.identifier.id",
      "max": "0",
      "path": "Provenance.agent.who.identifier.id"
    }, {
      "id": "Provenance.agent:Tallentajan_palveluyksikko.who.identifier.use",
      "max": "0",
      "path": "Provenance.agent.who.identifier.use"
    }, {
      "id": "Provenance.agent:Tallentajan_palveluyksikko.who.identifier.type",
      "max": "0",
      "path": "Provenance.agent.who.identifier.type"
    }, {
      "id": "Provenance.agent:Tallentajan_palveluyksikko.who.identifier.system",
      "min": 1,
      "path": "Provenance.agent.who.identifier.system",
      "fixedUri": "urn:ietf:rfc:3986"
    }, {
      "id": "Provenance.agent:Tallentajan_palveluyksikko.who.identifier.value",
      "min": 1,
      "path": "Provenance.agent.who.identifier.value",
      "short": "Palveluyksikön tunnus",
      "binding": {
        "strength": "required",
        "valueSet": "https://pta.kanta.fi/fhir/ValueSet/fipta-vs-organization"
      },
      "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:Tallentajan_palveluyksikko.who.identifier.period",
      "max": "0",
      "path": "Provenance.agent.who.identifier.period"
    }, {
      "id": "Provenance.agent:Tallentajan_palveluyksikko.who.identifier.assigner",
      "max": "0",
      "path": "Provenance.agent.who.identifier.assigner"
    }, {
      "id": "Provenance.agent:Tallentajan_palveluyksikko.who.display",
      "min": 1,
      "path": "Provenance.agent.who.display",
      "short": "Organisaation nimi",
      "definition": "Organisaation nimi. \r\n\r\nNimen pitää vastata THL - SOTE-organisaatiorekisterissä (1.2.246.537.6.202.2008) tai  Valvira - Terveydenhuollon itsenäiset ammatinharjoittajat  -rekisterissä (1.2.246.537.6.203.2014) organisaatiotunnukselle annettua nimeä."
    }, {
      "id": "Provenance.agent:Tallentajan_palveluyksikko.onBehalfOf",
      "max": "0",
      "path": "Provenance.agent.onBehalfOf"
    }, {
      "id": "Provenance.agent:Isantaorganisaatio",
      "max": "1",
      "path": "Provenance.agent",
      "short": "Vuokralaisen isäntä",
      "sliceName": "Isantaorganisaatio",
      "definition": "Vuokralaisen isännän tiedot yksityisten yhteisliittymistilanteessa."
    }, {
      "id": "Provenance.agent:Isantaorganisaatio.id",
      "max": "0",
      "path": "Provenance.agent.id"
    }, {
      "id": "Provenance.agent:Isantaorganisaatio.type",
      "max": "0",
      "path": "Provenance.agent.type"
    }, {
      "id": "Provenance.agent:Isantaorganisaatio.role",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent.role",
      "short": "Vuokralaisen isäntä",
      "binding": {
        "strength": "required",
        "valueSet": "http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory"
      },
      "definition": "Vuokralaisen isäntä yksityisten yhteisliittymistilanteessa."
    }, {
      "id": "Provenance.agent:Isantaorganisaatio.role.id",
      "max": "0",
      "path": "Provenance.agent.role.id"
    }, {
      "id": "Provenance.agent:Isantaorganisaatio.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:Isantaorganisaatio.role.coding.id",
      "max": "0",
      "path": "Provenance.agent.role.coding.id"
    }, {
      "id": "Provenance.agent:Isantaorganisaatio.role.coding.system",
      "min": 1,
      "path": "Provenance.agent.role.coding.system",
      "fixedUri": "http://gen.kanta.fi/figen-cs-provenancerolecategory"
    }, {
      "id": "Provenance.agent:Isantaorganisaatio.role.coding.version",
      "max": "0",
      "path": "Provenance.agent.role.coding.version"
    }, {
      "id": "Provenance.agent:Isantaorganisaatio.role.coding.code",
      "min": 1,
      "path": "Provenance.agent.role.coding.code",
      "short": "Roolin koodiarvo",
      "fixedCode": "8",
      "definition": "Koodiarvo, joka kertoo toimijan roolin Provenance-resurssissa."
    }, {
      "id": "Provenance.agent:Isantaorganisaatio.role.coding.display",
      "min": 1,
      "path": "Provenance.agent.role.coding.display"
    }, {
      "id": "Provenance.agent:Isantaorganisaatio.role.coding.userSelected",
      "max": "0",
      "path": "Provenance.agent.role.coding.userSelected"
    }, {
      "id": "Provenance.agent:Isantaorganisaatio.role.text",
      "max": "0",
      "path": "Provenance.agent.role.text"
    }, {
      "id": "Provenance.agent:Isantaorganisaatio.who.id",
      "max": "0",
      "path": "Provenance.agent.who.id"
    }, {
      "id": "Provenance.agent:Isantaorganisaatio.who.reference",
      "max": "0",
      "path": "Provenance.agent.who.reference"
    }, {
      "id": "Provenance.agent:Isantaorganisaatio.who.type",
      "max": "0",
      "path": "Provenance.agent.who.type"
    }, {
      "id": "Provenance.agent:Isantaorganisaatio.who.identifier",
      "min": 1,
      "path": "Provenance.agent.who.identifier",
      "short": "Vuokralaisen isäntäorganisaation tunniste"
    }, {
      "id": "Provenance.agent:Isantaorganisaatio.who.identifier.id",
      "max": "0",
      "path": "Provenance.agent.who.identifier.id"
    }, {
      "id": "Provenance.agent:Isantaorganisaatio.who.identifier.use",
      "max": "0",
      "path": "Provenance.agent.who.identifier.use"
    }, {
      "id": "Provenance.agent:Isantaorganisaatio.who.identifier.type",
      "max": "0",
      "path": "Provenance.agent.who.identifier.type"
    }, {
      "id": "Provenance.agent:Isantaorganisaatio.who.identifier.system",
      "min": 1,
      "path": "Provenance.agent.who.identifier.system",
      "fixedUri": "urn:ietf:rfc:3986"
    }, {
      "id": "Provenance.agent:Isantaorganisaatio.who.identifier.value",
      "min": 1,
      "path": "Provenance.agent.who.identifier.value",
      "short": "Isännän organisaatiotunnus (palvelunantaja)",
      "binding": {
        "strength": "required",
        "valueSet": "https://pta.kanta.fi/fhir/ValueSet/fipta-vs-organization"
      },
      "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:Isantaorganisaatio.who.identifier.period",
      "max": "0",
      "path": "Provenance.agent.who.identifier.period"
    }, {
      "id": "Provenance.agent:Isantaorganisaatio.who.identifier.assigner",
      "max": "0",
      "path": "Provenance.agent.who.identifier.assigner"
    }, {
      "id": "Provenance.agent:Isantaorganisaatio.who.display",
      "max": "0",
      "path": "Provenance.agent.who.display"
    }, {
      "id": "Provenance.agent:Isantaorganisaatio.onBehalfOf",
      "max": "0",
      "path": "Provenance.agent.onBehalfOf"
    }, {
      "id": "Provenance.agent:Isannan_palveluyksikko",
      "max": "0",
      "path": "Provenance.agent",
      "short": "Vuokralaisen isäntä",
      "sliceName": "Isannan_palveluyksikko",
      "definition": "Vuokralaisen isäntä yksityisten yhteisliittymistilanteessa.\r\n\r\nTarkastetaan vielä, tarvitaanko Omakantaa varten!"
    }, {
      "id": "Provenance.agent:Isannan_palveluyksikko.id",
      "max": "0",
      "path": "Provenance.agent.id"
    }, {
      "id": "Provenance.agent:Isannan_palveluyksikko.type",
      "max": "0",
      "path": "Provenance.agent.type"
    }, {
      "id": "Provenance.agent:Isannan_palveluyksikko.role",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent.role",
      "short": "Vuokralaisen isäntä",
      "binding": {
        "strength": "example",
        "valueSet": "http://gen.kanta.fi/figen-vs-provenancerolecategory"
      },
      "definition": "Vuokralaisen isäntä yksityisten yhteisliittymistilanteessa."
    }, {
      "id": "Provenance.agent:Isannan_palveluyksikko.role.id",
      "max": "0",
      "path": "Provenance.agent.role.id"
    }, {
      "id": "Provenance.agent:Isannan_palveluyksikko.role.coding",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent.role.coding"
    }, {
      "id": "Provenance.agent:Isannan_palveluyksikko.role.coding.id",
      "max": "0",
      "path": "Provenance.agent.role.coding.id"
    }, {
      "id": "Provenance.agent:Isannan_palveluyksikko.role.coding.system",
      "min": 1,
      "path": "Provenance.agent.role.coding.system",
      "short": "Healt Care Service Role Category",
      "fixedUri": "http://gen.kanta.fi/figen-cs-provenancerolecategory",
      "definition": "Koodiston arvoilla ilmoitetaan, mikä on toimijan rooli ajanvarauksessa."
    }, {
      "id": "Provenance.agent:Isannan_palveluyksikko.role.coding.version",
      "max": "0",
      "path": "Provenance.agent.role.coding.version"
    }, {
      "id": "Provenance.agent:Isannan_palveluyksikko.role.coding.code",
      "min": 1,
      "path": "Provenance.agent.role.coding.code",
      "short": "Roolin koodiarvo",
      "fixedCode": "9",
      "definition": "Koodiarvo, joka kertoo toimijan roolin ajanvarauksessa."
    }, {
      "id": "Provenance.agent:Isannan_palveluyksikko.role.coding.display",
      "min": 1,
      "path": "Provenance.agent.role.coding.display"
    }, {
      "id": "Provenance.agent:Isannan_palveluyksikko.role.coding.userSelected",
      "max": "0",
      "path": "Provenance.agent.role.coding.userSelected"
    }, {
      "id": "Provenance.agent:Isannan_palveluyksikko.role.text",
      "max": "0",
      "path": "Provenance.agent.role.text"
    }, {
      "id": "Provenance.agent:Isannan_palveluyksikko.who.id",
      "max": "0",
      "path": "Provenance.agent.who.id"
    }, {
      "id": "Provenance.agent:Isannan_palveluyksikko.who.reference",
      "max": "0",
      "path": "Provenance.agent.who.reference"
    }, {
      "id": "Provenance.agent:Isannan_palveluyksikko.who.type",
      "max": "0",
      "path": "Provenance.agent.who.type"
    }, {
      "id": "Provenance.agent:Isannan_palveluyksikko.who.identifier",
      "min": 1,
      "path": "Provenance.agent.who.identifier"
    }, {
      "id": "Provenance.agent:Isannan_palveluyksikko.who.identifier.id",
      "max": "0",
      "path": "Provenance.agent.who.identifier.id"
    }, {
      "id": "Provenance.agent:Isannan_palveluyksikko.who.identifier.use",
      "max": "0",
      "path": "Provenance.agent.who.identifier.use"
    }, {
      "id": "Provenance.agent:Isannan_palveluyksikko.who.identifier.type",
      "max": "0",
      "path": "Provenance.agent.who.identifier.type"
    }, {
      "id": "Provenance.agent:Isannan_palveluyksikko.who.identifier.system",
      "min": 1,
      "path": "Provenance.agent.who.identifier.system",
      "fixedUri": "urn:ietf:rfc:3986"
    }, {
      "id": "Provenance.agent:Isannan_palveluyksikko.who.identifier.value",
      "min": 1,
      "path": "Provenance.agent.who.identifier.value",
      "short": "Isännän organisaatiotunnus (palveluyksikko)",
      "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:Isannan_palveluyksikko.who.identifier.period",
      "max": "0",
      "path": "Provenance.agent.who.identifier.period"
    }, {
      "id": "Provenance.agent:Isannan_palveluyksikko.who.identifier.assigner",
      "max": "0",
      "path": "Provenance.agent.who.identifier.assigner"
    }, {
      "id": "Provenance.agent:Isannan_palveluyksikko.who.display",
      "max": "0",
      "path": "Provenance.agent.who.display"
    }, {
      "id": "Provenance.agent:Isannan_palveluyksikko.onBehalfOf",
      "max": "0",
      "path": "Provenance.agent.onBehalfOf"
    }, {
      "id": "Provenance.agent:Palvelunjarjestaja",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent",
      "short": "Palvelunjärjestäjä",
      "sliceName": "Palvelunjarjestaja",
      "definition": "Palvelunjärjestäjän tiedot."
    }, {
      "id": "Provenance.agent:Palvelunjarjestaja.id",
      "max": "0",
      "path": "Provenance.agent.id"
    }, {
      "id": "Provenance.agent:Palvelunjarjestaja.type",
      "max": "0",
      "path": "Provenance.agent.type"
    }, {
      "id": "Provenance.agent:Palvelunjarjestaja.role",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent.role",
      "short": "Palvelunjärjestäjä",
      "binding": {
        "strength": "required",
        "valueSet": "http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory"
      },
      "definition": "Palvelunjärjestäjä"
    }, {
      "id": "Provenance.agent:Palvelunjarjestaja.role.id",
      "max": "0",
      "path": "Provenance.agent.role.id"
    }, {
      "id": "Provenance.agent:Palvelunjarjestaja.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:Palvelunjarjestaja.role.coding.id",
      "max": "0",
      "path": "Provenance.agent.role.coding.id"
    }, {
      "id": "Provenance.agent:Palvelunjarjestaja.role.coding.system",
      "min": 1,
      "path": "Provenance.agent.role.coding.system",
      "fixedUri": "http://gen.kanta.fi/figen-cs-provenancerolecategory"
    }, {
      "id": "Provenance.agent:Palvelunjarjestaja.role.coding.version",
      "max": "0",
      "path": "Provenance.agent.role.coding.version"
    }, {
      "id": "Provenance.agent:Palvelunjarjestaja.role.coding.code",
      "min": 1,
      "path": "Provenance.agent.role.coding.code",
      "short": "Roolin koodiarvo",
      "fixedCode": "10",
      "definition": "Koodiarvo, joka kertoo toimijan roolin Provenance-resurssissa."
    }, {
      "id": "Provenance.agent:Palvelunjarjestaja.role.coding.display",
      "min": 1,
      "path": "Provenance.agent.role.coding.display"
    }, {
      "id": "Provenance.agent:Palvelunjarjestaja.role.coding.userSelected",
      "max": "0",
      "path": "Provenance.agent.role.coding.userSelected"
    }, {
      "id": "Provenance.agent:Palvelunjarjestaja.role.text",
      "max": "0",
      "path": "Provenance.agent.role.text"
    }, {
      "id": "Provenance.agent:Palvelunjarjestaja.who.id",
      "max": "0",
      "path": "Provenance.agent.who.id"
    }, {
      "id": "Provenance.agent:Palvelunjarjestaja.who.reference",
      "max": "0",
      "path": "Provenance.agent.who.reference"
    }, {
      "id": "Provenance.agent:Palvelunjarjestaja.who.type",
      "max": "0",
      "path": "Provenance.agent.who.type"
    }, {
      "id": "Provenance.agent:Palvelunjarjestaja.who.identifier",
      "min": 1,
      "path": "Provenance.agent.who.identifier",
      "short": "Palvelunjärjestäjän tunniste"
    }, {
      "id": "Provenance.agent:Palvelunjarjestaja.who.identifier.id",
      "max": "0",
      "path": "Provenance.agent.who.identifier.id"
    }, {
      "id": "Provenance.agent:Palvelunjarjestaja.who.identifier.use",
      "max": "0",
      "path": "Provenance.agent.who.identifier.use"
    }, {
      "id": "Provenance.agent:Palvelunjarjestaja.who.identifier.type",
      "max": "0",
      "path": "Provenance.agent.who.identifier.type"
    }, {
      "id": "Provenance.agent:Palvelunjarjestaja.who.identifier.system",
      "min": 1,
      "path": "Provenance.agent.who.identifier.system",
      "fixedUri": "urn:ietf:rfc:3986"
    }, {
      "id": "Provenance.agent:Palvelunjarjestaja.who.identifier.value",
      "min": 1,
      "path": "Provenance.agent.who.identifier.value",
      "short": "Palvelunjärjestäjän tunnus",
      "binding": {
        "strength": "required",
        "valueSet": "https://pta.kanta.fi/fhir/ValueSet/fipta-vs-organization"
      },
      "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:Palvelunjarjestaja.who.identifier.period",
      "max": "0",
      "path": "Provenance.agent.who.identifier.period"
    }, {
      "id": "Provenance.agent:Palvelunjarjestaja.who.identifier.assigner",
      "max": "0",
      "path": "Provenance.agent.who.identifier.assigner"
    }, {
      "id": "Provenance.agent:Palvelunjarjestaja.who.display",
      "min": 1,
      "path": "Provenance.agent.who.display",
      "short": "Organisaation nimi",
      "definition": "Organisaation nimi. \r\n\r\nNimen pitää vastata THL - SOTE-organisaatiorekisterissä (1.2.246.537.6.202.2008) tai  Valvira - Terveydenhuollon itsenäiset ammatinharjoittajat  -rekisterissä (1.2.246.537.6.203.2014) organisaatiotunnukselle annettua nimeä."
    }, {
      "id": "Provenance.agent:Palvelunjarjestaja.onBehalfOf",
      "max": "0",
      "path": "Provenance.agent.onBehalfOf"
    }, {
      "id": "Provenance.agent:Aktiivi_rekisterinpitaja",
      "max": "1",
      "path": "Provenance.agent",
      "short": "Aktiivi rekisterinpitäjä",
      "sliceName": "Aktiivi_rekisterinpitaja",
      "definition": "Potilastietovaranto lisää haun vastaussanomalle tiedon aktiivisesta rekisterinpitäjästä."
    }, {
      "id": "Provenance.agent:Aktiivi_rekisterinpitaja.id",
      "max": "0",
      "path": "Provenance.agent.id"
    }, {
      "id": "Provenance.agent:Aktiivi_rekisterinpitaja.type",
      "max": "0",
      "path": "Provenance.agent.type"
    }, {
      "id": "Provenance.agent:Aktiivi_rekisterinpitaja.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": "Ajanvarauksen rekisterinpidosta vastaava aktiivi rekisterinpitäjä"
    }, {
      "id": "Provenance.agent:Aktiivi_rekisterinpitaja.role.id",
      "max": "0",
      "path": "Provenance.agent.role.id"
    }, {
      "id": "Provenance.agent:Aktiivi_rekisterinpitaja.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:Aktiivi_rekisterinpitaja.role.coding.id",
      "max": "0",
      "path": "Provenance.agent.role.coding.id"
    }, {
      "id": "Provenance.agent:Aktiivi_rekisterinpitaja.role.coding.system",
      "min": 1,
      "path": "Provenance.agent.role.coding.system",
      "fixedUri": "http://gen.kanta.fi/figen-cs-provenancerolecategory"
    }, {
      "id": "Provenance.agent:Aktiivi_rekisterinpitaja.role.coding.version",
      "max": "0",
      "path": "Provenance.agent.role.coding.version"
    }, {
      "id": "Provenance.agent:Aktiivi_rekisterinpitaja.role.coding.code",
      "min": 1,
      "path": "Provenance.agent.role.coding.code",
      "short": "Roolin koodiarvo",
      "fixedCode": "11",
      "definition": "Koodiarvo, joka kertoo toimijan roolin Provenance-resurssissa."
    }, {
      "id": "Provenance.agent:Aktiivi_rekisterinpitaja.role.coding.display",
      "min": 1,
      "path": "Provenance.agent.role.coding.display"
    }, {
      "id": "Provenance.agent:Aktiivi_rekisterinpitaja.role.coding.userSelected",
      "max": "0",
      "path": "Provenance.agent.role.coding.userSelected"
    }, {
      "id": "Provenance.agent:Aktiivi_rekisterinpitaja.role.text",
      "max": "0",
      "path": "Provenance.agent.role.text"
    }, {
      "id": "Provenance.agent:Aktiivi_rekisterinpitaja.who.id",
      "max": "0",
      "path": "Provenance.agent.who.id"
    }, {
      "id": "Provenance.agent:Aktiivi_rekisterinpitaja.who.reference",
      "max": "0",
      "path": "Provenance.agent.who.reference",
      "short": "Viittaus käytettävään resurssiin"
    }, {
      "id": "Provenance.agent:Aktiivi_rekisterinpitaja.who.type",
      "max": "0",
      "path": "Provenance.agent.who.type"
    }, {
      "id": "Provenance.agent:Aktiivi_rekisterinpitaja.who.identifier",
      "min": 1,
      "path": "Provenance.agent.who.identifier"
    }, {
      "id": "Provenance.agent:Aktiivi_rekisterinpitaja.who.identifier.id",
      "max": "0",
      "path": "Provenance.agent.who.identifier.id"
    }, {
      "id": "Provenance.agent:Aktiivi_rekisterinpitaja.who.identifier.use",
      "max": "0",
      "path": "Provenance.agent.who.identifier.use"
    }, {
      "id": "Provenance.agent:Aktiivi_rekisterinpitaja.who.identifier.type",
      "max": "0",
      "path": "Provenance.agent.who.identifier.type"
    }, {
      "id": "Provenance.agent:Aktiivi_rekisterinpitaja.who.identifier.system",
      "min": 1,
      "path": "Provenance.agent.who.identifier.system",
      "fixedUri": "urn:ietf:rfc:3986"
    }, {
      "id": "Provenance.agent:Aktiivi_rekisterinpitaja.who.identifier.value",
      "min": 1,
      "path": "Provenance.agent.who.identifier.value",
      "short": "Rekisterinpitäjän tunnus",
      "definition": "Julkiset: eArkisto - Rekisterinpitäjärekisteristä - 1.2.246.537.6.40174.2008\r\n\r\nYksityiset: SOTE-organisaatiorekisteristä tai IAH-rekisteristä"
    }, {
      "id": "Provenance.agent:Aktiivi_rekisterinpitaja.who.identifier.period",
      "max": "0",
      "path": "Provenance.agent.who.identifier.period"
    }, {
      "id": "Provenance.agent:Aktiivi_rekisterinpitaja.who.identifier.assigner",
      "max": "0",
      "path": "Provenance.agent.who.identifier.assigner"
    }, {
      "id": "Provenance.agent:Aktiivi_rekisterinpitaja.who.display",
      "min": 1,
      "path": "Provenance.agent.who.display"
    }, {
      "id": "Provenance.agent:Aktiivi_rekisterinpitaja.onBehalfOf",
      "max": "0",
      "path": "Provenance.agent.onBehalfOf"
    }, {
      "id": "Provenance.agent:Ohjelmisto",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent",
      "short": "Tiedot tuottanut ohjelmisto",
      "sliceName": "Ohjelmisto",
      "definition": "Ajanvarausasiakirjan tuottaneen ohjelmiston tiedot."
    }, {
      "id": "Provenance.agent:Ohjelmisto.type",
      "max": "0",
      "path": "Provenance.agent.type"
    }, {
      "id": "Provenance.agent:Ohjelmisto.role",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent.role",
      "binding": {
        "strength": "required",
        "valueSet": "http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory"
      }
    }, {
      "id": "Provenance.agent:Ohjelmisto.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:Ohjelmisto.role.coding.system",
      "min": 1,
      "path": "Provenance.agent.role.coding.system",
      "fixedUri": "http://gen.kanta.fi/figen-cs-provenancerolecategory"
    }, {
      "id": "Provenance.agent:Ohjelmisto.role.coding.version",
      "max": "0",
      "path": "Provenance.agent.role.coding.version"
    }, {
      "id": "Provenance.agent:Ohjelmisto.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:Ohjelmisto.role.coding.display",
      "min": 1,
      "path": "Provenance.agent.role.coding.display"
    }, {
      "id": "Provenance.agent:Ohjelmisto.role.coding.userSelected",
      "max": "0",
      "path": "Provenance.agent.role.coding.userSelected"
    }, {
      "id": "Provenance.agent:Ohjelmisto.role.text",
      "max": "0",
      "path": "Provenance.agent.role.text"
    }, {
      "id": "Provenance.agent:Ohjelmisto.who",
      "path": "Provenance.agent.who",
      "type": [ {
        "code": "Reference",
        "aggregation": [ "contained" ],
        "targetProfile": [ "https://gen.kanta.fi/fhir/StructureDefinition/KantaDevice" ]
      } ]
    }, {
      "id": "Provenance.agent:Ohjelmisto.who.reference",
      "min": 1,
      "path": "Provenance.agent.who.reference",
      "short": "Viittaus käytettävään resurssiin"
    }, {
      "id": "Provenance.agent:Ohjelmisto.who.type",
      "max": "0",
      "path": "Provenance.agent.who.type"
    }, {
      "id": "Provenance.agent:Ohjelmisto.who.identifier",
      "max": "0",
      "path": "Provenance.agent.who.identifier"
    }, {
      "id": "Provenance.agent:Ohjelmisto.who.display",
      "max": "0",
      "path": "Provenance.agent.who.display"
    }, {
      "id": "Provenance.agent:Ohjelmisto.onBehalfOf",
      "max": "0",
      "path": "Provenance.agent.onBehalfOf"
    }, {
      "id": "Provenance.agent:Patient",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent",
      "short": "Potilas",
      "sliceName": "Patient",
      "definition": "Potilaan tiedot."
    }, {
      "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,
      "path": "Provenance.agent.role",
      "short": "Potilas",
      "binding": {
        "strength": "required",
        "valueSet": "http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory"
      },
      "definition": "Potilas, jota ajanvaraus koskee."
    }, {
      "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",
      "short": "Kanta Provenance Role Category",
      "definition": "Koodiston arvoilla ilmoitetaan, mikä on toimijan rooli Provenance-resurssissa."
    }, {
      "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",
      "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"
    }, {
      "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://pta.kanta.fi/fhir/StructureDefinition/AppointmentPatient" ]
      } ]
    }, {
      "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:AppointmentBookerPatient",
      "max": "1",
      "path": "Provenance.agent",
      "short": "Ajavaraustoimenpiteen tekijä",
      "comment": "Täytetään, kun potilas on ajanvaraustoimenpiteen tekijä.",
      "sliceName": "AppointmentBookerPatient",
      "definition": "Ajanvarauksen voi tehdä asiakas, asiakkaan puolesta-asioija, ammattilainen tai ohjelmisto."
    }, {
      "id": "Provenance.agent:AppointmentBookerPatient.id",
      "max": "0",
      "path": "Provenance.agent.id"
    }, {
      "id": "Provenance.agent:AppointmentBookerPatient.type",
      "max": "0",
      "path": "Provenance.agent.type"
    }, {
      "id": "Provenance.agent:AppointmentBookerPatient.role",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent.role",
      "short": "Ajanvarauksen tallentanut potilas",
      "binding": {
        "strength": "required",
        "valueSet": "http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory"
      },
      "definition": "Ajanvarauksen tallentanut potilas."
    }, {
      "id": "Provenance.agent:AppointmentBookerPatient.role.id",
      "max": "0",
      "path": "Provenance.agent.role.id"
    }, {
      "id": "Provenance.agent:AppointmentBookerPatient.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:AppointmentBookerPatient.role.coding.id",
      "max": "0",
      "path": "Provenance.agent.role.coding.id"
    }, {
      "id": "Provenance.agent:AppointmentBookerPatient.role.coding.system",
      "min": 1,
      "path": "Provenance.agent.role.coding.system",
      "fixedUri": "http://gen.kanta.fi/figen-cs-provenancerolecategory"
    }, {
      "id": "Provenance.agent:AppointmentBookerPatient.role.coding.version",
      "max": "0",
      "path": "Provenance.agent.role.coding.version"
    }, {
      "id": "Provenance.agent:AppointmentBookerPatient.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:AppointmentBookerPatient.role.coding.display",
      "min": 1,
      "path": "Provenance.agent.role.coding.display"
    }, {
      "id": "Provenance.agent:AppointmentBookerPatient.role.coding.userSelected",
      "max": "0",
      "path": "Provenance.agent.role.coding.userSelected"
    }, {
      "id": "Provenance.agent:AppointmentBookerPatient.role.text",
      "max": "0",
      "path": "Provenance.agent.role.text"
    }, {
      "id": "Provenance.agent:AppointmentBookerPatient.who",
      "path": "Provenance.agent.who",
      "type": [ {
        "code": "Reference",
        "aggregation": [ "contained" ],
        "targetProfile": [ "https://pta.kanta.fi/fhir/StructureDefinition/AppointmentBookerPatient" ]
      } ]
    }, {
      "id": "Provenance.agent:AppointmentBookerPatient.who.reference",
      "min": 1,
      "path": "Provenance.agent.who.reference",
      "short": "Viittaus käytettävään resurssiin"
    }, {
      "id": "Provenance.agent:AppointmentBookerPatient.who.type",
      "max": "0",
      "path": "Provenance.agent.who.type"
    }, {
      "id": "Provenance.agent:AppointmentBookerPatient.who.identifier",
      "max": "0",
      "path": "Provenance.agent.who.identifier"
    }, {
      "id": "Provenance.agent:AppointmentBookerPatient.who.display",
      "max": "0",
      "path": "Provenance.agent.who.display"
    }, {
      "id": "Provenance.agent:AppointmentBookerPatient.onBehalfOf",
      "max": "0",
      "path": "Provenance.agent.onBehalfOf"
    }, {
      "id": "Provenance.agent:AppointmentBookerOnBehalfOf",
      "max": "1",
      "path": "Provenance.agent",
      "short": "Ajavaraustoimenpiteen tekijä",
      "comment": "Täytetään, kun puolesta-asioija on ajanvaraustoimenpiteen tekijä.",
      "sliceName": "AppointmentBookerOnBehalfOf",
      "definition": "Ajanvarauksen voi tehdä asiakas, asiakkaan puolesta-asioija, ammattilainen tai ohjelmisto."
    }, {
      "id": "Provenance.agent:AppointmentBookerOnBehalfOf.id",
      "max": "0",
      "path": "Provenance.agent.id"
    }, {
      "id": "Provenance.agent:AppointmentBookerOnBehalfOf.type",
      "max": "0",
      "path": "Provenance.agent.type"
    }, {
      "id": "Provenance.agent:AppointmentBookerOnBehalfOf.role",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent.role",
      "short": "Ajanvarauksen tallentanut puolesta-asioija",
      "binding": {
        "strength": "required",
        "valueSet": "http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory"
      },
      "definition": "Ajanvarauksen tallentanut puolesta-asioija."
    }, {
      "id": "Provenance.agent:AppointmentBookerOnBehalfOf.role.id",
      "max": "0",
      "path": "Provenance.agent.role.id"
    }, {
      "id": "Provenance.agent:AppointmentBookerOnBehalfOf.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:AppointmentBookerOnBehalfOf.role.coding.id",
      "max": "0",
      "path": "Provenance.agent.role.coding.id"
    }, {
      "id": "Provenance.agent:AppointmentBookerOnBehalfOf.role.coding.system",
      "min": 1,
      "path": "Provenance.agent.role.coding.system",
      "fixedUri": "http://gen.kanta.fi/figen-cs-provenancerolecategory"
    }, {
      "id": "Provenance.agent:AppointmentBookerOnBehalfOf.role.coding.version",
      "max": "0",
      "path": "Provenance.agent.role.coding.version"
    }, {
      "id": "Provenance.agent:AppointmentBookerOnBehalfOf.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:AppointmentBookerOnBehalfOf.role.coding.display",
      "min": 1,
      "path": "Provenance.agent.role.coding.display"
    }, {
      "id": "Provenance.agent:AppointmentBookerOnBehalfOf.role.coding.userSelected",
      "max": "0",
      "path": "Provenance.agent.role.coding.userSelected"
    }, {
      "id": "Provenance.agent:AppointmentBookerOnBehalfOf.role.text",
      "max": "0",
      "path": "Provenance.agent.role.text"
    }, {
      "id": "Provenance.agent:AppointmentBookerOnBehalfOf.who",
      "path": "Provenance.agent.who",
      "type": [ {
        "code": "Reference",
        "aggregation": [ "contained" ],
        "targetProfile": [ "https://pta.kanta.fi/fhir/StructureDefinition/AppointmentBookerOnBehalfOf" ]
      } ]
    }, {
      "id": "Provenance.agent:AppointmentBookerOnBehalfOf.who.reference",
      "min": 1,
      "path": "Provenance.agent.who.reference",
      "short": "Viittaus käytettävään resurssiin"
    }, {
      "id": "Provenance.agent:AppointmentBookerOnBehalfOf.who.type",
      "max": "0",
      "path": "Provenance.agent.who.type"
    }, {
      "id": "Provenance.agent:AppointmentBookerOnBehalfOf.who.identifier",
      "max": "0",
      "path": "Provenance.agent.who.identifier"
    }, {
      "id": "Provenance.agent:AppointmentBookerOnBehalfOf.who.display",
      "max": "0",
      "path": "Provenance.agent.who.display"
    }, {
      "id": "Provenance.agent:AppointmentBookerOnBehalfOf.onBehalfOf",
      "max": "0",
      "path": "Provenance.agent.onBehalfOf"
    }, {
      "id": "Provenance.agent:AppointmentBookerPractioner",
      "max": "1",
      "path": "Provenance.agent",
      "short": "Ajavaraustoimenpiteen tekijä",
      "comment": "Täytetään, kun ajanvaraustoimenpiteen tekee ammattilainen.",
      "sliceName": "AppointmentBookerPractioner",
      "definition": "Ajanvarauksen voi tehdä asiakas, asiakkaan puolesta-asioija, ammattilainen tai ohjelmisto."
    }, {
      "id": "Provenance.agent:AppointmentBookerPractioner.id",
      "max": "0",
      "path": "Provenance.agent.id"
    }, {
      "id": "Provenance.agent:AppointmentBookerPractioner.type",
      "max": "0",
      "path": "Provenance.agent.type"
    }, {
      "id": "Provenance.agent:AppointmentBookerPractioner.role",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent.role",
      "short": "Ajanvarauksen tallentanut ammattilainen",
      "binding": {
        "strength": "required",
        "valueSet": "http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory"
      },
      "definition": "Ajanvarauksen tallentanut ammattilainen."
    }, {
      "id": "Provenance.agent:AppointmentBookerPractioner.role.id",
      "max": "0",
      "path": "Provenance.agent.role.id"
    }, {
      "id": "Provenance.agent:AppointmentBookerPractioner.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:AppointmentBookerPractioner.role.coding.id",
      "max": "0",
      "path": "Provenance.agent.role.coding.id"
    }, {
      "id": "Provenance.agent:AppointmentBookerPractioner.role.coding.system",
      "min": 1,
      "path": "Provenance.agent.role.coding.system",
      "fixedUri": "http://gen.kanta.fi/figen-cs-provenancerolecategory"
    }, {
      "id": "Provenance.agent:AppointmentBookerPractioner.role.coding.version",
      "max": "0",
      "path": "Provenance.agent.role.coding.version"
    }, {
      "id": "Provenance.agent:AppointmentBookerPractioner.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:AppointmentBookerPractioner.role.coding.display",
      "min": 1,
      "path": "Provenance.agent.role.coding.display"
    }, {
      "id": "Provenance.agent:AppointmentBookerPractioner.role.coding.userSelected",
      "max": "0",
      "path": "Provenance.agent.role.coding.userSelected"
    }, {
      "id": "Provenance.agent:AppointmentBookerPractioner.role.text",
      "max": "0",
      "path": "Provenance.agent.role.text"
    }, {
      "id": "Provenance.agent:AppointmentBookerPractioner.who",
      "path": "Provenance.agent.who",
      "type": [ {
        "code": "Reference",
        "aggregation": [ "contained" ],
        "targetProfile": [ "https://pta.kanta.fi/fhir/StructureDefinition/AppointmentPractitioner" ]
      } ]
    }, {
      "id": "Provenance.agent:AppointmentBookerPractioner.who.reference",
      "min": 1,
      "path": "Provenance.agent.who.reference",
      "short": "Viittaus käytettävään resurssiin"
    }, {
      "id": "Provenance.agent:AppointmentBookerPractioner.who.type",
      "max": "0",
      "path": "Provenance.agent.who.type"
    }, {
      "id": "Provenance.agent:AppointmentBookerPractioner.who.identifier",
      "max": "0",
      "path": "Provenance.agent.who.identifier"
    }, {
      "id": "Provenance.agent:AppointmentBookerPractioner.who.display",
      "max": "0",
      "path": "Provenance.agent.who.display"
    }, {
      "id": "Provenance.agent:AppointmentBookerPractioner.onBehalfOf",
      "max": "0",
      "path": "Provenance.agent.onBehalfOf"
    }, {
      "id": "Provenance.agent:AppointmentBookerDevice",
      "max": "1",
      "path": "Provenance.agent",
      "short": "Ajavaraustoimenpiteen tekijä",
      "comment": "Täytetään, kun ajanvaraustoimenpiteen tekee ohjelmisto.",
      "sliceName": "AppointmentBookerDevice",
      "definition": "Ajanvarauksen voi tehdä asiakas, asiakkaan puolesta-asioija, ammattilainen tai ohjelmisto."
    }, {
      "id": "Provenance.agent:AppointmentBookerDevice.id",
      "max": "0",
      "path": "Provenance.agent.id"
    }, {
      "id": "Provenance.agent:AppointmentBookerDevice.type",
      "max": "0",
      "path": "Provenance.agent.type"
    }, {
      "id": "Provenance.agent:AppointmentBookerDevice.role",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent.role",
      "short": "Ajanvarauksen tallentanut ohjelmisto",
      "binding": {
        "strength": "required",
        "valueSet": "http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory"
      },
      "definition": "Ajanvarauksen tallentanut ohjelmisto."
    }, {
      "id": "Provenance.agent:AppointmentBookerDevice.role.id",
      "max": "0",
      "path": "Provenance.agent.role.id"
    }, {
      "id": "Provenance.agent:AppointmentBookerDevice.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:AppointmentBookerDevice.role.coding.id",
      "max": "0",
      "path": "Provenance.agent.role.coding.id"
    }, {
      "id": "Provenance.agent:AppointmentBookerDevice.role.coding.system",
      "min": 1,
      "path": "Provenance.agent.role.coding.system",
      "fixedUri": "http://gen.kanta.fi/figen-cs-provenancerolecategory"
    }, {
      "id": "Provenance.agent:AppointmentBookerDevice.role.coding.version",
      "max": "0",
      "path": "Provenance.agent.role.coding.version"
    }, {
      "id": "Provenance.agent:AppointmentBookerDevice.role.coding.code",
      "min": 1,
      "path": "Provenance.agent.role.coding.code",
      "short": "Roolin koodiarvo",
      "fixedCode": "6",
      "definition": "Koodiarvo, joka kertoo toimijan roolin Provenance-resurssissa."
    }, {
      "id": "Provenance.agent:AppointmentBookerDevice.role.coding.display",
      "min": 1,
      "path": "Provenance.agent.role.coding.display"
    }, {
      "id": "Provenance.agent:AppointmentBookerDevice.role.coding.userSelected",
      "max": "0",
      "path": "Provenance.agent.role.coding.userSelected"
    }, {
      "id": "Provenance.agent:AppointmentBookerDevice.role.text",
      "max": "0",
      "path": "Provenance.agent.role.text"
    }, {
      "id": "Provenance.agent:AppointmentBookerDevice.who",
      "path": "Provenance.agent.who",
      "type": [ {
        "code": "Reference",
        "aggregation": [ "contained" ],
        "targetProfile": [ "https://gen.kanta.fi/fhir/StructureDefinition/KantaDevice" ]
      } ]
    }, {
      "id": "Provenance.agent:AppointmentBookerDevice.who.reference",
      "min": 1,
      "path": "Provenance.agent.who.reference",
      "short": "Viittaus käytettävään resurssiin"
    }, {
      "id": "Provenance.agent:AppointmentBookerDevice.who.type",
      "max": "0",
      "path": "Provenance.agent.who.type"
    }, {
      "id": "Provenance.agent:AppointmentBookerDevice.who.identifier",
      "max": "0",
      "path": "Provenance.agent.who.identifier"
    }, {
      "id": "Provenance.agent:AppointmentBookerDevice.who.display",
      "max": "0",
      "path": "Provenance.agent.who.display"
    }, {
      "id": "Provenance.agent:AppointmentBookerDevice.onBehalfOf",
      "max": "0",
      "path": "Provenance.agent.onBehalfOf"
    }, {
      "id": "Provenance.entity",
      "max": "0",
      "path": "Provenance.entity"
    }, {
      "id": "Provenance.signature",
      "max": "0",
      "path": "Provenance.signature",
      "short": "Sähköiset allekirjoitukset"
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Provenance"
}