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, ...);