NOTE 49-169: The meaning of an identifier after a quoted string might change in a future SAS release. Inserting white space between a quoted string and the succeeding identifier is recommended. code if _QSCAT="BATH ANKYLOSING SPONDYLITIS DISEASE ACTIVITY INDEX (BASDAI)" and upcase(_INSTANCENAME1) not in ("UNSCHEDULED" ,"WEEK 12" ,"WEEK 36" ,"WEEK 60" ,"WEEK 84" ,"WEEK 108" "WEEK 132" ,"WEEK 24" ,"WEEK 72" ,"WEEK 120" ,"WEEK 52" ,"WEEK 96" ,"WEEK 140" ,"WEEK 152" ,"WEEK 164" ,"WEEK 176" ,"WEEK 188" ,"WEEK 192" ,"EARLY TERMINATION") then delete; if _QSCAT="EQ-5D-3L" and upcase(_INSTANCENAME1) not in ("UNSCHEDULED" ,"WEEK 24" ,"WEEK 72" ,"WEEK 120" ,"WEEK 52" ,"WEEK 96" ,"WEEK 140" ,"WEEK 152" ,"WEEK 164" ,"WEEK 176" ,"WEEK 188" ,"WEEK 192" ,"EARLY TERMINATION") then delete; if _QSCAT="FACIT FATIGUE SCALE (VERSION 4)" and upcase(_INSTANCENAME1) not in ("UNSCHEDULED" ,"WEEK 24" ,"WEEK 72" ,"WEEK 120" ,"WEEK 52" ,"WEEK 96" ,"WEEK 140" ,"WEEK 152" ,"WEEK 164" ,"WEEK 176" ,"WEEK 188" ,"WEEK 192" ,"EARLY TERMINATION") then delete; if _QSCAT="HEALTH ASSESSMENT QUESTIONNAIRE - DISABILITY INDEX (HAQ-DI)" and upcase(_INSTANCENAME1) not in ("UNSCHEDULED" ,"WEEK 12" ,"WEEK 36" ,"WEEK 60" ,"WEEK 84" ,"WEEK 108" "WEEK 132" ,"WEEK 24" ,"WEEK 72" ,"WEEK 120" ,"WEEK 52" ,"WEEK 96" ,"WEEK 140" ,"WEEK 152" ,"WEEK 164" ,"WEEK 176" ,"WEEK 188" ,"WEEK 192" ,"EARLY TERMINATION") then delete; if _QSCAT="JOINT ASSESSMENT" and upcase(_INSTANCENAME1) not in ("UNSCHEDULED" ,"WEEK 12" ,"WEEK 36" ,"WEEK 60" ,"WEEK 84" ,"WEEK 108" "WEEK 132" ,"WEEK 24" ,"WEEK 72" ,"WEEK 120" ,"WEEK 52" ,"WEEK 96" ,"WEEK 140" ,"WEEK 152" ,"WEEK 164" ,"WEEK 176" ,"WEEK 188" ,"WEEK 192" ,"EARLY TERMINATION" ,"UNSCHEDULED") then delete; if _QSCAT="LEEDS DACTYLITIS INDEX" and upcase(_INSTANCENAME1) not in ("UNSCHEDULED" ,"WEEK 12" ,"WEEK 36" ,"WEEK 60" ,"WEEK 84" ,"WEEK 108" "WEEK 132" ,"WEEK 24" ,"WEEK 72" ,"WEEK 120" ,"WEEK 52" ,"WEEK 96" ,"WEEK 140" ,"WEEK 152" ,"WEEK 164" ,"WEEK 176" ,"WEEK 188" ,"WEEK 192" ,"EARLY TERMINATION") then delete; if _QSCAT="MODIFIED NAIL PSORIASIS SEVERITY INDEX (MNAPSI)" and upcase(_INSTANCENAME1) not in ("WEEK 12" ,"WEEK 36" ,"WEEK 60" ,"WEEK 84" ,"WEEK 108" "WEEK 132" ,"WEEK 24" ,"WEEK 72" ,"WEEK 120" ,"WEEK 52" ,"WEEK 96" ,"WEEK 140" ,"WEEK 152" ,"WEEK 164" ,"WEEK 176" ,"WEEK 188" ,"WEEK 192" ,"EARLY TERMINATION" ,"UNSCHEDULED") then delete; if _QSCAT="PSORIASIS AREA AND SEVERITY INDEX (PASI)" and upcase(_INSTANCENAME1) not in ("WEEK 12" ,"WEEK 24" ,"WEEK 36" ,"WEEK 52" ,"WEEK 60" ,"WEEK 72" ,"WEEK 84" ,"WEEK 96" ,"WEEK 108" ,"WEEK 120" ,"WEEK 132" ,"WEEK 140" ,"WEEK 152" ,"WEEK 164" ,"WEEK 176" ,"WEEK 188" ,"WEEK 192" "EARLY TERMINATION" ,"UNSCHEDULED") then delete; if _QSCAT="PSORIASIS BODY SURFACE AREA" and upcase(_INSTANCENAME1) not in ("WEEK 52" ,"WEEK 96" ,"WEEK 140" ,"WEEK 152" ,"WEEK 164" ,"WEEK 176" ,"WEEK 188" ,"WEEK 192" ,"EARLY TERMINATION" ,"UNSCHEDULED") then delete; if _QSCAT="PATIENT'S ASSESSMENT OF ARTHRITIS PAIN" and upcase(_INSTANCENAME1) not in ("UNSCHEDULED" ,"WEEK 12" ,"WEEK 36" ,"WEEK 60" ,"WEEK 84" ,"WEEK 108" "WEEK 132" ,"WEEK 24" ,"WEEK 72" ,"WEEK 120" ,"WEEK 52" ,"WEEK 96" ,"WEEK 140" ,"WEEK 152" ,"WEEK 164" ,"WEEK 176" ,"WEEK 188" ,"WEEK 192" ,"EARLY TERMINATION" ,"UNSCHEDULED") then delete; if _QSCAT="PHQ-9" and upcase(_INSTANCENAME1) not in ("UNSCHEDULED" ,"WEEK 24" ,"WEEK 72" ,"WEEK 120" ,"WEEK 52" ,"WEEK 96" ,"WEEK 140" ,"WEEK 152" ,"WEEK 164" ,"WEEK 176" ,"WEEK 188" ,"WEEK 192" ,"EARLY TERMINATION") then delete; if _QSCAT="PHYSICIAN'S GLOBAL ASSESSMENT OF PSORIASIS (PGAP)" and upcase(_INSTANCENAME1) not in ("WEEK 12" ,"WEEK 36" ,"WEEK 60" ,"WEEK 84" ,"WEEK 108" "WEEK 132" ,"WEEK 24" ,"WEEK 72" ,"WEEK 120" ,"WEEK 52" ,"WEEK 96" ,"WEEK 140" ,"WEEK 152" ,"WEEK 164" ,"WEEK 176" ,"WEEK 188" ,"WEEK 192" ,"EARLY TERMINATION" ,"UNSCHEDULED") then delete; if _QSCAT="PSORIATIC ARTHRITIS IMPACT OF DISEASE-12 (PSAID-12)" and upcase(_INSTANCENAME1) not in ("UNSCHEDULED" ,"WEEK 24" ,"WEEK 72" ,"WEEK 120" ,"WEEK 52" ,"WEEK 96" ,"WEEK 140" ,"WEEK 152" ,"WEEK 164" ,"WEEK 176" ,"WEEK 188" ,"WEEK 192" ,"EARLY TERMINATION" ,"UNSCHEDULED") then delete; if _QSCAT="PATIENT'S GLOBAL ASSESSMENT OF ARTHRITIS" and upcase(_INSTANCENAME1) not in ("WEEK 12" ,"WEEK 36" ,"WEEK 60" ,"WEEK 84" ,"WEEK 108" "WEEK 132" ,"WEEK 24" ,"WEEK 72" ,"WEEK 120" ,"WEEK 52" ,"WEEK 96" ,"WEEK 140" ,"WEEK 152" ,"WEEK 164" ,"WEEK 176" ,"WEEK 188" ,"WEEK 192" ,"EARLY TERMINATION" ,"UNSCHEDULED") then delete; if _QSCAT="PATIENT'S GLOBAL ASSESSMENT OF PSORIATIC ARTHRITIS" and upcase(_INSTANCENAME1) not in ("UNSCHEDULED" ,"WEEK 12" ,"WEEK 36" ,"WEEK 60" ,"WEEK 84" ,"WEEK 108" "WEEK 132" ,"WEEK 24" ,"WEEK 72" ,"WEEK 120" ,"WEEK 52" ,"WEEK 96" ,"WEEK 140" ,"WEEK 152" ,"WEEK 164" ,"WEEK 176" ,"WEEK 188" ,"WEEK 192" ,"EARLY TERMINATION" ,"UNSCHEDULED") then delete; if _QSCAT="PHYSICIAN'S GLOBAL ASSESSMENT OF ARTHRITIS" and upcase(_INSTANCENAME1) not in ("WEEK 12" ,"WEEK 36" ,"WEEK 60" ,"WEEK 84" ,"WEEK 108" "WEEK 132" ,"WEEK 24" ,"WEEK 72" ,"WEEK 120" ,"WEEK 52" ,"WEEK 96" ,"WEEK 140" ,"WEEK 152" ,"WEEK 164" ,"WEEK 176" ,"WEEK 188" ,"WEEK 192" ,"EARLY TERMINATION" ,"UNSCHEDULED") then delete; if _QSCAT="PHYSICIAN'S GLOBAL ASSESSMENT OF PSORIATIC ARTHRITIS" and upcase(_INSTANCENAME1) not in ("WEEK 12" ,"WEEK 36" ,"WEEK 60" ,"WEEK 84" ,"WEEK 108" "WEEK 132" ,"WEEK 24" ,"WEEK 72" ,"WEEK 120" ,"WEEK 52" ,"WEEK 96" ,"WEEK 140" ,"WEEK 152" ,"WEEK 164" ,"WEEK 176" ,"WEEK 188" ,"WEEK 192" ,"EARLY TERMINATION" ,"UNSCHEDULED") then delete; /*if _QSCAT="PATIENT'S GLOBAL ASSESSMENT OF DISEASE ACTIVITY" and upcase(_INSTANCENAME1) not in ("WEEK 12" ,"WEEK 36" ,"WEEK 60" ,"WEEK 84" ,"WEEK 108" */ /*"WEEK 132" ,"WEEK 24" ,"WEEK 72" ,"WEEK 120" ,"WEEK 52" ,"WEEK 96" ,"WEEK 140" ,"WEEK 152" ,"WEEK 164" ,"WEEK 176" ,"WEEK 188" ,"WEEK 192" ,"EARLY TERMINATION" ,"UNSCHEDULED") then delete;*/ /*if _QSCAT="PHYSICIAN'S GLOBAL ASSESSMENT OF DISEASE ACTIVITY" and upcase(_INSTANCENAME1) not in ("WEEK 12" ,"WEEK 36" ,"WEEK 60" ,"WEEK 84" ,"WEEK 108" */ /*"WEEK 132" ,"WEEK 24" ,"WEEK 72" ,"WEEK 120" ,"WEEK 52" ,"WEEK 96" ,"WEEK 140" ,"WEEK 152" ,"WEEK 164" ,"WEEK 176" ,"WEEK 188" ,"WEEK 192" ,"EARLY TERMINATION" ,"UNSCHEDULED") then delete;*/ if _QSCAT="PHYSICIAN'S GLOBAL ASSESSMENT OF DISEASE ACTIVITY" then delete; if _QSCAT="PATIENT'S GLOBAL ASSESSMENT OF DISEASE ACTIVITY" then delete; if _QSCAT="PSORIATIC ARTHRITIS QUALITY OF LIFE (PSAQOL)" then delete; if _QSCAT="SF-36 HEALTH SURVEY" and upcase(_INSTANCENAME1) not in ("UNSCHEDULED" ,"WEEK 24" ,"WEEK 72" ,"WEEK 120" ,"WEEK 52" ,"WEEK 96" ,"WEEK 140" ,"WEEK 152" ,"WEEK 164" ,"WEEK 176" ,"WEEK 188" ,"WEEK 192" ,"EARLY TERMINATION") then delete; if _QSCAT="SPONDYLOARTHRITIS RESEARCH CONSORTIUM OF CANADA AND LEEDS ENTHESITIS INDEX (SPARCC AND LEI)" and upcase(_INSTANCENAME1) not in ("WEEK 12" ,"WEEK 36" ,"WEEK 60" ,"WEEK 84" ,"WEEK 108" "WEEK 132" ,"WEEK 24" ,"WEEK 72" ,"WEEK 120" ,"WEEK 52" ,"WEEK 96" ,"WEEK 140" ,"WEEK 152" ,"WEEK 164" ,"WEEK 176" ,"WEEK 188" ,"WEEK 192" ,"EARLY TERMINATION" ,"UNSCHEDULED")then delete; if _QSCAT="TUBERCULOSIS" and strip(upcase(_INSTANCENAME1)) not in ("UNSCHEDULED" ,"WEEK 12" ,"WEEK 36" ,"WEEK 60" ,"WEEK 84" ,"WEEK 108" "WEEK 132" ,"WEEK 24" ,"WEEK 72" ,"WEEK 120" ,"WEEK 52" ,"WEEK 96" ,"WEEK 140" ,"WEEK 152" ,"WEEK 164" ,"WEEK 176" ,"WEEK 188" ,"WEEK 192" ,"WEEK 164" ,"EARLY TERMINATION" ,"SFU" ,"SAFETY FOLLOW-UP") then delete; if _QSCAT="WPAI-SHP" and upcase(_INSTANCENAME1) not in ("UNSCHEDULED" ,"WEEK 24" ,"WEEK 72" ,"WEEK 120" ,"WEEK 52" ,"WEEK 96" ,"WEEK 140" ,"WEEK 152" ,"WEEK 164" ,"WEEK 176" ,"WEEK 188" ,"WEEK 192" ,"EARLY TERMINATION") then delete; if _QSCAT="PRE-SELF INJECTION ASSESSMENT QUESTIONNAIRE (PRE-SIAQ)" and upcase(_INSTANCENAME1) not in ("ENTRY VISIT" ,"UNSCHEDULED") then delete; if _QSCAT="INJECTION SITE PAIN" and upcase(_INSTANCENAME1) not in ("ENTRY VISIT" ,"WEEK 4" ,"UNSCHEDULED") then delete; if _QSCAT="POST-SELF INJECTION ASSESSMENT QUESTIONNAIRE (POST-SIAQ)" and upcase(_INSTANCENAME1) not in ("ENTRY VISIT" ,"WEEK 4" ,"UNSCHEDULED") then delete; run;
... View more