Problem with findscu

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
fkammerer
Posts: 3
Joined: Mon, 2019-04-29, 18:04

Problem with findscu

#1 Post by fkammerer »

Hello,

I am a little desperate concerning this issue and hope, someone can help me :)

When performing the following query asking for „Series Number“ (0020,0011) I get this result (only one!):
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
findscu -S -k 0020,000D="1.2.276.0.30.2.201810311612461.24492354.70164418" -k 0020,000E="1.3.12.2.1107.5.1.4.43408.30000018103022371667100000142" -k 0020,0011 -k 0008,103E 172.17.1.110 105 -aec EOL

W: ---------------------------
W: Find Response: 1 (Pending)
W:
W: # Dicom-Data-Set
W: # Used TransferSyntax: Little Endian Explicit
W: (0008,0000) UL 76 # 4, 1 GenericGroupLength
W: (0008,0005) CS [ISO_IR 100] # 10, 1 SpecificCharacterSet
W: (0008,0054) AE [EOL ] # 4, 1 RetrieveAETitle
W: (0008,0056) CS [ONLINE] # 6, 1 InstanceAvailability
W: (0008,103e) LO [Schõdel nativ 3.0 H31 WF] # 24, 1 SeriesDescription
W: (0020,0000) UL 130 # 4, 1 GenericGroupLength
W: (0020,000d) UI [1.2.276.0.30.2.201810311612461.24492354.70164418] # 48, 1 StudyInstanceUID
W: (0020,000e) UI [1.3.12.2.1107.5.1.4.43408.30000018103022371667100000142] # 56, 1 SeriesInstanceUID
W: (0020,0011) IS [3 ] # 2, 1 SeriesNumber
W:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------




When performing almost the same query, but looking for "Acquisition Number" (0020,0012) instead of „Series Number“ (0020,0011) i get 61 results (the number of images in the series):
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
findscu -S -k 0020,000D="1.2.276.0.30.2.201810311612461.24492354.70164418" -k 0020,000E="1.3.12.2.1107.5.1.4.43408.30000018103022371667100000142" -k 0020,0012 -k 0008,103E 172.17.1.110 105 -aec EOL

W: ---------------------------
W: Find Response: 1 (Pending)
W:
W: # Dicom-Data-Set
W: # Used TransferSyntax: Little Endian Explicit
W: (0008,0000) UL 76 # 4, 1 GenericGroupLength
W: (0008,0005) CS [ISO_IR 100] # 10, 1 SpecificCharacterSet
W: (0008,0054) AE [EOL ] # 4, 1 RetrieveAETitle
W: (0008,0056) CS [ONLINE] # 6, 1 InstanceAvailability
W: (0008,103e) LO [Schõdel nativ 3.0 H31 WF] # 24, 1 SeriesDescription
W: (0020,0000) UL 130 # 4, 1 GenericGroupLength
W: (0020,000d) UI [1.2.276.0.30.2.201810311612461.24492354.70164418] # 48, 1 StudyInstanceUID
W: (0020,000e) UI [1.3.12.2.1107.5.1.4.43408.30000018103022371667100000142] # 56, 1 SeriesInstanceUID
W: (0020,0012) IS [3 ] # 2, 1 AcquisitionNumber
W:

.............

W: ---------------------------
W: Find Response: 61 (Pending)
W:
W: # Dicom-Data-Set
W: # Used TransferSyntax: Little Endian Explicit
W: (0008,0000) UL 76 # 4, 1 GenericGroupLength
W: (0008,0005) CS [ISO_IR 100] # 10, 1 SpecificCharacterSet
W: (0008,0054) AE [EOL ] # 4, 1 RetrieveAETitle
W: (0008,0056) CS [ONLINE] # 6, 1 InstanceAvailability
W: (0008,103e) LO [Schõdel nativ 3.0 H31 WF] # 24, 1 SeriesDescription
W: (0020,0000) UL 130 # 4, 1 GenericGroupLength
W: (0020,000d) UI [1.2.276.0.30.2.201810311612461.24492354.70164418] # 48, 1 StudyInstanceUID
W: (0020,000e) UI [1.3.12.2.1107.5.1.4.43408.30000018103022371667100000142] # 56, 1 SeriesInstanceUID
W: (0020,0012) IS [3 ] # 2, 1 AcquisitionNumber
W:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

What am I doing wrong?
Thank you very much in advance,

Ferdinand

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

Re: Problem with findscu

#2 Post by J. Riesmeier »

First of all, you should make sure that your query is valid, i.e. you also need to specify the Query/Retrieve Level (0008,0052) with a value of "STUDY", "SERIES" or "IMAGE" depending on the level you want to query. It seems that your Query/Retrieve SCP (AE Title "EOL") accepts your invalid queries but it behaves differently depending on whether you query on SERIES level (e.g. for Series Number) or on IMAGE level (e.g. for Acquisition Number), which is understandable if the missing Query/Retrieve Level is determined from the other query keys (just a wild guess).

fkammerer
Posts: 3
Joined: Mon, 2019-04-29, 18:04

Re: Problem with findscu

#3 Post by fkammerer »

Thanks for the quick reply!

I tried specifying the Query/Retrieve Level like this (and also using "IMAGE" and "STUDY"):

findscu -S -k 0008,0052=SERIES -k 0020,000D="1.2.276.0.30.2.201810311612461.24492354.70164418" -k 0020,000E="1.3.12.2.1107.5.1.4.43408.30000018103022371667100000142" -k 0020,0012 -k 0008,103E 172.17.1.110 105 -aec EOL

Unfortunately always leading to the same result of 61 Datasets..

Do you have any further advice?

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

Re: Problem with findscu

#4 Post by J. Riesmeier »

This query is again invalid since Acquisition Number (0020,0012) is not a SERIES level attribute.

Maybe, you should start with describing what you want to do and what you expect to receive.

fkammerer
Posts: 3
Joined: Mon, 2019-04-29, 18:04

Re: Problem with findscu

#5 Post by fkammerer »

My final goal is to find out the Series Description (0008,103E) of a certain series in a study, when I only have its Study UID and its Acquisution Number.

I thought the field 0020,0012 (Acquisition Number) indicated the number of the "Scan spiral" of a CT Study. E.g. an abdominal CT Scan could have around 14 series, but there were only 3 actual scans/spirals like:
1) topo
2) native spiral
3) contrast spiral
and the rest of the series would be reconstructions.

Assuming I had the StudyUID and the Acquisution Number I would like to find out the Series description.

Is that possible at all?

Thank you very much again!

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

Re: Problem with findscu

#6 Post by J. Riesmeier »

My final goal is to find out the Series Description (0008,103E) of a certain series in a study, when I only have its Study UID and its Acquisution Number.
Since Series Description is on SERIES level and Acquisition Number on IMAGE level (and the DICOM Query/Retrieve Service works strictly hierarchical, unless relational queries are supported by both communication partners), you first have to query for all series within the selected study and then query for the specific Acquisition Number within each series (assuming that this optional query key is actually supported by the SCP).

By the way, it seems that your question is more related to the DICOM standard in general and not to the DCMTK, so we are getting off-topic :wink:

Post Reply

Who is online

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