import 'package:fis_jsonrpc/rpc.dart'; import 'package:vitalapp/managers/interfaces/base.dart'; /// 检查管理 abstract class IExamManager implements IManager { /// 创建检查 Future createExam(CreateExamRequest examRequest); /// 编辑检查(仅中医、自理能力评估使用) Future editExam(UpdateExamRequest examRequest); /// 新增的接口,根据批次号更新检查 Future updateExamByBatchNumberAsync( UpdateExamByBatchNumberRequest updateExamByBatchNumberRequest); /// 根据批次号获取体检数据 Future?> getExamByBatchNumberAsync(String batchNumber); ///根据病人code获取数据 Future?> getPatientExamByPageAsync( String patientCode, String examKey); /// 检查是否存在离线记录 /// /// [code] 记录code Future checkRecordOfflineCached(String code); }