Skip to content

comymh/capston_data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Medical API Backend Data

Descripe

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.

Data souce

  • 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

Implement data

  1. install neo4j database
  2. open the commandline of neo4j
  3. 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})

Tips

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published