Send Dicom Files

Hello,
I have a question regarding the communication between Orthanc Server and External API platform.
I have an Orthanc Server hosted in cloud. When an entity send dicom files to Orthanc I want that Orthanc redirect the uploaded dicom files to the External API Platform.

Is this possible?
Thanks a lot,
Alex

Hello,

You are visibly looking for the autorouting concept. For instance in Lua:
https://book.orthanc-server.com/users/lua.html#auto-routing-of-dicom-images

You can develop more advanced scenarios using Python:
https://book.orthanc-server.com/plugins/python.html#auto-routing-studies

HTH,
Sébastien-

Awesome. Thanks a lot.

One more question. How should I install the orthanc for using it as a library? I’ve seen in those examples “import orthanc”.

Thanks ,
Alex

Hello,

The “import orthanc” corresponds to Python plugins. You can find their full documentation in the Orthanc Book:
https://book.orthanc-server.com/plugins/python.html

Sébastien-