Hello everyone, I search about this topic and I can’t find any like this, so, I want to know if this happen to any else here.
I have installed an instance of Orthanc since 3 years for one client with a little radiologic clinic who manages Only CR, MG and US. This instance storage more than 31K studies today. I do not have the MWL Plugin, so, the data is captured at modalitys everytime and occasionally there are some typos. When this happen we use the “Modify DICOM tags” tool from OE2.
Last month there ocurred a typo at one studie and when we made the modification, the tool take a long time to made the proces.. Here is the bug. The result was that more than 5k studies are modified with the new name that we captured instead of just the study selected. Unfortunetaly my client do not have a BackUp.. What a mess… (we are working on the back up implementation acutally)
Today, again there was anoter typo with a study patient name, and when we try to made the change with the tool, happens again, more than 2k studies are modified with the new name, so any clue of why or how this happen?
Regards Ricardo Martínez
Hi,
First guess: all your patients share the same PatientID.
And, when you modified that patient, Orthanc probably did warn you that it had 5000 studies:
The right way to work in this situation is to click on “Modify Study Tags” because you actually only want to correct a single study, try to change the PatientName
→ Orthanc will refuse because you can not change the PatientName
of a Patient who has 5000 studies in this interface → you need to create a new PatientID
and then, you are allowed to perform the modification.
Best regards,
Alain
Hi Alain, thanks for replay.
All you said has logic and yes, the OE2 interface show the information about the number of studies that have the patient selected, but, when I do the modification tag proces, I do not have the option to Modify Patient Tags activate at OE2 interface (I attached an image), just the option to Modify Studi Tags. I attached some images that show the options of the actual OE2 interface when we do the modification tags process and one image from the configuration dedicated to these function. Also, I think that if the modality create (capturing or autogenerating) the same PatientID a few times, it’s possible, but more than 1k creepes me out… But there’s the possibility to this happen with one modality (e.g. CR), but the problem is, the change affect CR, MG and US at the same time. I wonder and I try to figured out with my client how is possible that three different modalitys are making studies with the same PatientID without a worklist/RIS available.
Regards, Ricardo Martínez
This option appears only if there are multiple studies for the same patient.
For the PatientIDs duplicate, you just need to check in OE2. If you have 5k studies with the same PatientName, just check the PatientID of these 5k studies.
Hello Alain, I am sorry for the late response. I already check that the option appears only if there are multiple studies from the same patient, just like you said. But the question I have is, why they have the same PatientID?
For example, I have an instance of Orthanc updated running on a virtual machine at home (Ubuntu 24.04 Orthanc 1.12.7) where I make tests before I pass the changes to production. At this instance, I have 9 example studies uploaded (CR, CT and US) from different locations, and I just uploaded the CR study from the clinic where the problem happened (I mean the original study whose PatientID was repeating in more than 5k studies). Here is where the things are interesting… Altough the 10 studies obviously come from different places (clinics), were carried out with different US, CT and CR equipments, and have different dates, the first 9 studies already uploaded do not have the “this patient has # studies - show them” message, but, the CR does have this message, counting 10 studies; that is himself and the other 9 studies. I attached two images that describe the issue.
So, there’s something that I’m missing?
Hi,
I have filed an issue for the invalid number of studies displayed when the PatientID is empty.
But, when you modify that patient, only the studies whose PatientIDs is empty are mofidied.
1 Like