Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can anyone tell me how to use the dicom worklist in the dcmtk library???Thank you in advance!

2,783 views
Skip to first unread message

weimecky

unread,
Apr 29, 2003, 11:43:04 PM4/29/03
to
the worklist in dcmtk library is so dose that I can not have some
ideas on it ,can you help me? Can anyone give me the step-by-step
configuration ?

Thomas Wilkens

unread,
Apr 30, 2003, 3:30:06 AM4/30/03
to

weimecky schrieb in Nachricht
<8a80a24f.03042...@posting.google.com>...

>the worklist in dcmtk library is so dose that I can not have some
>ideas on it ,can you help me? Can anyone give me the step-by-step
>configuration ?

Hi,

supposing that you have installed dcmtk352 and are able to run the new
worklist SCP implementation "wlmscpfs" (which replaces the former "wlistctn"
application (which may be used analogously in case you have an earlier
version of dcmtk)) as well as the "findscu" application, do the following:

1. use dump2dcm to convert all "*.dump" files in dcmtk/dcmwlm/wlistdb/OFFIS
to "*.wl" files (DICOM format). Note that these files have to have the
extension "*.wl", otherwise wlmscpfs will not find these files. These files
represent your worklist database.
2. use dump2dcm to convert all "*.dump" files in dcmtk/dcmwlm/wlistqry to
"*.dcm" files (DICOM format). These files represent possible queries that
can be used to query the worklist database.
3. in one shell go "wlmscpfs -v -dfp dcmtk/dcmwlm/wlistdb 1234" (start the
worklist management SCP)
4. in another shell go "findscu -v --call OFFIS localhost 1234
dcmtk/dcmwlm/wlistqry/wlistqry0.dcm" (send a certain query to the WLM SCP)

Step 3 will start the worklist management SCP which will listen on port 1234
for incoming C-FIND RQ messages. The "-dfp dcmtk/dcmwlm/wlistdb" option
specifies that the worklist database can be found in folder
"dcmtk/dcmwlm/wlistdb". Note that the worklist database can be organized in
different storage areas. Subfolder "OFFIS" below "dcmtk/dcmwlm/wlistdb" is
one (the only one in this case) storage area. In an incoming C-FIND RQ, an
SCU has to tell wlmscpfs which storage area shall be queried; this is done
by sending a certain "called AE title" to wlmscpfs.

Step 4 will send the query in file "dcmtk/dcmwlm/wlistqry/wlistqry0.dcm"
using a C-FIND-RQ message to the wlmscpfs application (which is running on
"localhost" and listening on port "1234"). Option "--call OFFIS" specifies
that the called AE title is "OFFIS" which in turn tells the wlmscpfs
application to query the storage area "OFFIS" in its worklist database.

The two programs should then dump information that shows their internal
processings (C-FIND RQ - C-FIND RSP). You can also use a different query
file in folder "dcmtk/dcmwlm/wlistqry/" for querying the worklist database.

In case you have more questions, dont hesitate to ask.


Regards,
Thomas Wilkens
OFFIS

Chillar Anand

unread,
Nov 8, 2022, 2:27:54 AM11/8/22
to
Thanks Thomas for detailed explanation.

I have generated dummy worklist files using the python script below. I have started the server and when I query it is returning empty response.

I have attached logs as well.

mwl script: https://github.com/ChillarAnand/RIS-Bridge/blob/master/mwl.py
starting server: $ wlmscpfs --data-files-path mwl 8042 --no-fail --debug
request: $ findscu 0.0.0.0 8042 -W -k QueryRetrieveLevel=PATIENT -k PatientName='*' --call test -d
log: https://gist.github.com/ChillarAnand/86378a73cf1e64e16a3e23916066a1c6

Markus Sabin

unread,
Nov 9, 2022, 2:50:21 AM11/9/22
to
QueryRetrieveLevel (0008,0052) is not an allowed attribute for the Modality Worklist C-FIND Information model. I suspect that this is causing the problem.

See PS3.4, K.6-1
0 new messages