DicomImportService

137 views
Skip to first unread message

Anna

unread,
Jun 8, 2018, 4:56:22 PM6/8/18
to RSNA MIRC CTP/TFS User Group
I installed CTP, DicomAnonymizerTool, added pipeline to config.xml (see below) and run CTP with Launcher.jar. I installed Ant 1.9 (did not configure anything there), Java 1.8
What else needs to be done to import files with DicomImportService and the rest of the pipeline run? I also include log file. I tested port 1104 with HTTPtest, it is fine (tested from another computer, but not PACS server).
My pipeline in config.xml:

<Pipeline name="Dicom Anonymizer Pipeline">
<DicomImportService
name="DicomImportService"
class="org.rsna.ctp.stdstages.DicomImportService"
root="roots/dicom-import"
quarantine="quarantines/dicom-import"
port="1104" />

<DicomAnonymizer
name="DicomAnonymizer"
class="org.rsna.ctp.stdstages.DicomAnonymizer"
root="roots/dicom-anonymizer"
script="scripts/da.script"
quarantine="quarantines/dicom-anonymizer" />
<FileStorageService
name="FileStorageService"
class="org.rsna.ctp.stdstages.FileStorageService"
root="roots/storage-service"
returnStoredFile="no"
quarantine="quarantines/storage-service" />

</Pipeline>

My log file after showing pipeline (I cut its beginning):

13:43:39 INFO  [ImageIOTools] ImageIO Tools loaded (JARs only): version 1.2-pre-dr-b04
13:43:39 INFO  [HttpServer] HttpServer started on port 1080 [maxThreads=4]
13:43:39 INFO  [DicomStorageSCP] DicomImportService: SCP open on port 1104
13:43:39 INFO  [FileStorageService] FileStorageService root: /Users/caidm05/JavaPrograms/CTP/roots/storage-service

John Perry

unread,
Jun 8, 2018, 5:17:30 PM6/8/18
to rsnas-ctpmir...@googlegroups.com
Anna:
 
I don't see anything wrong. It looks like the DicomImportService came up on port 1104.
 
You just need to send DICOM images to port 1104 from a DICOM Storage SCU.
 
Most PACS can send via the DICOM protocol. When configuring the PACS to send to CTP, the PACS will need to k now the IP address of CTP, the port (1104), and the SE Title. The DicomImportService accepts all AE Titles so you can tell the PACS anything (I usually recommend setting the Called AE Title to CTP and the Calling AE Title to PACS, but any valid AE Titles will work).  No AE Title configuration of the DicomImportService is necessary (or possible).
 
If you don't have an SCU handy, you can use FileSender:
 
FileSender isn't well documented, but there is a short article on it at:
 
 
JP
--
You received this message because you are subscribed to the Google Groups "RSNA MIRC CTP/TFS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rsnas-ctpmirc-user...@googlegroups.com.
To post to this group, send email to rsnas-ctpmir...@googlegroups.com.
Visit this group at https://groups.google.com/group/rsnas-ctpmirc-user-group.
For more options, visit https://groups.google.com/d/optout.

Anna

unread,
Jun 8, 2018, 5:41:59 PM6/8/18
to RSNA MIRC CTP/TFS User Group
Thank you, John.

If I want to use DICOM files from my hard drive  and use ImportDirectoryService instead of DicomImportService (to set aside PACS communication for now), then my pipeline has

<
DirectoryImportService
name="DirectoryImportService"
id="stage ID"
class="org.rsna.ctp.stdstages.DirectoryImportService"
root="roots/directory-service"
import="roots/directory-import"
quarantine="quarantines/directory-service"
port="1104"
/>

Should dcm files be in roots/directory-import ?

Here is what I see in CTP:

Status

DirectoryImportService

Files received:0
Queue size:0
Last file received:No activity
Last file supplied:No activity

Configuration

DirectoryImportService

class:org.rsna.ctp.stdstages.DirectoryImportService
id:stage ID
import:roots/directory-import
port:1104
quarantine:quarantines/directory-service
root:roots/directory-service


I am not sure where DICOM files should be if I run CTP locally on the same machine where dcm files are and what service in the pipeline to use. 
It looks like it does not work for me or I am missing something there.

Thank you.

To unsubscribe from this group and stop receiving emails from it, send an email to rsnas-ctpmirc-user-group+unsub...@googlegroups.com.
To post to this group, send email to rsnas-ctpmirc-user-group@googlegroups.com.

John Perry

unread,
Jun 8, 2018, 8:28:04 PM6/8/18
to rsnas-ctpmir...@googlegroups.com
Anna:
 
The DirectoryImportService monitors the directory specified in the import attribute. Be careful when putting files into that directory. The DirectoryImportService deletes the files from the import directory as it imports them. If you want to keep the original files, then copy the files and paste them into the import directory. If you drag them into the import directory, they will disappear from their original directory and you will lose them.
To unsubscribe from this group and stop receiving emails from it, send an email to rsnas-ctpmirc-user...@googlegroups.com.
To post to this group, send email to rsnas-ctpmir...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages