Skip to content
ssayer edited this page Dec 7, 2012 · 10 revisions

Installing PopHealth from Code

Dependencies

Git

You will first need to install the Git version control system on your machine, in order to download the popHealth source code packages. Instructions for installing Git on your system and platform are available here

###Ruby 1.9.2

popHealth requires the use of the Ruby 1.9.2 or higher programming language. Instructions for installing Ruby are available here

###Bundler

Once you have installed all the dependency utilities, you will need to install Bundler, the application dependency management tool. To install Bundler, run the following command:

gem install bundler

###MongoDB

popHealth requires the use of the MongoDB open source, document-based database. To use popHealth, you will need to have installed MongoDB 2.2.0 or higher prior to downloading the popHealth code. Instructions for installing MongoDB are available here. As part of the setup process of MongoDB, you should also ensure the Mongo 'bin' directory is in your operating system's PATH environment variable.

Application

popHealth Web Application

Once you have installed the Quality Measure Definitions, you will need to install the popHealth application to view an report your results from popHealth. To begin the process of downloading and installing popHealth, you should first download the measure definitions from the associated measures repository.

git clone git://github.com/pophealth/popHealth.git

If you intend on making any contributions to the popHealth project, you will be required to use a fork of the popHealth Git repository. To do this, you will need to create an account on GitHub, and create a fork of the popHealth repository. Instructions for creating a GitHub account are available here. Once you have created a GitHub account, you will be able to create a fork of of the popHealth repository off of the repository website here

Install Libary Dependencies

Once the clone process has completed, you will need to install the popHealth Dependencies.

cd popHealth
bundle install

Import the measure bundle

You will need an NLM account in order to load value sets from the VSAC service and download the measure bundle.

Register for an account at: https://uts.nlm.nih.gov/home.html. . Once you have the bundle and the account you can run the following commands to load the bundle.

(Install measure bundle and Value sets)

Clone this wiki locally