Viewers
Viewers copied to clipboard
[Bug] Downloading Multiframe Instances: Incorrect SOPInstanceUID Used from PerFrameFunctionalGroupsSequence"
Describe the Bug
When attempting to download studies with multiframe instances in OHIF, an error occurs. The problem arises because OHIF retrieves the "SOPInstanceUID" from within the "PerFrameFunctionalGroupsSequence" instead of using the instance's "SOPInstanceUID". This causes OHIF to search for images in incorrect paths in the PACS (Orthanc), leading to download errors.
Steps to Reproduce
- Load a study containing multiframe instances in OHIF.
- Attempt to download individual frames from the study.
- Observe the error produced when trying to access the images (404).
The current behavior
OHIF is using the "SOPInstanceUID" from within the "PerFrameFunctionalGroupsSequence", resulting in the construction of incorrect image paths and consequently the failure to download the frames.
The expected behavior
OHIF should use the correct instance "SOPInstanceUID" to search and download individual frames, ensuring that the image paths are correct and exist in the PACS (Orthanc).
OS
Ubuntu
Node version
18
Browser
Chrome 124