PackagesCanonicalsLogsProblems
    Packages
    uk.nhsdigital.r4.test@2.8.7-prerelease
    https://fhir.nhs.uk/StructureDefinition/NHSDigital-Provenance
{
  "description": null,
  "_filename": "NHSDigital-Provenance.StructureDefinition.json",
  "package_name": "uk.nhsdigital.r4.test",
  "date": null,
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "4.0.1",
  "name": "NHSDigitalProvenance",
  "mapping": [ {
    "uri": "http://hl7.org/fhir/workflow",
    "name": "Workflow Pattern",
    "identity": "workflow"
  }, {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  }, {
    "uri": "http://www.w3.org/ns/prov",
    "name": "W3C PROV",
    "identity": "w3c.prov"
  }, {
    "uri": "http://hl7.org/fhir/fivews",
    "name": "FiveWs Pattern Mapping",
    "identity": "w5"
  }, {
    "uri": "http://hl7.org/fhir/auditevent",
    "name": "FHIR AuditEvent Mapping",
    "identity": "fhirauditevent"
  } ],
  "abstract": false,
  "type": "Provenance",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "2.8.7-prerelease",
  "status": "draft",
  "id": "512cc187-4ca1-467e-b516-02e429d7c2ec",
  "kind": "resource",
  "url": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-Provenance",
  "version": null,
  "differential": {
    "element": [ {
      "id": "Provenance.target",
      "path": "Provenance.target",
      "type": [ {
        "code": "Reference",
        "aggregation": [ "bundled" ]
      } ]
    }, {
      "id": "Provenance.target.identifier",
      "min": 1,
      "path": "Provenance.target.identifier"
    }, {
      "id": "Provenance.target.identifier.system",
      "min": 1,
      "path": "Provenance.target.identifier.system"
    }, {
      "id": "Provenance.target.identifier.value",
      "min": 1,
      "path": "Provenance.target.identifier.value"
    }, {
      "id": "Provenance.agent",
      "path": "Provenance.agent",
      "mustSupport": true
    }, {
      "id": "Provenance.agent.who",
      "path": "Provenance.agent.who",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://fhir.nhs.uk/StructureDefinition/NHSDigital-PractitionerRole" ]
      } ],
      "constraint": [ {
        "key": "who-reference",
        "human": "agent.who - An identifier reference or resource reference must be provided",
        "severity": "warning",
        "expression": "(reference.exists() or identifier.exists())"
      } ],
      "mustSupport": true
    }, {
      "id": "Provenance.agent.who.identifier",
      "path": "Provenance.agent.who.identifier"
    }, {
      "id": "Provenance.agent.who.identifier.system",
      "min": 1,
      "path": "Provenance.agent.who.identifier.system"
    }, {
      "id": "Provenance.agent.who.identifier.value",
      "min": 1,
      "path": "Provenance.agent.who.identifier.value"
    }, {
      "id": "Provenance.signature",
      "min": 1,
      "path": "Provenance.signature",
      "mustSupport": true
    }, {
      "id": "Provenance.signature.when",
      "path": "Provenance.signature.when",
      "mustSupport": true
    }, {
      "id": "Provenance.signature.who",
      "path": "Provenance.signature.who",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://fhir.nhs.uk/StructureDefinition/NHSDigital-Practitioner", "https://fhir.nhs.uk/StructureDefinition/NHSDigital-PractitionerRole" ]
      } ],
      "mustSupport": true
    }, {
      "id": "Provenance.signature.who.reference",
      "min": 1,
      "path": "Provenance.signature.who.reference"
    } ]
  },
  "baseDefinition": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Provenance"
}