Initial commit
Add DDL and ETL scripts and docs

The docs are collected from the OMOP website. The etl scripts are a
combination of provided scripts and custom ones. The provided scripts
had to be modified to both work with PostgreSQL (they were written for
Oracle) and also to accept the OSIM2 data which is in an older version
of the CDM. There are some known issues recorded in etl/KNOWN_ISSUES.md
and the process is described in etl/README.md
Create Django models for the CDMV4

Models are created from a syncdb command after the DDL and ETL process.
South initial migration is created, which could be used instead of the
DDL routines in the ETL folder. Comments from the OMOP DDL are added as
help_text to fields in the Django models, but no verbose names are
defined.
Simplify data model for deployment

Cut down the data model to just the four central tables that appear in
OSIM2, as well as the unmanaged models which represent views of the
concept table. Change the south data migration accordingly.
Add view creation code

Added the SQL to create views of concept table needed for the last
model change. Added a south migration to run the code.
Update docs.
Update gitignore and add Haystack config
'Merge' fabric files from cbttc harvest
Modify server settings for omop

Replace references to cbttc with references to omop in the files merged
from the cbttc repo. Remove unwanted vagrant server settings.
Also, add 'settings' to gitignore. Modify global settings to bring it in
line with how things are done in cbttc.
Add auth and templates

Add auth packages and templates (django-registration and django-chopauth
packages and templates taken from cbttc-harvest). Tweak local server
settings and specify exact versions in requirements file.
Tweak .gitignore

Instead of ignoring the entire logs directory, which is needed to store
logs on any instance using local server files, add a .gitignore inside
the logs directory to ignore any files inside of it, but version control
the existence of the directory itself.
Hotfix requirements
Add proper imports to view migration
Fix error in table ddl.
Increase local nginx timeout
Remove omop_drug_exposure_type from OSIM2 load
Create one-fifth size OSIM2 dataset
Move view definition into schemamigration
Remove MATERIALIZED VIEWs for compatibility

Change CREATE MATERIALIZED VIEW '...' AS to CREATE TABLE '...' AS in
order to maintain compatibility with versions of postgres older than 9.3
Add avocado metadata fixtures