Retrieve Image key (Object Key Selection) from Qido-RS

125 views
Skip to first unread message

Ghetolay

unread,
Nov 17, 2014, 10:23:36 AM11/17/14
to dcm...@googlegroups.com
Is there a way to just download Image key of a study with a combination of Qido/Wado ?

What I was in mind was : 

1. Do some Qido request to find the study desired (StudyInstanceUID)
2. Get the KO instance UID from Qido (Here is the problem)
3. Download the file with Wado
4. Parse the file and download each instance listed in it with Wado

So the problem seems to be : how to get instances from a study according to their modality/filetype ?
And this problem should also occur if you want to just retrieve a SR (or any file except image) from a study.

At first I thought something like that would work : 

/studies/1.1.1/instances?Modality=KO

But in fact it doesn't (at least on dcm4chee-arc 4) and according to the spec it's how it should behave.
'Modality' is a series level parameter, and unlike 'ModalitiesInStudy', 'Modality' must be composed of a single value. Obviously this value refers to the real modality CT,CR,US,MR,MG.... it's not about filetype like SR, KO...

So it feels like to me that there is no viable solution following the specs. If I'm right, even an unofficial solution (which I'm about to do) will be fine.

gunterze

unread,
Nov 18, 2014, 9:08:00 AM11/18/14
to dcm...@googlegroups.com
I think,

/studies/1.1.1/instances?Modality=KO

should actually work. Alternatively you could also match for the SOP Class UID of KO objects:

/studies/1.1.1/instances?SOPClassUID=1.2.840.10008.5.1.4.1.1.88.59

gunter

Ghetolay

unread,
Nov 18, 2014, 10:03:30 AM11/18/14
to dcm...@googlegroups.com
About Modality parameter, I've read again the Qido spec and I'm ok with how it work now (SR and KO as modalities makes no sense for me).

SOPClassUID is definitely the way to go !! Thank you.

Thks SOPClassUID totally works.
Reply all
Reply to author
Forward
0 new messages