Preventing all timepoint studies from being loaded at once
This commit is contained in:
1 parent
09dc9a4639
commit
956e6da0b3
4 files changed
+74
-37
No files matched your search
@@ -1,5 +1,31 @@
|
||||
import { SimpleSchema } from 'meteor/aldeed:simple-schema';
|
||||
|
||||
const StudiesData = new SimpleSchema({
|
||||
studyInstanceUid: {
|
||||
type: String,
|
||||
label: 'Study Instance Uid'
|
||||
},
|
||||
description: {
|
||||
type: String,
|
||||
label: 'Study Description',
|
||||
optional: true
|
||||
},
|
||||
date: {
|
||||
type: Date,
|
||||
label: 'Study Date'
|
||||
},
|
||||
modality: {
|
||||
type: String,
|
||||
label: 'Study Modality'
|
||||
},
|
||||
loaded: {
|
||||
type: Boolean,
|
||||
label: 'Defines if the Study is already loaded',
|
||||
optional: true,
|
||||
defaultValue: false
|
||||
}
|
||||
});
|
||||
|
||||
export const schema = new SimpleSchema({
|
||||
patientId: {
|
||||
type: String,
|
||||
@@ -36,5 +62,10 @@ export const schema = new SimpleSchema({
|
||||
type: Number,
|
||||
label: 'Number of patient\'s visit',
|
||||
optional: true
|
||||
},
|
||||
studiesData: {
|
||||
type: [StudiesData],
|
||||
label: 'Studies minimal data to allow lazy loading',
|
||||
optional: true
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user