Required Software
- Java 7+
- JDBC Accessible Database (MySQL is used in the example below)
- Web Servlet Container (Tomcat 8 is used in the example below, though Tomcat 7 should also work)
Chart Review Downloads
Download all artifacts from
github
- chart-review.xml (the Chart Review tomcat database context)
- chart-review-demo-omop.sql (the initial Chart Review database)
- chart-review-omop-data-2016.01.25.Final.sql (OMOP example data)
- chart-review-2016.01.25.Final.war (the Chart Review war file)
Installation
- Install Java, Mysql, and Tomcat.
- Create the user and database in Mysql that will house Chart Review.
mysql -uroot -p
CREATE DATABASE chartreview;
CREATE USER 'chartreview'@'localhost' IDENTIFIED BY 'passw0rd';
GRANT ALL PRIVILEGES ON chartreview.* TO 'chartreview'@'localhost' with grant option;
flush privileges;
- Create the OMOP example data database in Mysql that will house example OMOP data.
mysql -uroot -p
CREATE DATABASE omop;
GRANT ALL PRIVILEGES ON omop.* TO 'chartreview'@'localhost';
flush privileges;
- Before starting up Tomcat, copy the chart-review context file (chart-review.xml) to the tomcat/conf/Catalina/localhost/ directory. Note: You may need to create this directory.
- Edit the chart-review.xml and set the appropriate connection parameters:
<Context>
<Resource name="jdbc/chartReviewDS" auth="Container"
type="javax.sql.DataSource"
username="chartreview"
password="passw0rd"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/chartreview" maxActive="15" maxIdle="3"/>
</Context>
- Import the initial Chart Review database: mysql -uroot -p chartreview < chart-review-demo-omop.sql
- Import the OMOP example data database: mysql -uroot -p omop < chart-review-omop-data-2016.01.25.Final.sql
- Copy the downloaded war to TOMCAT_HOME/webapps, and rename it chart-review.war
- Start Tomcat
- Browse to http://localhost:8080/chart-review/
- Example users are username: admin password:admin and username: u1 password:u1.
More Detailed Instructions & User Guide
For detailed installation instructions, see the installation guide. The user guide is available in the Help link of
the Chart Review application, or as a downloadable pdf.