Bug fixing: add patientId to measurementData for lesion and nonTarget tools to delete all lesions properly

This commit is contained in:
Evren Ozkan committed 2015-11-25 13:48:29 -05:00
1 parent 050e811109
commit 6ebff476a2
4 files changed
+7 -2

No files matched your search

@@ -115,6 +115,7 @@ var cornerstoneTools = (function($, cornerstone, cornerstoneMath, cornerstoneToo
// Get studyInstanceUid
var study = cornerstoneTools.metaData.get('study', imageId);
var studyInstanceUid = study.studyInstanceUid;
var patientId = study.patientId;
// Get seriesInstanceUid
var series = cornerstoneTools.metaData.get('series', imageId);
@@ -149,6 +150,7 @@ var cornerstoneTools = (function($, cornerstone, cornerstoneMath, cornerstoneToo
imageId: imageId,
seriesInstanceUid: seriesInstanceUid,
studyInstanceUid: studyInstanceUid,
patientId: patientId,
measurementText: 0,
lesionName: '',
isDeleted: false,