DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Mon, 2018-09-24, 12:10

All times are UTC + 1 hour




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Thu, 2017-11-30, 14:19 
Offline

Joined: Mon, 2017-11-27, 18:23
Posts: 4
This is my first time here.

My problem Situation:

I have two Dicom nodes:

PACS: AETitle: GEPACS
IP: 10.48.5.205
PORT: 4100

calling Workstation: AETitle: C06SW-PACS-036
IP: 10.47.48.140
PORT: 104

The following script:

findscu -S -k 0008,0052=STUDY -k 0008,0050="11213411" -aec GEPACS 10.48.5.205 4100 -aet C06SW-PACS-036
I: ---------------------------
I: Find Response: 1 (Pending)
I:
I: # Dicom-Data-Set
I: # Used TransferSyntax: Little Endian Explicit
I: (0008,0050) SH [11213411] # 8, 1 AccessionNumber
I: (0008,0052) CS [STUDY ] # 6, 1 QueryRetrieveLevel
I: (0008,0054) AE [GEPACS] # 6, 1 RetrieveAETitle
I: (0008,0056) CS [ONLINE] # 6, 1 InstanceAvailability
I: (0010,0020) LO [0080326746] # 10, 1 PatientID
I: (0020,000d) UI [1.2.840.113619.6.95.31.0.3.4.1.1018.13.11213411 ] # 48, 1 StudyInstanceUID
I:

MOVESCU.EXE 10.48.5.205 4100 -aec GEPACS -aem C06SW-PACS-036 -aet C06SW-PACS-036 -k 0008,0052=STUDY -k 0020,000D="1.2.840.113619.6.95.31.0.3.4.1.1018.13.11213411" -k 0010,0020=0080326746

Transfer all Images of the study identified by the accessionnumber: 11213411 from our PACS to the Database of the Workstation.

But we like to have the dicomfiles of the study in a Directory of the Workstation.

Have anyone a tipp, how we can reach this target?

Thanks and best regards,

Hans Tepe (Charité; Radiology Department)


Top
 Profile  
 
PostPosted: Thu, 2017-11-30, 15:12 
Offline
DCMTK Developer

Joined: Fri, 2004-11-05, 13:47
Posts: 1687
Location: Oldenburg, Germany
Dear Hans,

the parameter -aem tells movescu where to send the requested DICOM files (by defining the so-called Move Destination AE Title). So if you want to retrieve them to your workstation, you must configure your workstation's AE Title there. In your case you tell the PACS to send them to AE Title "C06SW-PACS-036" which more sounds like a PACSes AE Title.

Note that your PACS manages a list of AE Titles with their IP addresses and ports, one for each potential receiver of DICOM files. So if you use movescu ... -aem WORKSTATION ... (as an example), make sure that WORKSTATION is configured as a known AE Title with IP and port on the PACS. Otherwise the PACS will return "Move Destination Unknown" to you.

Once the PACS starts the transfer, it will open a second connection to your workstation (i.e. to the port and IP address configured for WORKSTATION). Therefore you must ensure that a DICOM Stroage SCP listens on that port for incoming DICOM connections. movescu can do the job for you: You can specify via option --port 1234 (for example) that you want to listen on port 1234 for the incoming DICOM storage. Alternatively, you can start DCMTK's storescp via (e.g.) storescp -v 1234. For both tools option -od lets you override the output directory where the files should be stored to (default is the current directory).

Greetings from Oldenburg,
Michael


Top
 Profile  
 
PostPosted: Thu, 2017-11-30, 15:33 
Offline

Joined: Mon, 2017-11-27, 18:23
Posts: 4
Dear Michael,

you can see at the top of my question, that C06SW-PACS-036 is the AETitle of the Workstation, and this AETitle is known by the PACS.

Greetings from Berlin,

Hans


Top
 Profile  
 
PostPosted: Thu, 2017-11-30, 16:34 
Offline
DCMTK Developer

Joined: Fri, 2004-11-05, 13:47
Posts: 1687
Location: Oldenburg, Germany
Hans, sorry for scanning your post to quickly. So your problem is simply the output directory? Then -od (as described) will do the trick. Or do I get you wrong?
Otherwise let me know which problem you are running into.

Best,
Michael

[edit]
P.S: If the receiver on port 104 on your workstation is *not* under your control, there is no way to specifiy the storage directory via movescu. movescu simply initiates the "Download" and specifies the destination via the -aem switch. There is no way in movescu (or in the DICOM protocol) in general that allows to tell PACS or final receiver on the second connection where (i.e. into which directory) it should store the images.
[/edit]


Top
 Profile  
 
PostPosted: Thu, 2017-11-30, 19:48 
Offline

Joined: Mon, 2017-11-27, 18:23
Posts: 4
Dear Michael,

I think I begin to understand.

My Workstation C06SW-PACS-036 is with the installed Software like an 'little' PACS.

So I must create an additional AETitel with the same IP and a different Port-Number.
These Values must then configuered in the Main-PACS GEPACS.

The -aem Parameter must be set to this new AETitle in the movescu command plus the new port numbrr.


Right?

Plattdeutsch bin ich besser!

Greetings Hans


Top
 Profile  
 
PostPosted: Thu, 2017-11-30, 20:37 
Offline
DCMTK Developer

Joined: Fri, 2004-11-05, 13:47
Posts: 1687
Location: Oldenburg, Germany
Hi Hans,

exactly, that's how it works.

Best,
Michael

P.S: Nächstes mal dann op Platt :)!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group