diagnosis.dart 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. import 'package:fis_jsonrpc/rpc.dart';
  2. import 'package:vitalapp/managers/interfaces/models/diagnosis_aggregation_record_model.dart';
  3. import 'base.dart';
  4. abstract class IDiagnosisManager implements IManager {
  5. ///获取健康检测记录
  6. Future<PageCollection<DiagnosisAggregationRecordModel>?>
  7. getDiagnosisAggregationPageAsync(
  8. String patientCode, int pageIndex, int pageSize);
  9. Future<bool> submitDiagnosisAsync(SubmitDiagnosisRequest request);
  10. Future<List<DiagnosisAggregationRecordModel>?> getListByPatientCode(
  11. String patientCode);
  12. Future<bool> syncPatientAndDiagnosisData(
  13. SyncPatientAndDiagnosisDataRequest request);
  14. ///获取所有userCode等于空的数据,并赋值
  15. ///
  16. ///[userCode] 用户Code
  17. ///
  18. Future<void> resettingUsercodeIsEmptyData();
  19. Future<List<List<String>>> getTableData(
  20. DiagnosisAggregationRecordModel reduce,
  21. {bool isLastRecord = false});
  22. /// 删除检测记录
  23. Future<bool> removeDiagnosis(String appDataId);
  24. Future<DiagnosisAggregationRecordModel?> getLastRecordInfo();
  25. }