diff --git a/cms_ssd_extract_sql/mosaic/ssd_missing_tag_dw.sql b/cms_ssd_extract_sql/mosaic/ssd_missing_tag_dw.sql index d0d9b73..50c94f8 100644 --- a/cms_ssd_extract_sql/mosaic/ssd_missing_tag_dw.sql +++ b/cms_ssd_extract_sql/mosaic/ssd_missing_tag_dw.sql @@ -22,7 +22,7 @@ and case when ffa.subject_person_id <= 0 then sgs.SUBJECT_COMPOUND_ID else ffa.subject_person_id end = sgs.SUBJECT_COMPOUND_ID ) miss_missing_episode_type, - stp.completed_on miss_missing_episode_end, + stp.completed_on miss_missing_episode_end_date, ( select max( diff --git a/tools-ssd_workflow/admin/consistency_checks-locate_variable_in_sql.py b/tools-ssd_workflow/admin/consistency_checks-locate_variable_in_sql.py index b68ca42..6b0a993 100755 --- a/tools-ssd_workflow/admin/consistency_checks-locate_variable_in_sql.py +++ b/tools-ssd_workflow/admin/consistency_checks-locate_variable_in_sql.py @@ -16,7 +16,7 @@ ] -variable_name = 'perm_permanence_id' # var name to search +variable_name = 'miss_missing_episode_end' # var name to search variable_stem = '' # stem to search variable_suffix = '' # suffix to search search_file_type = '.sql' # or .py or .txt