Conquest DICOM ImportConverter with LUA to check against if statements for StudyInstanceUID and destroy/delete object

  • Trying to create a lua file that has if statements to check data.StudyInstanceUID against a str match.



    Dragging and dropping a few hundred thousand studies. Trying to filter out some studies with import converter from even importing those studies.



    Can you use ifmatch statements like you can on a .ini import converter in a lua script?


    ifmatch "%V0020,000D","1.2.841.123456.3.167.3.123456.2*"; destroy


    If not can you use a destroy or reject image in a lua based on a if string match statement checks true?



    Thanks:thumbup:

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!