feat(WADO) Allow WADO / QIDO requests to originate from client (#222)

This commit is contained in:
Erik Ziegler authored and GitHub committed 2018-07-17 13:03:36 +02:00
1 parent 92408d4c86
commit ebe0a40f3e
43 files changed
+519 -571

No files matched your search

+1
View File
@@ -39,6 +39,7 @@ ohif:cornerstone-settings
ohif:viewerbase
ohif:study-list
ohif:dicom-services
ohif:dicomweb-client
ohif:hanging-protocols
ohif:metadata
+1
View File
@@ -86,6 +86,7 @@ ohif:cornerstone@0.0.1
ohif:cornerstone-settings@0.0.1
ohif:design@0.0.1
ohif:dicom-services@0.0.1
ohif:dicomweb-client@0.0.1
ohif:hanging-protocols@0.0.1
ohif:header@0.0.1
ohif:hotkeys@0.0.1
@@ -120,7 +120,7 @@ Template.viewer.onCreated(() => {
const studyMetadata = new OHIF.metadata.StudyMetadata(study, study.studyInstanceUid);
let displaySets = study.displaySets;
if(!study.displaySets) {
if (!study.displaySets) {
displaySets = OHIF.viewerbase.sortingManager.getDisplaySets(studyMetadata);
study.displaySets = displaySets;
}
@@ -131,6 +131,9 @@ Template.viewer.onCreated(() => {
OHIF.viewer.Studies.insert(study);
OHIF.viewer.StudyMetadataList.insert(studyMetadata);
OHIF.viewer.data.studyInstanceUids.push(study.studyInstanceUid);
// Updates WADO-RS metaDataManager
OHIF.viewerbase.updateMetaDataManager(study);
});
});
+7 -1
View File
@@ -3,7 +3,13 @@ import { OHIF } from 'meteor/ohif:core';
Router.configure({
layoutTemplate: 'layout',
loadingTemplate: 'layout'
});
Router.waitOn(function() {
return [
Meteor.subscribe('servers'),
Meteor.subscribe('currentServer')
];
});
Router.onBeforeAction('loading');