Hi,
I would like to initiate an export from Orthanc to local drive when certain series are stable. Let’s say when Patient has a,b,c,d,e,f,etc series, when c,d and e series are stable, how can I initiate an export on all 3 without waiting for the whole study to be stable?
thank you,
Emil
Hello,
The answer really depends upon your context. If you are using Lua, you can use the “OnStableSeries()” event:
https://book.orthanc-server.com/users/lua.html#callbacks-to-react-to-events
If you are using an external script that call the Orthanc REST API, you can use the “/changes” route and look for the “StableSeries” change type:
https://book.orthanc-server.com/users/rest.html#tracking-changes
Finally, if you are using a Python plugin, you can monitor the “orthanc.ChangeType.STABLE_SERIES” change type:
https://book.orthanc-server.com/plugins/python.html#listening-to-changes
HTH,
Sébastien-
Thanks Sébastien,
using Lua. I’ve been using OnStableStudy for a while now but that has to wait for the whole case to finish.
I was just trying to make things faster but doing OnStabeSeries or some combination of them to start a process when certain series are stable inside the patient.
Emil