Stream: implementers
Topic: Reference item in a contained Bundle
Brian Kaney (Oct 22 2020 at 12:10):
Given a resource (parent) with a contained Bundle. Is there a way to make a reference to an item in the contained Bundle from the container (parent)?
John Moehrke (Oct 22 2020 at 17:21):
only if the resources in the contained Bundle have RESTful fullURLs... which is essentially that they are available on the network, and not just in the contained bundle.
Lloyd McKenzie (Oct 22 2020 at 19:03):
Note that 'contained' is not a mechanism for transporting a whole bunch of information at once - it's for sending resources that don't have any independent existence or identity from the containing resource. Normally, if you want to have a bunch of contained resources, you'd contain them individually, not as part of a Bundle. If they're in a Bundle would be very unusual to need to reference the content of the Bundle.
Vassil Peytchev (Oct 22 2020 at 19:24):
Unless "contained" here means "Bundle as an entry in another Bundle". It didn't even occur to me that a Bundle would be considered as an actual "contained resource".
Lloyd McKenzie (Oct 22 2020 at 20:55):
There's actually an example in HRex where this makes sense - a Task.output can refer to a 'contained' search set Bundle - because the Bundle isn't something that would have any independent existence
Vassil Peytchev (Oct 22 2020 at 21:00):
Search set Bundles (usually) don't have independent existence anyway. Why does it have to be contained?
Brian Kaney (Oct 23 2020 at 00:25):
Yea, I think this is a confused idea to use bundles like this.
Last updated: Apr 12 2022 at 19:14 UTC