I am trying to make a project for school emulating a few clinics, each one would have a orthanc server.
Those servers would send patients between them with “Send to modality” option. Everything ok but in this group i have read something that could bring me troubles, the orthanc ID of patients. From the orthanc book:
“The patient-level identifiers are not guaranteed to be globally unique, and might collide between different hospitals. For this reason, you should always do queries at the study level as soon as you deal with an application that handles patients from different hospitals.”
And searching in this group:
“Orthanc assumes that the patient id is unique to a single patient across all interactions. Imagine a situation where the patient id in dicom is being recycled or duplicated. For instance, 2 hospitals each use an internal id generator and there is a collision. In this case, the first patient assigned an id is assigned the record regardless of if they are in fact the correct patient. We actually have a pregnant man because of this.”
Assuming I would like if any more experienced with orthanc could confirm me/answer me some stuff.
1- To emulate the clinics, i have some VM, each one with orthanc server installed and running, the same .dcm files are indexed in the servers. I’ve checked the ID of the patient and they have the same ID. This make me question, Is it “fixed” the problem of not unique ID Patient of orthanc or was it simply luck the ID are the same for the patient? (Orthanc DicomAet is different in each Orthanc server)
2- If I transfer a patient using “Sent to modality” in Orthanc, is it guaranteed the Orthanc PatientID would remain the same? Example:
Orthanc Server1 Patient(ID:abc123) --(send to modality Orthanc Server2)–>Orthanc Server2 Patient(ID:abc123) ??
PD: (Clarification) when refering to Orthanc PatientID I’m refering the one Orthanc creates when indexed, not the Dicom PatientID
Any help will be appreciated and don’t hesitate to ask if i wasn’t clear enough