appointment.dart 977 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. import 'package:fis_jsonrpc/rpc.dart';
  2. import 'package:vitalapp/managers/interfaces/base.dart';
  3. /// 预约
  4. abstract class IAppointmentManager implements IManager {
  5. /// 分页获取健康检查预约数据
  6. Future<PageResult<HealthExamBookingDTO>?> getHealthExamBookingPageAsync({
  7. int? pageSize = 10,
  8. int? pageIndex = 1,
  9. String? keyword,
  10. });
  11. /// 新增/修改体检信息
  12. Future<String?> saveHealthExamBookingAsync(
  13. SaveHealthExamBookingRequest saveHealthExamBookingRequest,
  14. );
  15. ///解除预约
  16. Future<bool> cancelHealthExam(
  17. String code,
  18. String identityCard,
  19. );
  20. /// 查询体检详情
  21. Future<HealthExamBookingDTO?> getHealthExamBookingAsync({
  22. required String code,
  23. });
  24. /// 删除体检信息
  25. ///
  26. /// [code] 记录编号
  27. Future<bool> deleteHealthExamBookingAsync(String code);
  28. /// 根据身份证号码查询预约信息
  29. Future<HealthExamPersonDTO?> getExamBookingByIDCardAsync({
  30. String? idCardNo,
  31. });
  32. }