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?
How to load a dicom file from a server using DCMTK library
Moderator: Moderator Team
-
- DCMTK Developer
- Posts: 2501
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: How to load a dicom file from a server using DCMTK libra
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.
What do you mean by that?I used movescu for this,but movescu changes the tag PatientName with value vvn.
Re: How to load a dicom file from a server using DCMTK libra
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
-
- DCMTK Developer
- Posts: 2501
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: How to load a dicom file from a server using DCMTK libra
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).Is there anyway to query recent files from a dicom server using movescu.
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.Also Is there any option to avoid existing files to be overwritten again into the output directory,if we are storing the files queried
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 1 guest