Removing imageId from Measurement schema
This commit is contained in:
1 parent
cf9136447e
commit
7bb25ae6aa
12 files changed
+66
-36
No files matched your search
@@ -35,14 +35,15 @@ class MeasurementHandlers {
|
||||
|
||||
OHIF.log.info('CornerstoneToolsMeasurementAdded');
|
||||
|
||||
const imagePath = [studyInstanceUid, seriesInstanceUid, sopInstanceUid, frameIndex].join('_');
|
||||
let measurement = $.extend({
|
||||
userId: Meteor.userId(),
|
||||
patientId: patientId,
|
||||
studyInstanceUid: studyInstanceUid,
|
||||
seriesInstanceUid: seriesInstanceUid,
|
||||
sopInstanceUid: sopInstanceUid,
|
||||
frameIndex: frameIndex,
|
||||
imageId: imageId // TODO: In the future we should consider removing this
|
||||
patientId,
|
||||
studyInstanceUid,
|
||||
seriesInstanceUid,
|
||||
sopInstanceUid,
|
||||
frameIndex,
|
||||
imagePath
|
||||
}, measurementData);
|
||||
|
||||
// Get the related timepoint by the measurement number and use its location if defined
|
||||
|
||||
Reference in new issue
Block a user