|
@@ -4,9 +4,9 @@ import com.alibaba.fastjson.JSONObject;
|
|
|
import com.diagbot.model.ai.model.EntityEnum;
|
|
|
import com.diagbot.model.ai.model.Lemma;
|
|
|
import com.diagbot.model.entity.BodyPart;
|
|
|
+import com.diagbot.model.entity.PD;
|
|
|
import com.diagbot.model.entity.Pacs;
|
|
|
import com.diagbot.model.entity.PacsNew;
|
|
|
-import com.diagbot.model.label.PacsLabel;
|
|
|
import com.diagbot.util.ListUtil;
|
|
|
|
|
|
import java.util.ArrayList;
|
|
@@ -40,7 +40,7 @@ public class EntityProcessPacsNew extends EntityProcess {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- //辅检描述情况
|
|
|
+ //辅助检查
|
|
|
List<Lemma> pacsAll = createEntityTree(aiOut, EntityEnum.AUXILIARY_EXAMINATION.toString());
|
|
|
|
|
|
Map<String, PacsNew> map = new HashMap<>();
|
|
@@ -57,6 +57,17 @@ public class EntityProcessPacsNew extends EntityProcess {
|
|
|
if (ListUtil.isNotEmpty(bodyMap.get(relationLemma.getText()))) {
|
|
|
desc.setBodyPartList(bodyMap.get(relationLemma.getText()));
|
|
|
}
|
|
|
+ // 指标值暂不用
|
|
|
+ if (relationLemma.isHaveChildren()) {
|
|
|
+ for (Lemma re : relationLemma.getRelationLemmas()) {
|
|
|
+ if (re.getProperty().equals(EntityEnum.INDEX_VALUE.toString())) {
|
|
|
+ EntityProcess entityProcess = new EntityProcess();
|
|
|
+ PD pd = entityProcess.getPd(re.getText());
|
|
|
+ desc.setPd(pd);
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
descList.add(desc);
|
|
|
} else if (relationLemma.getProperty().equals(EntityEnum.DIEASE.toString())) {
|
|
|
// 辅检诊断信息
|