Hi all.
So I finally have my interim database where I need to fix incorrect information. All the ID are normalized and Site information is corrected. These were all Global corrections so I could easily do an ImportConverter to do the fixes as I got them from the commercial PACS.
Now I am at a stage where I need to fix hundreds of studies at a time on specific fields. The first I need to try is 0008 0090 for the Referring Physician. I have physician ID numbers in this field followed by ^LASTNAME^Firstname^(middle initial). The problem, of course, is not the Physician ID... The problem is that the names have variations in either spelling or some may have a ',' comma without a "^" seperator or they have both or just a "^" seperating name portions AND some just plain mispelling of the names.
I am trying to figure out how to go in and basically do an in place batch converter for each Doctor (luckily I have less than 10 docs to worry about) where (for example Dr. with Physician ID of 000375):
ifequal "%V0008,0090[0,5]","000375"; set 0008, 0090 to "00375^LASTNAME^FIRSTNAME^(middle intitial)";
1. Is it possible to do this against a running DB?
2. Which dgate command to use and does the above statement look correct?
I have to do this muliple times in a 13k study database.
Thanks
Matt