Skip to content
This repository has been archived by the owner on Jul 8, 2020. It is now read-only.

NCIP/c3pr

Repository files navigation

Welcome to the C3PR Project!

C3PR is an Open Source project that is a web-based application used for end-to-end registration of patients in clinical trials.

It is written in Java using a number of Open Source technologies, such as Tomcat, Spring, Hibernate and Postgres.

The goal of C3PR is to provide clinical workflows that are enabled by both subject- and study-centric views into the registration process

C3PR is distributed under the BSD 3-Clause License. Please see the NOTICE and LICENSE files for details.

You will find more details about C3PR in the following links:

Please join us in further developing and improving C3PR.

Important Info to checkout, setup DB, run ant tasks, resolve dependencies, deploy

  1. Firstly clone complete repository from git hub to your local directory. If you're using eclipse, you need to install a git plugin for eclipse like EGit. Go to File-->Import-->Git-->Projects from Git. Select 'URI' in Select Repository Source. Enter the URI as 'git://ncip.github.com/c3pr.git'. Click next, the project along with branches should be imported in eclipse with master checked out.

  2. This build file is currently configured to work with Tomcat 5.5. Make sure you set your CATALINA_HOME on your env path

  3. The file codebase\projects\core\db\oracle\c3pr_ddl.sql - consists of the ddl for oracle schema Corresponding ddl for postgreSQL is present in codebase\projects\core\db\PostGreSQL\c3pr_ddl.sql

    The property file 'datasource.properties' has the db setup properties. By default this has sample connection setup to Postgres DB @SemanticBits. Change this to your local DB and the build-core ant task will copy these properties, place it into datasource.properties for Spring's applicationContext to pick up.

  4. There are 3 primary build files

c3pr\codebase\antfiles\ivy-master-build.xml - the main build file c3pr\codebase\projects\core\ivy-build.xml - build file for building core project c3pr\codebase\projects\web\ivy-build.xml - build file for building web project ..... .....

If everything is checked out currectly with tomcat set: -

4.1) deploy-webapp : should compile everything from scratch and deploy core/web projects into a your \webapps\c3pr*

4.2) build-core or build-xxx : If you just want to build individual projects. This builds the corresponding sub projects and placea a xxx.jar file in respective folder - jars\xxx

4.3) To run tests of sub projects - use test ant target from individual build files (ie., c3pr\codebase\projects\core\ivy-build.xml)

-> Run clean ant task in c3pr\codebase\antfiles\ivy-master-build.xml as necessary

Do not try to run compile or build from individual build files (ie., c3pr\codebase\antfiles\ivy-master-build.xml) as the dependencies on other projects will not have been resolved. The outer build does exactly that by copying all dependency jars/files from other projects and place it in respective ext\lib folder

Alternatively, the graphical installer can be downloaded from here, Graphical installer Please

Troubleshooting

-> If you get errors, make sure you have checked out the entire codebase inc all sub projects under codebase\projects and codebase\antfiles -> try running clean-all from c3pr\codebase\antfiles\ivy-master-build.xml and manually deleter your webapps\c3pr folder

About

C3PR is a web-based application that can be used for end-to-end registration of patients in clinical trials.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published