Changeset 10186 in main


Ignore:
Timestamp:
01/27/16 15:19:47 (7 years ago)
Author:
Maria Baron
Message:

updated

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  
    11KEEP
     2_IMMFLU1YR
    23_MAMMO2YR5074 /*added by Ping*/
    34GEOCNTY /*added by Ping*/
  • adopters/nj/trunk/src/main/sas/BRFSS/_COLONSCOPE.sas

    r8155 r10186  
    1919* Questions in even-numbered years.                                           ;
    2020******************************************************************************;
    21 
     21/*Using njchanges_modify.sas*/
    2222        _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; */
    2525
    2626       
     
    3333                /*COLORECTAL CANCER SCREENING*/;
    3434                *FOBT in last year, men and women aged 50-75;
    35                 if 50<=age<=75 then do;
     35                /*if 50<=age<=75 then do;
    3636                if bldstool=2 then hfob1yr=3; *never had FOBT;
    3737                else if bldstool=1 then do;
     
    8181
    8282                *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 *;
    8486                else if bldstool=1 | hadsigm3=1 then do; * test sometime *;
    8587                   if hfob1yr=1 | (fs5yr=1 & hfob3yr=1) | col10yr=1 then testgrp=1; * meets rec *;
     
    9395        if testgrp=3 then _COLSCRPSTF=1; *No test, ever;
    9496        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;
    9698
    9799/*
  • adopters/nj/trunk/src/main/sas/BRFSS/_DXARTHRITIS.sas

    r8296 r10186  
    55*                                                                             ;
    66* BRFSS data prep program - to be used with the annual NM dataset we get from ;
    7 * the CDC.                                                                    ;
     7* the CDC.
     8
     9Revised                                                                     ; 
     10* 05/15/15 Lois: Added 2012 to list of years per Ken O'Dowd (NJ).             ; 
    811******************************************************************************;
    912
     
    2225        end;
    2326
    24         if year in (2011 2012 2013) then do;           
     27        *if year in (2011 2012 2013) then do;
     28if year >=2011  then do;                /*Ping modified*/
    2529                     if _DRDXAR1 = 1 then _DXARTHRITIS = 1;
    2630                else if _DRDXAR1 = 2 then _DXARTHRITIS = 2;
  • adopters/nj/trunk/src/main/sas/BRFSS/_DXVISION.sas

    r8155 r10186  
    3333
    3434
    35          _DXVISION = .;
     35         /*_DXVISION = .;
    3636         
    3737         if year=2011 then do; 
     
    4848                      if BLIND = 1 then _DXVISION = 1; *Vision impairment or blind in the question in these years; 
    4949                 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; 
    5073         end;
    5174
     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
    5281 
  • adopters/nj/trunk/src/main/sas/BRFSS/_FALL12MN.sas

    r8472 r10186  
    1313******************************************************************************;
    1414
    15         _FALL12MN = .;
     15        /*_FALL12MN = .;
    1616
    1717        if AGE>=45 then do;
    1818                if 1<=FALL12MN<=76 then _FALL12MN=1;
    1919                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  
    1212* shot within the past 12 months.                                             ;
    1313* _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;
    2020* that injects vaccine into the skin with a very small needle. It is called   ;
    2121* Fluzone Intradermal vaccine. This is also considered a flu shot.)           ;
     
    4444        end;
    4545
    46         if year=2013 then do;
     46       
     47        if year>=2013 then do;
    4748                     if _FLSHOT6 = 2 then _IMMFLU1YR65 = 1;
    4849                else if _FLSHOT6 = 1 then _IMMFLU1YR65 = 2;
    4950        end;
     51
  • adopters/nj/trunk/src/main/sas/BRFSS/_PAPTST3YR18.sas

    r8155 r10186  
    2020******************************************************************************;
    2121
     22/*Using njchanges_modify.sas*/
    2223        _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;     */
    2526
    2627
     
    2930        *pap in 3 years, women aged 21-65, no hysterectomy; /*HP2020 OBJECTIVE C-15*/
    3031        *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;
    3233        if hadpap2=2 then _PAP3YRPSTF=1; *no pap ever;
    3334        else if hadpap2=1 then do;
     
    3536           else if 4<=lastpap2<=5 then _PAP3YRPSTF=1; *AT-RISK: pap more than 3 years ago;
    3637        end;
    37         end;
     38        end; */
    3839
    3940
  • adopters/nj/trunk/src/main/sas/BRFSS/xxDemographics.sas

    r8296 r10186  
    4040                else if 70<=AGE     then AGE10Yr=6;
    4141
    42                 *Age distributions from the CDC June 2014 BRFSS
     42                /*Age distributions from the CDC June 2014 BRFSS
    4343                Statistical Brief on Cancer Screening Questions;
    4444
     
    5555                     if 50<=AGE<=59 then AGECRC= 1;   *wt= 0.502122;
    5656                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
    5876
    5977        *SEX;
  • adopters/nj/trunk/src/main/sas/BRFSS/xxKeepBRFSS.sas

    r8468 r10186  
    33
    44KEEP
     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
     20GEOREGION
     21_IMMFLU1YR
    522_DXCAOTH /*added on 6/10/2015*/
    623_OBESE AADIST11 AADIST16
    724AGE10Yr
    825AGEMAM 
    9        AGEPAP         AGECRC   _COLSCRPSTF
    10  _PAP3YRPSTF _MAM50PSTF
    11 
     26       AGEPAP         AGECRC   _COLSCRPSTF /*NJ modified*/
     27 _PAP3YRPSTF/*NJ modified*/ _MAM50PSTF
     28 
    1229_FALLINJ /*_RFSMOK3 */
    1330 
    1431_FALL12MN _UNINS18_64 _USENOW _VETERAN _RENTHOM
    1532mam2yr pap3yr hfob1yr hfob3yr fs5yr fobtfs col10yr testgrp
    16  _PAPTST3YR18 /*added by Ping*/
     33 _PAPTST3YR18 /*NJ modified*/
    1734
    1835_MAMMO2YR5074 /*added by Ping*/
     
    2946  AADIST17 /*added by ping*/
    3047 AADIST18 /*added by ping*/
    31         SEX
     48        _SEX
    3249  /*DOHRACETH*/ NJRACETH /*modified by KO*/
    33         MARITAL
     50        _MARITAL
    3451  /*LGBT deleted by KO*/
    3552 
     
    3754       
    3855        /*DOHRACETH     */ /*commented by ping*/
    39         MARITAL
     56       
    4057        /*SEXOR
    4158        GEOCNTY
     
    6582        _MAMMO2YR50
    6683        _PAPTST3YR18
    67         _COLONSCOPE
     84       
    6885        _CHOLCHK5YR
    6986        _IMMFLU1YR65
  • adopters/nj/trunk/src/main/sas/BRFSS/xxLabelBRFSS.sas

    r8469 r10186  
    33
    44LABEL
     5_VISION =   'Are you blind or do you have serious difficulty seeing, even when wearing glasses or contact lenses'
    56_DXCAOTH        ='Adults who have been told by a doctor they had cancer other than skin cancer' /*added on 6/10/2015*/
    67AGE10Yr         ="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.