Retrieval of compressed instances with the Dicom-web plugin

Hello,

I work on a medical application SDK and want to use Orthanc as a VNA store for my tests (not for the final product). I need to retrieve full series instances in the same syntax Orthanc received them i.e. a compressed syntax (JPEG2000, HTJ2K …).

The easiest way seems to request the instance with header “Accept: multipart/related; type=application/dicom; transfer-syntax=${TransferSyntaxUID}” where TransferSyntaxUID is the compressed syntax Orthanc used to store the instance.

Nothing I tried to get the syntax at query (QIDO-RS) worked (ExtraMainDicomTags, rebuild with DICOM_TAG_TRANSFER_SYNTAX_UID in Instance level set)

I also tried with “transfer-syntax=*” in the HTTP request Accept header, it works but means I loose all transcoding features from Orthanc.

Is there a standard procedure to get this tag at query ?

Hi @JCaron

I’m not sure to understand …

Then, if you have not configured any IngestTranscoding in Orthanc, if you use “transfer-syntax=* ” in the HTTP request Accept header then, you should get it in the original transfer syntax no ?

If you have configured IngestTranscoding then, indeed, there is no way to know the TS that was used at reception time.

Best regards,

Alain.