# Configuration of rules to modify, log or reject incoming DICOM slices
ImportConverter0 = ifequal "%V0010,0020[0,3]","ABCD"; set 0010,0020 to "%V0010,0020";
ImportConverter1 = ifnotequal "%V0010,0020[0,3]","ABCD"; set 0010,0020 to "ABCD%V0010,0020";
So if you have an old database that has mixed number prefix/no prefix (ie 123456 and ABCD123456)
These will import the old data, if it has ABCD prefix, it stores and does nothing else.
If prefix "ABCD" is missing, it will prepend the number with "ABCD" and store
Set this up in a new instance of conquest then did a find local missing patient. Small DB only 80gb. I did change tcp time out to 600.
Suppose you could put newuids at the end if you wanted to.
EDIT.. After going through a couple GBs of data and seeing a few errors regarding instance uids error, I appended newuids to my importconverter. Deleted my database and started over.. No errors now. Best to try stuff with a small subset and make sure everything is working as you intend before going all out.
I also then do a
Exportconverters = 1
ExportConverter0 = forward Series to RADIOLOGYBU (Backup device jk on a 2 TB Fantom USB Drive)
Changed my export converter because old data needs to be fixed (double MRN for some patient, wrong spelling etc.)
Since I know that all data after 6/1/2010 is good:
ExportConverter0 = ifnumgreater "%V0008,0020","20100601" ; forward Series to RADIOLOGYBU