Git Product home page Git Product logo

omop_conversion's Introduction

omop_conversion

sample OMOP converison rules

  • FILES:

data.ttl contains two sample patient, patient 1 contians both gender and birth date while patient 2 contains only gender info.

inference_rule.n3 contains two sample SCHEMA to OMOP conversion rule.

query_rule.n3q contains the filtering rule which request both gender and year of birth as premise.

query_rule-v2.n3q contains another filtering rule, which does not introduce the constraint as query_rule.n3q did.

  • The results are generated by EYE with the following commands:

eye --nope data.ttl inference_rule.n3 --query query_rule.n3q >result.ttl

eye --nope data.ttl inference_rule.n3 --query query_rule-v2.n3q >result-v2.ttl

It can be observed that in result.ttl, only patient 1 is converted to OMOP model. Patient 2 data is dropped because it is lacking year of birth information.

In result-v2.ttl, since the filtering rule did not put any constraint, both patient 1 and patient 2 are converted to OMOP model.

  • EYE can also generate proof for the conversion process. The commands below generates proofs for the above mentioned conversions

eye data.ttl inference_rule.n3 --query query_rule.n3q >proof.n3

eye data.ttl inference_rule.n3 --query query_rule-v2.n3q >proof-v2.n3

In the generated proofs, the object of r:gives shows the conclusions of each conversion process (as what displayed in result.ttl and result-v2.ttl). The remaining of the proofs records actions such as data extractions and inferences that leads to the conclusions.

omop_conversion's People

Contributors

hongsun502 avatar

Watchers

James Cloos 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.