{
  "resourceType": "StructureDefinition",
  "url": "https://nijz.si/rdsp/fhir/StructureDefinition/ConsentSIzzzsDoc",
  "name": "ConsentSIzzzsDoc",
  "status": "draft",
  "fhirVersion": "4.3.0",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Consent",
  "baseDefinition": "https://nijz.si/rdsp/fhir/StructureDefinition/ConsentSI",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Consent.category.coding.system",
        "path": "Consent.category.coding.system",
        "fixedUri": "urn:nijz:crpp:consentcategory"
      },
      {
        "id": "Consent.category.coding.code",
        "path": "Consent.category.coding.code",
        "fixedCode": "zzzs"
      },
      {
        "id": "Consent.organization.display",
        "path": "Consent.organization.display",
        "example": [
          {
            "label": "RepositoryUniqueID",
            "valueString": "2.16.840.1.113883.3.711.2.1.4.5.04201"
          }
        ]
      },
      {
        "id": "Consent.source[x].contentType",
        "path": "Consent.source[x].contentType",
        "max": "0"
      },
      {
        "id": "Consent.source[x].language",
        "path": "Consent.source[x].language",
        "max": "0"
      },
      {
        "id": "Consent.source[x].data",
        "path": "Consent.source[x].data",
        "max": "0"
      },
      {
        "id": "Consent.source[x].size",
        "path": "Consent.source[x].size",
        "max": "0"
      },
      {
        "id": "Consent.source[x].hash",
        "path": "Consent.source[x].hash",
        "max": "0"
      },
      {
        "id": "Consent.source[x].title",
        "path": "Consent.source[x].title",
        "fixedString": "ZZZS_Access_Note"
      },
      {
        "id": "Consent.provision.actor.role.coding.code",
        "path": "Consent.provision.actor.role.coding.code",
        "fixedCode": "PROV"
      },
      {
        "id": "Consent.provision.actor.role.coding.display",
        "path": "Consent.provision.actor.role.coding.display",
        "fixedString": "healthcare provider"
      },
      {
        "id": "Consent.provision.action.coding.system",
        "path": "Consent.provision.action.coding.system",
        "fixedUri": "http://terminology.hl7.org/CodeSystem/consentaction"
      },
      {
        "id": "Consent.provision.action.coding.code",
        "path": "Consent.provision.action.coding.code",
        "fixedCode": "access"
      },
      {
        "id": "Consent.provision.action.coding.display",
        "path": "Consent.provision.action.coding.display",
        "fixedString": "Access"
      },
      {
        "id": "Consent.provision.class",
        "path": "Consent.provision.class",
        "max": "0"
      }
    ]
  }
}