orthanc-team / dicom-web-forwarder

Orthanc with a dicomweb robust lua forwarder
GNU Affero General Public License v3.0
0 stars 0 forks source link

Dicom Web Forwarder

A regular Orthanc embedding a lua script which will forward every incoming instance and delete it afterwards. It is also able to apply a label on the remote study if the destination is also Orthanc.

How it works?

Deeply inspired from this lua script

The lua script will forward each incoming instance (through DicomWeb) and delete it afterwards. If it is interrupted, at startup, it will try to resend every instance currently stored in Orthanc. When a job fails because of a network issue when forwarding, it will retry the job immediately.

Just before the deletion of an instance, the script will try to apply a label to the remote study (if configured).

How to use it ?

If you use Keycloak and Auth plugin, this should be the case if you give the permissions in the json file as follow:

"upload-role": {
  "permissions":["upload", "edit-labels"],
  "authorized_labels": ["*"]
}