Perhaps you should rethink your model. IMHO, you did not share the symptoms, illnesses, and possibly exams.
Look at the shortcuts of Neo4J
(: symptom) - [OWNS] → (: symptomGroup) - [MAY_INDICATE] → (: psychosis) (: Exam) - [verifies] → (: psychosis)
You need to group symptoms
Since this is a college project, and you may not be a doctor, you should not build a “cure everything” system.
Refer to the case when no solution is found.
I should not write this, but I know that the brilliant ppl working @Vidal (French medical publisher) has recently posted graphics on this topic.
source share