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
@@ -6,13 +6,13 @@ import { _ } from 'meteor/underscore';
|
||||
* Check if a modality is allowed or restricted
|
||||
* Options:
|
||||
* method (string): allow, restrict
|
||||
* measurementTypes (string[]): list of measurement types that will be evaluated
|
||||
* modalities (string[]): list of allowed/restricted modalities
|
||||
*/
|
||||
export class ModalityCriterion extends BaseCriterion {
|
||||
|
||||
constructor(options) {
|
||||
super();
|
||||
this.options = options;
|
||||
super(options);
|
||||
}
|
||||
|
||||
evaluate(data) {
|
||||
|
||||
Reference in new issue
Block a user