view OrthancServer/Resources/Samples/Lua/Autorouting.lua @ 4688:177ad026d219

backward compatibility with old DicomModification serialization from Orthanc <= 1.6.1
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 10 Jun 2021 10:09:54 +0200
parents d25f4c0fa160
children
line wrap: on
line source

function OnStoredInstance(instanceId, tags, metadata)
   Delete(SendToModality(instanceId, 'sample'))
end