LT-92: Restructuring the criteria in JSON format
This commit is contained in:
1 parent
b8c397a9b4
commit
ada2d1e284
13 files changed
+90
-106
No files matched your search
@@ -1,6 +1,7 @@
|
||||
import { OHIF } from 'meteor/ohif:core';
|
||||
import { _ } from 'meteor/underscore';
|
||||
import { RecistChecker } from './checkers/RecistChecker';
|
||||
import { CriteriaEvaluator } from './CriteriaEvaluator';
|
||||
import * as recistBaselineEvaluation from './evaluations/recistBaseline.json';
|
||||
|
||||
class ConformanceCriteria {
|
||||
|
||||
@@ -17,8 +18,8 @@ class ConformanceCriteria {
|
||||
}
|
||||
|
||||
validateRecist(data) {
|
||||
const recistChecker = new RecistChecker();
|
||||
console.warn('>>>>check', recistChecker.check(data));
|
||||
const recistBaselineEvaluator = new CriteriaEvaluator(recistBaselineEvaluation);
|
||||
console.warn('>>>>check', recistBaselineEvaluator.evaluate(data));
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user