|
@@ -4,6 +4,7 @@ import com.lantone.qc.kernel.catalogue.QCCatalogue;
|
|
|
import com.lantone.qc.pub.Content;
|
|
|
import com.lantone.qc.pub.model.InputInfo;
|
|
|
import com.lantone.qc.pub.model.OutputInfo;
|
|
|
+import com.lantone.qc.pub.util.ListUtil;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
import java.util.List;
|
|
@@ -24,9 +25,16 @@ public class FIRP0226 extends QCCatalogue {
|
|
|
Object dischargeDiagObj = structureExtMap.get(Content.dischargeDiag);
|
|
|
if (dischargeDiagObj != null) {
|
|
|
List<Map<String, String>> dischargeDiagList = (List) dischargeDiagObj;
|
|
|
- if (dischargeDiagList.size() == 0) {
|
|
|
+ if (ListUtil.isEmpty(dischargeDiagList)) {
|
|
|
status.set("-1");
|
|
|
+ return ;
|
|
|
}
|
|
|
+ for (Map<String, String> map : dischargeDiagList) {
|
|
|
+ if (map != null && !"门诊诊断".equals(map.get("诊断类别")) && !"-".equals(map.get("诊断名称"))) {
|
|
|
+ return ;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ status.set("-1");
|
|
|
}
|
|
|
}
|
|
|
}
|