1234567891011121314151617181920212223242526272829303132333435363738394041 |
- 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<String> onFollowMedicalData = FEventHandler<String>();
- /// 创建随访
- Future<String> createFollowUp(CreateFollowUpRequest createFollowUpRequest);
- Future<List<FollowUpDTO>?> getFollowUpPage(
- FollowUpPageRequest followUpPageRequest);
- ///根据patientCode获取随访记录
- Future<List<FollowUpRecordDTO>?> getFollowUpRecordList(
- List<String> keys, String patientCode);
- /// 根据年份获取数据
- Future<List<FollowUpRecordDTO>?> getFollowUpRecordListByYearAsync(
- GetFollowUpRecordListByYearRequest followUpRecordListByYearRequest);
- Future<bool?> updateFollowUp(UpdateFollowUpRequest followRequest);
- /// 获取居民未上传离线数据集合
- Future<List<FollowUpRecordDTO>> getPatientNotUploadedRecordList(
- String patientCode, String key);
- ///获取随访模式
- String getFollowUpMode(FollowUpModeEnum? modeEnum);
- //随访状态的颜色
- MaterialColor followUpStateColors(FollowUpStateEnum state);
- ///随访状态
- String followUpStateTransition(FollowUpStateEnum state);
- ///移除随访记录
- Future<bool> removeFollowUpAsync(String code, String key);
- }
|