[WIP] Moving hanging protocols initialization to OHIF Viewer specific code.
This commit is contained in:
1 parent
7fa581e52b
commit
6cfb4f16eb
5 files changed
+84
-17
No files matched your search
@@ -0,0 +1,16 @@
|
||||
import { OHIF } from 'meteor/ohif:core';
|
||||
import 'meteor/ohif:viewerbase';
|
||||
|
||||
export class OHIFStudyMetadataSource extends OHIF.viewerbase.StudyMetadataSource {
|
||||
|
||||
/**
|
||||
* Get study metadata for a study with given study InstanceUID
|
||||
* @param {String} studyInstanceUID Study InstanceUID
|
||||
*/
|
||||
getByInstanceUID(studyInstanceUID) {
|
||||
return new Promise((resolve, reject) => {
|
||||
getStudyMetadata(studyInstanceUID, resolve, reject);
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user