|
@@ -71,7 +71,8 @@ searchDis=match (n:Condition)-[r:\u786E\u8BCA|:\u62DF\u8BCA|:\u8B66\u60D5]->(m:D
|
|
|
where n.name in startList\n \
|
|
|
with distinct m,r\n \
|
|
|
return m.name as name, labels(m)[0] as label,type(r) as relationType;
|
|
|
-
|
|
|
+#\u6392\u9664\u8BCA\u65AD
|
|
|
+excludeDiag=match (ex)-[q:\u6392\u9664\u4F9D\u636E]-(c)-[r:\u6392\u9664]->(d:Disease) where ex.name in infostr return d
|
|
|
#\u6CBB\u7597\u5904\u7406
|
|
|
#\u67E5\u627E\u8BCA\u65AD\u5BF9\u5E94\u7684\u7C7B\u548C\u836F,\u4EE5\u53CA\u4ED6\u4EEC\u7684\u6392\u5E8F
|
|
|
searchDrugsMedic=match (d:Disease{name:diseaseName})-[r0:\u63A8\u8350]->(m:Drugs)-[:\u5305\u542B]->(n:Medicine),(d:Disease)-[r1:\u63A8\u8350]->(n)\n \
|