Stream: implementers
Topic: upload transaction with version history
Jose Costa Teixeira (Mar 09 2020 at 09:17):
How can I upload different versions of a same resource in a transaction to the server?
Using a transaction, server is telling me I cannot use different entries with the same resource Id (tried our public hapi server first)
René Spronk (Mar 09 2020 at 10:38):
You can't. At least, AFAIK there's nothing in the FHIR spec that supports this. If you need two versions, then you're talking about 2 transactions. But that's tricky if one wishes to circumvent server assigned logical Ids and maintain referential integrity.
Grahame Grieve (Mar 09 2020 at 12:21):
this is not entirely true. There's a small window in which this might be possible, discussed briefly here:
Grahame Grieve (Mar 09 2020 at 12:21):
http://hl7.org/fhir/http.html#other-bundles
Jose Costa Teixeira (Mar 09 2020 at 14:06):
Thanks. It seems that HAPI does not support the history bundle type. I'll check with the other server
Last updated: Apr 12 2022 at 19:14 UTC