chop-dbhi / omop_harvest

OMOP CDMV4 data model with OSIM2 data in Harvest
https://eig.research.chop.edu/omop/
Other
5 stars 3 forks source link

CDM V4 DDL for postgres #15

Closed mgkahn closed 9 years ago

mgkahn commented 9 years ago

ERROR: column "drug_exposure_type" of relation "drug_era" does not exist

Comment out the line:

-- COMMENT ON COLUMN drug_era.drug_exposure_type IS 'A foreign key to the deprecated CDMV2 table storing types of drug exposures that make up the drug era.'

gracebrownecodes commented 9 years ago

The DDL in this repo is a little behind the times, and was designed for the hybrid tables to accept OSIM2 data. I'm going to close this issue and make a new one to update the DDL in general. Thanks for the bug-tracking.