|
@@ -594,7 +594,6 @@ public class ConsoleFacade {
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* 病案指标数据保存
|
|
|
*
|
|
@@ -604,7 +603,6 @@ public class ConsoleFacade {
|
|
|
public void getMedicaIndicator(FilterVO filterVO){
|
|
|
MedIndexResult medIndexResult = new MedIndexResult();
|
|
|
List<Map<String, String>> selectOperationNumMap = behospitalInfoFacade.selectOperationNum(filterVO);
|
|
|
- if(ListUtil.isNotEmpty(selectOperationNumMap)) {
|
|
|
Set<String> outHospitalCode = new CopyOnWriteArraySet<>();
|
|
|
Set<String> operationCode = new CopyOnWriteArraySet<>();
|
|
|
Set<String> operationPathologyCode = new CopyOnWriteArraySet<>();
|
|
@@ -614,23 +612,25 @@ public class ConsoleFacade {
|
|
|
filterVO.setFlagStr("2");
|
|
|
List<MedManageParamsDTO> doctorAdviceMedManageParams = behospitalInfoFacade.getMedManageParams(filterVO);
|
|
|
Map<String, List<String>> adviceNum = getAdviceNum(filterVO, doctorAdviceMedManageParams);
|
|
|
- for (Map<String, String> stringStringMap : selectOperationNumMap) {
|
|
|
- String behospitalCode = stringStringMap.get("behospitalCode");
|
|
|
- //出院code
|
|
|
- outHospitalCode.add(behospitalCode);
|
|
|
- if (Double.parseDouble(stringStringMap.get("operationFee"))>0){
|
|
|
- //手术code
|
|
|
- operationCode.add(behospitalCode);
|
|
|
- }
|
|
|
- if (Double.parseDouble(stringStringMap.get("operationFee"))>0 && Double.parseDouble(stringStringMap.get("pathologyFee"))>QualityContent.pathologyFee){
|
|
|
- //病理code
|
|
|
- operationPathologyCode.add(behospitalCode);
|
|
|
- }
|
|
|
- if (Double.parseDouble(stringStringMap.get("antibiosisFee"))>0){
|
|
|
- //抗菌code
|
|
|
- antibiosisCode.add(behospitalCode);
|
|
|
- }
|
|
|
+ if(ListUtil.isNotEmpty(selectOperationNumMap)) {
|
|
|
+ for (Map<String, String> stringStringMap : selectOperationNumMap) {
|
|
|
+ String behospitalCode = stringStringMap.get("behospitalCode");
|
|
|
+ //出院code
|
|
|
+ outHospitalCode.add(behospitalCode);
|
|
|
+ if (Double.parseDouble(stringStringMap.get("operationFee")) > 0) {
|
|
|
+ //手术code
|
|
|
+ operationCode.add(behospitalCode);
|
|
|
}
|
|
|
+ if (Double.parseDouble(stringStringMap.get("operationFee")) > 0 && Double.parseDouble(stringStringMap.get("pathologyFee")) > QualityContent.pathologyFee) {
|
|
|
+ //病理code
|
|
|
+ operationPathologyCode.add(behospitalCode);
|
|
|
+ }
|
|
|
+ if (Double.parseDouble(stringStringMap.get("antibiosisFee")) > 0) {
|
|
|
+ //抗菌code
|
|
|
+ antibiosisCode.add(behospitalCode);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
if(ListUtil.isNotEmpty(adviceVerify)){
|
|
|
for (String code : adviceVerify) {
|
|
|
outHospitalCode.add(code);
|
|
@@ -854,9 +854,7 @@ public class ConsoleFacade {
|
|
|
medIndexRelevanceFacade.save(medIndexRelevance);
|
|
|
}
|
|
|
}
|
|
|
- System.out.println(operationPathologyCode.size());
|
|
|
}
|
|
|
- }
|
|
|
/**
|
|
|
* 两数据相除得到百分比
|
|
|
* @param i
|