Hi,
I'm trying to fetch some DICOM series that are Key Object Selection Documents (i.e. series images marked as Key Objects). I'd need to query all existing KOS documents to a DICOM node, and retrieve these, as well as the associated series.
In order to do this, I guess that I need to restrict the corresponding query and retrieve processes by setting the Modality to KO.
However, it looks like my approach is not correct. I've used the QueryTool [1] class, but I'm wondering:
- How can I get the list of studies returned as the result of the query?
- How can I set the modality restriction to the query/retrieve?
For the query, I've tried
int tagInDecimal = Integer.parseInt("00080060", 16);
String modalities = "\\KO";
queryTool.addQueryTag(tagInDecimal, modalities);
without success.
Thanks,
Jon