Skip to content

Commit

Permalink
Fixed removal of a couple procedures from OMOPLoader
Browse files Browse the repository at this point in the history
  • Loading branch information
kembree1 committed Jul 14, 2017
1 parent b996885 commit 7b4bc6d
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions MSSQL/OMOPLoader.sql
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
----------------------------------------------------------------------------------------------------------------------------------------

-- Change to your omop database
use i2b2stub;
use i2b2_stub;
go

-- drop any existing synonyms
Expand All @@ -42,13 +42,13 @@ GO

-- You will almost certainly need to edit your database name
-- Synonyms for dimension tables
create synonym i2b2visit for i2b2stub..visit_dimension
create synonym i2b2visit for i2b2_stub..visit_dimension
GO
create synonym i2b2patient for i2b2stub..patient_dimension
create synonym i2b2patient for i2b2_stub..patient_dimension
GO
create synonym i2b2fact for i2b2stub..observation_fact
create synonym i2b2fact for i2b2_stub..observation_fact
GO
create synonym i2b2concept for i2b2stub..concept_dimension
create synonym i2b2concept for i2b2_stub..concept_dimension
GO

-- You will almost certainly need to edit your database name
Expand All @@ -65,8 +65,8 @@ GO
--GO
--create synonym pcornet_demo for i2b2stub..pcornet_demo
--GO
create synonym pcornet_proc for i2b2stub..pcornet_proc_nocpt
GO
--create synonym pcornet_proc for i2b2stub..pcornet_proc_nocpt
--GO
--create synonym pcornet_vital for i2b2stub..pcornet_vital
--GO
--create synonym pcornet_enc for i2b2stub..pcornet_enc
Expand Down Expand Up @@ -961,13 +961,13 @@ begin

exec OMOPclear
exec OMOPdemographics
exec OMOPdrug_exposure
exec OMOPencounter
exec OMOPdiagnosis
exec OMOPcondition
exec OMOPvital
exec OMOPenroll
exec OMOPlabResultCM
exec OMOPreport
exec OMOPprocedure
--exec OMOPreport

end
go

0 comments on commit 7b4bc6d

Please sign in to comment.