{
  "resourceType": "StructureDefinition",
  "id": "recare-search-attribution-cancelled-bundle",
  "url": "http://fhir.recaresolutions.com/StructureDefinition/recare-search-attribution-cancelled-bundle",
  "version": "0.1.0",
  "name": "RecareSearchAttributionCancelledBundle",
  "title": "Recare Search Attribution Cancelled Bundle",
  "status": "active",
  "experimental": false,
  "publisher": "Recare Deutschland GmbH",
  "description": "Event bundle for search_attribution_cancelled. Sent when a previously attributed search is cancelled and the attribution is revoked.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Bundle",
  "baseDefinition": "http://fhir.recaresolutions.com/StructureDefinition/recare-bundle",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Bundle.identifier.value",
        "path": "Bundle.identifier.value",
        "fixedString": "search_attribution_cancelled"
      },
      {
        "id": "Bundle.entry",
        "path": "Bundle.entry",
        "min": 2
      },
      {
        "id": "Bundle.entry:serviceRequest",
        "path": "Bundle.entry",
        "sliceName": "serviceRequest",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:serviceRequest.resource.status",
        "path": "Bundle.entry.resource.status",
        "patternCode": "revoked"
      },
      {
        "id": "Bundle.entry:organization",
        "path": "Bundle.entry",
        "sliceName": "organization",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:organization.resource",
        "path": "Bundle.entry.resource",
        "type": [
          {
            "code": "Organization",
            "profile": [
              "http://fhir.recaresolutions.com/StructureDefinition/recare-careprovider"
            ]
          }
        ]
      }
    ]
  }
}