OHIF / Viewers

OHIF zero-footprint DICOM viewer and oncology specific Lesion Tracker, plus shared extension packages
https://docs.ohif.org/
MIT License
3k stars 3.15k forks source link

[Bug] Ohif + DICOMJSON + multiple studies #3937

Open beavermml opened 4 months ago

beavermml commented 4 months ago

Describe the Bug

when sending multiple studies via dicomjson, ohif keep trying to open the earliest study according to studyDateTime and not the first study on the json list.

Steps to Reproduce

  1. generate DICOMJSON with multiple studies
  2. load OHIF with the JSON
  3. watch that OHIF only load earliest study

The current behavior

OHIF will shows by default the earliest study the DICOMJSON.

The expected behavior

OHIF will show the first study according to the JSON list. This way we can force OHIF to open specific study ( while giving the options to view other studies too )

OS

Windows

Node version

16.18.1

Browser

Edge

sedghi commented 2 months ago

can you share your dicom json file

beavermml commented 2 months ago

image

something like this.

beavermml commented 2 months ago

image

even if i change the order of the study,

OHIF will always shows the 20070101 first in the viewer

sedghi commented 2 months ago

sorry i meant as json file so that we can run