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

FHIR IG analytics

Packagefi.kela.kanta.gen.r4.toimintakyky
Resource TypeStructureDefinition
IdSocialWelfareProvenance.StructureDefinition.json
FHIR VersionR4
Sourcehttps://simplifier.net/resolve?scope=fi.kela.kanta.gen.r4.toimintakyky@1.0.0-rc4&canonical=https://shark.kanta.fi/fhir/StructureDefinition/SocialWelfareProvenance
URLhttps://shark.kanta.fi/fhir/StructureDefinition/SocialWelfareProvenance
Version1.1.0
Statusdraft
Date2025-11-17
NameSocialWelfareProvenance
TitleSocial Welfare Provenance
DescriptionSosiaalihuollon asiakastietovarantoon tallennettavat FHIR-asiakirjojen metatiedot sekä näiden pakollisuudet ja käyttö.
TypeProvenance
Kindresource

Resources that use this resource

No resources found


Resources that this resource uses

StructureDefinition
KantaDeviceKantaDevice
KantaOrganizationKanta Organization
KantaPatientV2Kanta Patient version 2 Profile
KantaPractitionerV2Kanta Practitioner version 2 Profile
RegisterTypeKanta Services Register Type extension
serviceEventKanta Service Event extension
DocumentTypeSocial Welfare Document Type extension
FunctionCodeSocial Welfare Function Code extension
ProvenanceAuthorizationConsentSocial Welfare Provenance Authorization Consent extension
ProvenanceReleaseForPatientViewingSocial Welfare Provenance Release For Patient Viewing extension
ProvenanceSpecialContentSocial Welfare Provenance Special Content extension
RelatedEncompassingEncounterIdRelated Encompassing Encounter Id extension
ServiceProcessSocial Welfare Service Process extension
SocialServiceSocial Welfare Social Service extension
SpecificDocumentTypeSocial Welfare Specific Document Type extension
ValueSet
figen-vs-provenancerolecategoryValue Set Kanta Provenance Role Category

Narrative

No narrative content found in resource


Source1

