Clear tools button is added. Removes all target and nonTarget lesions data on image and deletes from Measurements collection

This commit is contained in:
Evren Ozkan committed 2015-11-24 10:57:02 -05:00
1 parent dbd7453980
commit ca30e22464
3 files changed
+44

No files matched your search

@@ -0,0 +1,8 @@
Meteor.methods({
"removeMeasurementsByPatientId": function(patientId) {
Measurements.remove(
{patientId: patientId},
{multi: true}
);
}
});
+2
View File
@@ -51,6 +51,8 @@ Package.onUse(function (api) {
// Both client and server functions
api.addFiles('both/collections.js', ['client', 'server']);
api.addFiles('both/removeCollections.js', ['client', 'server']);
// Library functions
api.addFiles('lib/uuid.js', 'client');