FINDSCU with date greater than ...

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
hollebolle
Posts: 28
Joined: Tue, 2005-09-20, 10:09

FINDSCU with date greater than ...

#1 Post by hollebolle »

Hi everybody,

I guess it is a simple question and a simple answer, but I didn't find a solution by using the faq and search.
I would like to get all the studies with a date greater than e.g. 01.01.2000. This is the syntax I used:

Code: Select all

findscu -P -k "0008,0052=STUDY" -k "0010,0020=12345" -k "0008,0020=+20000101" 127.0.0.1 5678
According to "smaller than" using a minus "-" I tried to use a plu "+" before the date in 0008,0020. That does not work.

Can anybody please help me to find the right sytax for findscu with dates smaller than, greater than and between two dates?

[/code]

wrgben
Posts: 20
Joined: Thu, 2005-01-06, 10:53

#2 Post by wrgben »

Dates and times use Range Matching, so for all dates after and including 2000-01-01 the syntax is "20000101-". The syntax for matching dates prior to and including 200-01-01 is "-20000101" and for matching between 2000-01-01 and 2000-01-31 is "20000101-20000131"

hollebolle
Posts: 28
Joined: Tue, 2005-09-20, 10:09

#3 Post by hollebolle »

Alright. That's exactly what I was looking for :-)

Thank You very much.

THREAD CLOSED ;-)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest