Files
ohif-viewer/Packages/ohif-measurements/both/schema/timepoints.js
T
Erik Ziegler ab4d4c9008 Work on refactoring measurements out of Lesion Tracker package
- Removed AssociatedStudies Collection
- Measurement API is generated from configuration files
- Data exchange methods are defined in configuration
2016-11-15 08:21:46 +01:00

32 lines
800 B
JavaScript

import { SimpleSchema } from 'meteor/aldeed:simple-schema';
export const schema = new SimpleSchema({
patientId: {
type: String,
label: 'Patient ID',
},
timepointId: {
type: String,
label: 'Timepoint ID',
regEx: SimpleSchema.RegEx.Id
},
timepointType: {
type: String,
label: 'Timepoint Type',
allowedValues: ['baseline', 'followup'],
defaultValue: 'baseline',
},
studyInstanceUids: {
type: [String],
label: 'Study Instance Uids',
defaultValue: []
},
earliestDate: {
type: Date,
label: 'Earliest Study Date from associated studies',
},
latestDate: {
type: Date,
label: 'Most recent Study Date from associated studies',
},
});