Hi,
For the purpose of a scientific study I have to anonymize some series of one study and transfer them into different independent studies. The user may not know that the series belonged to the same study prior to anonymization.
I managed to split the original study into different studies with each one of the original series and anonymize them. I did this using the following importconverter:
and the essential part of this lua file is as follows
The seriesDescriptions in the code are just for testing purposes as I use with a simple study with just three series to test my code.
This importconverter gives me three studies with one series each but they are still linked to the same patient.
In the next phase I need to change the patient for each of the studies in such a way that one can no longer see that they originally belonged to the same patient.
I try to do this with a second importconverter
The main content of this second lua file is as follows
I also tried a variant of this with "newuids" but none of these attempts was successfull. All studies still have the same patient in common.
Is there a way of changing the patientid of different studies belonging to one patient so that in the end each study belongs to its own independent patient?
Johan