Retrieving DVH Sequence in RT Dose IOD

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
mlundemann
Posts: 3
Joined: Mon, 2013-09-30, 12:22

Retrieving DVH Sequence in RT Dose IOD

#1 Post by mlundemann » Mon, 2013-09-30, 12:36

Hi,

I've set up a DICOM Q/R service at my research institution, using dcmqrscp, findscu and movescu. I would like to retrieve DVH Sequence Data from the database connected to our Treatment Planning Software (TPS). At the moment I'm able to retrieve RT Dose files containing pixel data, but how do I specify (preferably at the command line) that the DVH Sequence should be included?

Thanks,
Michael

J. Riesmeier
DCMTK Developer
Posts: 2284
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: Retrieving DVH Sequence in RT Dose IOD

#2 Post by J. Riesmeier » Mon, 2013-09-30, 21:17

Are you talking about returning DVH Sequence (3004,0050) with a C-FIND response message from the Q/R SCP?

This attribute is not supported by the dcmqrscp tool. Are you sure that it is available from the TPS database?

mlundemann
Posts: 3
Joined: Mon, 2013-09-30, 12:22

Re: Retrieving DVH Sequence in RT Dose IOD

#3 Post by mlundemann » Tue, 2013-10-01, 08:41

Dear J. Reismeier,

Thank you for your response.

Yes! It's exactly what I want to do, so I guess there's no other way than to modify the dcmqrscp. DVH data has been calculated by the TPS and is exported by default, when using the TPS UI, so I believe it's only a matter of a correct C-FIND response.

/Michael

J. Riesmeier
DCMTK Developer
Posts: 2284
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: Retrieving DVH Sequence in RT Dose IOD

#4 Post by J. Riesmeier » Tue, 2013-10-01, 16:39

You cannot expect that all (most) DICOM attributes are supported by an Q/R SCP. Why don't you just retrieve (i.e. download) the RT Dose object and the access the DVH Sequence in that object (if available)? I guess you are doing the same for Pixel Data, which contains the actual dose information.

mlundemann
Posts: 3
Joined: Mon, 2013-09-30, 12:22

Re: Retrieving DVH Sequence in RT Dose IOD

#5 Post by mlundemann » Wed, 2013-10-02, 12:52

Yeah, but my problem is that the DVH Sequence isn't included (available) in the RT Dose Object that I retrieve via dcmqrscp. However, the DVH data is estimated and available in the TPS and when I, on the contrary, manually export the same RT Dose Object from the TPS (via the user interface), the DVH Sequence is included.

So I thought I could "force" dcmqrscp to include the DVH Sequence in the RT Dose Object, by using the query key (3004,0050) in movescu, but as you say that option is (obviously) not supported by the Q/R SCP.

I have 400 patients that I wish to analyze, which makes a manual export impossible.

My work-around is to re-estimate the DVH from the Pixel Data and the RT Structure Set in MATLAB, but it's really a duplication of effort and it induces minor differences due to partial volume effects, when compared to the DVH estimated by the TPS.

J. Riesmeier
DCMTK Developer
Posts: 2284
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: Retrieving DVH Sequence in RT Dose IOD

#6 Post by J. Riesmeier » Wed, 2013-10-02, 15:16

However, the DVH data is estimated and available in the TPS and when I, on the contrary, manually export the same RT Dose Object from the TPS (via the user interface), the DVH Sequence is included.
That's really strange, but this should have nothing to do with the way the Sequence is requested, i.e. via C-FIND or not. Maybe, there is a configuration option in the TPS or...

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

Re: Retrieving DVH Sequence in RT Dose IOD

#7 Post by Michael Onken » Mon, 2013-10-07, 12:46

Hi,

just to be 100% sure , you can use storescp instead of dcmqrscp as a receiver for the data. You can add storescp's option "--bit-preserving" on top to receive every single bit as it was sent over the line.

Best,
Michael

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest