spark icon indicating copy to clipboard operation
spark copied to clipboard

Subscriptions via rest-hook?

Open Keathley3M opened this issue 9 years ago • 6 comments

http://www.hl7.org/fhir/subscription.html

I posted a subscription resource and see it in mongodb with all the specified required settings (I am attempting to use the rest-hook option). The subscription resource's "status" never changes from "requested".

Is the subscription feature not implemented or turned off by default?

Keathley3M avatar Jan 29 '16 14:01 Keathley3M

The subscription feature is not implemented yet, but we are planning to work on that somewhere in the first half of this year.

mbaltus avatar Jan 29 '16 15:01 mbaltus

Is this feature in the works? Just wanted to hear the plan around this before we roll our own implementation. Thanks!

tutukar avatar Jun 16 '16 17:06 tutukar

Not yet. We are working on a more extensible architecture of Spark, in which it may be easier to plug subscriptions in. But it is still worthwile for you to come up with a solution based on the current version of Spark, and maybe move it over later.

cknaap avatar Jun 27 '16 13:06 cknaap

Thanks! I was thinking of using ASP.net webhooks to implement a REST hook based subscription. Thoughts?

tutukar avatar Jun 27 '16 15:06 tutukar

Sounds nice to me. I think the hard part is to evaluate the subscription criteria for every create / update / delete without slowing down the server.

cknaap avatar Jun 28 '16 13:06 cknaap

I see the thread is open since 2016. Is Subscriptions implemented now?

sahas- avatar Nov 22 '23 16:11 sahas-