PWV-3: Creating ohif:log package and partially refactoring ohif:measurements

This commit is contained in:
Bruno Alves de Faria authored and Erik Ziegler committed 2016-11-15 08:21:46 +01:00
1 parent f3f32518c6
commit 60aa1d0982
76 files changed
+410 -479

No files matched your search

@@ -1,3 +1,5 @@
// TODO: [LT-refactor] move this to ohif:hanging-protocols package
getTimepointType = function(study) {
const timepointApi = Template.instance().timepointApi;
if (!timepointApi) {
@@ -12,8 +14,8 @@ getTimepointType = function(study) {
return timepoint.timepointType;
};
const HP = HP || false;
HP = HP || false;
if (HP) {
HP.addCustomAttribute('timepointType', 'Timepoint Type', getTimepointType);
}
HP.addCustomAttribute('timepointType', 'Timepoint Type', getTimepointType);
}