Skip to content

Commit

Permalink
Changed the copyright statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Anna Ostropolets committed Apr 18, 2016
1 parent cfe2250 commit f0cfe34
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 34 deletions.
34 changes: 17 additions & 17 deletions DPD/manual tables.sql
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
/**************************************************************************
* Copyright 2016 Observational Health Data Sciences and Informatics (OHDSI)
/**************************************************************************
* Copyright 2016 Observational Health Data Sciences and Informatics (OHDSI)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Authors: Christian Reich
* Date: 2016
**************************************************************************/
* Authors: Anna Ostropolets, Dmitry Dimschitz, Christian Reich
* Date: April 2016
**************************************************************************/
CREATE TABLE DRUG_PRODUCT_AP
(
DRUG_CODE NUMBER NOT NULL,
Expand Down
34 changes: 17 additions & 17 deletions DPD/non_drug_concept_stage.sql
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
/**************************************************************************
* Copyright 2016 Observational Health Data Sciences and Informatics (OHDSI)
/**************************************************************************
* Copyright 2016 Observational Health Data Sciences and Informatics (OHDSI)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Authors: Christian Reich
* Date: 2016
**************************************************************************/
* Authors: Anna Ostropolets, Dmitry Dimschitz, Christian Reich
* Date: April 2016
**************************************************************************/
create table NON_DRUG as (select drug_Code as concept_code,old_code,brand_name as concept_name, class as domain_id, 'DPD' as vocabulary_id, 'Branded Drug' as concept_class_id,TO_DATE('2015/12/12', 'yyyy/mm/dd') as valid_start_date,
TO_DATE('2099/12/31', 'yyyy/mm/dd') as valid_end_date, 'D' as invalid_reason from drug_product where upper(CLASS) in ('DISINFECTANT','VETERINARY','RADIOPHARMACEUTICAL'));
18 changes: 18 additions & 0 deletions DPD/standard_tables_creation.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/**************************************************************************
* Copyright 2016 Observational Health Data Sciences and Informatics (OHDSI)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Authors: Anna Ostropolets, Dmitry Dimschitz, Christian Reich
* Date: April 2016
**************************************************************************/
--CREATING UNITED TABLES OUT 3 BATCHES THAT WE WERE GIVEN. AS DRUG_IDENTIFICATION_NUMBER IS UNIQUE WE USED IT INSTEAD OF DRUG CODE
create table drug_product as (
select drug_CODE as old_code,PRODUCT_CATEGORIZATION,CLASS,ltrim(DRUG_IDENTIFICATION_NUMBER,'0') as DRUG_CODE,BRAND_NAME,DESCRIPTOR,PEDIATRIC_FLAG,ACCESSION_NUMBER,NUMBER_OF_AIS,AI_GROUP_NO,
Expand Down

0 comments on commit f0cfe34

Please sign in to comment.