Skip to content
Columbia Open Health Data API
Jupyter Notebook Python TSQL
Branch: master
Clone or download
Pull request Compare This branch is 43 commits ahead of CaseyTa:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows
cohd
db/sql
notebooks
.ebignore
.gitignore
LICENSE.txt
README.md
cohd-config-example.cnf
requirements.txt
test_cohd_io.py

README.md

Columbia Open Health Data API (COHD)

A database of frequencies of clinical concepts observed at Columbia University Medical Center. Over 17,000 clinical concepts and 8.7M pairs of clinical concepts, including conditions, drugs, and procedures are included. The COHD RESTful API allows users to query the database.

Requirements

Python 2.7

Python packages: flask, flask_cors, pymysql

pip install flask flask_cors pymysql

Running the Application

The COHD API is served using FLASK:

FLASK_APP=cohd.py flask run

Deploying and running COHD on AWS

COHD is served on an AWS EC2 instance using Nginx and uWSGI. For consistency, use the approach in the following blog post: http://vladikk.com/2013/09/12/serving-flask-with-nginx-on-ubuntu/

Caveats:

  • If using virtualenv, you either have to have the virtualenv directory in the same location as the cohd.py application, or specify the location of the virtualenv using the uWSGI -H parameter.
You can’t perform that action at this time.