*This file identifies the OCC and IND codes associated with nursing jobs /* OCCP (occupation codes): 3255 – MED – Registered Nurses 3256 – MED – Nurse Anesthetists 3258 – MED – Nurse Practitioners, and Nurse Midwives 3500 – MED – Licensed Practical and Licensed Vocational Nurses 3600 – HLS – Nursing, Psychiatric, and Home Health Aides INDP (industry codes): 8190 – Hospitals 8270 – Skilled Nursing Facilities */ *Following an email chain from Ariel on 1/10/2020, we are restricting the occupations in RN to just 3255 and reducing NURSE to exclude 3256 (nurse anesthetists) and 3258 (nurse practitioners and nurse midwives) *egen nurse=anymatch(occ), values(3255 3256 3258 3500 3600) *egen rn = anymatch(occ), values(3255 3256 3258) egen nurse=anymatch(occ), values(3255 3500 3600) gen rn = occ==3255 gen lnp = occ==3500 gen na = occ==3600 gen xn1 =. replace xn1 = 1 if rn==1 replace xn1 = 2 if lnp==1 replace xn1 = 3 if na==1 label define xn1_lbl 1 "Registered Nurses" 2 "Licensed Practical Nurses" 3 "Nursing Assistants and Other Aides" label values xn1 xn1_lbl gen hosp=ind==8190 gen skf = ind==8270 gen xind = . replace xind = 1 if hosp==1 replace xind = 2 if skf==1 replace xind = 3 if xind==. label define xind_lbl 1 "Hospitals" 2 "Skilled Nursing Facilities" 3 "Other" label values xind xind_lbl