Provide lightweight plug-in engine to process data before exporting
mocsharp opened this issue · 1 comments
Is your feature request related to a problem? Please describe.
This change request relates to the new feature that enables offloading processing to third-party services.
When the Workflow Manager needs to offload some datasets to external services via the Informatics Gateway, it requires IG to modify relevant DICOM tags and store the original values. When the external services return the results later, IG needs to restore the original values.
Describe the solution you'd like
Allows each export request to be configured with zero or more plug-ins to execute before export the data to destination.
Requirements
-
(SCP Service) A list of plug-ins can be included with each export request, and each plug-in is executed in the order stored, processing one file at a time, enabling piping of the data before each file is exported.
-
Plugins MUST be lightweight and not hinder the export process
-
Plugins SHALL not accumulate files in memory or storage for bulk processing
-
ACR API will not be implemented in this issue
-
DICOMWeb STOW-RS will not be implemented in this issue (see #425)
-
FHIR & HL7 will not be implemented in this issue