lua script periodically retrieving from other PACS ?

Hi,
has anybody written a Lua script that periodically retrieves new/changed DICOM files from a primary PACS?

An example or infos (if possible at all) would be great

Hi Torsten,

This is not possible, Lua scripts are only triggered by Orthanc events, there is nothing that can be triggered at regular interval.

For this kind of job, you’ll need to write a script (i.e., in python) that will request Orthanc to perform query-retrieve on the PACS and retrieve them on Orthanc.

You may find a bunch of python samples here: https://bitbucket.org/sjodogne/orthanc/src/default/Resources/Samples/Python but none of them do exactly what you wish to do.