Permalink
Please sign in to comment.
Browse files
Clean-up of the project. Users info moved to developers info. Added j…
…ar file that was created with Maven in a newly created release folder.
- Loading branch information...
Showing
with
76 additions
and 244 deletions.
- +0 −23 odm/.classpath
- +0 −17 odm/.project
- 0 odm/build.properties
- +0 −95 odm/build_openclinica.xml
- +0 −42 odm/etc/load_clinical_data_R.sh
- +0 −3 odm/jar/META-INF/MANIFEST.MF
- +0 −6 odm/jar2/META-INF/MANIFEST.MF
- +15 −1 pom.xml
- 0 {odm → redcap-to-i2b2}/scripts/create_sqlserver_i2b2metadata_table_study.sql
- 0 {odm → redcap-to-i2b2}/scripts/create_sqlserver_staging_tables.sql
- 0 {odm → redcap-to-i2b2}/scripts/create_synonyms.sql
- 0 {odm → redcap-to-i2b2}/scripts/odm2i2b2.bat
- 0 {odm → redcap-to-i2b2}/scripts/redcap2odm.bat
- BIN releases/release-3.0/odm-to-i2b2-3.0.jar
- +58 −0 src/documentation/DevelopersInformation.md
- +1 −55 src/documentation/UsersInformation.md
- 0 {odm → src}/examples/CDISC_ODM_example_maxim.xml
- 0 {odm → src}/examples/CDISC_ODM_example_minim.xml
- 0 {odm → src}/examples/CDISC_ODM_example_web1.xml
- 0 {odm → src}/examples/CHB_REDCap_2.xml
- 0 {odm → src}/examples/odm121.XML
- 0 {odm → src}/examples/odm130.XML
- 0 {odm → src}/examples/odm130data.XML
- 0 {odm → src}/examples/odm130valueErrors.xml
- 0 {odm → src}/examples/split_odm_aa.xml
- +2 −2 src/main/generate-odm-reader-code/build.xml
| @@ -1,23 +0,0 @@ | ||
| -<?xml version="1.0" encoding="UTF-8"?> | ||
| -<classpath> | ||
| - <classpathentry kind="src" path="src"/> | ||
| - <classpathentry kind="src" path="gensrc"/> | ||
| - <classpathentry exported="true" kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> | ||
| - <classpathentry exported="true" kind="lib" path="lib/log4j-snmp-appender.jar"/> | ||
| - <classpathentry exported="true" kind="lib" path="lib/log4j.jar"/> | ||
| - <classpathentry exported="true" kind="lib" path="lib/sqljdbc4.jar"/> | ||
| - <classpathentry exported="true" kind="lib" path="lib/commons-logging-1.1.1.jar"/> | ||
| - <classpathentry exported="true" kind="lib" path="lib/jdom-1.1.2.jar"/> | ||
| - <classpathentry kind="lib" path="lib/commons-lang-2.5.jar"/> | ||
| - <classpathentry kind="lib" path="lib/junit-4.8.2.jar"/> | ||
| - <classpathentry kind="lib" path="lib/junit-dep-4.8.2.jar"/> | ||
| - <classpathentry kind="lib" path="lib/jtds-1.2.5.jar"/> | ||
| - <classpathentry kind="lib" path="lib/jackson-core-asl-1.9.3.jar"> | ||
| - <attributes> | ||
| - <attribute name="javadoc_location" value="http://jackson.codehaus.org/1.9.3/javadoc/"/> | ||
| - </attributes> | ||
| - </classpathentry> | ||
| - <classpathentry kind="src" path="test"/> | ||
| - <classpathentry kind="lib" path="build/conf"/> | ||
| - <classpathentry kind="output" path="classes"/> | ||
| -</classpath> |
17
odm/.project
| @@ -1,17 +0,0 @@ | ||
| -<?xml version="1.0" encoding="UTF-8"?> | ||
| -<projectDescription> | ||
| - <name>odm</name> | ||
| - <comment></comment> | ||
| - <projects> | ||
| - </projects> | ||
| - <buildSpec> | ||
| - <buildCommand> | ||
| - <name>org.eclipse.jdt.core.javabuilder</name> | ||
| - <arguments> | ||
| - </arguments> | ||
| - </buildCommand> | ||
| - </buildSpec> | ||
| - <natures> | ||
| - <nature>org.eclipse.jdt.core.javanature</nature> | ||
| - </natures> | ||
| -</projectDescription> |
No changes.
| @@ -1,95 +0,0 @@ | ||
| -<?xml version="1.0"?> | ||
| - | ||
| -<project name="odm" default="all" basedir="."> | ||
| - | ||
| - <echo message="pulling in property files" /> | ||
| - <property file="build.properties" /> | ||
| - | ||
| - <property name="src.dir" value="${basedir}/src" /> | ||
| - <property name="test.dir" value="${basedir}/test" /> | ||
| - <property name="lib.dir" value="${basedir}/lib" /> | ||
| - <property name="scripts.dir" value="${basedir}/scripts" /> | ||
| - <property name="build.dir" value="${basedir}/build" /> | ||
| - <property name="deploy.dir" value="redcapui/lib" /> | ||
| - <property name="gensrc.dir" value="/gensrc" /> | ||
| - <property name="classes.dir" value="${basedir}/classes" /> | ||
| - <property name="xsd.dir" value="${basedir}/xsd" /> | ||
| - | ||
| - <path id="build.classpath"> | ||
| - <fileset dir="${lib.dir}"> | ||
| - <include name="**/*.jar" /> | ||
| - </fileset> | ||
| - </path> | ||
| - | ||
| - <target name="all" depends="clean,gensrc,compile,build,deploy" /> | ||
| - | ||
| - <target name="compile"> | ||
| - <mkdir dir="${classes.dir}" /> | ||
| - <javac destdir="${classes.dir}" debug="true"> | ||
| - <src path="${src.dir}" /> | ||
| - <src path="${test.dir}" /> | ||
| - <classpath refid="build.classpath" /> | ||
| - <compilerarg value="-Xlint" /> | ||
| - </javac> | ||
| - </target> | ||
| - | ||
| - <target name="gensrc"> | ||
| - <mkdir dir="/gensrc" /> | ||
| - | ||
| - <echo message="calling xjc generation tool: odm" /> | ||
| - <exec executable="xjc"> | ||
| - <arg value="-d" /> | ||
| - <arg value="${gensrc.dir}" /> | ||
| - <arg value="-b" /> | ||
| - <arg value="${xsd.dir}/OpenClinica-ToODM1-3-0-OC2-0/bindings.xml" /> | ||
| - <arg value="${xsd.dir}/OpenClinica-ToODM1-3-0-OC2-0/ODM1-3-0.xsd" /> | ||
| - <arg value="${xsd.dir}/OpenClinica-ToODM1-3-0-OC2-0/OpenClinica-ToODM1-3-0-OC2-0.xsd" /> | ||
| - </exec> | ||
| - | ||
| - <mkdir dir="${classes.dir}" /> | ||
| - <javac srcdir="${gensrc.dir}" destdir="${classes.dir}" /> | ||
| - </target> | ||
| - | ||
| - <target name="build" depends="compile"> | ||
| - <mkdir dir="${build.dir}" /> | ||
| - <mkdir dir="${build.dir}/lib" /> | ||
| - <mkdir dir="${build.dir}/conf" /> | ||
| - <mkdir dir="${build.dir}/logs" /> | ||
| - <mkdir dir="${build.dir}/files" /> | ||
| - <mkdir dir="${build.dir}/files/inbox" /> | ||
| - <mkdir dir="${build.dir}/files/archive" /> | ||
| - | ||
| - <jar destfile="${build.dir}/lib/redcap2i2b2.jar" basedir="${classes.dir}" /> | ||
| - <copy todir="${build.dir}/lib"> | ||
| - <fileset dir="${lib.dir}"> | ||
| - <include name="**/*.jar" /> | ||
| - </fileset> | ||
| - </copy> | ||
| - | ||
| - <copy todir="${build.dir}"> | ||
| - <fileset dir="${scripts.dir}"> | ||
| - <include name="*.bat" /> | ||
| - <include name="*.sh" /> | ||
| - </fileset> | ||
| - </copy> | ||
| - | ||
| - <copy todir="${build.dir}/conf"> | ||
| - <fileset dir="${src.dir}"> | ||
| - <include name="*.properties" /> | ||
| - </fileset> | ||
| - </copy> | ||
| - </target> | ||
| - | ||
| - <target name="deploy" depends="build"> | ||
| - <copy file="${build.dir}/lib/redcap2i2b2.jar" todir="${deploy.dir}" overwrite="true" /> | ||
| - </target> | ||
| - | ||
| - <target name="clean"> | ||
| - <delete failonerror="false"> | ||
| - <fileset dir="${classes.dir}" /> | ||
| - <fileset dir="/gensrc" /> | ||
| - <fileset dir="${build.dir}" /> | ||
| - </delete> | ||
| - </target> | ||
| - | ||
| -</project> |
| @@ -1,42 +0,0 @@ | ||
| -#!/bin/sh | ||
| - | ||
| -StudyID="CAIRO_WARD" | ||
| -TopNode="\\Public Studies\\Cairo-Ward\\" | ||
| -ColumnMapFile="CAIRO_columns.txt" | ||
| -WordMapFile="CAIRO_word_map.txt" | ||
| -Security="N" | ||
| - | ||
| -# Where the tranSMART-ETL repository is | ||
| -ETL_HOME="$HOME/repos/tranSMART-ETL" | ||
| - | ||
| -# The pivot-file which will be uploaded into the database | ||
| -OutputFile="output.tsv" | ||
| - | ||
| -########################################################################### | ||
| -# Going to do the work. You should not have the change anything below here. | ||
| - | ||
| -echo "Start re-arranging input..." | ||
| -Rscript ${ETL_HOME}/Postgres/GPL-1.0/R/clinical/load_clinical_data.R studyID=${StudyID} \ | ||
| - columnMapFile=${ColumnMapFile} \ | ||
| - wordMapFile=${WordMapFile} \ | ||
| - outputFile=${OutputFile} | ||
| -echo "re-arranged input stored in file: ${OutputFile}" | ||
| -echo "" | ||
| - | ||
| -echo "Start uploading file: ${OutputFile} into database (tm_lz.lt_src_clinical_data)" | ||
| -psql -U tm_lz -w -d transmart <<EIND | ||
| -truncate TABLE tm_lz.lt_src_clinical_data; | ||
| -\\copy tm_lz.lt_src_clinical_data FROM '${OutputFile}' WITH (FORMAT CSV, DELIMITER E'\t', HEADER); | ||
| -select count(*) from tm_lz.lt_src_clinical_data; | ||
| -EIND | ||
| -echo "File: ${OutputFile} uploaded into database" | ||
| -echo "" | ||
| - | ||
| -echo "Call stored-procedure to put data into i2b2 tables" | ||
| -psql -U tm_cz -w -d transmart <<END | ||
| -select tm_cz.i2b2_load_clinical_data('${StudyID}', '${TopNode}', '${Security}') | ||
| -END | ||
| -echo "All done." | ||
| - | ||
| -# Remove the tempory pivot-file | ||
| -#\rm ${OutputFile} 2>&1 >/dev/null |
| @@ -1,3 +0,0 @@ | ||
| -Manifest-Version: 1.0 | ||
| -Main-Class: com.recomdata.i2b2.I2B2ODMStudyHandlerCMLClient | ||
| - |
| @@ -1,6 +0,0 @@ | ||
| -Manifest-Version: 1.0 | ||
| -Class-Path: junit-4.8.2.jar junit-dep-4.8.2.jar log4j-snmp-appender.ja | ||
| - r sqljdbc4.jar commons-logging-1.1.1.jar log4j.jar commons-lang-2.5.j | ||
| - ar jackson-core-asl-1.9.3.jar jdom-1.1.2.jar jtds-1.2.5.jar | ||
| -Main-Class: com.recomdata.i2b2.I2B2ODMStudyHandlerCMLClient | ||
| - |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
0 comments on commit
174ab2a