DICOM @ OFFIS

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

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Thu, 2018-02-08, 22:40 
Offline

Joined: Wed, 2018-02-07, 08:45
Posts: 2
How to retrieve dicom files in a server to a directory in our local machine,if the value of the tag PatientName is a particular string?
That if the dicom file contains a PatientName with value 'vvn' ,I need to retreve it from particular IP to my local machine.
I used movescu for this,but movescu changes the tag PatientName with value vvn.
Is there any option available in DCMTK?


Top
 Profile  
 
PostPosted: Fri, 2018-02-09, 12:58 
Offline
DCMTK Developer

Joined: Tue, 2011-05-03, 14:38
Posts: 1939
Location: Oldenburg, Germany
If you want to retrieve the DICOM objects of a particular patient and you only know the Patient's Name (0010,0010), then you first have to query for the Patient ID (0010,0020), e.g. using findscu. In a second step, you can use this Patient ID in order to retrieve the DICOM objects with movescu.

Quote:
I used movescu for this,but movescu changes the tag PatientName with value vvn.

What do you mean by that?


Top
 Profile  
 
PostPosted: Sat, 2018-02-10, 20:07 
Offline

Joined: Wed, 2018-02-07, 08:45
Posts: 2
Is there anyway to query recent files from a dicom server using movescu.Also Is there any option to avoid existing files to be overwritten again into the output directory,if we are storing the files queried


Top
 Profile  
 
PostPosted: Sun, 2018-02-11, 14:58 
Offline
DCMTK Developer

Joined: Tue, 2011-05-03, 14:38
Posts: 1939
Location: Oldenburg, Germany
Quote:
Is there anyway to query recent files from a dicom server using movescu.

First of all, with C-MOVE you do not retrieve files but SOP instances. Depending on what you mean by "recent" you have to specify the query keys (when calling findscu).

Quote:
Also Is there any option to avoid existing files to be overwritten again into the output directory,if we are storing the files queried

No, but this shouldn't matter since movescu uses the SOP Instance UID for generating the filename, so the content of the "new file" (instance) should be identical.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 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