Stone Viewer - Load Multiple Studies

I noticed that in the Stone Viewer there a some additional options available for loading Studies and Patients.

e.g. To Load multiple studies you can use a URL like:

?study=StudyInstanceUID,StudyInstanceUID

and the viewer will load both of those studies, and you can presumably use more than just 2, just a comma-separated list of StudyInstanceUID’s.

The app.js code shows several options:

var selectedStudies = getParameterFromUrl(‘selectedStudies’);
var patient = getParameterFromUrl(‘patient’);
var study = getParameterFromUrl(‘study’);
var series = getParameterFromUrl(‘series’);

?patient=PatientID

apparently works to load all of the studies matching that PatientID. That is also very useful.

Not sure how the selectedStudies UrlParam works since you have to have a study or patient specified to load the viewer to begin with.

Those options don’t seem like they are well documented anywhere for the Stone Viewer. Wondering if there is a PDF somewhere, similar to the old Osimis Viewer that has some instructions on how to use the viewer.

Hi Stephen,

There’s no PDF like we had for the OsimisViewer. There is some documentation in this file: https://hg.orthanc-server.com/orthanc-stone/file/tip/Applications/StoneWebViewer/NOTES.txt.

We should probably include it in the orthanc-book indeed.

Best regards,

Alain.

I am using Stone Viewer to show multiple studies as per above, like this:

?study=StudyInstanceUID1,StudyInstanceUID2,StudyInstanceUID3,StudyInstanceUID4 and so on

I checked the NOTES and TODO files and do not see anything regarding my suggestion below.

The Stone Viewer orders the studies on the left in its own way, irregardless of the order in which I pass in the arguments. Would greatly appreciate a minor feature upgrade to specify how the user would like the ordering to occur.

Or to allow the order the arguments are passed in to dictate their display order.

Preference is reverse chronological (newest on top; oldest on bottom). But even better would be logic to pass in, such as:

&order_by=StudyDate_DESC,StudyDescription_ASC,PatientName_ASC

I view studies (usually by StudyInstanceUID) that may belong to more than one DICOM patient ID (intentionally) when comparing studies performed at different institutions.

Thank you for your consideration. Orthanc and Stone Viewer are greatly appreciated.