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.