# Subscription at URA 22222222 for Task.owner URA 33333333 - Netherlands - Generic Functions for data exchange Implementation Guide v0.3.0

* [**Table of Contents**](toc.md)
* [**Artifacts Summary**](artifacts.md)
* **Subscription at URA 22222222 for Task.owner URA 33333333**

## Example Subscription: Subscription at URA 22222222 for Task.owner URA 33333333

Profile: [R4/B Topic-Based Subscription](http://hl7.org/fhir/uv/subscriptions-backport/STU1.1/StructureDefinition-backport-subscription.html)

**status**: Active

**reason**: Subscription to receive notifications of Task-instance-id's where Care provider 33333333 is the (proposed) owner.

**criteria**: http://nuts-foundation.github.io/nl-generic-functions-ig/SubscriptionTopic/subscriberIsTaskOwner

> **channel****Backport R5 Subscription Heartbeat Period**: 86400**Backport R5 Subscription Timeout**: 60**Backported R5 Subscription MaxCount**: 20**type**: Rest Hook**endpoint**: [https://cp3-test.example.org/fhirr4](https://simplifier.net/resolve?scope=nictiz.fhir.nl.r4.nl-core@0.12.0-beta.4&canonical=https://cp3-test.example.org/fhirr4)**payload**: application/fhir+json



## Resource Content

```json
{
  "resourceType" : "Subscription",
  "id" : "614899b2-5132-488b-8cb8-12a821fceb06",
  "meta" : {
    "profile" : ["http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription"]
  },
  "status" : "active",
  "reason" : "Subscription to receive notifications of Task-instance-id's where Care provider 33333333 is the (proposed) owner.",
  "criteria" : "http://nuts-foundation.github.io/nl-generic-functions-ig/SubscriptionTopic/subscriberIsTaskOwner",
  "_criteria" : {
    "extension" : [{
      "url" : "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-filter-criteria",
      "valueString" : "Task?owner.identifier=http://fhir.nl/fhir/NamingSystem/ura|33333333"
    }]
  },
  "channel" : {
    "extension" : [{
      "url" : "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-heartbeat-period",
      "valueUnsignedInt" : 86400
    },
    {
      "url" : "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-timeout",
      "valueUnsignedInt" : 60
    },
    {
      "url" : "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-max-count",
      "valuePositiveInt" : 20
    }],
    "type" : "rest-hook",
    "endpoint" : "https://cp3-test.example.org/fhirr4",
    "payload" : "application/fhir+json",
    "_payload" : {
      "extension" : [{
        "url" : "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-payload-content",
        "valueCode" : "id-only"
      }]
    }
  }
}

```
