LT-368: Allowing only baseline and follow-up 1 on study list
This commit is contained in:
1 parent
666e626f05
commit
16f61629d3
2 files changed
+10
-2
No files matched your search
+7
-1
@@ -47,7 +47,13 @@ Template.dialogStudyAssociation.onCreated(() => {
|
||||
studies[timepointType].push(data);
|
||||
});
|
||||
|
||||
Object.keys(studies).forEach(function(timepointType) {
|
||||
const studiesKeys = Object.keys(studies);
|
||||
|
||||
// TODO: REMOVE - Temporary for RSNA
|
||||
const patientId = studies[studiesKeys[0]][0].patientId;
|
||||
Timepoints.remove({ patientId });
|
||||
|
||||
studiesKeys.forEach(timepointType => {
|
||||
// Get the studies associated with this timepoint
|
||||
const relatedStudies = studies[timepointType];
|
||||
|
||||
|
||||
Reference in new issue
Block a user