Changeset 10186 in main
- Timestamp:
- 01/27/16 15:19:47 (7 years ago)
- Location:
- adopters/nj/trunk/src/main/sas/BRFSS
- Files:
-
- 2 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
adopters/nj/trunk/src/main/sas/BRFSS/KeepBRFSS.sas
r8155 r10186 1 1 KEEP 2 _IMMFLU1YR 2 3 _MAMMO2YR5074 /*added by Ping*/ 3 4 GEOCNTY /*added by Ping*/ -
adopters/nj/trunk/src/main/sas/BRFSS/_COLONSCOPE.sas
r8155 r10186 19 19 * Questions in even-numbered years. ; 20 20 ******************************************************************************; 21 21 /*Using njchanges_modify.sas*/ 22 22 _COLONSCOPE = .; 23 if _RFSIGM2 = 2 then _COLONSCOPE = 1;24 else if _RFSIGM2 = 1 then _COLONSCOPE = 2; 23 /* if _RFSIGM2 = 2 then _COLONSCOPE = 1; 24 else if _RFSIGM2 = 1 then _COLONSCOPE = 2; */ 25 25 26 26 … … 33 33 /*COLORECTAL CANCER SCREENING*/; 34 34 *FOBT in last year, men and women aged 50-75; 35 if 50<=age<=75 then do;35 /*if 50<=age<=75 then do; 36 36 if bldstool=2 then hfob1yr=3; *never had FOBT; 37 37 else if bldstool=1 then do; … … 81 81 82 82 *ever/meets/never - sums to 100% - use this measure; /*HP2020 MEASURE*/ 83 if bldstool=2 & hadsigm3=2 then testgrp=3; * no test ever *; 83 /* **************************************************************************************** */ 84 85 /*if bldstool=2 & hadsigm3=2 then testgrp=3; * no test ever *; 84 86 else if bldstool=1 | hadsigm3=1 then do; * test sometime *; 85 87 if hfob1yr=1 | (fs5yr=1 & hfob3yr=1) | col10yr=1 then testgrp=1; * meets rec *; … … 93 95 if testgrp=3 then _COLSCRPSTF=1; *No test, ever; 94 96 if testgrp=2 then _COLSCRPSTF=1; *Ever test but not up-to-date; 95 if testgrp=1 then _COLSCRPSTF=2; *Meets rec, not at risk;97 if testgrp=1 then _COLSCRPSTF=2;*/ *Meets rec, not at risk; 96 98 97 99 /* -
adopters/nj/trunk/src/main/sas/BRFSS/_DXARTHRITIS.sas
r8296 r10186 5 5 * ; 6 6 * BRFSS data prep program - to be used with the annual NM dataset we get from ; 7 * the CDC. ; 7 * the CDC. 8 9 Revised ; 10 * 05/15/15 Lois: Added 2012 to list of years per Ken O'Dowd (NJ). ; 8 11 ******************************************************************************; 9 12 … … 22 25 end; 23 26 24 if year in (2011 2012 2013) then do; 27 *if year in (2011 2012 2013) then do; 28 if year >=2011 then do; /*Ping modified*/ 25 29 if _DRDXAR1 = 1 then _DXARTHRITIS = 1; 26 30 else if _DRDXAR1 = 2 then _DXARTHRITIS = 2; -
adopters/nj/trunk/src/main/sas/BRFSS/_DXVISION.sas
r8155 r10186 33 33 34 34 35 _DXVISION = .;35 /*_DXVISION = .; 36 36 37 37 if year=2011 then do; … … 48 48 if BLIND = 1 then _DXVISION = 1; *Vision impairment or blind in the question in these years; 49 49 else if BLIND = 2 then _DXVISION = 2; 50 end; */ 51 52 **********************************************************************************; 53 * CHCVISON (2011): Has a doctor, nurse or other health professional ever said ; 54 * that you have vision impairment in one or both eyes, even when wearing glasses? ; 55 * CHCVISN1 (2012): Do you have any trouble seeing, even when wearing glasses or ; 56 * contact lenses? ; 57 * BLIND (2013-2015): Are you blind or do you have serious difficulty seeing, even ; 58 * when wearing glasses? ; 59 **********************************************************************************; 60 61 _DXVISION = .; 62 _VISION = .; 63 64 65 if year=2011 then do; 66 if CHCVISON in (1 3) then _DXVISION = 1; *Has been diagnosed with a vision impairment (1) or is blind (3); 67 else if CHCVISON = 2 then _DXVISION = 2; 68 end; 69 70 if year=2012 then do; 71 if CHCVISN1 in (1 3) then _DXVISION = 1; *Has trouble seeing (1) or is blind (3); 72 else if CHCVISN1 = 2 then _DXVISION = 2; 50 73 end; 51 74 75 if year>=2013 then do; 76 if BLIND = 1 then _VISION = 1; /* Are you blind or do you have serious difficulty seeing, even when wearing glasses or contact lenses? 1 = yes, 2 = no.*/ 77 else if BLIND = 2 then _VISION = 2; 78 end; 79 80 52 81 -
adopters/nj/trunk/src/main/sas/BRFSS/_FALL12MN.sas
r8472 r10186 13 13 ******************************************************************************; 14 14 15 _FALL12MN = .;15 /*_FALL12MN = .; 16 16 17 17 if AGE>=45 then do; 18 18 if 1<=FALL12MN<=76 then _FALL12MN=1; 19 19 else if FALL12MN=88 then _FALL12MN=2; 20 end; 20 end; */ 21 22 ******************************************************************************; 23 * Filename: P:/BRFSS/programs/INCLUDE/_FALL12MN.sas ; 24 * Author: Ken O'Dowd ; 25 * 03/26/2015 ; 26 * ; 27 * BRFSS data prep program - to be used with the annual NM dataset we get from ; 28 * the CDC. ; 29 ******************************************************************************; 30 31 ******************************************************************************; 32 * Prior to 2014 the question asked about falls in the last 3 months. ; 33 * Fell in the past 12 months: Yes/No (BRFSS core in 2012 and 2014, intended ; 34 * to be asked only of adults aged 45+) In NM codebook 06 and even yrs after. ; 35 ******************************************************************************; 36 37 /*_FALL12MN = .; 38 39 if year<=2013 then do; 40 if AGE>=45 then do; 41 if 1<=FALL3MN2<=76 then _FALL12MN=1; *Number of times fallen; 42 else if FALL3MN2=88 then _FALL12MN=2; *None; 43 end; 44 end; 45 if 2014<=year then do; 46 if AGE>=45 then do; 47 if 1<=FALL12MN<=76 then _FALL12MN=1; *Number of times fallen; 48 else if FALL12MN=88 then _FALL12MN=2; *None; 49 end; 50 end; */ 51 52 53 ************************************************************************************; 54 * Filename: P:/BRFSS/programs/INCLUDE/_FALL12MN.sas ; 55 * Author: Ken O'Dowd ; 56 * 03/26/2015 ; 57 * Lois (4/22/15): Changed recoded variable from FALL12MN to FALL3MN2 (all years). ; 58 * Lois (10/9/15): Changed recoded variable back to FALL12MN starting in 2014. ; 59 * Ken (1/15/16): Changed recoded variable back to FALL12MN starting in 2012, since ; 60 * FALL3MN2 was no longer on the final CDC data set that year. ; 61 * Made _FALL3MN2 as a separate outcome measure, since FALL3MN2 and ; 62 * FALL12MN cannot logically be converted to the same binary recode. ; 63 * ; 64 * BRFSS data prep program - to be used with the annual NM dataset we get from the ; 65 * CDC. ; 66 ************************************************************************************; 67 68 ******************************************************************************; 69 * Prior to 2012, the question asked about falls in the last 3 months. ; 70 * Fell in the past 12 months: Yes/No (BRFSS core in 2012 and 2014, intended ; 71 * to be asked only of adults aged 45+) In NM codebook 06 and even yrs after. ; 72 * (This question is currently required by CDC only in even numbered years.) ; 73 ******************************************************************************; 74 75 _FALL3MN2 = .; 76 _FALL12MN = .; 77 78 if year<2012 then do; 79 if AGE>=45 then do; 80 if 1<=FALL3MN2<=76 then _FALL3MN2=1; *Number of times fallen in the past 3 months; 81 else if FALL3MN2=88 then _FALL3MN2=2; *None; 82 end; 83 end; 84 85 if 2012<=year then do; 86 if AGE>=45 then do; 87 if 1<=FALL12MN<=76 then _FALL12MN=1; *Number of times fallen in the past 12 months; 88 else if FALL12MN=88 then _FALL12MN=2; *None; 89 end; 90 end; 91 92 93 -
adopters/nj/trunk/src/main/sas/BRFSS/_IMMFLU1YR65.sas
r8155 r10186 12 12 * shot within the past 12 months. ; 13 13 * _FLSHOT3: Adults aged 65+ who have had a flu shot within the past year ; 14 * _FLSHOT4: A flu shot is an influenza vaccine injected into your arm. ;15 * During the past 12 months, have you had a seasonal flu shot? ;16 * _FLSHOT5: During the past 12 months, have you had either a seasonal flu ;17 * shot or a seasonal flu vaccine that was sprayed in your nose? ;18 * _FLSHOT6: During the past 12 months, have you had either a flu shot or a ;19 * flu vaccine that was sprayed in your nose? (A new flu shot came out in 2011;14 * _FLSHOT4: NJ modified- Adults aged 65+ who have had a flu shot within the past year /*A flu shot is an influenza vaccine injected into your arm. ; 15 * During the past 12 months, have you had a seasonal flu shot? */ ; 16 * _FLSHOT5: NJ modified- Adults aged 65+ who have had a flu shot within the past year/*During the past 12 months, have you had either a seasonal flu ; 17 * shot or a seasonal flu vaccine that was sprayed in your nose? */ ; 18 * _FLSHOT6: NJ modified- Adults aged 65+ who have had a flu shot within the past year /*During the past 12 months, have you had either a flu shot or a ; 19 * flu vaccine that was sprayed in your nose? */ (A new flu shot came out in 2011; 20 20 * that injects vaccine into the skin with a very small needle. It is called ; 21 21 * Fluzone Intradermal vaccine. This is also considered a flu shot.) ; … … 44 44 end; 45 45 46 if year=2013 then do; 46 47 if year>=2013 then do; 47 48 if _FLSHOT6 = 2 then _IMMFLU1YR65 = 1; 48 49 else if _FLSHOT6 = 1 then _IMMFLU1YR65 = 2; 49 50 end; 51 -
adopters/nj/trunk/src/main/sas/BRFSS/_PAPTST3YR18.sas
r8155 r10186 20 20 ******************************************************************************; 21 21 22 /*Using njchanges_modify.sas*/ 22 23 _PAPTST3YR18 = .; 23 if _RFPAP32 = 2 then _PAPTST3YR18 = 1;24 else if _RFPAP32 = 1 then _PAPTST3YR18 = 2; 24 /*if _RFPAP32 = 2 then _PAPTST3YR18 = 1; 25 else if _RFPAP32 = 1 then _PAPTST3YR18 = 2; */ 25 26 26 27 … … 29 30 *pap in 3 years, women aged 21-65, no hysterectomy; /*HP2020 OBJECTIVE C-15*/ 30 31 *This version flips values to 1 and 2, for IBIS risk factor coding where 1=at risk; 31 if sex=2 and hadhyst2=2 and 21<=age<=65 then do;32 /*if sex=2 and hadhyst2=2 and 21<=age<=65 then do; 32 33 if hadpap2=2 then _PAP3YRPSTF=1; *no pap ever; 33 34 else if hadpap2=1 then do; … … 35 36 else if 4<=lastpap2<=5 then _PAP3YRPSTF=1; *AT-RISK: pap more than 3 years ago; 36 37 end; 37 end; 38 end; */ 38 39 39 40 -
adopters/nj/trunk/src/main/sas/BRFSS/xxDemographics.sas
r8296 r10186 40 40 else if 70<=AGE then AGE10Yr=6; 41 41 42 *Age distributions from the CDC June 2014 BRFSS42 /*Age distributions from the CDC June 2014 BRFSS 43 43 Statistical Brief on Cancer Screening Questions; 44 44 … … 55 55 if 50<=AGE<=59 then AGECRC= 1; *wt= 0.502122; 56 56 else if 60<=AGE<=69 then AGECRC= 2; *wt= 0.329978; 57 else if 70<=AGE<=75 then AGECRC= 3; *wt= 0.167900; 57 else if 70<=AGE<=75 then AGECRC= 3; *wt= 0.167900; */ 58 59 /*New Jersey modified: The revised age groups for these variables would be*/ 60 61 62 AGEMAM=.; 63 if 50<=AGE<=64 then AGEMAM= 1; 64 else if 65<=AGE<=74 then AGEMAM= 2; 65 66 AGEPAP=.; *Cervical Cancer screening age groups; 67 if 21<=AGE<=34 then AGEPAP= 1; 68 else if 35<=AGE<=44 then AGEPAP= 2; 69 else if 45<=AGE<=65 then AGEPAP= 3; 70 71 72 AGECRC=.; *Colorectal Cancer screening age groups; 73 if 50<=AGE<=64 then AGECRC= 1; 74 else if 65<=AGE<=75 then AGECRC= 2; 75 58 76 59 77 *SEX; -
adopters/nj/trunk/src/main/sas/BRFSS/xxKeepBRFSS.sas
r8468 r10186 3 3 4 4 KEEP 5 /*NJ added*/ 6 /*_RFBLDS3 7 _HFOB3YR 8 _FS5YR 9 _COL10YR 10 _CRCREC */ 11 _VISION 12 _FALL3MN2 13 _PCPSAAD 14 _PCPSA 15 _TETANUS 16 _IMMPNEUMO /*NJ added*/ 17 _COLONSCOPE/*NJ modified*/ 18 _TETANUS /*NJ added 10/22/2015*/ 19 _MAMMO2YR 20 GEOREGION 21 _IMMFLU1YR 5 22 _DXCAOTH /*added on 6/10/2015*/ 6 23 _OBESE AADIST11 AADIST16 7 24 AGE10Yr 8 25 AGEMAM 9 AGEPAP AGECRC _COLSCRPSTF 10 _PAP3YRPSTF _MAM50PSTF11 26 AGEPAP AGECRC _COLSCRPSTF /*NJ modified*/ 27 _PAP3YRPSTF/*NJ modified*/ _MAM50PSTF 28 12 29 _FALLINJ /*_RFSMOK3 */ 13 30 14 31 _FALL12MN _UNINS18_64 _USENOW _VETERAN _RENTHOM 15 32 mam2yr pap3yr hfob1yr hfob3yr fs5yr fobtfs col10yr testgrp 16 _PAPTST3YR18 /* added by Ping*/33 _PAPTST3YR18 /*NJ modified*/ 17 34 18 35 _MAMMO2YR5074 /*added by Ping*/ … … 29 46 AADIST17 /*added by ping*/ 30 47 AADIST18 /*added by ping*/ 31 SEX48 _SEX 32 49 /*DOHRACETH*/ NJRACETH /*modified by KO*/ 33 MARITAL50 _MARITAL 34 51 /*LGBT deleted by KO*/ 35 52 … … 37 54 38 55 /*DOHRACETH */ /*commented by ping*/ 39 MARITAL56 40 57 /*SEXOR 41 58 GEOCNTY … … 65 82 _MAMMO2YR50 66 83 _PAPTST3YR18 67 _COLONSCOPE84 68 85 _CHOLCHK5YR 69 86 _IMMFLU1YR65 -
adopters/nj/trunk/src/main/sas/BRFSS/xxLabelBRFSS.sas
r8469 r10186 3 3 4 4 LABEL 5 _VISION = 'Are you blind or do you have serious difficulty seeing, even when wearing glasses or contact lenses' 5 6 _DXCAOTH ='Adults who have been told by a doctor they had cancer other than skin cancer' /*added on 6/10/2015*/ 6 7 AGE10Yr ="Respondent's Age Group, (18-29, 30-39, 40-49, 50-59, 60-69, 70+)"
Note: See TracChangeset
for help on using the changeset viewer.