|
@@ -12,6 +12,7 @@ import com.diagbot.model.label.VitalLabel;
|
|
|
import com.diagbot.util.CoreUtil;
|
|
|
import com.diagbot.util.ListUtil;
|
|
|
import com.diagbot.util.NeoUtil;
|
|
|
+import com.diagbot.util.StringUtil;
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.List;
|
|
@@ -260,7 +261,7 @@ public class YiBaoOperationNameNode {
|
|
|
JSONObject diagobj = jobj.getJSONObject("合并疾病");
|
|
|
for (String key : diagobj.keySet()) {
|
|
|
for (Item item : diags) {
|
|
|
- if (item.getUniqueName().equals(key)) {
|
|
|
+ if (StringUtil.isNotBlank(item.getUniqueName()) && item.getUniqueName().equals(key)) {
|
|
|
nodeNeoDTO = new NodeNeoDTO();
|
|
|
nodeNeoDTO.setName(item.getUniqueName());
|
|
|
nodeNeoDTO.setVal(item.getUniqueName());
|
|
@@ -288,11 +289,12 @@ public class YiBaoOperationNameNode {
|
|
|
|
|
|
// 判断辅检结果
|
|
|
PacsLabel pacs1bl = wordCrfDTO.getPacsLabel();
|
|
|
+
|
|
|
JSONObject pacsobj = jobj.getJSONObject("辅检结果描述");
|
|
|
for (String key : pacsobj.keySet()) {
|
|
|
|
|
|
for (Item item : pacs1bl.getRes()) {
|
|
|
- if (item.getDateValue().contains(key)) {
|
|
|
+ if (StringUtil.isNotBlank(item.getDateValue()) && item.getDateValue().contains(key)) {
|
|
|
nodeNeoDTO = new NodeNeoDTO();
|
|
|
nodeNeoDTO.setName(item.getDateValue());
|
|
|
nodeNeoDTO.setTermtype(TypeEnum.pacs.getName());
|