Allowing follow-up number to be controlled by configuration

This commit is contained in:
Bruno Alves de Faria committed 2017-02-23 14:01:16 -03:00
1 parent e7cd285f9c
commit 710d7c9a02
5 files changed
+25 -19

No files matched your search

@@ -12,6 +12,8 @@ OHIF.measurements.getTimepointName = timepoint => {
// Check if this is a Baseline timepoint, if it is, return 'Baseline'
if (timepoint.timepointType === 'baseline') {
return 'Baseline';
} else if (timepoint.visitNumber) {
return 'Follow-up ' + timepoint.visitNumber;
}
// Retrieve all of the relevant follow-up timepoints for this patient