Hello !
I have a question related to the orthanc way of saving the dicom files.
Use Case: when I upload a patient with files like this :
Orthanc will rename the files in CT0001.dcm , CT0002.dcm and so on. Why this is happening? There is some ways of saving the original files ?
Thanks,
Alex
Hi,
Indeed, Orthanc does not save the original file name so it is not able to regenerate it later on when you download the file.
Note that it should be possible to do so by writing a plugin to store the original file name in a metadata (by overriding the POST /instances route and the GET /instances/…/file route)
Best regards,
Alain.
Note that the DICOM standard does not specify how the DICOM files should be named.
Every software has different conventions, so you should not rely on those of your own software.
As Alain mentioned, it is quite easy to write an external script (e.g. in Python) that calls the REST API of Orthanc in order to download all the files for a given study using the naming convention you want:
https://book.orthanc-server.com/users/rest.html
Sébastien-