LT-92: Just adding comments to criteria classes
This commit is contained in:
parent
3fe3428ae5
commit
18bee6c603
@ -12,6 +12,11 @@ export const MaxTargetsSchema = {
|
|||||||
required: ['limit']
|
required: ['limit']
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* MaxTargetsCriterion
|
||||||
|
* Check if the number of target measurements exceeded the limit allowed
|
||||||
|
* Options
|
||||||
|
* limit: Max targets allowed in study
|
||||||
|
*/
|
||||||
export class MaxTargetsCriterion extends BaseCriterion {
|
export class MaxTargetsCriterion extends BaseCriterion {
|
||||||
|
|
||||||
constructor(options) {
|
constructor(options) {
|
||||||
|
|||||||
@ -59,7 +59,8 @@ export const MeasurementsLengthSchema = {
|
|||||||
uniqueItems: true
|
uniqueItems: true
|
||||||
},
|
},
|
||||||
message: {
|
message: {
|
||||||
label: 'Message to be displayed in case of nonconformity'
|
label: 'Message to be displayed in case of nonconformity',
|
||||||
|
type: 'string'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
oneOf: [
|
oneOf: [
|
||||||
@ -70,6 +71,21 @@ export const MeasurementsLengthSchema = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/*
|
||||||
|
* MeasurementsLengthCriterion
|
||||||
|
* Check the measurements of all bidirectional tools based on
|
||||||
|
* short axis, long axis, modalities, location and slice thickness
|
||||||
|
* Options:
|
||||||
|
* longAxis: Minimum length of long axis
|
||||||
|
* shortAxis: Minimum length of short axis
|
||||||
|
* longAxisSliceThicknessMultiplier: Length of long axis multiplier
|
||||||
|
* shortAxisSliceThicknessMultiplier: Length of short axis multiplier
|
||||||
|
* modalityIn: Filter to evaluate only measurements with the specified modalities
|
||||||
|
* modalityNotIn: Filter to evaluate only measurements without the specified modalities
|
||||||
|
* locationIn: Filter to evaluate only measurements with the specified locations
|
||||||
|
* locationNotIn: Filter to evaluate only measurements without the specified locations
|
||||||
|
* message: Message to be displayed in case of nonconformity
|
||||||
|
*/
|
||||||
export class MeasurementsLengthCriterion extends BaseCriterion {
|
export class MeasurementsLengthCriterion extends BaseCriterion {
|
||||||
|
|
||||||
constructor(options) {
|
constructor(options) {
|
||||||
|
|||||||
@ -3,6 +3,9 @@ import { BaseCriterion } from './BaseCriterion';
|
|||||||
export const NonTargetResponseSchema = {
|
export const NonTargetResponseSchema = {
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* NonTargetResponseCriterion
|
||||||
|
* Check if the there are non-target measurements with response different than "present" on baseline
|
||||||
|
*/
|
||||||
export class NonTargetResponseCriterion extends BaseCriterion {
|
export class NonTargetResponseCriterion extends BaseCriterion {
|
||||||
|
|
||||||
constructor(options) {
|
constructor(options) {
|
||||||
|
|||||||
@ -3,6 +3,9 @@ import { BaseCriterion } from './BaseCriterion';
|
|||||||
export const TargetTypeSchema = {
|
export const TargetTypeSchema = {
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* TargetTypeCriterion
|
||||||
|
* Check if the there are non-bidirectional target measurements on baseline
|
||||||
|
*/
|
||||||
export class TargetTypeCriterion extends BaseCriterion {
|
export class TargetTypeCriterion extends BaseCriterion {
|
||||||
|
|
||||||
constructor(options) {
|
constructor(options) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user