Coder Social home page Coder Social logo

pradeepvemulakonda / snomed-groovy Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 47 KB

Groovy script to load snomed data into a neo4j container

License: Apache License 2.0

Groovy 99.42% Shell 0.58%
snomed-ct neo4j-graph neo4j-database neo4j-driver groovy-script

snomed-groovy's Introduction

snomed-groovy

Groovy script to load snomed data into a neo4j container

Prerequistes: You need to install

  • Neo4j at port location: "bolt://localhost:7687", userName: "neo4j", password: "neo4j or what ever you have".Change it in ApplicationProperties
  • Install elastic search at the default port

** To start the upload => run Start.groovy

As Neo4j does not index the text, we are using elastic search to index the text and use the conceptId to zero in on a node in Neo4j. Once we and on a node we can navigate tthrough the graph to get the required data and relationships.

Create a simple to setup - set of docker container to populate snomed-ct data into the Neo4j Database.

This code does the following

  • Read the snomed description file and create a mapping between the concepts and

    • FSN
    • Synonym
    • Description
  • Create a list of Relationship types. To be used to add labels for relationships between nodes.

  • In the initial run create concepts with FSA, list of synoyms and descriptions.

  • In the third run setup the relationships between the concepts.

  • Each of the Concept and Relationship will be indexed both on the description text as well as the Label.

  • Concepts will have a "Concept" label.

  • Relationship will have a specific relationship label.

  • Use elastic search to make the nodes and relationships searchable by text.

MVP:

Get a Neo4j Database populated with SNOMED-CT international version. (/)

Nice to have:

Add an automcomplete, fuzzy search functionality => Created an Elastic search instance with neo4j data. Update uploaded nodes with Reference sets data.

Next Release:

Restful services to access SNOMED-CT data

  • Medications Resource
  • Problems List Resource
  • Allergies Resource
  • Diseases Resource

Also Map ICD to Snomed-Ct and LOINC to Snomed-CT expressions.

For a Python version of the same please have a look at https://github.com/pradeepvemulakonda/Snomed

For more information on SNOMED-CT and understand about Medical Terminology go to http://www.vemulakonda.com/2017/05/understanding-snomed-ct-data-model.html

snomed-groovy's People

Contributors

pradeepvemulakonda avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.