Przeglądaj źródła

更新图谱与疾病相关的节点

MarkHuang 4 lat temu
rodzic
commit
a37acd3f51

+ 3 - 0
src/main/java/com/diagbot/entity/node/LisName.java

@@ -51,4 +51,7 @@ public class LisName extends BaseNode  {
 	@Relationship(type="实验室检查名称相关实验室检查危急值", direction = Relationship.OUTGOING)
 	private Set<LISCritical> liscritials = new HashSet<>();
 
+	@Relationship(type = "实验室检查名称相关医保疾病名称", direction = Relationship.OUTGOING)
+	private Set<YiBaoDiseaseName> disease = new HashSet<>();
+
 }

+ 3 - 0
src/main/java/com/diagbot/entity/node/PacsName.java

@@ -50,4 +50,7 @@ public class PacsName extends BaseNode  {
 
 	@Relationship(type = "辅助检查名称禁忌禁忌医疗器械及物品", direction = Relationship.OUTGOING)
 	private Set<ConflictDevice> conflictdevices = new HashSet<>();
+
+	@Relationship(type = "辅助检查名称相关医保疾病名称", direction = Relationship.OUTGOING)
+	private Set<YiBaoDiseaseName> disease = new HashSet<>();
 }

+ 36 - 0
src/main/java/com/diagbot/entity/node/Symptom.java

@@ -0,0 +1,36 @@
+package com.diagbot.entity.node;
+
+import com.diagbot.biz.push.entity.Pacs;
+import com.diagbot.entity.node.base.BaseNode;
+import lombok.Getter;
+import lombok.Setter;
+import org.neo4j.ogm.annotation.NodeEntity;
+import org.neo4j.ogm.annotation.Property;
+import org.neo4j.ogm.annotation.Relationship;
+
+import java.util.HashSet;
+import java.util.Set;
+
+@Setter
+@Getter
+@NodeEntity(label = "症状")
+public class Symptom extends BaseNode  {
+
+
+	@Property(name = "单位")
+	private String unit;
+
+	@Property(name = "最小值")
+	private Double minval;
+
+	@Property(name = "最大值")
+	private Double maxval;
+
+	@Property(name = "范围")
+	private Integer range;
+
+	@Relationship(type = "症状相关医保疾病名称", direction = Relationship.OUTGOING)
+	private Set<YiBaoDiseaseName> disease = new HashSet<>();
+
+
+}

+ 3 - 0
src/main/java/com/diagbot/entity/node/Vital.java

@@ -35,4 +35,7 @@ public class Vital extends BaseNode  {
 	@Relationship(type = "医保手术和操作名称禁忌体征", direction = Relationship.INCOMING)
 	private Set<YiBaoOperationName> yibaooperationnames = new HashSet<>();
 
+	@Relationship(type = "体征相关医保疾病名称", direction = Relationship.OUTGOING)
+	private Set<YiBaoDiseaseName> disease = new HashSet<>();
+
 }

+ 11 - 0
src/main/java/com/diagbot/entity/node/YiBaoDiseaseName.java

@@ -30,5 +30,16 @@ public class YiBaoDiseaseName extends BaseNode  {
 	@Relationship(type = "医保疾病名称相关临床路径名称", direction = Relationship.OUTGOING)
 	private Set<PathwayName> pathwaynames = new HashSet<>();
 
+	@Relationship(type = "症状相关医保疾病名称", direction = Relationship.INCOMING)
+	private Set<Symptom> symptoms = new HashSet<>();
+
+	@Relationship(type = "体征相关医保疾病名称", direction = Relationship.INCOMING)
+	private Set<Vital> vitals = new HashSet<>();
+
+	@Relationship(type = "实验室检查相关医保疾病名称", direction = Relationship.INCOMING)
+	private Set<LisName> lisnames = new HashSet<>();
+
+	@Relationship(type = "辅助检查名称相关医保疾病名称", direction = Relationship.INCOMING)
+	private Set<PacsName> pacsnames = new HashSet<>();
 
 }