From 583fed87aa5767073d40b341e25554110d928e49 Mon Sep 17 00:00:00 2001 From: Evanette Burrows Date: Fri, 8 Mar 2024 08:39:20 -0500 Subject: [PATCH] Correct location insert (#189) --- inst/sql/sql_server/cdm_version/v531/insert_location.sql | 2 +- inst/sql/sql_server/cdm_version/v540/insert_location.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inst/sql/sql_server/cdm_version/v531/insert_location.sql b/inst/sql/sql_server/cdm_version/v531/insert_location.sql index aa40b60..e3d201d 100644 --- a/inst/sql/sql_server/cdm_version/v531/insert_location.sql +++ b/inst/sql/sql_server/cdm_version/v531/insert_location.sql @@ -23,5 +23,5 @@ cast(null as varchar) county, p.zip zip, p.zip location_source_value from @synthea_schema.patients p -left join cdm_synthea_30_v54.states_map states_map on p.state=states_map.state) locations +left join @cdm_schema.states_map states_map on p.state=states_map.state) locations ; diff --git a/inst/sql/sql_server/cdm_version/v540/insert_location.sql b/inst/sql/sql_server/cdm_version/v540/insert_location.sql index aa40b60..e3d201d 100644 --- a/inst/sql/sql_server/cdm_version/v540/insert_location.sql +++ b/inst/sql/sql_server/cdm_version/v540/insert_location.sql @@ -23,5 +23,5 @@ cast(null as varchar) county, p.zip zip, p.zip location_source_value from @synthea_schema.patients p -left join cdm_synthea_30_v54.states_map states_map on p.state=states_map.state) locations +left join @cdm_schema.states_map states_map on p.state=states_map.state) locations ;