eight
2024-11-07 e36c1e2363e36a69a3cc8ccbc00d28b16f926abd
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/QueueService.java
@@ -19,7 +19,7 @@
 */
public interface QueueService {
    void setQueueReadyMax(Integer max);
    void initCheckType();
    void startBiz();
    void closeBiz();
@@ -49,9 +49,11 @@
    /**
     *
     */
    void startHurryUp();
    void startHurryUpOneBed(Long roomId, String bedNo);
    void startHurryUpOneCheckType(Integer checkType);
    void startBedReload();
    void startResetRoom();
    void startResetRoom(Boolean needCloseBed);
    MonitorInfoVO getMonitorInfo();
    ErrorCode startBedOpen(Long roomId, String roomName, String bedNo);
@@ -61,6 +63,7 @@
    ErrorCode startBedDoctorOn(Long roomId, String bedNo, Long docId, String docName);
    ErrorCode startBedDoctorOff(Long roomId, String bedNo, Long docId, String docName);
    ErrorCode startNextPatient(Long roomId, String bedNo);
    ErrorCode startNextInstallPatient(Long roomId, String bedNo);
    CommonResult<RoomRespVO> getRoom(Long roomId, String bedNo, Long docId);
@@ -87,22 +90,49 @@
    void queue(QueueSaveReqVO queueSaveReqVO);
    /**
     * 医生叫下一位患者
     * 常规检查 医生叫下一位患者
     */
    void finishNextPatient(Long roomId, String bedNo);
    /**
     * 医生看完患者
     * 领用 医生叫下一位患者
     */
    void finishReceiveNextPatient(Long roomId, String bedNo);
    /**
     * 装机 医生叫下一位患者
     */
    void finishInstallNextPatient(Long roomId, String bedNo);
    /**
     * 常规过号、领用过号
     */
    void passNextPatient(Long roomId, String bedNo);
    List<QueueDO> getDoctorQueueByStatus(Long roomId, String bedNo, List<Byte> statusList);
    /**
     * 装机过号
     */
    void passInstallNextPatient(Long roomId, String bedNo);
    List<QueueDO> getBedQueueByStatus(Long roomId, String bedNo, List<Integer> statusList);
    List<QueueDO> getRoomQueueByStatus(Long roomId, List<Integer> statusList);
    PatientStatisticVO getPatientStatistic(Long roomId, String bedNo);
    PatientStatisticVO getBedDevReadyStatistic(Long roomId, String bedNo);
    PatientStatisticVO getBedDevInstallStatistic(Long roomId, String bedNo);
    Integer recallPatient(Long roomId, String bedNo, String patId);
    Integer recallInstallPatient(Long roomId, String bedNo, String patId);
    Integer patientJump(String patId, Byte jumped );
    RoomDO getDocRoomInfo(Long docId);
    List<QueueDO> getToBeCheckedPatient(Long roomId, String bedNo);
    List<QueueDO> getToBeInstalledPatient(Long roomId, String bedNo);
}