findscu : what query information model should be used for IMAGE and SERIES Level query

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
Jyoti
Posts: 17
Joined: Wed, 2004-12-01, 04:33

findscu : what query information model should be used for IMAGE and SERIES Level query

#1 Post by Jyoti »

Hi,

In case I have to query for a petient data in the IMAGE or SERIES level, what corresponding query information model option ( e.g -P for PATIENT, -S for STUDY) should I use with findscu command?

Sorry if this question is very basic but I am still learning DICOM and not very clear with it.

An example query in the IMAGE level would be helpful.

Thanks
Jyoti

Thomas Wilkens
DCMTK Developer
Posts: 117
Joined: Tue, 2004-11-02, 17:21
Location: Oldenburg, Germany
Contact:

#2 Post by Thomas Wilkens »

You can use the patient root _or_ the study root information model to query on image or series level.

Example: querying on image level with patient root model:

Code: Select all

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 level, you __have__ to specify all unique keys of levels which are above this level; i.e. on image level, you have to specify a patient id, a study instance uid and a series instance uid to denote 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.

Jyoti
Posts: 17
Joined: Wed, 2004-12-01, 04:33

#3 Post by Jyoti »

Thanks for the clarification. I am able to make SERIES and IMAGE level queries.

Jyoti

Post Reply

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 1 guest