Ubuntu 16.04.1 Installation - mitre/ptmatch-frontend GitHub Wiki

Install Instructions

The following instructions will allow you to set up the patient matching test harness on Ubuntu 16.04.1.

Prerequisites

This project depends on the backend services provided by the ptmatch library. You can see the architecture below:

Patient Matching Setup Diagram

To install the full suite of tools:

  • Follow the instructions for installing node-cqm-engine. This will provide the backend to calculate electronic Clinical Quality measures. This calculation engine runs on node.js. By leveraging a JavaScript environment, we can leverage the same quality measure code used by Bonnie and Cypress.
  • Next, follow the instructions to install ecqm. This will set up a Go based application hosting a number of services. It will provide services to kick off and retrieve eCQM calculations. It will provide the services for the patient matching test harness, by leveraging the ptmatch library. Finally, it incorporates a FHIR server.

Once you have these prerequisites installed, you can prepare the front end web application.

Install node.js

If you followed the instructions for ecqm, particularly the section on setting up the front end, you should have node.js and npm set up already. If you didn't set up the ecqm front end, please make sure that you alias nodejs so that dependent libraries can find it:

sudo ln -s /usr/bin/nodejs /usr/bin/node

Once node.js and npm are properly installed and configured, you can clone and build the source code:

git clone https://github.com/mitre/ptmatch-frontend.git
cd ptmatch-frontend
npm install
npm start

Serving and accessing the frontend

The following commands will start the go based server:

cd $HOME/go/src/github.com/mitre/ecqm
go run server.go -assets $HOME/ptmatch-frontend/dist/

You should now be able to access the user interface by visiting http://localhost:3001.