{
  "resourceType": "StructureDefinition",
  "id": "profile-Provenance-PriorClaimResponse",
  "url": "http://pharmacyeclaims.ca/FHIR/v1.0/StructureDefinition/profile-Provenance-PriorClaimResponse",
  "name": "ProvenancePriorClaimResponse",
  "title": "ProvenancePriorClaimReponse",
  "status": "active",
  "description": "For use with Prior Claim Response profile",
  "purpose": "For use with Prior Claim Response profile",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Provenance",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Provenance",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Provenance.target",
        "path": "Provenance.target",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://pharmacyeclaims.ca/FHIR/v1.0/StructureDefinition/profile-claim-response-prior",
              "http://hl7.org/fhir/StructureDefinition/Resource"
            ],
            "aggregation": [
              "bundled"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Provenance.target.reference",
        "path": "Provenance.target.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Provenance.recorded",
        "path": "Provenance.recorded",
        "mustSupport": true
      },
      {
        "id": "Provenance.agent",
        "path": "Provenance.agent",
        "mustSupport": true
      },
      {
        "id": "Provenance.agent.who",
        "path": "Provenance.agent.who",
        "comment": "Usage:  The adjudicator or carrier organization.\r\nwhoIdentity should be used when the agent is not a Resource type.",
        "mustSupport": true
      },
      {
        "id": "Provenance.signature",
        "path": "Provenance.signature",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Provenance.signature.type",
        "path": "Provenance.signature.type",
        "mustSupport": true
      },
      {
        "id": "Provenance.signature.when",
        "path": "Provenance.signature.when",
        "mustSupport": true
      },
      {
        "id": "Provenance.signature.who",
        "path": "Provenance.signature.who",
        "mustSupport": true
      },
      {
        "id": "Provenance.signature.data",
        "path": "Provenance.signature.data",
        "mustSupport": true
      }
    ]
  }
}