Finishing case progress and save behavior
This commit is contained in:
1 parent
abe7691730
commit
45a3cdeaf5
13 files changed
+87
-56
No files matched your search
@@ -246,7 +246,7 @@ class MeasurementApi {
|
||||
});
|
||||
}
|
||||
|
||||
storeMeasurements() {
|
||||
storeMeasurements(timepointId) {
|
||||
const storeFn = configuration.dataExchange.store;
|
||||
if (!_.isFunction(storeFn)) {
|
||||
return;
|
||||
@@ -263,7 +263,8 @@ class MeasurementApi {
|
||||
});
|
||||
});
|
||||
|
||||
const timepoints = this.timepointApi.all();
|
||||
const timepointFilter = timepointId ? { timepointId } : {};
|
||||
const timepoints = this.timepointApi.all(timepointFilter);
|
||||
const timepointIds = timepoints.map(t => t.timepointId);
|
||||
const patientId = timepoints[0].patientId;
|
||||
const filter = {
|
||||
|
||||
Reference in new issue
Block a user