DCMTK worklist configuration

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
drs_it
Posts: 6
Joined: Wed, 2022-12-28, 16:55

DCMTK worklist configuration

#1 Post by drs_it »

Hello to everyone!

I use DCMTK 3.6.6 and actually wlmscpfs, to generate worklists. Almost everything works fine except one DICOM TAG - 0008,1040 - Institutional Department Name Attribute

Is there any possibility to use this tag?

Regards

And Happy New Year!

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

Re: DCMTK worklist configuration

#2 Post by Michael Onken »

Hi,

what does not work?

Best regards,
Michael

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1437
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

Re: DCMTK worklist configuration

#3 Post by Marco Eichelberg »

I am fairly certain that (0008,1040) Institutional Department Name is not supported by wlmscpfs as query or return key.

drs_it
Posts: 6
Joined: Wed, 2022-12-28, 16:55

Re: DCMTK worklist configuration

#4 Post by drs_it »

Hello,

It looks so. Because when I convert dump file to wl with dump2dcm this tag is in.
But I don't get it on modality.

Is there any plans to add more tag support to wlmscpfs in future?

Best regards
Jurijs

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

Re: DCMTK worklist configuration

#5 Post by Michael Onken »

Hi Jurijs,

it's not difficult to add tags (though not planned) but due to the way it is implemented one has to modify the source code. One should maybe make this configurable via text file or so, but this is what we have right now...

Since I was busy on DCMTK anyway, I added Institutional Department Name. See this commit, there is also a Windows binary download (compiled on Windows 10) if you trust me ;)

If you look at the commit and are able to compile the source code yourself, you might add further return keys using the same approach.

BR, Michael

drs_it
Posts: 6
Joined: Wed, 2022-12-28, 16:55

Re: DCMTK worklist configuration

#6 Post by drs_it »

Hi Michael,

Thank you for answer and help. Anyway I will try to figure out with commit (actually I don't have an experience in it).
And I'm using DCMTK 3.6.6 on Ubuntu 22. So I think is there some way to implement this tag using commit to my linux instance?

Best regards
Jurijs

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

Re: DCMTK worklist configuration

#7 Post by Michael Onken »

Hi,

You would have to build the source code yourself using GCC or clang.

I can also provide a linux Ubuntu 22 binary to you that probably also runs on your system.

Best regards,
Michael

drs_it
Posts: 6
Joined: Wed, 2022-12-28, 16:55

Re: DCMTK worklist configuration

#8 Post by drs_it »

Hi Michael

It will be great! :)
I just want to understand... I make wl file trough dump2dcm and then modality make a query worklist from wlmscpfs? So then on modality appear info on tag 0008,1040...? Am I right?

Regards
Jurijs

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

Re: DCMTK worklist configuration

#9 Post by Michael Onken »

Yes, that should work.

Here is the Ubuntu binary. I tried to make it as portable as possible but it still can happen that it does not start on your Linux system (though I also have Ubuntu 22).

Let me know whether this works.

Best regards,
Michael

drs_it
Posts: 6
Joined: Wed, 2022-12-28, 16:55

Re: DCMTK worklist configuration

#10 Post by drs_it »

Hi Michael.

I tried to start your binary, but got error about libpoconet.so.94
If I'll make an installation from your snapshot on git? Will it work?

Best regards
Jurijs

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

Re: DCMTK worklist configuration

#11 Post by Michael Onken »

Hi,

ouh, that one is on me. Try this one please. If it does not work, you must re-compile the source code yourself.

On Linux, ensure you have at least packages cmake, git, g++ and gcc installed. I hope that is enough. Then, on the command line do:

Code: Select all

git clone git://git.dcmtk.org/dcmtk.git
cd dcmtk
mkdir build
cd build
cmake -D CMAKE_INSTALL_PREFIX=<desired_install_dir> ..
make
make install ["sudo make install" if user cannot write to <desired_install_dir]
This will install the freshly built DCMTK to <desired_install_dir>. This must not be something under /usr or so, you can also install it to a sub directory of your home directory, for example.

BR,
Michael

drs_it
Posts: 6
Joined: Wed, 2022-12-28, 16:55

Re: DCMTK worklist configuration

#12 Post by drs_it »

Hi Michael.

Finally it works! :D

Big thanks for help!

Best regards
Jurijs

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

Re: DCMTK worklist configuration

#13 Post by Michael Onken »

:)

Post Reply

Who is online

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