How to send dicom file to Node.js backend server

Hi, I want to customise a button that will send the dicom file to an ordinary backend server when it is clicked.
I have tried writing a lua script but it does not show the button on OrthancExplorer 2.
Much appreciated if I can be pointed to some direction and resources :smiley:

Hi,

You can not extend OrthancExplorer2 with a lua script.

You may implement a new API route in python. This route can, e.g, take the Study id in argument, download the study and send it to your node server.

Then, you can add a custom button in Orthanc Explorer 2 that would call your new route.

Hope this helps,

Alain