The project is a mobile phone for configuring data for the medical API, containing records of symptoms, diseases, risk factors and period relationships, which can be used in the neo4j database, and also for obtaining information from the health direct website, stored in a json like format.
- In neo4j folder
- Data of disease, symptom and their relations from nature article
- Data of risk factor and relations between risk factors and disease from wikipedia
- In health direct folder
- Data from health direct
- install neo4j database
- open the commandline of neo4j
- use Load command to import csv document to database
- load nodes files(disease/symptoms/risk factors) firstly
LOAD CSV WITH HEADERS FROM "file:///filepath" AS line MERGE (p:node{id:line.id,attribute1:line.attribute1,attribute2:line.attribute2})
- load relations files(relation/riskfactor_disease) secondly
LOAD CSV WITH HEADERS FROM "file:///filepath" AS line match (from:node1{node1_id:line.from_id}),(to:node2{node2_id:line.to_id})
Since there is no unified name for symptom on health direct, it is difficult to unify the names of symptom and summarize the relationship out of diseasease. It can be used for other databases such as mongoDB that can receive json schema