{
  "resourceType": "StructureDefinition",
  "url": "https://luxith-etab.org/fhir/StructureDefinition/lu/ProvenanceProfile",
  "name": "ProvenanceProfile",
  "status": "draft",
  "description": "Contain key for document encryption",
  "fhirVersion": "5.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "Provenance",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Provenance",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Provenance.target",
        "path": "Provenance.target",
        "fixedReference": {
          "reference": "https://luxith-etab.org/fhir/StructureDefinition/lu/LuxithDocumentReferenceProfile",
          "type": "StructureDefinition"
        }
      },
      {
        "id": "Provenance.target.type",
        "path": "Provenance.target.type",
        "max": "0"
      },
      {
        "id": "Provenance.target.identifier",
        "path": "Provenance.target.identifier",
        "max": "0"
      },
      {
        "id": "Provenance.target.display",
        "path": "Provenance.target.display",
        "max": "0"
      },
      {
        "id": "Provenance.occurred[x]",
        "path": "Provenance.occurred[x]",
        "max": "0"
      },
      {
        "id": "Provenance.policy",
        "path": "Provenance.policy",
        "max": "0"
      },
      {
        "id": "Provenance.location",
        "path": "Provenance.location",
        "max": "0"
      },
      {
        "id": "Provenance.authorization",
        "path": "Provenance.authorization",
        "max": "0"
      },
      {
        "id": "Provenance.activity",
        "path": "Provenance.activity",
        "max": "0"
      },
      {
        "id": "Provenance.basedOn",
        "path": "Provenance.basedOn",
        "max": "0"
      },
      {
        "id": "Provenance.patient",
        "path": "Provenance.patient",
        "max": "0"
      },
      {
        "id": "Provenance.encounter",
        "path": "Provenance.encounter",
        "max": "0"
      },
      {
        "id": "Provenance.agent.type",
        "path": "Provenance.agent.type",
        "code": [
          {
            "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
            "code": "author",
            "display": "Author"
          }
        ],
        "min": 1
      },
      {
        "id": "Provenance.agent.role",
        "path": "Provenance.agent.role",
        "max": "0"
      },
      {
        "id": "Provenance.agent.who",
        "path": "Provenance.agent.who",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://luxith-etab.org/fhir/StructureDefinition/lu/CFBPractitioner"
            ]
          }
        ]
      },
      {
        "id": "Provenance.agent.onBehalfOf",
        "path": "Provenance.agent.onBehalfOf",
        "min": 1
      },
      {
        "id": "Provenance.entity",
        "path": "Provenance.entity",
        "max": "0"
      },
      {
        "id": "Provenance.signature.type",
        "path": "Provenance.signature.type",
        "max": "0"
      },
      {
        "id": "Provenance.signature.when",
        "path": "Provenance.signature.when",
        "max": "0"
      },
      {
        "id": "Provenance.signature.who",
        "path": "Provenance.signature.who",
        "min": 1
      },
      {
        "id": "Provenance.signature.who.reference",
        "path": "Provenance.signature.who.reference",
        "max": "0"
      },
      {
        "id": "Provenance.signature.who.type",
        "path": "Provenance.signature.who.type",
        "max": "0"
      },
      {
        "id": "Provenance.signature.onBehalfOf",
        "path": "Provenance.signature.onBehalfOf",
        "max": "0"
      },
      {
        "id": "Provenance.signature.data",
        "path": "Provenance.signature.data",
        "min": 1
      }
    ]
  }
}