| | |
| | | */ |
| | | public interface QueueService { |
| | | |
| | | final static Integer MAX_QUEUE_NUM = 3; |
| | | |
| | | void startBiz(); |
| | | void closeBiz(); |
| | | |
| | | /** |
| | | * 创建排队 |
| | | * |
| | |
| | | * @param id 编号 |
| | | */ |
| | | void deletequeue(Integer id); |
| | | |
| | | /** |
| | | * |
| | | */ |
| | | Integer startBedOpen(Long roomId, String bedNo); |
| | | Integer startBedClose(Long roomId, String bedNo); |
| | | Integer startBedDoctorPause(Long roomId, String bedNo, Long docId, String docName); |
| | | Integer startBedDoctorOn(Long roomId, String bedNo, Long docId, String docName); |
| | | Integer startBedDoctorOff(Long roomId, String bedNo, Long docId, String docName); |
| | | |
| | | Integer bedOpen(Long roomId, String bedNo); |
| | | Integer bedClose(Long roomId, String bedNo); |
| | | Integer bedDoctorPause(Long roomId, String bedNo, Long docId, String docName); |
| | | Integer bedDoctorOn(Long roomId, String bedNo, Long docId, String docName); |
| | | Integer bedDoctorOff(Long roomId, String bedNo, Long docId, String docName); |
| | | |
| | | /** |
| | | * 获得排队 |
| | |
| | | void queue(QueueSaveReqVO queueSaveReqVO); |
| | | |
| | | /** |
| | | * |
| | | */ |
| | | void initQueue(); |
| | | |
| | | /** |
| | | * 开诊前一刻,对 就诊准备的 人员 重新排序 |
| | | */ |
| | | void reorderQueue(); |
| | | |
| | | /** |
| | | * 把医生候诊的队列塞满 |
| | | */ |
| | | void hurryup(); |
| | |
| | | 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 ); |
| | | } |