Onyx HowTo Data Export
Tags: Onyx HowTo Data Integration Tomcat
Notes
The Onyx export only exports completed questionnaires that have not previously been export. This can be changed in the Onyx configuration.
Process
DO NOT FOLLOW THESE INSTRUCTIONS IF YOU ARE REBUILDING THE ONTOLOGY. SEE i2b2 Onyx Importer.
- Check in the Tomcat application manager that nobody is logged onto the server.
- In Onyx click on the
Participants
tab. - Click on the
Export
button. It will tell you where it will export the files, but this should be in/var/lib/tomcat6//target/
. - FTP the file onto the Hospital BRICCS drive into the
/Data Export from Live Onyx/
folder. - FTP the files to the uhlbriccsapp03.xuhl-tr.nhs.uk server in the
/home/nick/onyx data for importing
directory. - Then refer to the instructions i2b2 Onyx Importer.
sudo su
cd /usr/local/i2b2-procedures-1.1-production
export I2B2_PROCEDURES_HOME=$PWD
./bin/data-prep/1-namespace-update.sh {jobname} /home/nick/onyx-data-for-importing/{zipfile name}
./bin/data-prep/2-clean-onyx-variables.sh {jobname}
./bin/data-prep/3-onyx2metadata.sh {jobname}
./bin/data-prep/5-refine-metadata.sh {jobname}
./bin/data-prep/A-onyx2pdo-SQL.sh {jobname} -pid={next pid} -eid={next eid}
./bin/data-prep/B-xslt-pdo2crc.sh {jobname}
./bin/participant-upload/participant-upload-sql.sh {jobname}
How to reload All the Data into i2b2
- Log onto uhlbriccsapp03.xuhl-tr.nhs.uk
sudo su
cd /usr/local/i2b2-procedures-1.1-production
export I2B2_PROCEDURES_HOME=$PWD
- For each jobname in
ls -1tr /usr/local/i2b2-procedures-1.1-production/work
./bin/participant-upload/participant-upload-sql.sh {jobname}
- Alternatively, run the command
ls -1tr /usr/local/i2b2-procedures-1.1-production/work | xargs -i ./bin/participant-upload/participant-upload-sql.sh {}
Last modified
9 years ago
Last modified on 09/17/15 09:34:39
Note:
See TracWiki
for help on using the wiki.