How to retrieve a worklist for the next days

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
Michel LIBERADO
Posts: 3
Joined: Wed, 2015-05-06, 08:29

How to retrieve a worklist for the next days

#1 Post by Michel LIBERADO »

Hi all,

I wonder if it is possible to retrieve a worklist using criteria like from date an to date ?

According to the DICOM Standard, PS3.2, (see Table B.4.2-24. Worklist Request Identifier, the keys I have to ask are Scheduled Procedure Step Sequence (0040,0100)/>Scheduled Procedure Step Start Date (0040,0002).

C-FIND DCM Study Date Range

Here is the DICOM Range Matching page.

I don't already have a worklist server with entries in the future so for the moment I just use DICOMSERVER.CO.UK to test the range.
Is the following code ok ? (It doesn't seem to work) :

Code: Select all

// Use the DICOMSERVER.CO.UK as the DICOM Worklist Server
OFList<OFString> lOverrideKeys;
// Initialize some keys ... and then the SPS Stard Date
lOverrideKeys.push_back("ScheduledProcedureStepSequence[0].ScheduledProcedureStepStartDate=20050101-20051231"); // ScheduledProcedureStepSequence[0].ScheduledProcedureStepStartDate
// ... cond = scu->performQuery(..., lOverrideKeys, ...);

Michel LIBERADO
Posts: 3
Joined: Wed, 2015-05-06, 08:29

Re: How to retrieve a worklist for the next days

#2 Post by Michel LIBERADO »

Well, The code snippet works. At the time I posted the question, I had a typo that I've just found.
Still, do you know If I can just replace the date by other dates in the future ?

Michael Onken
DCMTK Developer
Posts: 2048
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

Re: How to retrieve a worklist for the next days

#3 Post by Michael Onken »

Hi,

not sure I understand the question: Of course you can enter any date, not only those from 2005 :) This also includes dates like tomorrow's date or another one in the future, to see what is planned at that time.

You can even ask for open intervals, e.g. "20160101-" or "-20151231".

Does that help?

Best,
Michael

Michel LIBERADO
Posts: 3
Joined: Wed, 2015-05-06, 08:29

Re: How to retrieve a worklist for the next days

#4 Post by Michel LIBERADO »

Yes it helps, thanks.
The thing is that I've tried with two RIS, and both can't give me worklist for the next days. One of the two RIS can not even give me the worklist for past days.
I guess it is RIS Vendor specific.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 1 guest