Bulk Store SCU - Clarification on Ordering

Hi all!

We’re using the “Bulk Store SCU” to send multiple resources to a remote modality. Now the remote has special requirements to receive the resources in a specific order. When having a look at the code I see that the order of the resources is maintained and therefore we can just make sure in our post request that the resources are in the correct order. However, the documentation at the orthanc-book is not specific about it, therefore it’s unclear to me if this assumption is correct and if that is going to be maintained in the future. Would it be possible to add such clarification to the documentation?

Thanks and best regards,

Christian Binder

SW Engineer @ Varian (part of Siemens Healthineers)

Hi Christian,

Your assumption is correct: it’s being executed in the order provided in the API call.
You may consider that this won’t change in the future. However, in order to document it, I need to guarantee it, and, for that, I would have to write a test for it to make sure we never break the behaviour.

If you have an idea for such a test (or even better, the code for such a test), that would be great. Examples: https://hg.orthanc-server.com/orthanc-tests/file/tip/Tests/Tests.py

Best regards,

Alain.