Stream: implementers
Topic: More on logical ids and POSTs
Brian Reinhold (Jan 27 2019 at 12:44):
My understanding is that when there is a create operation, the logical id of the resource is not populated and if it is, it is considered wrong (though servers often choose to ignore the logical id and just make their own). However, in the transaction Bundle example http://build.fhir.org/bundle-transaction.json.html the logical id is populated with "bundle-transaction". As I understand it the transaction Bundle is a create. Is it wrong to have a logical id or is it allowed and just ignored?
@Lloyd McKenzie is this something you can answer? ... is the referenced example on the FHIR pages correct?
Jason Walonoski (Jan 29 2019 at 15:10):
It is allowed, because you may be reading a bundle from one server, and turning around and posting it as a transaction to another server. The second server rewrites IDs as necessary and retains referential integrity across resources within the bundle. See http://build.fhir.org/http.html#trules
Last updated: Apr 12 2022 at 19:14 UTC