Skip to content

Commit

Permalink
Input/output data plug-in engine
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Chang <[email protected]>
  • Loading branch information
mocsharp committed Jul 26, 2023
1 parent f85616b commit 4d573a3
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 4 deletions.
Binary file modified guidelines/diagrams/mig-export.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 11 additions & 3 deletions guidelines/diagrams/mig-export.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ title Export Results

participantgroup #00CC66 Informatics\nGateway
participant "SCU Export Watcher" as EW
participant "Data Export Plugin Engine" as DEPE
participant "SCU Export" as SCU
participant "FHIR Export" as FHIR
participant "DICOMweb Export" as DICOMWEB
Expand Down Expand Up @@ -36,6 +37,16 @@ PS->EW: Notify new export task event
activate EW

EW->DISK: Load results
EW->DEPE: Execute plugins (DicomFile, ExportRequestEventDetails)
activate DEPE
loop plugin in plugins
DEPE->DEPE: execute plugin
activate DEPE
DEPE<<--DEPE: return DicomFile
deactivate DEPE
end
EW<--DEPE: return DicomFile
deactivate DEPE

alt case DICOM
EW->SCU: Queue DICOM export task
Expand All @@ -62,6 +73,3 @@ EA->DB: Update task state
EW<--EA: Response
deactivate EA
deactivate EW



Binary file modified guidelines/diagrams/mig-scp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 13 additions & 1 deletion guidelines/diagrams/mig-scp.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ fontawesome f0f8 "Hospital\nDICOM Devices" as DICOM

participantgroup #00CC66 Informatics\nGateway
participant "DICOM SCP" as SCP
participant "Input Data Plugin Engine" as IDPE
participant "Payload Assembler Service" as PA
participant "Payload Notification Service" as PN
participant "Object Upload Service" as OUS
Expand Down Expand Up @@ -45,6 +46,17 @@ SCP->DB: Query for \nconfigured\nsources
SCP<--DB: Response
SCP->SCP: Validate
SCP->SCP: Extract DICOM headers
SCP->IDPE: Execute Plugins (DicomFile, DicomFileStorageMetadata)
activate IDPE
loop plugin in plugins
IDPE->IDPE: execute plugin
activate IDPE
IDPE<<--IDPE: return DicomFileStorageMetadata
deactivate IDPE
end
SCP<<--IDPE: return DicomFileStorageMetadata
deactivate IDPE

SCP->OUS: Queue for upload
activate OUS
OUS->DISK: Upload to temporary bucket path
Expand All @@ -67,4 +79,4 @@ deactivate PA
PN->DISK: Move files associated with the payload to payload directory
PN->PS: Publish new workflow request
PN<--PS: Response
end
end

0 comments on commit 4d573a3

Please sign in to comment.