|
@@ -1,6 +1,7 @@
|
|
|
package com.lantone.qc.kernel.catalogue.operationdiscussion;
|
|
|
|
|
|
import com.lantone.qc.kernel.catalogue.QCCatalogue;
|
|
|
+import com.lantone.qc.pub.Content;
|
|
|
import com.lantone.qc.pub.model.InputInfo;
|
|
|
import com.lantone.qc.pub.model.OutputInfo;
|
|
|
import com.lantone.qc.pub.model.doc.operation.OperationDoc;
|
|
@@ -38,8 +39,10 @@ public class OPE0358 extends QCCatalogue {
|
|
|
if (ListUtil.isNotEmpty(operationDocs)) {
|
|
|
long count = operationDocs.stream().filter(operationDoc -> {
|
|
|
boolean flag = false;
|
|
|
+ String key = getKeyByHospitalId();
|
|
|
+ String str = operationDoc.getOperationRecordDoc().getStructureMap().get(key);
|
|
|
if (operationDoc.getOperationRecordDoc() != null
|
|
|
- && StringUtil.isBlank(operationDoc.getOperationRecordDoc().getStructureMap().get("术中后诊断"))) {
|
|
|
+ && StringUtil.isBlank(str)) {
|
|
|
flag = true;
|
|
|
}
|
|
|
return flag;
|
|
@@ -51,4 +54,14 @@ public class OPE0358 extends QCCatalogue {
|
|
|
// }
|
|
|
}
|
|
|
|
|
|
+ private String getKeyByHospitalId() {
|
|
|
+ switch (Content.hospital_Id)
|
|
|
+ {
|
|
|
+ case "3":
|
|
|
+ return "术后诊断";
|
|
|
+ default:
|
|
|
+ return "术中后诊断";
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
}
|