I have a really basic script loaded into Orthanc:
function OnStoredInstance(instanceId, tags, metadata)
print('Instance successfully stored: ’ … instanceId)
end
function OnStoredStudy(studyId, tags, metadata)
print('Study successfully stored: ’ … studyId)
end
I send a single DICOM image to Orthanc and (as expected) it immediately shows the instance was stored. However, I was expecting approximately one minute later (cf. StableAge = 60) for the study message to be shown too, but it never does.
Is there something in the configuration file that I’m missing that prevents Lua from acting on this event?