Mark:
Do they want a zip file to encapsulate a single study, or are they just
looking to use zip for compression during transmission?
CTP doesn't have a StorageService that stores objects in zip files. It
would be easy to add a zip output feature to the StorageServlet that is part of
the FileStorageService pipeline stage, but you would still have to manually
access the servlet to get it to save the zip file of the study for you.
Are you planning to use CTP to send the files to Bioclinica? If what
protocol to they use?
The HttpExportService has a mode for sending objects in zip files. To use
it, you include a compressor child element, specifying the
number of files to include in the zip files by setting the
cacheSize attribute. It doesn't group by patient study, though,
it just puts images in a cache until the cache is full and then sends the cache
as a zip file. So, for example, if images for multiple patients are processed
simultaneously, the images will be cached in the order they were processed and
thus intermixed in the zip files, and of course, depending on the cache size, a
study might be split across multiple zip files.
JP