view Resources/Samples/Lua/Autorouting.lua @ 1054:1701dcb6f554

Access patient module at the study level to cope with PatientID collisions
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 23 Jul 2014 17:10:08 +0200
parents 23590917e83e
children
line wrap: on
line source

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