chore(dicomweb-client): Switch to dicomweb-client.js to push logic out of OHIF
This commit is contained in:
1 parent
45c5867663
commit
89d97a7a3a
58 files changed
+256
-542
No files matched your search
@@ -64,15 +64,15 @@ export const DICOMWebServer = new SimpleSchema({
|
||||
imageRendering: {
|
||||
type: String,
|
||||
label: 'Image rendering',
|
||||
allowedValues: ['wadouri', 'wadors', 'orthanc'],
|
||||
valuesLabels: ['WADO URI', 'WADO RS', 'ORTHANC'],
|
||||
allowedValues: ['wadouri', 'wadors'],
|
||||
valuesLabels: ['WADO URI', 'WADO RS'],
|
||||
defaultValue: 'wadouri'
|
||||
},
|
||||
thumbnailRendering: {
|
||||
type: String,
|
||||
label: 'Thumbnail rendering',
|
||||
allowedValues: ['wadouri', 'wadors', 'orthanc'],
|
||||
valuesLabels: ['WADO URI', 'WADO RS', 'ORTHANC'],
|
||||
allowedValues: ['wadouri', 'wadors'],
|
||||
valuesLabels: ['WADO URI', 'WADO RS'],
|
||||
defaultValue: 'wadouri'
|
||||
},
|
||||
qidoRoot: {
|
||||
|
||||
@@ -14,7 +14,6 @@ if (Meteor.settings &&
|
||||
const endpoints = servers[serverType];
|
||||
endpoints.forEach((endpoint) => {
|
||||
const server = Object.assign({}, endpoint);
|
||||
server.origin = 'json';
|
||||
server.type = serverType;
|
||||
|
||||
Servers.insert(server);
|
||||
|
||||
@@ -5,14 +5,14 @@ Package.describe({
|
||||
});
|
||||
|
||||
Package.onUse(function(api) {
|
||||
api.versionsFrom('1.4');
|
||||
api.versionsFrom('1.7');
|
||||
|
||||
api.use('ecmascript');
|
||||
api.use('templating');
|
||||
api.use('jquery');
|
||||
api.use('stylus');
|
||||
api.use('aldeed:simple-schema');
|
||||
api.use('aldeed:collection2');
|
||||
api.use('templating', 'client');
|
||||
api.use('jquery', 'client');
|
||||
api.use('stylus', 'client');
|
||||
api.use('aldeed:simple-schema@1.5.4');
|
||||
api.use('aldeed:collection2@2.10.0');
|
||||
|
||||
// Our custom packages
|
||||
api.use('ohif:core');
|
||||
|
||||
@@ -2,7 +2,6 @@ import { Meteor } from 'meteor/meteor';
|
||||
import { _ } from 'meteor/underscore';
|
||||
import { OHIF } from 'meteor/ohif:core';
|
||||
import { Servers } from 'meteor/ohif:servers/both/collections';
|
||||
import { ServerConfiguration } from 'meteor/ohif:servers/both/schema/servers.js';
|
||||
|
||||
// Check the servers on meteor startup
|
||||
if (Meteor.settings &&
|
||||
|
||||
Reference in new issue
Block a user