Browse Source

手术患者无术前讨论记录, 根据医学部要求在诊疗计划和病情记录中加入对“急症”和“术”的搜索

MarkHuang 5 years ago
parent
commit
0eb7a39349

+ 4 - 2
kernel/src/main/java/com/lantone/qc/kernel/catalogue/preoperativediscussion/PRE0328.java

@@ -62,8 +62,9 @@ public class PRE0328 extends QCCatalogue {
         FirstCourseRecordDoc firstCourseRecordDoc = inputInfo.getFirstCourseRecordDoc();
         if (firstCourseRecordDoc != null) {
             String treatPlan = firstCourseRecordDoc.getStructureMap().get("诊疗计划");
+            // 根据医学部要求,加入“急症”和“术”
             if (StringUtil.isNotBlank(treatPlan)) {
-                String regex = ".*急诊.*术.*";
+                String regex = ".*急诊.*术.*|.*急症.*术.*";
                 return treatPlan.matches(regex);
             }
         }
@@ -78,8 +79,9 @@ public class PRE0328 extends QCCatalogue {
         List<ThreeLevelWardDoc> allDoctorWradDocs = threeLevelWardDocs.get(0).getAllDoctorWradDocs();
         for (ThreeLevelWardDoc threeLevelWardDoc : allDoctorWradDocs) {
             String content = threeLevelWardDoc.getStructureMap().get("病情记录");
+            // 根据医学部要求,加入“急症”和“术”
             if (StringUtil.isNotBlank(content)) {
-                String regex = ".*急诊.*术.*";
+                String regex = ".*急诊.*术.*|.*急症.*术.*";
                 if (content.matches(regex)) {
                     return true;
                 }