Bug fix for when we have no applicable validation criteria, added default Meteor settings for OHIF Viewer

This commit is contained in:
Erik Ziegler committed 2016-02-08 20:07:58 +01:00
1 parent beaa56c0b3
commit 89782de15e
3 files changed
+35

No files matched your search

@@ -293,6 +293,10 @@ function validateAll() {
// - The acquisitionSliceThickness, for example, may be pulled from the image metadata
// - The organ in question, e.g. Chest X-ray, may determine the exact specifications for the current trial criteria
var currentConstraints = getTrialCriteriaConstraints(criteriaType, currentMeasurement.imageId);
if (!currentConstraints) {
log.warn('No relevant contraints could be applied');
return;
}
// Run the single-measurement-specific conformance checks
// If any messages exist, add them to the array of messages