{
  "resourceType": "StructureDefinition",
  "url": "https://shark.kanta.fi/fhir/StructureDefinition/SocialWelfareProvenance",
  "version": "1.1.0",
  "name": "SocialWelfareProvenance",
  "title": "Social Welfare Provenance",
  "status": "draft",
  "date": "2025-11-17",
  "publisher": "Kela",
  "description": "Sosiaalihuollon asiakastietovarantoon tallennettavat FHIR-asiakirjojen metatiedot sekä näiden pakollisuudet ja käyttö.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Provenance",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Provenance",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Provenance",
        "path": "Provenance",
        "short": "Sosiaalihuolto, asiakirjan metatiedot",
        "definition": "SocialWelfareProvenance -profiili sisältää sosiaalihuollon asiakirjan metatiedot"
      },
      {
        "id": "Provenance.id",
        "path": "Provenance.id",
        "short": "yksilöivä tunnus",
        "definition": "Yksilöivä tunnus, joka on voimassa tiedonsiirron ajan",
        "min": 1
      },
      {
        "id": "Provenance.meta",
        "path": "Provenance.meta"
      },
      {
        "id": "Provenance.meta.profile",
        "path": "Provenance.meta.profile",
        "min": 1,
        "max": "1",
        "fixedCanonical": "https://shark.kanta.fi/fhir/StructureDefinition/SocialWelfareProvenance"
      },
      {
        "id": "Provenance.language",
        "path": "Provenance.language",
        "short": "Asiakirjan kieli",
        "min": 1
      },
      {
        "id": "Provenance.extension",
        "path": "Provenance.extension",
        "min": 7
      },
      {
        "id": "Provenance.extension:provenanceSpecialContent",
        "path": "Provenance.extension",
        "sliceName": "provenanceSpecialContent",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://shark.kanta.fi/fhir/StructureDefinition/extension/ProvenanceSpecialContent"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Provenance.extension:provenanceSpecialContent.extension:ProvenanceSpecialContent",
        "path": "Provenance.extension.extension",
        "sliceName": "ProvenanceSpecialContent"
      },
      {
        "id": "Provenance.extension:provenanceSpecialContent.extension:ProvenanceSpecialContent.value[x]",
        "path": "Provenance.extension.extension.value[x]",
        "short": "Erityissisältö -ilmaisin",
        "definition": "Erityissisältö -tiedon arvot\r\nK = Asiakirja sisältää tietoja, joita ei näytetä asiakkaalle tai OmaKannassa\r\nE = Asiakirja näytetään asiakkaalle ja OmaKannassa"
      },
      {
        "id": "Provenance.extension:provenanceSpecialContent.extension:ReasonForRestriction",
        "path": "Provenance.extension.extension",
        "sliceName": "ReasonForRestriction",
        "short": "Perustelu erityisisisältötiedon asettamiselle",
        "definition": "Tieto annetaan, kun SpecialContent = K (muilla kuin\r\npysyvästi OmaKannasta rajatuilla asiakirjoilla)"
      },
      {
        "id": "Provenance.extension:provenanceSpecialContent.extension:ReasonForRestriction.value[x].system",
        "path": "Provenance.extension.extension.value[x].system",
        "short": "Luokituksen yksilöintitunnus",
        "definition": "Sosiaalihuolto - Perustelut asiakirjan näyttämisen rajaamiselle Omakannassa\r\n1.2.246.537.6.1288.201901"
      },
      {
        "id": "Provenance.extension:provenanceSpecialContent.extension:ReasonForRestriction.value[x].code",
        "path": "Provenance.extension.extension.value[x].code",
        "short": "Perusteen koodiarvo",
        "definition": "Peruste ilmoitetaan luokituksella Sosiaalihuolto - Perustelut asiakirjan näyttämisen rajaamiselle Omakannassa (1.2.246.537.6.1288.201901)."
      },
      {
        "id": "Provenance.extension:provenanceSpecialContent.extension:ReasonForRestriction.value[x].display",
        "path": "Provenance.extension.extension.value[x].display",
        "short": "Asetettu perustelu tekstinä"
      },
      {
        "id": "Provenance.extension:provenanceReleaseForPatientViewing",
        "path": "Provenance.extension",
        "sliceName": "provenanceReleaseForPatientViewing",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://shark.kanta.fi/fhir/StructureDefinition/extension/ProvenanceReleaseForPatientViewing"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Provenance.extension:provenanceReleaseForPatientViewing.extension:ReleaseDateForPatientViewing",
        "path": "Provenance.extension.extension",
        "sliceName": "ReleaseDateForPatientViewing"
      },
      {
        "id": "Provenance.extension:provenanceReleaseForPatientViewing.extension:ReleaseDateForPatientViewing.value[x]",
        "path": "Provenance.extension.extension.value[x]",
        "short": "Viivästämisen päättymispvm",
        "definition": "Viivästämisen päättymispäivä on ajankohta, josta alkaen asiakirja näytetään OmaKannassa"
      },
      {
        "id": "Provenance.extension:provenanceReleaseForPatientViewing.extension:ReasonForRestriction",
        "path": "Provenance.extension.extension",
        "sliceName": "ReasonForRestriction",
        "definition": "Tieto annetaan, kun asiakirja on viivästetty"
      },
      {
        "id": "Provenance.extension:provenanceReleaseForPatientViewing.extension:ReasonForRestriction.value[x]",
        "path": "Provenance.extension.extension.value[x]",
        "short": "Viivästämisen perustelu"
      },
      {
        "id": "Provenance.extension:provenanceReleaseForPatientViewing.extension:ReasonForRestriction.value[x].system",
        "path": "Provenance.extension.extension.value[x].system",
        "short": "Luokituksen yksilöintitunnus",
        "definition": "Sosiaalihuolto - Perustelut asiakirjan näyttämisen rajaamiselle Omakannassa\r\n1.2.246.537.6.1288.201901"
      },
      {
        "id": "Provenance.extension:provenanceReleaseForPatientViewing.extension:ReasonForRestriction.value[x].code",
        "path": "Provenance.extension.extension.value[x].code",
        "short": "Viivästämisen perusteen koodiarvo",
        "definition": "Peruste ilmoitetaan luokituksella Sosiaalihuolto - Perustelut asiakirjan näyttämisen rajaamiselle Omakannassa (1.2.246.537.6.1288.201901)."
      },
      {
        "id": "Provenance.extension:provenanceReleaseForPatientViewing.extension:ReasonForRestriction.value[x].display",
        "path": "Provenance.extension.extension.value[x].display",
        "short": "Perustelu tekstimuodossa",
        "definition": "Kuvauksen on vastattava annettua koodiarvoa."
      },
      {
        "id": "Provenance.extension:provenanceAuthorizationConsent",
        "path": "Provenance.extension",
        "sliceName": "provenanceAuthorizationConsent",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://shark.kanta.fi/fhir/StructureDefinition/extension/ProvenanceAuthorizationConsent"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Provenance.extension:serviceEvent",
        "path": "Provenance.extension",
        "sliceName": "serviceEvent",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://gen.kanta.fi/fhir/StructureDefinition/extension/serviceEvent"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Provenance.extension:relatedEncompassingEncounterId",
        "path": "Provenance.extension",
        "sliceName": "relatedEncompassingEncounterId",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://shark.kanta.fi/fhir/StructureDefinition/extension/RelatedEncompassingEncounterId"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Provenance.extension:documentType",
        "path": "Provenance.extension",
        "sliceName": "documentType",
        "definition": "Laajennoksella ilmoitetaan asiakirjan yleinen asiakirjatyyppi. Laajennos on pakollinen asiakasasiakirjoilla.",
        "min": 1,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://shark.kanta.fi/fhir/StructureDefinition/extension/DocumentType"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Provenance.extension:functionCode",
        "path": "Provenance.extension",
        "sliceName": "functionCode",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://shark.kanta.fi/fhir/StructureDefinition/extension/FunctionCode"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Provenance.extension:specificDocumentType",
        "path": "Provenance.extension",
        "sliceName": "specificDocumentType",
        "min": 1,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://shark.kanta.fi/fhir/StructureDefinition/extension/SpecificDocumentType"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Provenance.extension:specificDocumentType.value[x].system",
        "path": "Provenance.extension.value[x].system",
        "short": "Luokituksen oid-tunniste",
        "definition": "Asiakasasiakirjatyyppi ilmoitetaan luokituksella Sosiaalihuolto- Asiakasasiakirjatyyppi (1.2.246.537.6.1506.201701)."
      },
      {
        "id": "Provenance.extension:serviceProcess",
        "path": "Provenance.extension",
        "sliceName": "serviceProcess",
        "min": 1,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://shark.kanta.fi/fhir/StructureDefinition/extension/ServiceProcess"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Provenance.extension:serviceProcess.value[x]",
        "path": "Provenance.extension.value[x]",
        "short": "Asiakirjan palveluprosessi"
      },
      {
        "id": "Provenance.extension:serviceProcess.value[x].system",
        "path": "Provenance.extension.value[x].system",
        "short": "Luokituksen yksilöintitunnus",
        "definition": "Sosiaalihuollon palveluprosessi ilmoitetaan luokituksella Sosiaalihuolto - Sosiaalihuollon palveluprosessi 1.2.246.537.6.1277.201701"
      },
      {
        "id": "Provenance.extension:serviceProcess.value[x].code",
        "path": "Provenance.extension.value[x].code",
        "short": "Palveluprosessi koodiarvona",
        "definition": "Sosiaalihuollon luokiteltu palveluprosessin nimike (esim. asian vireilletulokäsittely)"
      },
      {
        "id": "Provenance.extension:socialService",
        "path": "Provenance.extension",
        "sliceName": "socialService",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://shark.kanta.fi/fhir/StructureDefinition/extension/SocialService"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Provenance.extension:registerType",
        "path": "Provenance.extension",
        "sliceName": "registerType",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://gen.kanta.fi/fhir/StructureDefinition/extension/RegisterType"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Provenance.target",
        "path": "Provenance.target",
        "short": "Resurssi, johon SocialWelfareProvenance liittyy"
      },
      {
        "id": "Provenance.target.reference",
        "path": "Provenance.target.reference",
        "short": "Pääresurssin yksilöivä tunnus",
        "definition": "Viittaus sen pääresurssin yksilöivään tunnukseen, johon Provenance-resurssi liittyy.",
        "min": 1
      },
      {
        "id": "Provenance.target.display",
        "path": "Provenance.target.display",
        "short": "Asiakirjan nimi",
        "min": 1
      },
      {
        "id": "Provenance.recorded",
        "path": "Provenance.recorded",
        "short": "Laatimisaika",
        "definition": "Ajankohta, jolloin asiakirja on valmistunut eikä siihen tehdä enää muutoksia. ."
      },
      {
        "id": "Provenance.policy",
        "path": "Provenance.policy",
        "max": "0"
      },
      {
        "id": "Provenance.location",
        "path": "Provenance.location",
        "definition": "Where the activity occurred, if relevant.\r\nVoisiko tässä ilmoittaa palveluyksikön ??",
        "max": "0"
      },
      {
        "id": "Provenance.reason",
        "path": "Provenance.reason",
        "max": "0"
      },
      {
        "id": "Provenance.activity",
        "path": "Provenance.activity",
        "max": "0"
      },
      {
        "id": "Provenance.agent",
        "path": "Provenance.agent",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "role.coding.code"
            }
          ],
          "rules": "closed"
        },
        "min": 3
      },
      {
        "id": "Provenance.agent.type.coding",
        "path": "Provenance.agent.type.coding",
        "min": 1
      },
      {
        "id": "Provenance.agent.role",
        "path": "Provenance.agent.role",
        "min": 1,
        "max": "1",
        "binding": {
          "strength": "required",
          "valueSet": "http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory"
        }
      },
      {
        "id": "Provenance.agent.role.coding",
        "path": "Provenance.agent.role.coding",
        "short": "Kanta Provenance Role Category"
      },
      {
        "id": "Provenance.agent.who",
        "path": "Provenance.agent.who",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://gen.kanta.fi/fhir/StructureDefinition/KantaDevice",
              "https://gen.kanta.fi/fhir/StructureDefinition/KantaOrganization",
              "https://gen.kanta.fi/fhir/StructureDefinition/KantaPatientV2",
              "https://gen.kanta.fi/fhir/StructureDefinition/KantaPractitionerV2"
            ],
            "aggregation": [
              "contained"
            ]
          }
        ]
      },
      {
        "id": "Provenance.agent:Custodian",
        "path": "Provenance.agent",
        "sliceName": "Custodian",
        "short": "Rekisterinpitäjä",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Provenance.agent:Custodian.role",
        "path": "Provenance.agent.role",
        "short": "Asiakirjan rekisterinpitäjä",
        "definition": "Sosiaalihuollon rekisterinpitäjä, jonka rekisteriin asiakirja tallennetaan.",
        "min": 1,
        "max": "1",
        "binding": {
          "strength": "required",
          "valueSet": "http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory"
        }
      },
      {
        "id": "Provenance.agent:Custodian.role.coding",
        "path": "Provenance.agent.role.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Provenance.agent:Custodian.role.coding.system",
        "path": "Provenance.agent.role.coding.system",
        "min": 1,
        "fixedUri": "http://gen.kanta.fi/figen-cs-provenancerolecategory"
      },
      {
        "id": "Provenance.agent:Custodian.role.coding.version",
        "path": "Provenance.agent.role.coding.version",
        "max": "0"
      },
      {
        "id": "Provenance.agent:Custodian.role.coding.code",
        "path": "Provenance.agent.role.coding.code",
        "short": "Roolin koodiarvo",
        "min": 1,
        "fixedCode": "1"
      },
      {
        "id": "Provenance.agent:Custodian.role.coding.display",
        "path": "Provenance.agent.role.coding.display",
        "short": "Resurssin rekisterinpitäjä",
        "definition": "Rekisterinpitäjä, jonka rekisteriin asiakirja tallennetaan.",
        "min": 1
      },
      {
        "id": "Provenance.agent:Custodian.who",
        "path": "Provenance.agent.who",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://gen.kanta.fi/fhir/StructureDefinition/KantaOrganization"
            ],
            "aggregation": [
              "contained"
            ]
          }
        ]
      },
      {
        "id": "Provenance.agent:Custodian.who.reference",
        "path": "Provenance.agent.who.reference",
        "min": 1
      },
      {
        "id": "Provenance.agent:Practitioner",
        "path": "Provenance.agent",
        "sliceName": "Practitioner",
        "short": "Ammattihenkilö",
        "definition": "Asiakirjan tallentanut ammattihenkilö",
        "max": "1"
      },
      {
        "id": "Provenance.agent:Practitioner.role",
        "path": "Provenance.agent.role",
        "short": "Ammattihenkilö",
        "definition": "Asiakirjan tallentanut ammattihenkilö",
        "min": 1,
        "max": "1",
        "binding": {
          "strength": "required",
          "valueSet": "http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory"
        }
      },
      {
        "id": "Provenance.agent:Practitioner.role.id",
        "path": "Provenance.agent.role.id",
        "max": "0"
      },
      {
        "id": "Provenance.agent:Practitioner.role.coding",
        "path": "Provenance.agent.role.coding",
        "short": "Kanta Provenance Role Category",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Provenance.agent:Practitioner.role.coding.system",
        "path": "Provenance.agent.role.coding.system",
        "min": 1,
        "fixedUri": "http://gen.kanta.fi/figen-cs-provenancerolecategory"
      },
      {
        "id": "Provenance.agent:Practitioner.role.coding.version",
        "path": "Provenance.agent.role.coding.version",
        "max": "0"
      },
      {
        "id": "Provenance.agent:Practitioner.role.coding.code",
        "path": "Provenance.agent.role.coding.code",
        "short": "Roolin koodiarvo",
        "min": 1,
        "fixedCode": "2"
      },
      {
        "id": "Provenance.agent:Practitioner.role.coding.display",
        "path": "Provenance.agent.role.coding.display",
        "short": "Resurssin tallentanut ammattihenkilö",
        "min": 1
      },
      {
        "id": "Provenance.agent:Practitioner.role.text",
        "path": "Provenance.agent.role.text",
        "max": "0"
      },
      {
        "id": "Provenance.agent:Practitioner.who",
        "path": "Provenance.agent.who",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://gen.kanta.fi/fhir/StructureDefinition/KantaPractitionerV2"
            ],
            "aggregation": [
              "contained"
            ]
          }
        ]
      },
      {
        "id": "Provenance.agent:Practitioner.who.id",
        "path": "Provenance.agent.who.id",
        "max": "0"
      },
      {
        "id": "Provenance.agent:Practitioner.who.reference",
        "path": "Provenance.agent.who.reference",
        "short": "Viittaus käytettävään rersurssiin",
        "min": 1
      },
      {
        "id": "Provenance.agent:Practitioner.who.type",
        "path": "Provenance.agent.who.type",
        "max": "0"
      },
      {
        "id": "Provenance.agent:Practitioner.who.identifier",
        "path": "Provenance.agent.who.identifier",
        "max": "0"
      },
      {
        "id": "Provenance.agent:Practitioner.who.display",
        "path": "Provenance.agent.who.display",
        "max": "0"
      },
      {
        "id": "Provenance.agent:Patient",
        "path": "Provenance.agent",
        "sliceName": "Patient",
        "short": "Asiakas",
        "definition": "Asiakkaan tiedot",
        "min": 1
      },
      {
        "id": "Provenance.agent:Patient.role",
        "path": "Provenance.agent.role",
        "min": 1,
        "max": "1",
        "binding": {
          "strength": "required",
          "valueSet": "http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory"
        }
      },
      {
        "id": "Provenance.agent:Patient.role.coding",
        "path": "Provenance.agent.role.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Provenance.agent:Patient.role.coding.system",
        "path": "Provenance.agent.role.coding.system",
        "min": 1,
        "fixedUri": "http://gen.kanta.fi/figen-cs-provenancerolecategory"
      },
      {
        "id": "Provenance.agent:Patient.role.coding.version",
        "path": "Provenance.agent.role.coding.version",
        "max": "0"
      },
      {
        "id": "Provenance.agent:Patient.role.coding.code",
        "path": "Provenance.agent.role.coding.code",
        "short": "Roolin koodiarvo",
        "min": 1,
        "fixedCode": "3"
      },
      {
        "id": "Provenance.agent:Patient.role.coding.display",
        "path": "Provenance.agent.role.coding.display",
        "short": "Asiakas",
        "definition": "Sosiaalihuollon asiakas, jota asiakirja koskee",
        "min": 1
      },
      {
        "id": "Provenance.agent:Patient.who",
        "path": "Provenance.agent.who",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://gen.kanta.fi/fhir/StructureDefinition/KantaPatientV2"
            ]
          }
        ]
      },
      {
        "id": "Provenance.agent:Patient.who.reference",
        "path": "Provenance.agent.who.reference",
        "short": "Viittaus käytettävään resurssiin",
        "min": 1
      },
      {
        "id": "Provenance.agent:Device",
        "path": "Provenance.agent",
        "sliceName": "Device",
        "short": "Asiakirjan tuottaneen tietojärjestelmän nimi",
        "definition": "Asiakirjan arkistoidun version tuottaneen ohjelmiston tai tietojärjestelmän nimi",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Provenance.agent:Device.role",
        "path": "Provenance.agent.role",
        "min": 1,
        "max": "1",
        "binding": {
          "strength": "required",
          "valueSet": "http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory"
        }
      },
      {
        "id": "Provenance.agent:Device.role.coding",
        "path": "Provenance.agent.role.coding",
        "short": "Kanta Provenance Role Category",
        "definition": "Koodiston arvoilla ilmoitetaan mikä on toimijan rooli Provenance-resurssissa.",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Provenance.agent:Device.role.coding.id",
        "path": "Provenance.agent.role.coding.id",
        "max": "0"
      },
      {
        "id": "Provenance.agent:Device.role.coding.system",
        "path": "Provenance.agent.role.coding.system",
        "min": 1,
        "fixedUri": "http://gen.kanta.fi/figen-cs-provenancerolecategory"
      },
      {
        "id": "Provenance.agent:Device.role.coding.code",
        "path": "Provenance.agent.role.coding.code",
        "short": "Roolin koodiarvo",
        "min": 1,
        "fixedCode": "4"
      },
      {
        "id": "Provenance.agent:Device.role.coding.display",
        "path": "Provenance.agent.role.coding.display",
        "short": "Resurssin tuottanut tietojärjestelmä",
        "min": 1
      },
      {
        "id": "Provenance.agent:Device.who",
        "path": "Provenance.agent.who",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://gen.kanta.fi/fhir/StructureDefinition/KantaDevice"
            ],
            "aggregation": [
              "contained"
            ]
          }
        ]
      },
      {
        "id": "Provenance.agent:Device.who.reference",
        "path": "Provenance.agent.who.reference",
        "short": "Viittaus käytettävään resurssiin",
        "min": 1
      },
      {
        "id": "Provenance.agent:ServiceProducer",
        "path": "Provenance.agent",
        "sliceName": "ServiceProducer",
        "short": "Palveluntuottaja",
        "max": "1"
      },
      {
        "id": "Provenance.agent:ServiceProducer.type.extension",
        "path": "Provenance.agent.type.extension",
        "max": "1"
      },
      {
        "id": "Provenance.agent:ServiceProducer.role",
        "path": "Provenance.agent.role",
        "min": 1,
        "max": "1",
        "binding": {
          "strength": "required",
          "description": "The role that a provenance agent played with respect to the activity.\r\n",
          "valueSet": "http://gen.kanta.fi/ValueSet/figen-vs-provenancerolecategory"
        }
      },
      {
        "id": "Provenance.agent:ServiceProducer.role.coding",
        "path": "Provenance.agent.role.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Provenance.agent:ServiceProducer.role.coding.system",
        "path": "Provenance.agent.role.coding.system",
        "min": 1,
        "fixedUri": "http://gen.kanta.fi/figen-cs-provenancerolecategory"
      },
      {
        "id": "Provenance.agent:ServiceProducer.role.coding.code",
        "path": "Provenance.agent.role.coding.code",
        "short": "Palveluntuottaja",
        "min": 1,
        "fixedCode": "13"
      },
      {
        "id": "Provenance.agent:ServiceProducer.role.coding.display",
        "path": "Provenance.agent.role.coding.display",
        "short": "Palveluntuottaja",
        "min": 1
      },
      {
        "id": "Provenance.agent:ServiceProducer.who",
        "path": "Provenance.agent.who",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://gen.kanta.fi/fhir/StructureDefinition/KantaOrganization"
            ]
          }
        ]
      },
      {
        "id": "Provenance.agent:ServiceProducer.who.reference",
        "path": "Provenance.agent.who.reference",
        "short": "Viittaus käytettävään resurssiin",
        "min": 1
      },
      {
        "id": "Provenance.agent:ServiceProvider",
        "path": "Provenance.agent",
        "sliceName": "ServiceProvider",
        "short": "Alihankkijana toimiva palveluntuottaja",
        "max": "1"
      },
      {
        "id": "Provenance.agent:ServiceProvider.role",
        "path": "Provenance.agent.role",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Provenance.agent:ServiceProvider.role.coding",
        "path": "Provenance.agent.role.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Provenance.agent:ServiceProvider.role.coding.system",
        "path": "Provenance.agent.role.coding.system",
        "min": 1,
        "fixedUri": "http://gen.kanta.fi/figen-cs-provenancerolecategory"
      },
      {
        "id": "Provenance.agent:ServiceProvider.role.coding.code",
        "path": "Provenance.agent.role.coding.code",
        "min": 1,
        "fixedCode": "15"
      },
      {
        "id": "Provenance.agent:ServiceProvider.role.coding.display",
        "path": "Provenance.agent.role.coding.display",
        "short": "Alihankkijana toimiva palveluntuottaja",
        "min": 1
      },
      {
        "id": "Provenance.agent:ServiceProvider.who",
        "path": "Provenance.agent.who",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://gen.kanta.fi/fhir/StructureDefinition/KantaOrganization"
            ]
          }
        ]
      },
      {
        "id": "Provenance.agent:ServiceProvider.who.reference",
        "path": "Provenance.agent.who.reference",
        "min": 1
      },
      {
        "id": "Provenance.agent:ServiceCenter",
        "path": "Provenance.agent",
        "sliceName": "ServiceCenter",
        "short": "Palveluyksikkö",
        "max": "1"
      },
      {
        "id": "Provenance.agent:ServiceCenter.role",
        "path": "Provenance.agent.role",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Provenance.agent:ServiceCenter.role.coding",
        "path": "Provenance.agent.role.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Provenance.agent:ServiceCenter.role.coding.system",
        "path": "Provenance.agent.role.coding.system",
        "min": 1,
        "fixedUri": "http://gen.kanta.fi/figen-cs-provenancerolecategory"
      },
      {
        "id": "Provenance.agent:ServiceCenter.role.coding.code",
        "path": "Provenance.agent.role.coding.code",
        "min": 1,
        "fixedCode": "14"
      },
      {
        "id": "Provenance.agent:ServiceCenter.role.coding.display",
        "path": "Provenance.agent.role.coding.display",
        "short": "Palveluyksikkö",
        "min": 1
      },
      {
        "id": "Provenance.agent:ServiceCenter.who",
        "path": "Provenance.agent.who",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://gen.kanta.fi/fhir/StructureDefinition/KantaOrganization"
            ]
          }
        ]
      },
      {
        "id": "Provenance.agent:ServiceCenter.who.reference",
        "path": "Provenance.agent.who.reference",
        "short": "Viittaus käytettävään resurssiin",
        "min": 1
      },
      {
        "id": "Provenance.entity",
        "path": "Provenance.entity",
        "max": "0"
      },
      {
        "id": "Provenance.entity.id",
        "path": "Provenance.entity.id",
        "max": "0"
      },
      {
        "id": "Provenance.entity.extension",
        "path": "Provenance.entity.extension",
        "max": "1"
      },
      {
        "id": "Provenance.entity.role",
        "path": "Provenance.entity.role",
        "fixedCode": "source"
      },
      {
        "id": "Provenance.entity.what",
        "path": "Provenance.entity.what",
        "fixedReference": {
          "type": "Meta"
        }
      },
      {
        "id": "Provenance.entity.what.id",
        "path": "Provenance.entity.what.id",
        "max": "0"
      },
      {
        "id": "Provenance.entity.what.extension:documentType",
        "path": "Provenance.entity.what.extension",
        "sliceName": "documentType",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://shark.kanta.fi/fhir/StructureDefinition/extension/DocumentType"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Provenance.entity.what.reference",
        "path": "Provenance.entity.what.reference",
        "short": "Viittaus resurssiin",
        "max": "0"
      },
      {
        "id": "Provenance.entity.what.type",
        "path": "Provenance.entity.what.type",
        "max": "0"
      },
      {
        "id": "Provenance.entity.what.identifier",
        "path": "Provenance.entity.what.identifier",
        "max": "0"
      },
      {
        "id": "Provenance.entity.what.display",
        "path": "Provenance.entity.what.display",
        "max": "0"
      },
      {
        "id": "Provenance.entity.agent",
        "path": "Provenance.entity.agent",
        "max": "0"
      },
      {
        "id": "Provenance.signature",
        "path": "Provenance.signature",
        "max": "0"
      }
    ]
  }
}