|
@@ -631,19 +631,28 @@ public class ConsoleFacade {
|
|
|
String behospitalCode = stringStringMap.get("behospitalCode");
|
|
|
//出院code
|
|
|
outHospitalCode.add(behospitalCode);
|
|
|
- if (Double.parseDouble(stringStringMap.get("operationFee")) > 0) {
|
|
|
- //手术code
|
|
|
- operationCode.add(behospitalCode);
|
|
|
+ String operationFee = stringStringMap.get("operationFee");
|
|
|
+ String pathologyFee = stringStringMap.get("pathologyFee");
|
|
|
+ String antibiosisFee = stringStringMap.get("antibiosisFee");
|
|
|
+ if(StringUtil.isNotEmpty(operationFee)) {
|
|
|
+ if (Double.parseDouble(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(StringUtil.isNotEmpty(operationFee)) {
|
|
|
+ if (Double.parseDouble(operationFee) > 0 && Double.parseDouble(pathologyFee) > QualityContent.pathologyFee) {
|
|
|
+ //病理code
|
|
|
+ operationPathologyCode.add(behospitalCode);
|
|
|
+ }
|
|
|
}
|
|
|
- if (Double.parseDouble(stringStringMap.get("antibiosisFee")) > 0) {
|
|
|
+ if(StringUtil.isNotEmpty(operationFee)) {
|
|
|
+ if (Double.parseDouble(antibiosisFee) > 0) {
|
|
|
//抗菌code
|
|
|
antibiosisCode.add(behospitalCode);
|
|
|
}
|
|
|
}
|
|
|
+ }
|
|
|
}
|
|
|
if(ListUtil.isNotEmpty(adviceVerify)){
|
|
|
for (String code : adviceVerify) {
|
|
@@ -1125,8 +1134,8 @@ public class ConsoleFacade {
|
|
|
}else {
|
|
|
mapCode.put("antibiosis",null);
|
|
|
}
|
|
|
- if(antibiosisBehospitalCode!=null && antibiosisBehospitalCode.size()>0){
|
|
|
- mapCode.put("chemotherapyMalignantTumors",antibiosisBehospitalCode);
|
|
|
+ if(chemotherapyMalignantTumorsBehospitalCode!=null && chemotherapyMalignantTumorsBehospitalCode.size()>0){
|
|
|
+ mapCode.put("chemotherapyMalignantTumors",chemotherapyMalignantTumorsBehospitalCode);
|
|
|
}else {
|
|
|
mapCode.put("chemotherapyMalignantTumors",null);
|
|
|
}
|
|
@@ -3231,7 +3240,7 @@ public class ConsoleFacade {
|
|
|
System.out.println("lis项目存在用血住院病历号 = " + (xx2-xx1));
|
|
|
//advice体现lis项目存在用血的住院病历号
|
|
|
doctorAdviceList.parallelStream()
|
|
|
- .filter(obj -> beCode.contains(obj.getBehospitalCode()) && obj.getDoctorAdviceType()
|
|
|
+ .filter(obj -> beCode.contains(obj.getBehospitalCode()) && StringUtils.isNotEmpty(obj.getDoctorAdviceType()) && obj.getDoctorAdviceType()
|
|
|
.equals(QualityContent.STAT_ORDER) && blood_list.contains(obj.getDaItemName()) &&
|
|
|
(StringUtils.isEmpty(obj.getDaStatus()) || (StringUtils.isNotEmpty(obj.getDaStatus()) && ! obj.getDaStatus()
|
|
|
.equals(QualityContent.CANCELLATION_ORDER))))
|