
DROP TABLE IF EXISTS ohdsi.concept CASCADE;
DROP TABLE IF EXISTS ohdsi.vocabulary CASCADE;
DROP TABLE IF EXISTS ohdsi.domain CASCADE;
DROP TABLE IF EXISTS ohdsi.concept_class CASCADE;
DROP TABLE IF EXISTS ohdsi.concept_relationship CASCADE;
DROP TABLE IF EXISTS ohdsi.relationship CASCADE;
DROP TABLE IF EXISTS ohdsi.concept_synonym CASCADE;
DROP TABLE IF EXISTS ohdsi.concept_ancestor CASCADE;
DROP TABLE IF EXISTS ohdsi.source_to_concept_map CASCADE;
DROP TABLE IF EXISTS ohdsi.drug_strength CASCADE;
--DROP TABLE IF EXISTS ohdsi.cohort_definition CASCADE;
--DROP TABLE IF EXISTS ohdsi.attribute_definition CASCADE;

DROP TABLE IF EXISTS ohdsi.cdm_source CASCADE;
DROP TABLE IF EXISTS ohdsi.metadata CASCADE;
DROP TABLE IF EXISTS ohdsi.person CASCADE;
DROP TABLE IF EXISTS ohdsi.observation_period CASCADE;
DROP TABLE IF EXISTS ohdsi.specimen CASCADE;
--DROP TABLE IF EXISTS ohdsi.death CASCADE;
DROP TABLE IF EXISTS ohdsi.visit_occurrence CASCADE;
DROP TABLE IF EXISTS ohdsi.visit_detail CASCADE;
DROP TABLE IF EXISTS ohdsi.procedure_occurrence CASCADE;
DROP TABLE IF EXISTS ohdsi.drug_exposure CASCADE;
DROP TABLE IF EXISTS ohdsi.device_exposure CASCADE;
DROP TABLE IF EXISTS ohdsi.condition_occurrence CASCADE;
DROP TABLE IF EXISTS ohdsi.measurement CASCADE;
DROP TABLE IF EXISTS ohdsi.note CASCADE;
DROP TABLE IF EXISTS ohdsi.note_nlp CASCADE;
DROP TABLE IF EXISTS ohdsi.observation CASCADE;
DROP TABLE IF EXISTS ohdsi.survey_conduct CASCADE;
DROP TABLE IF EXISTS ohdsi.fact_relationship CASCADE;
DROP TABLE IF EXISTS ohdsi.episode CASCADE;
DROP TABLE IF EXISTS ohdsi.episode_event CASCADE;

DROP TABLE IF EXISTS ohdsi.location CASCADE;
DROP TABLE IF EXISTS ohdsi.location_history CASCADE;
DROP TABLE IF EXISTS ohdsi.care_site CASCADE;
DROP TABLE IF EXISTS ohdsi.provider CASCADE;

DROP TABLE IF EXISTS ohdsi.payer_plan_period CASCADE;
DROP TABLE IF EXISTS ohdsi.cost CASCADE;

--DROP TABLE IF EXISTS ohdsi.cohort CASCADE;
--DROP TABLE IF EXISTS ohdsi.cohort_attribute CASCADE;
DROP TABLE IF EXISTS ohdsi.drug_era CASCADE;
DROP TABLE IF EXISTS ohdsi.dose_era CASCADE;
DROP TABLE IF EXISTS ohdsi.condition_era CASCADE;
