|
@@ -0,0 +1,71 @@
|
|
|
+package org.jeecg.modules.medical.controller;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
+import io.swagger.annotations.Api;
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
+import org.jeecg.common.api.vo.Result;
|
|
|
+import org.jeecg.modules.medical.common.bo.DiagnosticInfoResponse;
|
|
|
+import org.jeecg.modules.medical.common.bo.InpatientSettlementDetailResponse;
|
|
|
+import org.jeecg.modules.medical.common.bo.InpatientSettlementMasterResponse;
|
|
|
+import org.jeecg.modules.medical.common.bo.MedicalInsuranceProjectDetailsResponse;
|
|
|
+import org.jeecg.modules.medical.entity.AfterwardsAuditDetail;
|
|
|
+import org.jeecg.modules.medical.entity.PrescriptionOrder;
|
|
|
+import org.jeecg.modules.medical.service.IViolationAnalysisService;
|
|
|
+import org.jeecg.modules.medical.service.IViolationAuditAfterService;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestParam;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+import javax.servlet.http.HttpServletRequest;
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @author Scott
|
|
|
+ * @time 2023/10/25 21:17 星期三
|
|
|
+ * @description '事后违规审核,审查明细接口'
|
|
|
+ * @parentProject medical-java
|
|
|
+ */
|
|
|
+@Api(tags="审核列表-患者医嘱,住院结算明细,住院结算主单等")
|
|
|
+@RestController
|
|
|
+@RequestMapping("/medical/violation/after")
|
|
|
+@Slf4j
|
|
|
+public class ViolationAuditAfterController {
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ private IViolationAuditAfterService violationAuditAfterService;
|
|
|
+
|
|
|
+ @ApiOperation(value = "违规分析-医嘱信息")
|
|
|
+ @GetMapping(value = "/audit/medicalorder/info")
|
|
|
+ public Result<List<PrescriptionOrder>> loadMedicalOrderInfoResponseInfo(HttpServletRequest request, @RequestParam(value = "id", required = false) Integer id) {
|
|
|
+ List<PrescriptionOrder> result = violationAuditAfterService.loadPrescriptionOrderInfo(id);
|
|
|
+ return Result.OK(result);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value = "违规分析-医院结算明细")
|
|
|
+ @GetMapping(value = "/audit/settlement/detail")
|
|
|
+ public Result<InpatientSettlementDetailResponse> loadInpatientSettlementDetail(HttpServletRequest request,
|
|
|
+ @RequestParam("id") Integer id,
|
|
|
+ @RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
|
|
|
+ @RequestParam(name="pageSize", defaultValue="10") Integer pageSize) {
|
|
|
+ Page<MedicalInsuranceProjectDetailsResponse> page = new Page<>(pageNo, pageSize);
|
|
|
+ InpatientSettlementDetailResponse result = violationAuditAfterService.loadInpatientSettlementDetail(page, id);
|
|
|
+ return Result.OK(result);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value = "违规分析-患者住院结算主单")
|
|
|
+ @GetMapping(value = "/audit/settlement/master")
|
|
|
+ public Result<List<InpatientSettlementMasterResponse>> loadInpatientSettlementMaster(HttpServletRequest request, @RequestParam("id") Integer id) {
|
|
|
+ List<InpatientSettlementMasterResponse> result = violationAuditAfterService.loadInpatientSettlementMaster(id);
|
|
|
+ return Result.OK("获取成功", result);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value = "违规分析-诊断信息")
|
|
|
+ @GetMapping(value = "/audit/diagnostic/info")
|
|
|
+ public Result<List<DiagnosticInfoResponse>> loadDiagnosticInformation(HttpServletRequest request, @RequestParam("id") Integer id) {
|
|
|
+ List<DiagnosticInfoResponse> result = violationAuditAfterService.loadDiagnosticInfo(id);
|
|
|
+ return Result.OK(result);
|
|
|
+ }
|
|
|
+}
|