DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Thu, 2017-11-23, 21:33

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Wed, 2005-01-19, 12:31 
Offline
DCMTK Developer

Joined: Tue, 2004-11-02, 17:21
Posts: 117
Location: Oldenburg, Germany
:?: How can I use findscu for a query with the query/retrieve service?

:!: Here is an example: using findscu to query an image from a query/retrieve SCP using the patient root information model:

Code:
findscu -v -P -k 0008,0052="IMAGE" -k 0010,0020="300019" -k 0020,000D="1.2.3.1" -k 0020,000E="1.2.3.2" -k 0008,0018="1.2.3.3" localhost 104

Explanation:
  • -v runs the application in verbose mode
  • -P specifies to use the patient root information model
  • -k 0008,0052="IMAGE" tells the application that you are querying on image level (i.e. for an image)
  • -k 0010,0020="300019" is the patient ID of the patient in question (unique key on patient level)
  • -k 0020,000D="1.2.3.1" is the study instance uid of the study in question (unique key on study level)
  • -k 0020,000E="1.2.3.2" is the series instance uid of the series in question (unique key on series level)
  • -k 0008,0018="1.2.3.3" is the sop instance uid of the image in question (unique key on image level)
  • localhost is the machine the query/retrieve SCP is running on
  • 104 is the port the query/retrieve SCP is listening to.
Note that when you are querying on a certain query level (attribute 0008,0052 set to either PATIENT, STUDY, SERIES or IMAGE), you have to specify all unique keys of levels which are above this level; e.g. on image level, you have to specify a patient id, a study instance uid and a series instance uid to denote the patient/study/series you are referring to, and of course you have to finally provide a sop instance uid to specify the image you are looking for.


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

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