GithubHelp home page GithubHelp logo

emerge-invitae-redox's Introduction

This is currently under development

About

This project provides Python scripts to place orders with Invitae for eMERGE participants. This project is configured to primarily use information from a local REDCap instance, but also pulls some information from R4. Patient demographics are pulled from local REDCap. Baseline patient health history is pulled from local REDCap to answer AOE (Ask at Order Entry) questions regarding primary indication and patient symptoms. The MeTree JSON file is pulled from R4 to fill in family history of disease. A custom instrument in local REDCap is used to indicate when a participant is ready for order submission.

Configuration

  1. Install python requirements:
    pip install -r requirements.txt
  2. Enter REDCap and Redox configuration settings in redox-api.config
  3. Enter the following static information into redox/json_templates/new_order_template.json:
    1. Meta.Destinations (different destinations for dev/staging/prod environments in Redox)
    2. Meta.FacilityCode
    3. Patient.Demographics.PhoneNumber - use your site contact information
    4. Patient.Demographics.Address - use your site contact information
    5. Order.Provider
  4. Make other site-specific configuration changes, including, but not limited to:
    1. Create an ordering instrument in your local REDCap. For reference, a REDCap instrument file is included in misc/redcap-instrument-redox-invitae.zip.
    2. In redcap_invitae.py, update FIELD_RECORD_ID to the name of the REDCap record ID field for your project
  5. There are a few safety checkpoints in place during development to reduce the chance of sensitive data being transmitted:
    1. When redox-api.config has DEVELOPMENT = True, in batch_order.py:
      1. Names of the REDCap projects will be printed, and the user will be prompted to continue
      2. Names of participants collected for order submission will be printed, and the user will be prompted to continue
    2. In invitae.py, SEND_REDOX is set to False by default and will prevent actual order submission. Order info will be printed to logs for verification. The code will behave as though orders were successfully submitted. Set SEND_REDOX to True to enable sending orders.

Run

python batch_order.py

Contributing sources

emerge-invitae-redox's People

Contributors

caseyta avatar stormliucong avatar

Stargazers

José Irizarry Ayala avatar

Watchers

 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.