GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - kumc-bmi/ds-determined-tools

BranchesTags
Open more actions menu

Latest commit

 

History

50 Commits
50 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
data_agg
data_agg
 
 
.gitignore
.gitignore
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
cdm_cut.sql
cdm_cut.sql
 
 
create_schema.sql
create_schema.sql
 
 
demographic_analysis.sql
demographic_analysis.sql
 
 
diagnosis_analysis.sql
diagnosis_analysis.sql
 
 
ds_status_sync.py
ds_status_sync.py
 
 
map_mrn.sql
map_mrn.sql
 
 
medication_analysis.sql
medication_analysis.sql
 
 
merge_cdm.sql
merge_cdm.sql
 
 
pcornet_trial.sql
pcornet_trial.sql
 
 
ref_code_gen.py
ref_code_gen.py
 
 
requirements.txt
requirements.txt
 
 
requirements_pip_freeze.txt
requirements_pip_freeze.txt
 
 
sds_flat.py
sds_flat.py
 
 
setup.cfg
setup.cfg
 
 
synapse_upload.sql
synapse_upload.sql
 
 

Repository files navigation

DS-Determined Study Tools

Referral Code Generator: REDCap Upload Usage

First create a REDCap project and get an API token with import access.

To generate a batch of 2 PRODUCTION records from each of 3 sites:

$ REDCAP_API_TOKEN=XYZ... python3 ref_code_gen.py 2 3 production
2019-12-06 17:31:59 (INFO) sending: [('token', '...'), ('content', 'record'), ('data', '[{"record_id": '), ('format', 'json')]
2019-12-06 17:31:59 (INFO) result: {'count': 6}

To generate a batch of 2 TEST records from each of 3 sites:

$ REDCAP_API_TOKEN=XYZ... python3 ref_code_gen.py 2 3 test
2019-12-06 17:31:59 (INFO) sending: [('token', '...'), ('content', 'record'), ('data', '[{"record_id": '), ('format', 'json')]
2019-12-06 17:31:59 (INFO) result: {'count': 6}

Self-Determination Inventory Status

sds_flat.py converts status info from JSON as provided by SDI to CSV for convenient import into REDCap.

DS-Connect Status API Client (WIP)

See ds_status_sync.py.

Background

This design is somewhat based on experience with "golden tickets" from the PCORNet Adaptable trial, though the use of referral codes in research studies is hardly novel. See also trial_invite_code in the PCORNet CDM.

Funding is provided by the NIH as part of the Include project, launched in June 2018.

Ref:

  • Using PCORnet to Expand the DS-CONNECT Cohort Through Healthcare System Recruitment, Incorporating Electronic Health Records, and Assessing Self-Determination

Coding Style

We use doctest, flake8 and mypy as detailed in Makefile.

About

No description, website, or topics provided.

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

5 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.