Browse Source

治疗措施不具体增加无化验或辅检

huj 4 years ago
parent
commit
941c2eba50

+ 11 - 1
kernel/src/main/java/com/lantone/qc/kernel/catalogue/firstcourserecord/FIRC0092.java

@@ -5,6 +5,7 @@ import com.lantone.qc.pub.model.InputInfo;
 import com.lantone.qc.pub.model.OutputInfo;
 import com.lantone.qc.pub.model.doc.FirstCourseRecordDoc;
 import com.lantone.qc.pub.model.label.TreatPlanLabel;
+import com.lantone.qc.pub.util.ListUtil;
 import com.lantone.qc.pub.util.StringUtil;
 import org.springframework.stereotype.Component;
 
@@ -47,9 +48,18 @@ public class FIRC0092 extends QCCatalogue {
                 (treatPlanLabel.getMedicine() != null || treatPlanLabel.getTreat().size() > 0
                         || treatPlanLabel.getPacs().size() > 0)) {
             status.set("0");
+            return;
         }
+        String message = "";
         if (!findText && treatPlanLabel.getNursingLevel() == null) {
-            info.set("无护理级别");
+            message += "无护理级别;";
+        }
+
+        if (!findText && ListUtil.isEmpty(treatPlanLabel.getPacs())) {
+            message += "无化验或辅检;";
+        }
+        if (StringUtil.isNotBlank(message)) {
+            info.set(message);
         }
     }
 }