FHIR Chat · posting Bundles to [base]/ · implementers

Stream: implementers

Topic: posting Bundles to [base]/


view this post on Zulip Simone Heckmann (Nov 02 2017 at 15:15):

According to the spec it is allowed to post a document type Bundle to [base]/
Expecting the server to "Ignore the fact that the bundle is a document and process all of the resources that it contains as individual resources."
Two questions:
1. Is the same thing true for message type Bundles?
2. Since document/message type bundles lack the request element, how does the server know how to process them? If the server is expected to default to url=[base]/[resourcetype] and method=POST, this isn't detailed in the spec. Or is it up to the server to decide what "processing" means?

view this post on Zulip Ben Spencer (Nov 02 2017 at 15:46):

2. POST by default, PUT if there's a valid id, documented here: https://www.hl7.org/fhir/http.html#other-bundles

view this post on Zulip Simone Heckmann (Nov 02 2017 at 16:57):

Ah. That's the missing piece of the puzzle! Thanks.
I think that also answers 1.)
I will add a change request to add a link to this chapter to the Documents site. That's where the expected behaviour is unclear:
https://www.hl7.org/fhir/documents.html#bundle

view this post on Zulip Simone Heckmann (Nov 02 2017 at 17:04):

GF#14122


Last updated: Apr 12 2022 at 19:14 UTC