Handoff is a platform for next generation care coordination. Using Handoff, providers can collaboratively annotate electronic medical records to ensure efficient and continuous care. Handoff is meant to free care providers from the phone calls, texts, and other forms of informal communication that are currently used to facilitate care coordination.
This is application a prototype and not meant for production use.
Handoff pulls patient records from your existing system via FHIR API.
Configure the API endpoint and tweak its interaction in
This is required for demoing, because the default endpoint is firewall-protected.
Install rvm, following the instructions on the front page of http://rvm.io. If gpg is not a command on your system, ignore that step.
Open a new terminal, so the rvm script loads.
rvm install ruby
Clone the git repository, if you haven't already:
git clone https://github.com/nilbus/handoff
Note that this https URL requires you to enter your github credentials each time you authenticate. If you want to use passwordless SSH key based authentication isntead, follow GitHub's instructions here: https://help.github.com/articles/generating-ssh-keys/
cd into the handoff git repository
Install ruby gems
Drop old instances of the database
Initialize the database
Seed the database
Running the application
cdinto the project directory
Start the rails server
Deploying as a WAR file
(once) Install JRuby ~> 1.7.19 and bundler
First install a Java JDK. Then:
rvm install jruby-1.7.19 rvm use jruby-1.7.19 gem install bundler
Generate the war file handoff.war:
rvm use jruby-1.7.19 bin/build-war
rvm use jruby-1.7.19 # use JRuby and its gems for packaging bundle install --deployment # prepare gems for deployment RAILS_ENV=production rake assets:precompile # compile assets (js, css) bundle exec warble # generate the war file bundle install --no-deployment # allow gems to be modified rvm use default # use standard Ruby for development
Deploy to a Tomcat app server:
cdinto the tomcat directory (download and extract Tomcat 8 from http://tomcat.apache.org)
(once) Make the catalina startup script executable
chmod +x bin/catalina.sh
Remove any old version of the app
rm -rf webapps/handoff
Start the Tomcat app server
Copy or symlink the handoff.war file into the
- Visit http://localhost:8080/handoff/