I have a Lua script with an OnStoredInstance handler.
Here is the behavior I observe:
-
Start Orthanc
-
DICOM push an instance to Orthanc
-
script is called
-
delete instance from Orthanc
-
push that same instance again
-
script is not called
-
restart Orthanc
-
push that same instance again
-
script is called
It appears to me that Orthanc is too aggressively caching the instance id – the script is not getting called even if the instance has been deleted … until Orthanc is restarted.
This is in 1.8.2.
Daniel