Hi Marcel,
I hope you are doing well. At AVL I got a few requests to run anonymization in batch mode, i.e. for multiple patients at once.
To achieve this I looked at connecting the Conquest DICOM server to ZeroBrane Studio to open up the scripting capabilities. I came up with this solution:
1. Create a local file e.g. "anonpat.lua" with the following content:
2. Modify the three lines of code marked with "Change This" to your liking. For large scale anonymization we can optimize this by e.g. reading the pair of new and old names from a text file. Note: the name 'CONQUESTSRV1' has to match with an entry in your ACRNEMA.MAP (4th screen of the Conquest DICOM server).
3. Start ZeroBrane Studio and connect it to your local DICOM server (this may require to run the install.lua script from the lua folder for the DICOM server first).
4. Run the script above by pressing the "Play" button twice
Is this also how you would suggest to do this, or is there a more straightforward approach?
Best regards,
Lennert.