Study metadata is added on study browser click
This commit is contained in:
1 parent
757513906c
commit
521de2fad3
13 files changed
+117
-179
No files matched your search
@@ -49,6 +49,17 @@ getStudyMetadata = function(studyInstanceUid, doneCallback, failCallback) {
|
||||
// and instance number in ascending order
|
||||
sortStudy(study);
|
||||
|
||||
// Add additional metadata to our study from the worklist
|
||||
var worklistStudy = WorklistStudies.findOne({
|
||||
studyInstanceUid: study.studyInstanceUid
|
||||
});
|
||||
|
||||
if (!worklistStudy) {
|
||||
return;
|
||||
}
|
||||
|
||||
$.extend(study, worklistStudy);
|
||||
|
||||
// Then we store this data in the cache variable
|
||||
StudyMetaData[studyInstanceUid] = study;
|
||||
|
||||
|
||||
Reference in new issue
Block a user