Clear tools button is added. Removes all target and nonTarget lesions data on image and deletes from Measurements collection
This commit is contained in:
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}
|
||||
);
|
||||
}
|
||||
});
|
||||
@@ -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');
|
||||
|
||||
Reference in new issue
Block a user