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