فهرست منبع

北仑:手术记录中没有手术经过title的处理

wangsy 4 سال پیش
والد
کامیت
0cd42120e2
1فایلهای تغییر یافته به همراه7 افزوده شده و 1 حذف شده
  1. 7 1
      trans/src/main/java/com/lantone/qc/trans/beilun/util/BeiLunOperationRecordHtmlAnalysis.java

+ 7 - 1
trans/src/main/java/com/lantone/qc/trans/beilun/util/BeiLunOperationRecordHtmlAnalysis.java

@@ -44,7 +44,13 @@ public class BeiLunOperationRecordHtmlAnalysis implements BeiLunHtmlAnalysis {
                 map.put("主刀", map.get("主刀").replaceAll("[^\u4E00-\u9FA5]", ""));
             }
             if (map.containsKey("麻醉者")) {
-                map.put("麻醉医师", map.get("麻醉者").replace("麻醉医生:", ""));
+                String anesthetist = map.get("麻醉者").replace("麻醉医生:", "");
+                map.put("麻醉医师", anesthetist);
+                if (anesthetist.contains("1.")) {
+                    int index = anesthetist.indexOf("1.");
+                    map.put("麻醉医师", anesthetist.substring(0, index));
+                    map.put("手术经过", anesthetist.substring(index));
+                }
             }
             if (map.containsKey("手术日期")) {
                 String operatorDateStr = map.get("手术日期");