Allowing external modifications on study boxes data

This commit is contained in:
Bruno Alves de Faria committed 2018-03-26 08:36:48 -03:00
1 parent c1d500a92b
commit 43a7e8151a
4 files changed
+36 -2

No files matched your search

@@ -0,0 +1,15 @@
import { OHIF } from 'meteor/ohif:core';
/**
* Overridable namespace to allow getting study boxes data externally.
*
* The function must handle the first parameter as a studyInformation object containing at least the
* studyInstanceUid attribute.
*
* Shall return a promise that will be resolved with an object containing those attributes:
* - studyInstanceUid {String}: copy of studyInformation.studyInstanceUid
* - modalities {String}: 2 uppercase letters for each modality split by any non-alphabetical char(s)
* - studyDate {String}: date formatted as YYYYMMDD
* - studyDescription {String}: study description string
*/
OHIF.studies.getStudyBoxData = false;