Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retrieve and display amount of images per study and total in worklist #13

Closed
mtjvankuik opened this issue Apr 6, 2016 · 1 comment
Closed

Comments

@mtjvankuik
Copy link

I want to show the amount of images in the worklist. This means in every row (corresponds to 1 study) the amount of instances of that study must be shown (1). In the top the total amount of images must be shown (2).

So far I know the instanceNumber tag is necessary, i.e. instanceNumber(0020,0013). To accomplish (1), I have to count the total amount of instances within the study row. Then show this sum in the corresponding row.

To accomplish (2), I have to count all the instances of all studies in the worklist. The sum of this count is the total amount of instances of all studies, i.e. the total count of all images.

So far I have some trouble accomplishing this. Is there someone who could give me a suggestion?

@knopkem
Copy link

knopkem commented Apr 6, 2016

Hi,
I don't think the instanceNumber tag will be of much use here (It's not reliable for any computation). If you want to show the number of images that are within a study, then the PACS (getting queried) has to support the optional tag: NumberOfStudyRelatedInstances (see: https://www.medicalconnections.co.uk/kb/Counting_Studies_Series_and_Instances) .
This was already sufficiently answered in the thread about the modality filters.
The naive way of counting instances would be possible but is not efficient as you have to traverse each study down to image level. You will just spam the PACS with hundreds of requests.
Hope that helps.

@swederik swederik closed this as completed Sep 2, 2016
JamesAPetts added a commit that referenced this issue Sep 10, 2020
pedrokohler pushed a commit to pedrokohler/ohif-viewers that referenced this issue Nov 13, 2023
pedrokohler pushed a commit to pedrokohler/ohif-viewers that referenced this issue Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants