|
@@ -64,13 +64,10 @@ public class ConsoleFacade {
|
|
@Autowired
|
|
@Autowired
|
|
private QcCasesEntryFacade qcCasesEntryFacade;
|
|
private QcCasesEntryFacade qcCasesEntryFacade;
|
|
@Autowired
|
|
@Autowired
|
|
- private LeaveHosStatisticsAggregate leaveHosStatisticsAggregate;
|
|
|
|
- @Autowired
|
|
|
|
@Qualifier("medManagementInfoServiceImpl")
|
|
@Qualifier("medManagementInfoServiceImpl")
|
|
private MedManagementInfoService medManagementInfoService;
|
|
private MedManagementInfoService medManagementInfoService;
|
|
@Autowired
|
|
@Autowired
|
|
- @Qualifier("medQcresultDetailServiceImpl")
|
|
|
|
- private MedQcresultDetailService medQcresultDetailService;
|
|
|
|
|
|
+ private DoctorAdviceFacade doctorAdviceFacade;
|
|
|
|
|
|
//region-----------------------聚合接口开始-------------------------------
|
|
//region-----------------------聚合接口开始-------------------------------
|
|
|
|
|
|
@@ -394,7 +391,7 @@ public class ConsoleFacade {
|
|
Long endCount = selectOperationNumMap.get("住院人数");
|
|
Long endCount = selectOperationNumMap.get("住院人数");
|
|
//手术人数
|
|
//手术人数
|
|
Long operationFeeNum = selectOperationNumMap.get("operationFee");
|
|
Long operationFeeNum = selectOperationNumMap.get("operationFee");
|
|
- //病理人数
|
|
|
|
|
|
+ //抗菌人数
|
|
Long antibiosisFeeNum = selectOperationNumMap.get("antibiosisFee");
|
|
Long antibiosisFeeNum = selectOperationNumMap.get("antibiosisFee");
|
|
//手术病理人数
|
|
//手术病理人数
|
|
Long operationPathologyFeeNum = selectOperationNumMap.get("operationPathologyFee");
|
|
Long operationPathologyFeeNum = selectOperationNumMap.get("operationPathologyFee");
|
|
@@ -426,10 +423,33 @@ public class ConsoleFacade {
|
|
//病案首页完成率
|
|
//病案首页完成率
|
|
medQualityControlDTO.setMedHomePageStr(String.valueOf((startCount-recordHomePage)/startCount));
|
|
medQualityControlDTO.setMedHomePageStr(String.valueOf((startCount-recordHomePage)/startCount));
|
|
}
|
|
}
|
|
|
|
+ Map<String, Long> doctorAdviceFacadeOf = doctorAdviceFacade.getCTAndMR(filterVO);
|
|
|
|
+ //CT人数
|
|
|
|
+ Long ctNum = doctorAdviceFacadeOf.get("CTNUM");
|
|
|
|
+ //MR人数
|
|
|
|
+ Long mrNum = doctorAdviceFacadeOf.get("MRNUM");
|
|
|
|
+ //CT次数和MR次数
|
|
|
|
+ Long ctCount = doctorAdviceFacadeOf.get("CT");
|
|
|
|
+ Long mrCount = doctorAdviceFacadeOf.get("MR");
|
|
|
|
+ //细菌培养人数
|
|
|
|
+ Long bacterialCultures = doctorAdviceFacadeOf.get("bacterialCulturesNum");
|
|
|
|
+ //触发规则
|
|
|
|
+ //病理
|
|
|
|
+ Map<String, Long> triggeringRulesMap = behospitalInfoFacade.triggeringRules(filterVO);
|
|
|
|
+ Long antibiosisNum = triggeringRulesMap.get("antibiosisNum");
|
|
|
|
+ //细菌培养
|
|
|
|
+ Long bacterialCulture = triggeringRulesMap.get("bacterialCulture");
|
|
|
|
+ //CT
|
|
|
|
+ Long ct = triggeringRulesMap.get("CT");
|
|
|
|
+ //MR
|
|
|
|
+ Long mr = triggeringRulesMap.get("MR");
|
|
|
|
+ //病理完成率为
|
|
|
|
+ medQualityControlDTO.setPathologicalExamination(String.valueOf((operationPathologyFeeNum - antibiosisNum) / operationPathologyFeeNum));
|
|
return medQualityControlDTO;
|
|
return medQualityControlDTO;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 质控病历统计
|
|
* 质控病历统计
|
|
*
|
|
*
|