Selaa lähdekoodia

湘雅:术后三天内无主刀或一助查房记录 && 手术患者无术前主刀医师查房记录

zhanghang 3 vuotta sitten
vanhempi
commit
3b8da00351

+ 1 - 0
kernel/src/main/java/com/lantone/qc/kernel/catalogue/hospital/changshaxy/threelevelward/THR02900.java

@@ -113,6 +113,7 @@ public class THR02900 extends QCCatalogue {
                         .replace("总住院医师", "")
                         .replace("住院医师", "")
                         .replace("主治医师", "")
+                        .replace("经治医师", "")
                         .replace(" ", "");
                 if(chiefSurgeon.contains("、")){
                     String[] split1 = chiefSurgeon.split("、");

+ 20 - 0
kernel/src/main/java/com/lantone/qc/kernel/catalogue/hospital/changshaxy/threelevelward/THR03090.java

@@ -8,9 +8,11 @@ import com.lantone.qc.pub.model.doc.MedicalRecordInfoDoc;
 import com.lantone.qc.pub.model.doc.ThreeLevelWardDoc;
 import com.lantone.qc.pub.model.doc.operation.OperationDoc;
 import com.lantone.qc.pub.util.DateUtil;
+import com.lantone.qc.pub.util.ListUtil;
 import com.lantone.qc.pub.util.StringUtil;
 import org.springframework.stereotype.Component;
 
+import java.util.ArrayList;
 import java.util.List;
 import java.util.Map;
 import java.util.Objects;
@@ -85,12 +87,30 @@ public class THR03090 extends QCCatalogue {
                 if (operator.contains("(")) {
                     operator = operator.substring(0, operator.indexOf("("));
                 }
+                List<String> chiefSurgeonList = new ArrayList<>();
                 operator = operator
                         .replace("&nbsp", "")
                         .replace("副教授", "")
                         .replace("副主任医师", "")
                         .replace("主任医师", "")
+                        .replace("总住院医师", "")
+                        .replace("住院医师", "")
+                        .replace("主治医师", "")
+                        .replace("经治医师", "")
                         .replace(" ", "");
+                if(operator.contains("、")){
+                    String[] split1 = operator.split("、");
+                    for (String chiefSurgeons : split1) {
+                        chiefSurgeonList.add(chiefSurgeons);
+                    }
+                }
+                if(ListUtil.isNotEmpty(chiefSurgeonList)){
+                    for (String chiefSurgeons : chiefSurgeonList) {
+                        if(content.contains(chiefSurgeons)){
+                            return;
+                        }
+                    }
+                }
                 //比较病例内容
                 if (StringUtil.isNotBlank(content)) {
                     if (content.contains("。")) {