{"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}
{"resourceType":"Subscription","id":"example","identifier":[{"system":"urn:ietf:rfc:3986","value":"urn:uuid:97e5aa1e-5916-4512-a36e-24eef784e3cc"}],"name":"Example","status":"active","topic":"http://example.org/R5/SubscriptionTopic/example","contact":[{"system":"phone","value":"(555) 555-1212","use":"work"}],"reason":"Example subscription for example topic","filterBy":[{"resource":"http://hl7.org/fhir/StructureDefinition/Encounter","filterParameter":"patient","value":"Patient/123"}],"channelType":{"code":"rest-hook"}}