wangsy 4 роки тому
батько
коміт
3748fac521

+ 8 - 0
kernel/src/main/java/com/lantone/qc/kernel/catalogue/beilun/operationdiscussion/OPE0369.java

@@ -48,6 +48,14 @@ public class OPE0369 extends QCCatalogue {
         if (operationDocs == null || operationDocs.size() == 0) {
             return;
         }
+        //北仑传入急诊标志,在首次病程录中
+        if (inputInfo.getFirstCourseRecordDoc() != null) {
+            Map<String, String> structureMap = inputInfo.getFirstCourseRecordDoc().getStructureMap();
+            String title = structureMap.get("标题");
+            if (StringUtil.isNotBlank(title) && title.contains("急诊")) {
+                return;
+            }
+        }
         List<ThreeLevelWardDoc> threeLevelWardDocs = inputInfo.getThreeLevelWardDocs();
         int operationCount = getOperationSum(operationDocs); // 获取手术记录次数
 //        long operationCount = operationDocs.stream().filter(operationDoc -> operationDoc.getOperationRecordDoc() != null).count();

+ 8 - 0
kernel/src/main/java/com/lantone/qc/kernel/catalogue/beilun/preoperativediscussion/PRE0328.java

@@ -55,6 +55,14 @@ public class PRE0328 extends QCCatalogue {
                 }
             }
         }
+        //北仑传入急诊标志,在首次病程录中
+        if (inputInfo.getFirstCourseRecordDoc() != null) {
+            Map<String, String> structureMap = inputInfo.getFirstCourseRecordDoc().getStructureMap();
+            String title = structureMap.get("标题");
+            if (StringUtil.isNotBlank(title) && title.contains("急诊")) {
+                return;
+            }
+        }
 
         int i = getOperationSum(operationDocs); // 获取手术记录次数
         int j = 0;  // 获取术前讨论、术前小结次数

+ 10 - 0
kernel/src/main/java/com/lantone/qc/kernel/catalogue/beilun/threelevelward/THR03090.java

@@ -37,6 +37,16 @@ public class THR03090 extends QCCatalogue {
         if (operationDocs == null || operationDocs.size() == 0) {
             return;
         }
+
+        //北仑传入急诊标志,在首次病程录中
+        if (inputInfo.getFirstCourseRecordDoc() != null) {
+            Map<String, String> structureMap = inputInfo.getFirstCourseRecordDoc().getStructureMap();
+            String title = structureMap.get("标题");
+            if (StringUtil.isNotBlank(title) && title.contains("急诊")) {
+                return;
+            }
+        }
+
         String operationStartDate = "";
         try {
             if (operationDocs.get(operationDocs.size() - 1).getOperationRecordDoc() != null) {

+ 1 - 0
trans/src/main/java/com/lantone/qc/trans/beilun/BeiLunFirstCourseRecordDocTrans.java

@@ -47,6 +47,7 @@ public class BeiLunFirstCourseRecordDocTrans extends ModelDocTrans {
                     structureMap = OrdinaryAssistant.mapKeyContrast(sourceMap, keyContrasts);
                     structureMap.put("记录编号", contentMap.get("recId").toString());
                     structureMap.put("病历号", contentMap.get("behospitalCode") == null ? null : contentMap.get("behospitalCode").toString());
+                    structureMap.put("标题", recTitle);
                 }
             }
             if (StringUtil.isNotBlank(structureMap.get("医生签名"))) {