registration.dart 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. import 'package:fis_jsonrpc/rpc.dart';
  2. import 'package:vitalapp/managers/interfaces/base.dart';
  3. /// 登记
  4. abstract class IRegistrationManager implements IManager {
  5. /// 新增登记信息
  6. Future<AddRegiterInfoResult?> addRegiterInfoAsync({
  7. required AddRegiterInfoRequest request,
  8. });
  9. /// 修改登记信息
  10. Future<bool?> updateRegiterInfoAsync({
  11. required UpdateRegiterInfoRequest request,
  12. });
  13. /// 登记列表
  14. Future<PageResult<RegisterInfoDTO>?> getRegisterInfoPageAsync({
  15. int? pageSize = 10,
  16. int? pageIndex = 1,
  17. String? keyword,
  18. DateTime? startTime,
  19. DateTime? endTime,
  20. });
  21. /// 根据体检号获取体检详情
  22. Future<List<ExamDTO>?> getExamListByPhysicalExamNumberAsync({
  23. required String physicalExamNumber,
  24. });
  25. /// 根据体检号查看体检报告
  26. Future<List<ReportDTO2>?> getVitalReportInfoAsync({
  27. required String physicalExamNumber,
  28. });
  29. Future<bool> updateResultsAndSuggestionsAsync(
  30. String code, String resultsAndSuggestions);
  31. ///
  32. Future<ElectrocardiogramRecord?> getElectrocardiogramRecordAsync({
  33. required String physicalExamNumber,
  34. });
  35. ///
  36. Future<PageCollection<ElectrocardiogramRecord>?>
  37. getElectrocardiogramRecordPageAsync({
  38. int? pageSize = 10,
  39. int? pageIndex = 1,
  40. String? keyword,
  41. });
  42. ///
  43. Future<ElectrocardiogramRecord?>
  44. getElectrocardiogramRecordByPhysicalExamNumberAsync({
  45. required String physicalExamNumber,
  46. });
  47. Future<GetExamLabelsByExamNoResult> getExamLabelsByExamNoAsync({
  48. required String physicalExamNumber,
  49. });
  50. }