Allowing new target handling on max targets criteria
This commit is contained in:
1 parent
6e2dfacd3a
commit
ac2df0b3d0
5 files changed
+81
-37
No files matched your search
+1
-6
@@ -41,12 +41,7 @@ Template.measurementTableView.helpers({
|
||||
const configuration = OHIF.measurements.MeasurementApi.getConfiguration();
|
||||
const trialCriteriaType = OHIF.lesiontracker.TrialCriteriaTypes.findOne({ selected: true });
|
||||
const trialCriteriaTypeId = trialCriteriaType.id.toLowerCase();
|
||||
const trialToolGroupMap = {
|
||||
recist: 'nonTargets',
|
||||
irrc: 'targets'
|
||||
};
|
||||
|
||||
const toolGroupId = trialToolGroupMap[trialCriteriaTypeId];
|
||||
const toolGroupId = trialCriteriaTypeId === 'recist' ? 'nonTargets' : 'targets';
|
||||
const toolGroup = _.findWhere(configuration.measurementTools, { id: toolGroupId });
|
||||
|
||||
return {
|
||||
|
||||
Reference in new issue
Block a user