hot fixes

merge-requests/553/head
Mohammad Aljammal 5 years ago
parent 3127a09ecf
commit 8a63d8bb83

@ -47,11 +47,11 @@ class VitalSignsViewModel extends BaseViewModel {
to = DateUtils.convertDateToFormat(DateTime.now(), 'yyyy-MM-dd');
}
if(isInPatient){
// if(isInPatient){
await _vitalSignService.getInPatientVitalSignHistory(patient);
}else {
await _vitalSignService.getPatientVitalSignsHistory(patient, from, to);
}
// }else {
// await _vitalSignService.getPatientVitalSignsHistory(patient, from, to);
// }
if (_vitalSignService.hasError) {
error = _vitalSignService.error;

Loading…
Cancel
Save