PWV-1: Making timepoint URL load the viewer with the studies
This commit is contained in:
parent
c84d0c21f3
commit
bbf00cce80
@ -22,7 +22,7 @@ class TimepointApi {
|
||||
}
|
||||
}
|
||||
|
||||
retrieveTimepoints() {
|
||||
retrieveTimepoints(filter) {
|
||||
this.timepoints = new Mongo.Collection(null);
|
||||
this.timepoints.attachSchema(TimepointSchema);
|
||||
this.timepoints._debugName = 'Timepoints';
|
||||
@ -33,7 +33,7 @@ class TimepointApi {
|
||||
}
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
retrievalFn().then(timepointData => {
|
||||
retrievalFn(filter).then(timepointData => {
|
||||
OHIF.log.info('Timepoint data retrieval');
|
||||
OHIF.log.info(timepointData);
|
||||
_.each(timepointData, timepoint => {
|
||||
|
||||
@ -7,8 +7,7 @@ export const schema = new SimpleSchema({
|
||||
},
|
||||
timepointId: {
|
||||
type: String,
|
||||
label: 'Timepoint ID',
|
||||
regEx: SimpleSchema.RegEx.Id
|
||||
label: 'Timepoint ID'
|
||||
},
|
||||
timepointType: {
|
||||
type: String,
|
||||
|
||||
@ -63,7 +63,7 @@ getStudyMetadata = function(studyInstanceUid, doneCallback, failCallback) {
|
||||
});
|
||||
|
||||
if (!studylistStudy) {
|
||||
return;
|
||||
// return;
|
||||
}
|
||||
|
||||
$.extend(study, studylistStudy);
|
||||
|
||||
@ -14,8 +14,7 @@ const ReviewingUserSchema = new SimpleSchema({
|
||||
export const schema = new SimpleSchema({
|
||||
timepointId: {
|
||||
type: String,
|
||||
label: 'Timepoint ID',
|
||||
regEx: SimpleSchema.RegEx.Id
|
||||
label: 'Timepoint ID'
|
||||
},
|
||||
reviewers: {
|
||||
type: [ ReviewingUserSchema ],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user