/*-------------------------------------------------------------------------------------*\
| scdm_data_qa_review_inpatientpharmacy.sas |
|---------------------------------------------------------------------------------------|
| The purpose of this program is to perform data quality checks on the Ipharmacy |
|---------------------------------------------------------------------------------------|
| 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 ;
*-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-;
/*-------------------------------------------------------------------------------------*/
/* START Level 2 Flags */
/*-------------------------------------------------------------------------------------*/;
* All IRX L2 flags are coded within the lkp_all_flags lookup table and
do not require additional program code;
/*-------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------*/
%if &do_partitions and not %eval(&module in &tabid_exc) %then %do ;
data t_view /view=t_view ;
set qadata.&&&module.table.: (keep=RxADate RxATime RxRoute RxDose) ;
%let qa_table = qadata.&&&module.table (keep=RxADate RxATime RxRoute RxDose) ;
create table dplocal.&module._temp as
%remove_labels(dplocal, &module._temp)
create table dplocal.&module._temp_ym as