why does it say :worklist file is incomplete

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
xfjsuperking
Posts: 70
Joined: Thu, 2007-08-30, 02:01

why does it say :worklist file is incomplete

#1 Post by xfjsuperking »

Hello
i do worklist query, using wlmscpfs.exe as the server.but it said :worklist file is incomplete.i don't know what is wrong with the worklist file,could someone give me a hand ,thaks in advance.

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

#2 Post by Michael Onken »

Hi,

Part 4 (section about Worklist information model) of the DICOM standard defines to which request attributes in a worklist query a server has to be able to respond. So wlmscpfs only accepts worklist files where all this (minimum) mandatory information is present. For some complete worklist files look into the examples that come with DCMTK.

If you know what you are doing you also can use option "--disable-file-reject" ("-dfr") to also accept incomplete worklist files.

Regards,
Michael

smr99
Posts: 4
Joined: Fri, 2006-11-24, 19:08
Location: Winnipeg, Canada

#3 Post by smr99 »

Michael Onken wrote:So wlmscpfs only accepts worklist files where all this (minimum) mandatory information is present. For some complete worklist files look into the examples that come with DCMTK.
FYI:

I looked at the examples from DCMTK 3.5.4, and wlmscpfs complained about them. I then used the www application to create a worklist entry, but it is also said to be incomplete.
Steve Robbins

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

#4 Post by Michael Onken »

Hi,

this is correct, we need to fix the example files (already on TODO list).

Regards,
Michael

ilango
Posts: 6
Joined: Wed, 2009-03-11, 14:43
Location: Bangalore
Contact:

incomplete worklist file

#5 Post by ilango »

I am also getting incomplete worklist and file will be ignored. When this will be fixed.?

I am not able to check the worklist management properly using wlmscpfs

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#6 Post by Jörg Riesmeier »

When this will be fixed.?
I guess that we'll do this for the next release (or earlier if time permits).

kaboozee
Posts: 3
Joined: Thu, 2008-10-02, 08:38
Location: Germany

Re: incomplete worklist file

#7 Post by kaboozee »

ilango wrote:I am also getting incomplete worklist and file will be ignored. When this will be fixed.?

I am not able to check the worklist management properly using wlmscpfs
As I read somewhere on this forum all you need to do to get a complete worklist is to assure that your worklist contains all of the attributes checked to be present by wlmscpfs.

This is pointed out in wlfsim.h as description for the following function.

Code: Select all

      /** This function checks if the given dataset (which represents the information from a
       *  worklist file) contains all necessary return type 1 information. According to the
       *  DICOM standard part 4 annex K, the following attributes are type 1 attributes in
       *  C-Find RSP messages:
       *        Attribute                             Tag      Return Key Type
       *    SpecificCharacterSet                  (0008,0005)        1C (will be checked in WlmDataSourceFileSystem::StartFindRequest(...); this attribute does not have to be checked here)
       *    ScheduledProcedureStepSequence        (0040,0100)        1
       *     > ScheduledStationAETitle            (0040,0001)        1
       *     > ScheduledProcedureStepStartDate    (0040,0002)        1
       *     > ScheduledProcedureStepStartTime    (0040,0003)        1
       *     > Modality                           (0008,0060)        1
       *     > ScheduledProcedureStepDescription  (0040,0007)        1C (The ScheduledProcedureStepDescription (0040,0007) or the ScheduledProtocolCodeSequence (0040,0008) or both shall be supported by the SCP; we actually support both, so we have to check if at least one of the two attributes contains valid information.)
       *     > ScheduledProtocolCodeSequence      (0040,0008)        1C (see abobve)
       *     > > CodeValue                        (0008,0100)        1
       *     > > CodingSchemeDesignator           (0008,0102)        1
       *     > ScheduledProcedureStepID           (0040,0009)        1
       *    RequestedProcedureID                  (0040,1001)        1
       *    RequestedProcedureDescription         (0032,1060)        1C (The RequestedProcedureDescription (0032,1060) or the RequestedProcedureCodeSequence (0032,1064) or both shall be supported by the SCP; we actually support both, so we have to check if at least one of the two attributes contains valid information.)
       *    RequestedProcedureCodeSequence        (0032,1064)        1C (see abobve)
       *     > > CodeValue                        (0008,0100)        1
       *     > > CodingSchemeDesignator           (0008,0102)        1
       *    StudyInstanceUID                      (0020,000D)        1
       *    ReferencedStudySequence               (0008,1110)        2
       *     > ReferencedSOPClassUID              (0008,1150)        1C (Required if a sequence item is present)
       *     > ReferencedSOPInstanceUID           (0008,1155)        1C (Required if a sequence item is present)
       *    ReferencedPatientSequence             (0008,1120)        2
       *     > ReferencedSOPClassUID              (0008,1150)        1C (Required if a sequence item is present)
       *     > ReferencedSOPInstanceUID           (0008,1155)        1C (Required if a sequence item is present)
       *    PatientsName                          (0010,0010)        1
       *    PatientID                             (0010,0020)        1
       *  @param dataset - [in] The dataset of the worklist file which is currently examined.
       *  @return OFTrue in case the given dataset contains all necessary return type 1 information,
       *          OFFalse otherwise.
       */
    OFBool DatasetIsComplete( DcmDataset *dataset );
Regards,

Daniel

ilango
Posts: 6
Joined: Wed, 2009-03-11, 14:43
Location: Bangalore
Contact:

Incomplete worklist

#8 Post by ilango »

Thank you Daniel.

I am using

wlmscpfs -v -dfp dcmtk/dcmwlm/wlistdb -dfr 1234

-dfr will reject the incomplete file problem. Now its working fine. 8)

Regds,
Ilango

Post Reply

Who is online

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