[WIP] Moving hanging protocols initialization to OHIF Viewer specific code.

This commit is contained in:
Emanuel F. Oliveira authored and Eloízio Salgado committed 2017-03-02 10:15:09 -03:00
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);
});
}
}