| | |
| | | } |
| | | |
| | | // 常规检查过号、领用过号 |
| | | @GetMapping("/pass-waiting-patient") |
| | | @Operation(summary = "过号排队中患者") |
| | | @Parameter(name = "patId", description = "患者编号", required = true, example = "20247845") |
| | | @Parameter(name = "checkType", description = "预约检查类型", required = true, example = "100") |
| | | @PreAuthorize("@ss.hasPermission('ecg:doctor:task')") |
| | | public CommonResult<Integer> passWaitingPatient( |
| | | @RequestParam("patId") String patId, |
| | | @RequestParam("checkType") Integer checkType) |
| | | { |
| | | queueService.passWaitingPatient( patId, checkType ); |
| | | return success(0); |
| | | } |
| | | |
| | | // 常规检查过号、领用过号 |
| | | @GetMapping("/pass-next-patient") |
| | | @Operation(summary = "过号、下一位患者") |
| | | @Parameter(name = "roomId", description = "诊室编号", required = true, example = "116") |
| | |
| | | return success(patientStatisticVO); |
| | | } |
| | | |
| | | @GetMapping("/recall-pass-waiting-patient") |
| | | @Operation(summary = "过号-排队中 患者召回") |
| | | @Parameter(name = "patId", description = "患者编号", required = true, example = "B2") |
| | | @Parameter(name = "checkType", description = "预约检查类型", required = true, example = "100") |
| | | @PreAuthorize("@ss.hasPermission('ecg:doctor:task')") |
| | | public CommonResult<String> recallPatient( |
| | | @RequestParam("patId") String patId, |
| | | @RequestParam("checkType") Integer checkType) |
| | | { |
| | | Integer result = queueService.recallPassWaitingPatient(patId, checkType); |
| | | if (null == result || 0 == result) |
| | | return error(PATIENT_NOT_EXISTS); |
| | | |
| | | return success("操作成功"); |
| | | } |
| | | |
| | | @GetMapping("/recall-patient") |
| | | @Operation(summary = "过号病人召回") |
| | | @Parameter(name = "roomId", description = "诊室编号", required = true, example = "116") |