Support for DOCX File Attachment in Series

Hi Orthanc Community,

Our team in India is looking to attach DOCX files to Orthanc series, similar to how we add PDFs and JPEGs.

Is there a way to directly attach DOCX (Word) files and download them in the same format? We want to keep all patient-related documents together.

Additionally, can Orthanc be extended with a plugin to support DOCX files? If so, could anyone provide a link to the OrthancCPlugin.lib win64 file downloading link or point me in the right direction to find information about developing such a plugin?

Any suggestions or if direct DOCX support or plugin development could be future features would be great.

Thanks,

Sarfaraz Rahman
India

Hello,

Contrarily to PDF, DOCX files are not supported by the official DICOM standard. It is however possible to include arbitrary files as private tags into a DICOM envelope using the so-called Raw Data IOD. This possibility is used in the STL plugin for Orthanc to store 3D models as DICOM, you could have a look at this plugin for inspiration.

Regards,
Sébastien-