Fixes to make Viewer load
This commit is contained in:
1 parent
7083948bea
commit
3e1127fc78
11 files changed
+35
-17
No files matched your search
@@ -1,4 +1,5 @@
|
||||
import { OHIF } from 'meteor/ohif:core';
|
||||
import { Viewerbase } from 'meteor/ohif:viewerbase';
|
||||
|
||||
// Define the StudyMetaData object. This is used as a cache
|
||||
// to store study meta data information to prevent unnecessary
|
||||
@@ -55,7 +56,7 @@ getStudyMetadata = function(studyInstanceUid, doneCallback, failCallback) {
|
||||
|
||||
// Once we have retrieved the data, we sort the series' by series
|
||||
// and instance number in ascending order
|
||||
sortStudy(study);
|
||||
Viewerbase.sortStudy(study);
|
||||
|
||||
// Add additional metadata to our study from the studylist
|
||||
var studylistStudy = StudyListStudies.findOne({
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
import { Viewerbase } from 'meteor/ohif:viewerbase';
|
||||
|
||||
StudyList = {
|
||||
functions: {},
|
||||
callbacks: {}
|
||||
@@ -8,7 +10,7 @@ StudyList.callbacks.middleClickOnStudy = dblClickOnStudy;
|
||||
|
||||
function dblClickOnStudy(data) {
|
||||
// Use the formatPN template helper to clean up the patient name
|
||||
var title = formatPN(data.patientName);
|
||||
var title = Viewerbase.helpers.formatPN(data.patientName);
|
||||
openNewTab(data.studyInstanceUid, title);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user