/*-------------------------------------------------------------------------------------*\
| scdm_data_qa_review-vitalsigns.sas |
|---------------------------------------------------------------------------------------|
| The purpose of this program is to perform data quality checks on the Vitals |
|---------------------------------------------------------------------------------------|
| see 00.0_scdm_data_qa_review_master_file.sas |
|---------------------------------------------------------------------------------------|
| Sentinel Coordinating Center |
| info@sentinelsystem.org |
\*-------------------------------------------------------------------------------------*/
*-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-;
* PLEASE DO NOT EDIT BELOW WITHOUT CONTACTING THE SENTINEL OPERATIONS CENTER ;
*-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-;
%if &do_partitions and not %eval(&module in &tabid_exc) %then %do ;
data t_view /view=t_view ;
set qadata.&&&module.table.: (keep=measure_date ht wt diastolic systolic BP_Type Position Tobacco Tobacco_Type) ;
%let qa_table = qadata.&&&module.table (keep=measure_date ht wt diastolic systolic BP_Type Position Tobacco Tobacco_Type);
create table dplocal.&module._temp as
group by 1,2,3,4,5,6,7,8,9
%remove_labels(dplocal, &module._temp);
/*-------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------*/
create table msoc.&module._l2_bp_catvar_ym as
select put(measure_date,yymmd.) as YearMonth