LT-275: Migrating ohif:lesiontracker to the new import structure

This commit is contained in:
Bruno Alves de Faria authored and Erik Ziegler committed 2016-11-15 08:24:30 +01:00
1 parent a49fca71d2
commit 826bf9bf16
26 files changed
+142 -151

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
import { OHIF } from 'meteor/ohif:core';
OHIF.lesiontracker = {};
@@ -60,7 +60,7 @@ function displayFunction(data) {
return criteria.id;
});
const currentConstraints = getTrialCriteriaConstraints(criteriaTypes, data.imageId);
const currentConstraints = OHIF.lesiontracker.getTrialCriteriaConstraints(criteriaTypes, data.imageId);
if (data.shortestDiameter) {
// TODO: Make this check criteria again to see if we should display
@@ -81,6 +81,6 @@ export const bidirectional = {
measurementTableOptions: {
displayFunction: displayFunction
},
includeInCaseProgress: true,
includeInCaseProgress: true,
},
}
}
@@ -0,0 +1,7 @@
import './nonTarget.js';
import './ellipse.js';
import './length.js';
import './measurementTools.js';
import './dataExchange.js';
import './dataValidation.js';
import './configuration.js';
@@ -0,0 +1,2 @@
import './base.js';
import './configuration';