Cleaning tools schema and adding isSplitLesion attribute

This commit is contained in:
Bruno Alves de Faria 2018-01-03 15:23:09 -02:00
parent 40693f08d8
commit 0a082e21c8
4 changed files with 5 additions and 19 deletions

View File

@ -64,10 +64,11 @@ const BidirectionalSchema = new SimpleSchema([MeasurementSchemaTypes.Cornerstone
label: 'Shortest Diameter', label: 'Shortest Diameter',
decimal: true decimal: true
}, },
locationUid: { isSplitLesion: {
type: String, type: Boolean,
label: 'Location UID', label: 'Is Split Lesion',
optional: true // Optional because it is added after initial drawing, via a callback optional: true,
defaultValue: false
} }
}]); }]);

View File

@ -41,11 +41,6 @@ const NonTargetSchema = new SimpleSchema([MeasurementSchemaTypes.CornerstoneTool
type: String, type: String,
label: 'Description', label: 'Description',
optional: true optional: true
},
locationUid: {
type: String,
label: 'Location UID',
optional: true // Optional because it is added after initial drawing, via a callback
} }
}]); }]);

View File

@ -41,11 +41,6 @@ const TargetCRSchema = new SimpleSchema([MeasurementSchemaTypes.CornerstoneToolM
type: String, type: String,
label: 'Description', label: 'Description',
optional: true optional: true
},
locationUid: {
type: String,
label: 'Location UID',
optional: true // Optional because it is added after initial drawing, via a callback
} }
}]); }]);

View File

@ -41,11 +41,6 @@ const TargetUNSchema = new SimpleSchema([MeasurementSchemaTypes.CornerstoneToolM
type: String, type: String,
label: 'Description', label: 'Description',
optional: true optional: true
},
locationUid: {
type: String,
label: 'Location UID',
optional: true // Optional because it is added after initial drawing, via a callback
} }
}]); }]);