| | |
| | | |
| | | import javax.validation.Valid; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | import cn.lihu.jh.framework.common.exception.ErrorCode; |
| | | import cn.lihu.jh.framework.common.pojo.CommonResult; |
| | |
| | | */ |
| | | public interface QueueService { |
| | | |
| | | void setQueueReadyMax(Integer max); |
| | | void initCheckType(); |
| | | void startBiz(); |
| | | void closeBiz(); |
| | | |
| | |
| | | /** |
| | | * |
| | | */ |
| | | void startHurryUp(); |
| | | void startHurryUpOneBed(Long roomId, String bedNo); |
| | | void startHurryUpOneCheckType(Integer checkType); |
| | | |
| | | void startBedReload(); |
| | | void startResetRoom(Boolean needCloseBed); |
| | | MonitorInfoVO getMonitorInfo(); |
| | | |
| | | ErrorCode startBedOpen(Long roomId, String roomName, String bedNo); |
| | |
| | | ErrorCode startBedDoctorOff(Long roomId, String bedNo, Long docId, String docName); |
| | | ErrorCode startNextPatient(Long roomId, String bedNo); |
| | | |
| | | ErrorCode bedOpen(Long roomId, String roomName, String bedNo); |
| | | ErrorCode bedClose(Long roomId, String bedNo); |
| | | ErrorCode bedDoctorPause(Long roomId, String bedNo, Long docId, String docName); |
| | | ErrorCode bedDoctorResume(Long roomId, String bedNo, Long docId, String docName); |
| | | ErrorCode bedDoctorOn(Long roomId, String bedNo, Long docId, String docName); |
| | | ErrorCode bedDoctorOff(Long roomId, String bedNo, Long docId, String docName); |
| | | ErrorCode nextPatient(Long roomId, String bedNo); |
| | | |
| | | ErrorCode bedReload(); |
| | | CommonResult<RoomRespVO> getRoom(Long roomId, String bedNo, Long docId); |
| | | |
| | | /** |
| | |
| | | */ |
| | | void queue(QueueSaveReqVO queueSaveReqVO); |
| | | |
| | | |
| | | /** |
| | | * 把医生候诊的队列塞满 |
| | | */ |
| | | void hurryup(); |
| | | |
| | | /** |
| | | * 医生叫下一位患者 |
| | | */ |
| | |
| | | Integer recallPatient(Long roomId, String bedNo, String patId); |
| | | |
| | | Integer patientJump(String patId, Byte jumped ); |
| | | |
| | | void monitorInfo(); |
| | | |
| | | RoomDO getDocRoomInfo(Long docId); |
| | | } |