how does orthanc name dicoms?

Purely out of curiosity - I promise I’m not intending to bypass the API or do anything dumb - how does orthanc assign the filenames to dicom files in its storage? Is it random, or a hash of some kind?

Daniel

Yes its a hash of some Dicom tag identifier (patient id, study instance uid…)
https://book.orthanc-server.com/faq/orthanc-ids.html

Just a complement Salim’s answer: If Daniel was referring to the files stored within the storage area (instead of the Orthanc identifiers of the DICOM patients/studies/series/instances as mentioned by Salim), those are called “attachments” and their filenames are generated as random UUID:
https://book.orthanc-server.com/faq/orthanc-storage.html#storage-area

Sébastien-