Stream: hapi
Topic: Bundle types supported for uploads
Vivek TK (Dec 16 2021 at 14:44):
Does Hapi support upload of bundles of type document or collection? Getting an error while trying post with collection/ document bundle. However transaction bundles are working. Is there any configuration by which we can enable it?
Grahame Grieve (Dec 16 2021 at 17:51):
what sub-URL are you posting it to?
Vivek TK (Dec 16 2021 at 23:47):
I always used the base url for all the bundle uploads. Tried "/Bundle" sub url for collection and document bundles. It works. Thanks @Grahame Grieve for the inputs. What could be the reason to use different endpoints for processing transaction bundle and others- even though transaction, collection and document -all of them are of type Bundle?
Vassil Peytchev (Dec 17 2021 at 00:47):
Transaction and batch are a separate part of the API, and therefore different from applying the API to the Bundle
resource.
Grahame Grieve (Dec 17 2021 at 02:43):
and also see http://hl7.org/fhir/bundle.html#rest
Last updated: Apr 12 2022 at 19:14 UTC