Viewers icon indicating copy to clipboard operation
Viewers copied to clipboard

Trouble adding modality filter to worklist

Open mtjvankuik opened this issue 10 years ago • 6 comments

I have some trouble adding the modality and accessionnumber tags as filters to the worklist. Furthermore I want to display the amount if images per study in the worklist as well.

The accessionnumber and # images show NaN. This is correct for the accessionnumber, since in my case a prefix is added in my DICOM files before the ''actual accession number''. For example: UMCA12345678. However, I have no idea why #images is shown as NaN. What DICOM tag is used to display # images?

I changed the following files to add these filters: worklistResult.html worklistStudy.html retrieveMetaData.js worklistResult.js getStudyMetaData.js

I'm currently trying to get the modality filter, the accession number and the #images up and running. The modality filter is shown blank; it does not even load. worklist

It is important to know that there are two DICOM tags: modality (0008,0060), and modalities (0008,0061). My modalities tag is non-existent when I look at the dicom tags in orthanc, my modality tag is filled with the string "DX".

Is there more documentation available? And does anyone have tips on how to accomplish this?

mtjvankuik avatar Mar 07 '16 11:03 mtjvankuik

Hi Martin,

Yes we are aware of these worklist issues but I don't have a good answer for you right now. I think the issues are related to Orthanc, though, since dcm4chee seems to work:

screenshot 2016-03-07 13 39 37

I'll see if we can get these bugs pushed up in our agenda.

Thanks for the report!

Erik

swederik avatar Mar 07 '16 12:03 swederik

@swederik No problem! Thanks for the headsup. Is there any more information available about dcm4chee? Because I really need to make these filters work.

mtjvankuik avatar Mar 07 '16 12:03 mtjvankuik

I was testing with the SIIM DCM4CHEE server, I haven't actually set it up myself, sorry.

swederik avatar Mar 07 '16 14:03 swederik

Hi Martin,

Right now, we are using DicomWeb (QIDO) to query Orthanc to build the study list. We also noticed this problem, but haven't had a chance to try and fix it yet ourselves. The problem you're having is with the DICOMWeb plugin in Orthanc that does not return (or filter on) those DICOM tags; i.e. ModalitiesInStudy and NumberOfStudyRelatedInstances. It's already been reported on the Orthanc issue tracker here: (https://bitbucket.org/sjodogne/orthanc/issues/14/aggregate-fields-empty-for-qido-rs-study). It's possible that Orthanc might return those tags using another approach to query it, like the REST API or even through DIMSE.

Setting up DCM4CHEE isn't something I've done either, although I know that they are working on a new version of that server that has docker support, so perhaps that wouldn't be too hard; see here: (https://github.com/dcm4che/dcm4chee-arc-light/wiki/Running-on-Docker). If you want to try that and report back to us how it went, that would be awesome!

  • Rob

radicalrob avatar Mar 07 '16 19:03 radicalrob

Thanks for your references. I already switched projects (instead of using the cornerstone demo, I'm using the OHIF viewer package) so if it's possible I'm probably not switching to DCM4CHEE.

I'm still figuring out the code, implementation and their interactions of the OHIF viewer/Orthanc, but it would take me a lot of time to solve this issue myself. However I'm still going to try it this week.

mtjvankuik avatar Mar 08 '16 10:03 mtjvankuik

I'm going to close this since the same issue is being discussed in https://github.com/OHIF/Viewers/issues/30

swederik avatar Sep 13 '16 08:09 swederik