Does Medplums `fhir-router` have atomic guarantees...
# dev
n
Does Medplums
fhir-router
have atomic guarantees with the
transaction
Bundle type? From the source, it seems like
batch
and
transaction
are handled the same but I might be missing something. https://github.com/medplum/medplum/blob/95c1d7c52de9b8eb1befb26c3336e6ddd5115ca9/packages/fhir-router/src/batch.ts#L30-L35 FHIR doc differentiates batch and transaction but I am curious if this is expected behavior and if it is defined somewhere. https://www.hl7.org/fhir/http.html#transaction > The batch and transaction interactions submit a set of actions to perform on a server in a single HTTP request/response. The actions may be performed independently as a "batch", or as a single atomic "transaction" where the entire set of changes succeed or fail as a single entity.
170 Views