Start Here: Installation of Atlas, WebAPI, CDM, webapi, and Required Prerequisites

Note: The Ponos installer is a comprehensive solution for the installation of all of software required to run fhir-to-omop as well as core OHDSI applications such as Atlas. If you already have most or all of these dependencies installed you can jump directly to installing and running the fhir-to-omop application using the "Install and Run fhir-to-omop" link below. The out-of-the-box configuration will use Broadsea and create a CDM database that can be populated with your data or populated with FHIR patients using a test data set of 25k patients.

This page provides a link to the Ponos installation of Atlas/WebAPI/CDM and a summary of this process. This page also details the steps to manually install all of the prerequisites for Atlas/WebAPI and then install Atlas/WebAPI. The manual process is fairly complicated and not recommended but is included here for reference. It is recommended to use the Ponos install process described at the link below.

Ponos: An Automated Build for an OHDSI Development or Production Environment

Click on this link for the Ponos Installation Process.
Click on this link for a video demonstration of a Ponos install
(Set the video quality to HD/1080 if the video quality is not good, the link from this page should do it for you)

An Overview of Ponos

Ponos does a complete installation of Atlas, WebAPI, CDM, the webapi database, and all dependencies in 5 easy steps.

An Brief Description of Each of the Steps of Ponos

Ponos automates the build of an environment that can be used to run and develop Atlas as much as is possible. The Ponos automated build consists of the following steps. Each of the steps can be run individually as needed. All of the steps can be run to create a complete installation of Atlas and the tools needed for Atlas development.

Manual Installation of Atlas, WebAPI, and Dependencies

The existing process for installing Atlas, WebAPI, and the Dependencies is a manual process. Instructions for this process spread accross many projects. These instructions must be followed very carefully and executed in a specific order. This process is very time consuming and very prone to error. The manual process to install Atlas/WebAPI/etc. is defined by the resources listed below. The Ponos process automates this process.

WebAPI Deployment: The following are the high-level steps for deploying WebAPI
Pre-requite software is listed here:
https://github.com/OHDSI/WebAPI/wiki/WebAPI-Installation-Guide
Install and configure a PostreSQL server, database and users for use when deploying WebAPI:
https://github.com/OHDSI/WebAPI/wiki/PostgreSQL-Installation-Guide.
Verify the database connectivity:
https://github.com/OHDSI/WebAPI/wiki/WebAPI-Installation-Guide#test-the-database-connection
Install WebAPI:
https://github.com/OHDSI/WebAPI/wiki/WebAPI-Installation-Guide#installing-webapi
Deploy WebAPI to Tomcat:
https://github.com/OHDSI/WebAPI/wiki/WebAPI-Installation-Guide#deploy-webapi-to-tomcat
Verify deployment:
https://github.com/OHDSI/WebAPI/wiki/WebAPI-Installation-Guide#verify-webapi-deployment
Troubleshooting FAQ:
https://github.com/OHDSI/WebAPI/wiki/WebAPI-Installation-Guide#troubleshooting
Configure the CDM for use with WebAPI:
https://github.com/OHDSI/WebAPI/wiki/CDM-Configuration

Atlas deployment
The ATLAS setup guide is found here:
https://github.com/OHDSI/Atlas/wiki/Atlas-Setup-Guide. The high level steps include:
Troubleshooting guide:
https://github.com/OHDSI/Atlas/wiki/Atlas-Setup-Guide#troubleshooting

Manually Installing Dependencies and First Steps with fhir-to-omop Tools

This section gives instructions on how to manually install some of the tools needed for WebAPI, Atlas, and fhir-to-omop.

Introduction

This section will show you the steps to install and get started with fhir-to-omop as a developer. This section is retained as it was used to guide the development of the automated, and thereby standardized, build of the WebAPI/Atlas/fhir-to-omop development environment. You should really use the automated build described above.

Getting started with fhir-to-omop means different things to different users. The fhir-to-omop project includes several tools including utilities to download FHIR resources from a FHIR server in a highly paralleized and scalable way, tools for converting FHIR to OMOP, tools for writing data to OMOP, as well as several other tools and utilities. We suggest looking at the fhir-to-omop Tools and Utilities page for the functionality you are interested in.

Prerequisites

Don't panic, the list below are the prerequisites to get started as a developer on the fhir-to-omop team. The fhir-to-omop tool suit is also available as a Standalone Application. The only prerequisites for the Standalone application are a MS Sql Server database, terminology files from Athena, and Java.

List of prerequisites

Note: A new UMLS licence can take up to 3 business days to process. Do this first ! ! !

The following resources are required for the fhir-to-omop tool suite. Links to how to get each of these resources are shown in the next section.

  1. Java: fhir-to-omop is a suite of Java applications.
  2. Git: Git used to download fhir-to-omop
  3. Maven: MVN is used to build the project from source files
  4. MS Sql Server: An installation of Microsoft Sql Server used as the database to host the OMOP instance we will be creating, and a download of the terminology tables from OHDSI Athena.
  5. It is also helpful to have Microsoft Sql Server Management Studio (MSSM) installed.
  6. MS Sql Server JDBC Driver: Used by applications to connect to your OMOP instance.
  7. Eclipse (or other IDE): It is also useful to have an integrated development environment (IDE). I prefer Eclipse (because I'm older than the mountains... at least I'm not using emaccs, because I'm younger than the trees).
  8. An identity provider. I'm using secure.login.gov. Others such as Microsoft or Google (gmail) can also be used.
  9. A UMLS Account: Some of the terminologies used in OMOP require a UMLS account.
  10. A UMLS API Key: This is required to integrate CPT codes after the terminology has been downloaded.
  11. An OHDSI Athena account: Athena will be used to download the terminologies we will add to our OHDSI implementation
  12. A Synthea SyntheticMass Account and Application ID
  13. R and RStudio: R and RStudio are used for tools like the Data Quality Dashboard
  14. PostgreSql 10: PostgreSql 10 is required if you want to install an instance of Atlas (you definitely want to install an instance of Atlas)

Links to Instructions on How to Get Prerequisites

Instructions for each are in the pages shown below.

Versions

The current version of fhir-to-omop has been built and tested using the following versions of the above tools:

Download and Install fhir-to-omop

The fhir-to-omop tools can be downloaded and installed by simply checking out the fhir-to-omop project from github using the following.
git clone https://github.com/NACHC-CAD/fhir-to-omop

Then switch to the tag you want to use as shown below (kind of, you definitely do NOT want the primordial branch)
git checkout tags/primordial



This project uses tags like v0.0.0. You probably want the most recent tag. You can find the most recent tag by going to https://github.com/NACHC-CAD/fhir-to-omop and then selecting the tag link.