GithubHelp home page GithubHelp logo

lexistr / etl-cdmbuilder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ohdsi/etl-cdmbuilder

0.0 1.0 0.0 106.71 MB

ETL-CDMBuilder is a repo containing a .NET application to perform ETL to OMOP CDMv4 for multiple databases

License: Apache License 2.0

Perl 6 0.63% C# 98.27% R 1.10%

etl-cdmbuilder's Introduction

The .Net CDM Builder was developed by Janssen Research & Development as a tool to transform its observational databases into the OMOP Common Data Model. The tool was specifically developed for the Janssen environment: SQL Server/Amazon Redshift/Amazon S3 as database and data storage platforms and Windows Servers and Microsoft.Net for running the application itself. Additionally, the builder logic designed is based on the input format of the source data that are loaded in our local environment. We have made the tool open-source as a reference for other researchers in the OHDSI community who may be looking ETL their observational data, but we do not expect the tool would execute successfully for others unless they have similar infrastructure and similar source datasets. The tool was not originally designed to support general purpose ETLs across different platforms, and modifications would be required to apply to other systems. Contributions from the community to advance the tool in that direction are welcome and encouraged, as our team cannot support and test the tool in other environments.

Technology

  • The CDM Builder was created using the Microsoft .NET framework (version 4.6+) and is meant to be executed against Microsoft SQL Server 2012+ databases and Amazon Redshift databases.
  • The CDM Builder is only intended to run in a Windows environment.

System Requirements (for each server that will be running CDM Builder)

Dependencies

  • A SQL Server or Amazon Redshift database of the OMOP Vocabulary must be accessible within your network. This will be used to map source concepts into CDM concepts.
  • For SQL Server, SQL-based accounts are needed, as Trusted Connections via Windows Authentication are not supported.
  • In the MAN\VOCAB_ADDITIONS folder, you will need to append these files to the OMOP Vocabulary (i.e. add the JNJ_TRU_P_SPCLTY file to the records already in SOURCE_TO_CONCEPT_MAP and do the same for the VOCABULARY table with JNJ_VOCABULARY).

Getting Started

  • Download from the GitHub CDM Builder https://github.com/OHDSI/ETL-CDMBuilder/tree/master/source.
  • The application requires the configuration of three databases: Source of non-CDM data, Destination (where to build the CDM data), and Vocabulary (the OMOP Vocabulary)
    • Connection strings and credentials for CDM Builder database can be configured either in the config file (org.ohdsi.cdm.presentation.buildingmanager.exe.config) or within the actual CDM Builder application (org.ohdsi.cdm.presentation.buildingmanager.exe)
    • Connection string examples (fill in the bolded values with your environment's values)
      • SQL Server (SQL-based accounts only)
        • Driver={SQL Server Native Client 11.0};Server=HOST_NAME;Database=VOCAB_DB_NAME;Uid=USER_NAME;Pwd=PASSWORD
      • Amazon Redshift
        • Driver={Amazon Redshift (x64)};Server=HOST_NAME;Database=CDM_DB_NAME;Sc=SCHEMA_NAME;Uid=USER_NAME;Pwd=PASSWORD;Port=PORT;SSL=USE_SSL;Sslmode=SSL_MODE
  • As the Build process can be time- and resource-intensive, CDM Builder can be executed using multiple Windows servers. This is optional, but recommended, especially for larger databases.

Kicking off a Build

  • The CDM Builder comes with several pre-written ETLs, each of which corresponds to a specific data vendor and data product. Select the appropriate vendor from the "Vendor" dropdown
  • Builder Settings
    • The “Number of batches” field can be used to specify if you want to convert the entire source database (0) or a sample size for testing purposes.
    • The “Batch size” refers to the number of person(s) that should be part of each those batches.
    • The “MaxDegreeofParallelism” establishes the number of processes to start on this particular machine. This value should be based on the hardware resources at your disposal.
    • It has been observed that a server with a 24-core CPU and 256 GB RAM should invoke 10 processes for optimal performance. Similarly, for a workstation with a 2-core CPU and 12 GB RAM, 3-4 processes was the best choice. Using these examples, you should determine the number of processes that fit best with your hardware configuration.

Getting Involved

License

ETL-CDMBuilder is licensed under Apache License 2.0

Development

###Development status Beta testing, source is not set up properly to deploy an executable this release.

Acknowledgements

Janssen Pharmaceutical Research & Development, LLC

etl-cdmbuilder's People

Contributors

ericavoss avatar clairblacketer avatar anthonysena avatar aguynamedryan avatar pbr6cornell avatar

Watchers

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