The project developers Chef recipes to manage automated installation and deployment of PopHealth for clinical quality measurement reporting. It is specifically designed to help IT administrators that are unfamiliar with Ruby, GEMs, MongoDB etc to get PopHealth up and running quickly.
By executing a single shell script on a stock Ubuntu 10.04 (TLS) Linux install, you should be able to install and deploy a PopHealth server.
-
Copy the ubuntu-10.04-startup.sh file to the box, and change its permission to executable. (e.g.,
chmod 777 ubuntu-10.04-startup.sh
) -
Run
sudo ubuntu-10.04-startup.sh
It might take 30 minutes to an hour to finish. So, get a cup of coffee! -
Verify your install at
http://ip-address:3000
and login as "pophealth / pophealth"
On Amazon EC2, things can be further simplified. You do not even need to log into the server. The installation and deployment can be "headless".
-
Startup an EC2 instance using the official Ubuntu 10.04 image (e.g.,
ami-55dc0b3c
for US East region. See a complete list of different EC2 regions at Ubuntu support site). -
Copy and paste the content of the
sudo ubuntu-10.04-startup.sh
file into the "user data" box when starting up the EC2 server. -
Make sure that you use an open security group to expose port 3000 for access.
-
Verify your install at
http://ip-address:3000
and login as "pophealth / pophealth"
With EC2, we can create on-demand PopHealth instances outside of our firewalls. But for developers, it is sometimes easier to experiment with PopHealth on a virtual machine on their own PC. For this, we support VirtualBox instances managed by vagrant.
-
Install VirtualBox. It is a very lightweight install.
-
Install vagrant. Assuming that you have Ruby installed on your PC, it is a simple command
gem install vagrant
. -
Then use vagrant to install Ubuntu 10.04 onto an VirtualBox instance:
vagrant box add lucid32 http://files.vagrantup.com/lucid32.box
-
Download this GitHub repository, and type
vagrant up
in the exploded directory. -
Wait for some time until it finishes. And access PopHealth at http://localhost:8300/
-
You can use
vagrant ssh
to SSH into the instance,vagrant suspend
stop the virtual machine, andvagrant destroy
to get rid of the virtual machine when you no longer need it.
To import data into the PopHealth server for analysis and visualization, you could do one of the following:
- Configure your EHR to upload CCR / CCD content to URL http://pophealth.ip-address:3000/records The default authentication username and password are "pophealth / pophealth". This is the option if you deployed PopHealth servers outside of your firewall.
OR
- If the PopHealth server is deployed inside your EHR's firewall, you could configure it to retrieve CCR / CCD files containing patient information from a shared file directories, where the EHR exports those files.
Enjoy!