Mercurial > hg > orthanc-ohif
comparison Sources/OrthancExplorer.js @ 9:e8dea04df69b
caching OHIF dicom-json as metadata
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sun, 18 Jun 2023 14:37:04 +0200 |
parents | eab054ee7537 |
children | 36049c04ee27 |
comparison
equal
deleted
inserted
replaced
8:cc4c81d08bf0 | 9:e8dea04df69b |
---|---|
68 | 68 |
69 AddOhifViewer(viewers, 'Basic viewer', function() { | 69 AddOhifViewer(viewers, 'Basic viewer', function() { |
70 if (${USE_DICOM_WEB}) { | 70 if (${USE_DICOM_WEB}) { |
71 window.open('../ohif/viewer?StudyInstanceUIDs=' + studyInstanceUid); | 71 window.open('../ohif/viewer?StudyInstanceUIDs=' + studyInstanceUid); |
72 } else { | 72 } else { |
73 window.open('../ohif/viewer?url=../ohif-source/' + studyId); | 73 window.open('../ohif/viewer?url=../studies/' + studyId + '/ohif-dicom-json'); |
74 } | 74 } |
75 }); | 75 }); |
76 | 76 |
77 AddOhifViewer(viewers, 'Volume rendering', function() { | 77 AddOhifViewer(viewers, 'Volume rendering', function() { |
78 if (${USE_DICOM_WEB}) { | 78 if (${USE_DICOM_WEB}) { |
79 window.open('../ohif/viewer?hangingprotocolId=mprAnd3DVolumeViewport&StudyInstanceUIDs=' + studyInstanceUid); | 79 window.open('../ohif/viewer?hangingprotocolId=mprAnd3DVolumeViewport&StudyInstanceUIDs=' + studyInstanceUid); |
80 } else { | 80 } else { |
81 window.open('../ohif/viewer?hangingprotocolId=mprAnd3DVolumeViewport&url=../ohif-source/' + studyId); | 81 window.open('../ohif/viewer?hangingprotocolId=mprAnd3DVolumeViewport&url=../studies/' + studyId + '/ohif-dicom-json'); |
82 } | 82 } |
83 }); | 83 }); |
84 | 84 |
85 AddOhifViewer(viewers, 'Total metabolic tumor volume', function() { | 85 AddOhifViewer(viewers, 'Total metabolic tumor volume', function() { |
86 if (${USE_DICOM_WEB}) { | 86 if (${USE_DICOM_WEB}) { |
87 window.open('../ohif/tmtv?StudyInstanceUIDs=' + studyInstanceUid); | 87 window.open('../ohif/tmtv?StudyInstanceUIDs=' + studyInstanceUid); |
88 } else { | 88 } else { |
89 window.open('../ohif/tmtv?url=../ohif-source/' + studyId); | 89 window.open('../ohif/tmtv?url=../studies/' + studyId + '/ohif-dicom-json'); |
90 } | 90 } |
91 }); | 91 }); |
92 | 92 |
93 // Launch the dialog | 93 // Launch the dialog |
94 $('#dialog').simpledialog2({ | 94 $('#dialog').simpledialog2({ |