Hello All Need Help

Hello All,

I am in desperate need of creating a DICOM router for images and thought i would look into Orthanc. I am not a coder but i can figure out how to at least set up Orthanc. If any one is willing to help what would be the steps to inputting the a script that would auto forward images to our archive? I am not sure how to use Lua script. Thank you to anyone that can help.

Dear Don

There is a sample script that does just that. This is the content:

auto-router.lua (170 Bytes)

Orthanc.json (21 KB)

Hi! one question in this example of auto-route the studys will be deleted? If i want to keep?

function Initialize()
print “Auto-router initialising…”
end function
OnStoredInstance(instanceId, tags, metadata)
SendToModality(instanceId, ‘sample’)

Is Correct?

The studies would be kept (i.e. would not be deleted).

Thanks a lot