Files
ohif-viewer/platform/core/src/studies/getStudyBoxData.js
T

16 lines
685 B
JavaScript
Raw Normal View History

2019-08-13 15:36:46 -04:00
/**
* 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
*/
// TODO: What is this for?
const getStudyBoxData = false;
export default getStudyBoxData;