FHIR Chat · bundles? · subscriptions

Stream: subscriptions

Topic: bundles?


view this post on Zulip Jens Villadsen (Oct 03 2018 at 12:57):

(deleted)

view this post on Zulip Jens Villadsen (Oct 08 2018 at 13:26):

Continued from https://chat.fhir.org/#narrow/stream/4-implementers/topic/Subscriptions.20and.20includes - is it possible using subscriptions to get bundled resources in the events when using includes / revincludes in the criteria aka some sort of piggybacking?

view this post on Zulip Grahame Grieve (Oct 08 2018 at 18:26):

I don't believe we've commented about this. Let's start with this question: why do you want to do an include? is it that you need atomicity?

view this post on Zulip Jens Villadsen (Oct 08 2018 at 20:23):

yes - one compound transaction should in the best case end up in one event

view this post on Zulip Grahame Grieve (Oct 08 2018 at 20:24):

what makes this a compound transaction?

view this post on Zulip Jens Villadsen (Oct 08 2018 at 20:26):

nothing specially .... if I receive a transaction that creates both a patient and his/hers encounter I would like to be able to ship a single event using a subscription

view this post on Zulip Jens Villadsen (Oct 08 2018 at 20:27):

it saves me the trouble of having multiple subscriptions (one pr. type) and ordering of events

view this post on Zulip Jens Villadsen (Oct 08 2018 at 20:29):

And I would imagine that its a pretty common scenario ... (but I could be mistaken - I just couldn't find any previous discussions about it)

view this post on Zulip Jens Villadsen (Oct 08 2018 at 20:31):

but then again ... you could probably spin up af lot of more cases for piggybacking related resources when some criteria is fulfilled

view this post on Zulip Grahame Grieve (Oct 08 2018 at 21:06):

well, if you're not subscribing to the other resource, then you'll miss updates to it. Would that matter?

view this post on Zulip Jens Villadsen (Oct 08 2018 at 21:25):

I might also need the other subscription - but what I need to avoid is that the system listening for events can receive an encounter before it has heard of the patient.

view this post on Zulip Jens Villadsen (Oct 08 2018 at 21:26):

so bundling and piggybacking seemed like a way forward

view this post on Zulip Jens Villadsen (Oct 08 2018 at 21:26):

to match parts of an incoming transaction

view this post on Zulip Jens Villadsen (Oct 08 2018 at 21:29):

but the subscription resource documentation is pretty silent about the use of transactions and/or bundles


Last updated: Apr 12 2022 at 19:14 UTC