I have a conquest server with almost 250,000 studies in it, or around 10TB of data. There are thousands of cases that have no accession number, or the accession number is 0. Also, because of a common, but bad, practice in the past, there are also thousands of duplicate accession numbers.
There are also other fields such as the patient birthday that we would like to clean up.
It seems that the easiest way to accomplish this would be to dump the data that we are missing from the RIS into a CSV, make a new table and import it, and update the dicomstudies and dicompatients tables.
Are there any caveats to doing this? The system is still receiving new cases.
I suppose I could always regenerate the database if I mess it up, but of course, a regen would take quite a while.
There are some fields that are in two tables, will it cause weird behaviour if I only update one table? I assume it would only mean that the results would be different depending on if you were doing a patient or study level query.
Brian