This is an issue related to my previous question. Here are the steps to reproduce:
- Two DICOM files with these differences (see attachment)
File 1: File 2:
PatientID: 987654321
PatientName: A A
PatientBirthDate: 19560101 19560101
PatientSex: M M
StudyInstanceUID: 1234.1.1.2.1 1234.1.1.2.1
SeriesInstanceUID: 1234.1.1.2.1.1 9.8.7.6
SOPInstanceUID: 1234.1.1.2.1.1.1 9.8.7.6.1
-
Use an Orthanc server with no current patients (simpler to see problem)
-
Send the DICOM files to the Orthanc server: “storescu --call ORTHANC 192.168.1.65 4242 CT* -v”
4.The result is two patient records – each with a copy of a study instance record of the same StudyInstanceUID.
I don’t believe the DICOM standard says anywhere that the PatientID tag uniquely determines a patient on planet earth. But I believe it does say that a StudyInstanceUID should only belong to one patient. The two DICOM entities above have the same StudyInstanceUID and should therefore be assigned to the same patient record.
Both this issue an the previous issue I believe are related to the DicomInstanceHasher algorithm. Is there any way to alter the behavior of this class from a plugin? Or is it possible to alter the behavior of this class based on configuration switches.
Thanks in advance for your consideration of this issue.
Stacy Loesch.
OrthancBugReport.2.7z (1.19 KB)