| | |
| | | import cn.lihu.jh.module.ecg.controller.admin.queue.vo.*; |
| | | import cn.lihu.jh.module.ecg.dal.dataobject.queue.QueueDO; |
| | | import cn.lihu.jh.framework.common.pojo.PageResult; |
| | | import cn.lihu.jh.module.ecg.dal.dataobject.queue.QueueStatisticDO; |
| | | import cn.lihu.jh.module.ecg.dal.dataobject.room.RoomStatisticsDO; |
| | | |
| | | import javax.validation.Valid; |
| | | import java.util.List; |
| | |
| | | * @author 芋道源码 |
| | | */ |
| | | public interface QueueService { |
| | | |
| | | void startBiz(); |
| | | |
| | | /** |
| | | * 创建排队 |
| | |
| | | */ |
| | | PageResult<QueueDO> getqueuePage(QueuePageReqVO pageReqVO); |
| | | |
| | | List<QueueStatisticDO> queueStatistics(List<Byte> statusList); |
| | | |
| | | /** |
| | | * 患者排队 |
| | | * @param queueSaveReqVO |
| | |
| | | void queue(QueueSaveReqVO queueSaveReqVO); |
| | | |
| | | /** |
| | | * |
| | | * 系统重启时,从DB同步工位的患者队列数据到 工位优先队列 |
| | | */ |
| | | void initQueue(); |
| | | |
| | | /** |
| | | * 开诊前一刻,对 就诊准备的 人员 重新排序 |
| | | */ |
| | | void reorderQueue(); |
| | | |
| | | /** |
| | | * 把医生候诊的队列塞满 |
| | |
| | | /** |
| | | * 医生叫下一位患者 |
| | | */ |
| | | void nextPatient(Long roomId, String bedNo); |
| | | void finishNextPatient(Long roomId, String bedNo); |
| | | |
| | | /** |
| | | * 医生看完患者 |
| | | */ |
| | | void passNextPatient(Long roomId, String bedNo); |
| | | |
| | | List<QueueDO> getDoctorQueueByStatus(Long roomId, String bedNo, List<Byte> statusList); |
| | | |
| | | PatientStatisticVO getPatientStatistic(Long roomId, String bedNo); |
| | | |
| | | Integer recallPatient(Long roomId, String bedNo, String patId); |
| | | |
| | | Integer patientJump(String patId, Byte jumped ); |
| | | } |