# Subscription for MedicinalProductDefinition changes - UMC IDMP Request and Publish API v0.1.0

* [**Table of Contents**](toc.md)
* [**Artifacts Summary**](artifacts.md)
* **Subscription for MedicinalProductDefinition changes**

## Example Subscription: Subscription for MedicinalProductDefinition changes

Profile: [Subscription for event notifications](StructureDefinition-Subscription-IdmpEvent.md)

**identifier**: `http://acme.inc/IDMPService/subscriptionIdentifier`/ABC-123

**name**: Demo end point

**status**: Requested

**topic**: `http://who-umc.org/idmp/SubscriptionTopic/medProdDef`

**contact**: [subscriptionSupport@who-umc.org](mailto:subscriptionSupport@who-umc.org)

**end**: 2025-06-20 10:23:55+0200

**reason**: To demonstrate how a subscription works

**channelType**: [SubscriptionChannel Type Codes: rest-hook](http://terminology.hl7.org/7.0.0/CodeSystem-subscription-channel-type.html#subscription-channel-type-rest-hook) (Rest Hook)

**endpoint**: [http://localhost:8086/ReceiveSubscriptionEvent](http://localhost:8086/ReceiveSubscriptionEvent)

**heartbeatPeriod**: 3600

**timeout**: 30

**content**: Id-only



## Resource Content

```json
{
  "resourceType" : "Subscription",
  "id" : "template-generated-by-server-subscription-rest-hook",
  "meta" : {
    "profile" : [
      "http://who-umc.org/idmp/StructureDefinition/Subscription-IdmpEvent"
    ]
  },
  "identifier" : [
    {
      "system" : "http://acme.inc/IDMPService/subscriptionIdentifier",
      "value" : "ABC-123"
    }
  ],
  "name" : "Demo end point",
  "status" : "requested",
  "topic" : "http://who-umc.org/idmp/SubscriptionTopic/medProdDef",
  "contact" : [
    {
      "system" : "email",
      "value" : "subscriptionSupport@who-umc.org"
    }
  ],
  "end" : "2025-06-20T10:23:55.5407913+02:00",
  "reason" : "To demonstrate how a subscription works",
  "channelType" : {
    "system" : "http://terminology.hl7.org/CodeSystem/subscription-channel-type",
    "code" : "rest-hook"
  },
  "endpoint" : "http://localhost:8086/ReceiveSubscriptionEvent",
  "heartbeatPeriod" : 3600,
  "timeout" : 30,
  "content" : "id-only"
}

```
