import 'package:fis_common/event/event_type.dart'; import 'package:fis_jsonrpc/rpc.dart'; import 'package:flutter/material.dart'; import 'package:vitalapp/managers/interfaces/base.dart'; /// 随访管理 abstract class IFollowUpManager implements IManager { final FEventHandler onFollowMedicalData = FEventHandler(); /// 创建随访 Future createFollowUp(CreateFollowUpRequest createFollowUpRequest); Future?> getFollowUpPage( FollowUpPageRequest followUpPageRequest); ///根据patientCode获取随访记录 Future?> getFollowUpRecordList( List keys, String patientCode); /// 根据年份获取数据 Future?> getFollowUpRecordListByYearAsync( GetFollowUpRecordListByYearRequest followUpRecordListByYearRequest); Future updateFollowUp(UpdateFollowUpRequest followRequest); /// 获取居民未上传离线数据集合 Future> getPatientNotUploadedRecordList( String patientCode, String key); ///获取随访模式 String getFollowUpMode(FollowUpModeEnum? modeEnum); //随访状态的颜色 MaterialColor followUpStateColors(FollowUpStateEnum state); ///随访状态 String followUpStateTransition(FollowUpStateEnum state); ///移除随访记录 Future removeFollowUpAsync(String code, String key); }