{
  "resourceType": "Subscription",
  "id": "admission",
  "name": "AdmissionExample",
  "status": "active",
  "topic": "http://example.org/R5/SubscriptionTopic/admission",
  "end": "2019-08-07T11:15:18Z",
  "managingEntity": {
    "reference": "Organization/1"
  },
  "reason": "subscription for beginning of a clinical encounter for patient 123",
  "filterBy": [
    {
      "filterParameter": "patient",
      "value": "Patient/123"
    }
  ],
  "channelType": {
    "code": "rest-hook"
  },
  "endpoint": "https://example.org/Endpoints/P123",
  "parameter": [
    {
      "name": "Authorization",
      "value": "Bearer secret-token-abc-123"
    }
  ],
  "heartbeatPeriod": 60,
  "timeout": 5,
  "contentType": "application/fhir+json",
  "content": "id-only",
  "maxCount": 100,
  "meta": {
    "tag": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
        "code": "HTEST",
        "display": "test health data"
      }
    ]
  }
}