wangfeng vor 5 Jahren
Ursprung
Commit
5eedb443df

+ 2 - 2
kernel/src/main/java/com/lantone/qc/kernel/catalogue/firstpagerecord/FIRP02993.java

@@ -1,7 +1,7 @@
 package com.lantone.qc.kernel.catalogue.firstpagerecord;
 
 import com.lantone.qc.kernel.catalogue.QCCatalogue;
-import com.lantone.qc.kernel.util.ClearBracketUtil;
+import com.lantone.qc.kernel.util.RegularUtil;
 import com.lantone.qc.pub.Content;
 import com.lantone.qc.pub.model.InputInfo;
 import com.lantone.qc.pub.model.OutputInfo;
@@ -32,7 +32,7 @@ public class FIRP02993 extends QCCatalogue {
                 ) {
                     OperationRecordDoc operationRecordDoc = operationDoc.getOperationRecordDoc();//手术名称
                     if(operationRecordDoc!=null){
-                        String s = ClearBracketUtil.ClearBracket(operationRecordDoc.getStructureMap().get(Content.operative_name));
+                        String s = RegularUtil.ClearBracket(operationRecordDoc.getStructureMap().get(Content.operative_name));
                         String[] digitalSplit = s.split("[\\+|,|、|,]");
                         for (int i = 0; i < digitalSplit.length; i++) {
                             if (!digitalSplit[i].equals("")) {

+ 2 - 2
kernel/src/main/java/com/lantone/qc/kernel/catalogue/leavehospital/LEA02901.java

@@ -2,7 +2,7 @@ package com.lantone.qc.kernel.catalogue.leavehospital;
 
 import com.google.common.collect.Lists;
 import com.lantone.qc.kernel.catalogue.QCCatalogue;
-import com.lantone.qc.kernel.util.ClearBracketUtil;
+import com.lantone.qc.kernel.util.RegularUtil;
 import com.lantone.qc.pub.model.InputInfo;
 import com.lantone.qc.pub.model.OutputInfo;
 import com.lantone.qc.pub.model.doc.DeathRecordDoc;
@@ -33,7 +33,7 @@ public class LEA02901 extends QCCatalogue {
             Map<String, String> structureMap = leaveHospitalDoc.getStructureMap();
             String dischargeOrder = structureMap.get("出院医嘱");
             //跟医学部任燕青确认过, 去除括号里的东西
-            dischargeOrder = ClearBracketUtil.ClearBracket(dischargeOrder);
+            dischargeOrder = RegularUtil.ClearBracket(dischargeOrder);
             if (StringUtil.isNotBlank(dischargeOrder)) {
                 List<String> words = Lists.newArrayList("qd","bid","tid","qid","qh","q2h","q4h","q6h","q8h",
                         "qn","q3w","qod","biw","qw","prn","sos","ad","lib","st","stat","hs","am","po","ID","IH","IM",

+ 1 - 1
kernel/src/main/java/com/lantone/qc/kernel/util/ClearBracketUtil.java

@@ -5,7 +5,7 @@ package com.lantone.qc.kernel.util;
  * @Description:
  * @date 2020-06-29 10:33
  */
-public class ClearBracketUtil {
+public class RegularUtil {
     /**
      * 去除括号里的内容
      * @param context