{
  "resourceType": "StructureDefinition",
  "id": "aorta-provenance",
  "language": "nl-NL",
  "url": "http://vzvz.nl/fhir/StructureDefinition/aorta-provenance",
  "version": "1.0.0",
  "name": "AortaProvenance",
  "status": "active",
  "publisher": "VZVZ",
  "contact": [
    {
      "name": "VZVZ",
      "telecom": [
        {
          "system": "email",
          "value": "standaardisatie@vzvz.nl",
          "use": "work"
        }
      ]
    }
  ],
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "NL",
          "display": "Netherlands"
        }
      ]
    }
  ],
  "purpose": "Definition of the origin of the resources when resources of multiple origins are present in a bundle.",
  "copyright": "VZVZ",
  "fhirVersion": "3.0.2",
  "kind": "resource",
  "abstract": false,
  "type": "Provenance",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Provenance",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Provenance",
        "path": "Provenance",
        "definition": "This provenance definition is used to define the Healthcare provider that provides the resources listed in the target element.",
        "constraint": [
          {
            "key": "provenance-1",
            "severity": "error",
            "human": "A referenced Organization in a Provenance resource must have an URA.",
            "expression": "Provenance.contained.where(resourceType = 'Device').owner.identifier.where(system = 'http://fhir.nl/fhir/NamingSystem/ura' or system = '2.16.528.1.1007.3.3').value.exists()"
          }
        ]
      },
      {
        "id": "Provenance.target",
        "path": "Provenance.target",
        "short": "Target Reference(s)",
        "definition": "The Reference(s) that were generated or updated by the activity described in this resource. A provenance can point to more than one target if multiple resources were created/updated by the same activity.",
        "comment": "Target references are the resources typically provided in a searchset result. Each resource present in the bundle should be listed in this element."
      },
      {
        "id": "Provenance.recorded",
        "path": "Provenance.recorded",
        "comment": "This element is equivalent to creationTime in V3."
      },
      {
        "id": "Provenance.agent",
        "path": "Provenance.agent",
        "definition": "The device belonging to the organization that provides the information or the organization itself.",
        "comment": "This information is equivalent to the sender in V3."
      },
      {
        "id": "Provenance.agent.who[x]:whoReference",
        "path": "Provenance.agent.who[x]",
        "sliceName": "whoReference",
        "comment": "Refers to a Device with an applicationID that refers to the Organization identified with an URA.\n  These resources (Device and Organization) are contained within this resource.\n  Note: To allow the receiver to improve the information displayed for the user.",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device"
          },
          {
            "code": "Reference",
            "targetProfile": "http://vzvz.nl/fhir/StructureDefinition/nl-vzvz-Device"
          }
        ]
      }
    ]
  }
}