Hi,
in documentation : https://orthanc.chu.ulg.ac.be/book/faq/orthanc-ids.html
Because the DICOM standard guarantees the StudyInstanceUID, SeriesInstanceUID and SOPInstanceUID tags to be globally unique, the Orthanc identifiers for studies, series and instances are also globally unique…
but if they are identified by the PatientID (not globaly unique) concatenated with their uuids, their orthanc identifiers can’t be globally unique !
Where is the truth ?
Marc
Hello,
Concatenating the Patient ID (that is not globally unique) with Study/Series/SOP instance UIDs (that are globally unique) leads to a globally unique identifier, as the trailing part will be globally unique.
So, the Orthanc identifiers of studies/series/instances are globally unique (apart from the Orthanc identifiers of the patients).
HTH,
Sébastien-
It seems that I don’t understand how identifiers are generated in Orthanc.
Named uuids are globaly unique, so that the same string passed to uuid generator returns the same uuid.
If the Patient ID is part of the original string, different patient IDs will make different strings and then different uuids, even if trailing part is the same.
Where am I wrong ?
The FAQ gives a full explanation about Orthanc identifiers:
https://orthanc.chu.ulg.ac.be/book/faq/orthanc-ids.html
Your misunderstanding probably comes from the fact that Orthanc identifiers are not UUID/GUID as you seem to think [1], but result from a SHA-1 hashing [2].
[1] https://en.wikipedia.org/wiki/Universally_unique_identifier
[2] https://en.wikipedia.org/wiki/SHA-1