Cleaning tools schema and adding isSplitLesion attribute

This commit is contained in:
Bruno Alves de Faria committed 2018-02-02 09:22:48 -02:00
1 parent 40693f08d8
commit 0a082e21c8
4 files changed
+5 -19

No files matched your search

@@ -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
} }
}]); }]);
@@ -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
} }
}]); }]);
@@ -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
} }
}]); }]);
@@ -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
} }
}]); }]);