# OHH Subscription with payload - Open Health Hub FHIR Implementation Guide v0.1.0

* [**Table of Contents**](toc.md)
* [**Artifacts Summary**](artifacts.md)
* **OHH Subscription with payload**

## Example Subscription: OHH Subscription with payload

Profile: [OHH Subscription Profile](StructureDefinition-ohh-subscription.md)

**status**: Requested

**end**: 2026-04-24 12:30:00+0000

**reason**: Receive new response on Questionnaire

**criteria**: QuestionnaireResponse?based-on.instantiates-canonical=4faebfcf-b3d8-4f9f-b4ea-159a2417e3cc

### Channels

| | | | | |
| :--- | :--- | :--- | :--- | :--- |
| - | **Type** | **Endpoint** | **Payload** | **Header** |
| * | Rest Hook | [https://your-his.com/Subscription-Notification/QuestionnaireResponse](https://your-his.com/Subscription-Notification/QuestionnaireResponse) | application/fhir+json | Authorization: Basic YWRtaW46YWRtaW4= |



## Resource Content

```json
{
  "resourceType" : "Subscription",
  "id" : "ExampleOhhSubscriptionWithPayload",
  "meta" : {
    "profile" : [
      "https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/ohh-subscription"
    ]
  },
  "status" : "requested",
  "end" : "2026-04-24T12:30:00Z",
  "reason" : "Receive new response on Questionnaire",
  "criteria" : "QuestionnaireResponse?based-on.instantiates-canonical=4faebfcf-b3d8-4f9f-b4ea-159a2417e3cc",
  "channel" : {
    "type" : "rest-hook",
    "endpoint" : "https://your-his.com/Subscription-Notification/QuestionnaireResponse",
    "payload" : "application/fhir+json",
    "header" : ["Authorization: Basic YWRtaW46YWRtaW4="]
  }
}

```
