diff --git a/concepts/comorbidity/elixhauser-quan.sql b/concepts/comorbidity/elixhauser-quan.sql index 35972faa8..3d289e59d 100644 --- a/concepts/comorbidity/elixhauser-quan.sql +++ b/concepts/comorbidity/elixhauser-quan.sql @@ -14,7 +14,7 @@ -- 2) The first 4 characters of ICD9_CODE are compared to 4 character codes -- 3) The first 3 characters of ICD9_CODE are compared to 3 character codes -DROP MATERIALIZED VIEW IF EXISTS ELIXHAUSER_QUAN; +DROP MATERIALIZED VIEW IF EXISTS ELIXHAUSER_QUAN CASCADE; CREATE MATERIALIZED VIEW ELIXHAUSER_QUAN AS with icd as (