/* PROGRAM: OPD96SAS PURPOSE: INPUT STATEMENT TO CREATE 1996 NHAMCS OUTPATIENT DEPARTMENT PUBLIC USE FILE. We recommend that you use a MISSOVER option in your INFILE statement. The value of LRECL may equal or exceed the actual file size. We use a value of 999 for convenience. EXAMPLE: INFILE [file reference] MISSOVER LRECL=999; */ INPUT @001 VMONTH 2. /* Month of visit */ @003 VDAY 2. /* Day of visit - 1-31 */ @005 VYEAR 2. /* Year of visit - last 2 digits */ @007 AGE 3. /* Patient age in years */ @010 SEX 1. /* Patient sex */ @011 RACE 1. /* Patient race */ @012 ETHNIC 1. /* Patient ethnicity */ @013 SMOKCIG 1. /* Does patient smoke cigarettes? */ @014 TYPEPAY 1. /* Expected type of payment for visit */ @015 BCBS 1. /* Blue Cross/Blue Shield */ @016 OTHPRIV 1. /* Other private insurance */ @017 MEDICARE 1. /* Medicare */ @018 MEDICAID 1. /* Medicaid */ @019 WORKCOMP 1. /* Worker's Compensation */ @020 OTHINS 1. /* Other insurance */ @021 UNKINS 1. /* Unknown insurance */ @022 RFV1 5. /* Patient's reason for visit #1 */ @027 RFV2 5. /* Patient's reason for visit #2 */ @032 RFV3 5. /* Patient's reason for visit #3 */ @022 RFV13D 4. /* Patient's reason for visit #1 - broad */ @027 RFV23D 4. /* Patient's reason for visit #2 - broad */ @032 RFV33D 4. /* Patient's reason for visit #3 - broad */ @037 INJURY 1. /* Is visit related to injury or poisoning? */ @038 CAUSE1 $char4. /* Cause of injury #1 */ @042 CAUSE2 $char4. /* Cause of injury #2 */ @046 CAUSE3 $char4. /* Cause of injury #3 */ @038 CAUSE13D $char3. /* Cause of injury #1 - broad */ @042 CAUSE23D $char3. /* Cause of injury #2 - broad */ @046 CAUSE33D $char3. /* Cause of injury #3 - broad */ @050 PLACE 1. /* Place of injury */ @051 WORKREL 1. /* Is injury work related? */ @052 DIAG1 $char5. /* Physician's diagnosis #1 */ @057 DIAG2 $char5. /* Physician's diagnosis #2 */ @062 DIAG3 $char5. /* Physician's diagnosis #3 */ @052 DIAG13D $char3. /* Physician's diagnosis #1 - broad */ @057 DIAG23D $char3. /* Physician's diagnosis #2 - broad */ @062 DIAG33D $char3. /* Physician's diagnosis #3 - broad */ @067 ARTHRIT 1. /* Does patient have - Arthritis */ @068 ATHERO 1. /* Does patient have - Atherosclerosis */ @069 COPD 1. /* Does patient have - COPD */ @070 RENAL 1. /* Does patient have - Chronic renal failure */ @071 DEPRESS 1. /* Does patient have - Depression */ @072 DIABETES 1. /* Does patient have - Diabetes */ @073 HIVAIDS 1. /* Does patient have - HIV/AIDS */ @074 HYPERAC 1. /* Does patient have - Hyperactivity/ADD */ @075 HYPERTN 1. /* Does patient have - Hypertension */ @076 OBESITY 1. /* Does patient have - Obesity */ @077 NONE 1. /* Does patient have - None of the above */ @078 AMB 1. /* Were ambulatory surgical procs performed */ @079 AMB1 $char4. /* Ambulatory surgical proc #1 - 4 dgt*/ @083 AMB2 $char4. /* Ambulatory surgical proc #2 - 4 dgt*/ @079 AMB13 $char3. /* Ambulatory surgical proc #1 - 3 dgt*/ @083 AMB23 $char3. /* Ambulatory surgical proc #2 - 3 dgt*/ @079 AMB12 $char2. /* Ambulatory surgical proc #1 - 2 dgt*/ @083 AMB22 $char2. /* Ambulatory surgical proc #2 - 2 dgt*/ @087 DIAGSCRN 1. /* Were diag/screen services ordered/provided? */ @088 BREAST 1. /* Breast exam */ @089 PELVIC 1. /* Pelvic exam */ @090 RECTAL 1. /* Rectal exam */ @091 VISUAL 1. /* Visual acuity */ @092 MENTAL 1. /* Mental status */ @093 OTHEXM 1. /* Other exam */ @094 OTHEXM1 $char4. /* Other exam - ICD-9-CM procedure - 4 dgt */ @094 OTHEXM13 $char3. /* Other exam - ICD-9-CM procedure - 3 dgt */ @094 OTHEXM12 $char2. /* Other exam - ICD-9-CM procedure - 2 dgt */ @098 BLODPRES 1. /* Blood pressure test */ @099 URINE 1. /* Urinalysis */ @100 TBSKIN 1. /* TB skin test */ @101 BLODLEAD 1. /* Blood lead level */ @102 CHOLEST 1. /* Cholesterol measure */ @103 PSA 1. /* PSA test */ @104 HIVSER 1. /* HIV serology */ @105 OTHERBLD 1. /* Other blood test */ @106 OTHTST 1. /* Other test */ @107 OTHTST1 $char4. /* Other test - ICD-9-CM procedure - 4 dgt */ @107 OTHTST13 $char3. /* Other test - ICD-9-CM procedure - 3 dgt */ @107 OTHTST12 $char2. /* Other test - ICD-9-CM procedure - 2 dgt */ @111 XRAY 1. /* X-ray */ @112 CAT 1. /* CAT Scan*/ @113 MRI 1. /* MRI */ @114 ULTRASND 1. /* Ultrasound */ @115 OTHIMG 1. /* Other imaging */ @116 OTHIMG1 $char4. /* Other imaging - ICD-9-CM procedure - 4dgt */ @116 OTHIMG13 $char3. /* Other imaging - ICD-9-CM procedure - 3dgt */ @116 OTHIMG12 $char2. /* Other imaging - ICD-9-CM procedure - 2dgt */ @120 OTHDIAG 1. /* Any other diag/screen services */ @121 DIAGSC1 $char4. /* Other diag/screen service #1 - 4 dgt */ @121 DIAGSC13 $char3. /* Other diag/screen service #1 - 3 dgt */ @121 DIAGSC12 $char2. /* Other diag/screen service #1 - 2 dgt */ @125 TOTDIAG 2. /* Total # of diagnostic/screening services */ @127 THERPREV 1. /* Were ther/prev services ordered/provided? */ @128 DIET 1. /* Diet couns/educ */ @129 WEIGHT 1. /* Weight reduction couns/educ */ @130 CHOLRED 1. /* Cholesterol reduction couns/educ */ @131 HIVTR 1. /* HIV transmission couns/educ */ @132 INJPREV 1. /* Injury prevention couns/educ */ @133 TOBACCO 1. /* Tobacco use/Exposure couns/educ */ @134 GRWTHDEV 1. /* Growth/Development couns/educ */ @135 MENTLHLT 1. /* Mental health couns/educ */ @136 OTHCOUN 1. /* Other counseling */ @137 PSYCHOTH 1. /* Psychotherapy */ @138 CORRLENS 1. /* Corrective lenses */ @139 PHYSIOTH 1. /* Physiotherapy */ @140 OTHTHER 1. /* Other therapy */ @141 MED 1. /* Were medications/injections ordered/prov? */ @142 NUMMED 1. /* Number of medications coded */ @143 MED1 $char5. /* Medication #1 */ @148 MED2 $char5. /* Medication #2 */ @153 MED3 $char5. /* Medication #3 */ @158 MED4 $char5. /* Medication #4 */ @163 MED5 $char5. /* Medication #5 */ @168 MED6 $char5. /* Medication #6 */ @173 RESINT 1. /* Resident/intern seen */ @174 STAFFPHY 1. /* Staff physician seen */ @175 OTHERPHY 1. /* Other physician seen */ @176 PHYSASST 1. /* Physician assistant seen */ @177 NURSEPR 1. /* Nurse practitioner seen */ @178 RN 1. /* Registered nurse seen */ @179 LPN 1. /* Licensed practical nurse seen */ @180 MEDASST 1. /* Medical assistant seen */ @181 OTHERPRV 1. /* Other provider seen */ @182 SENBEFOR 1. /* Has patient been seen in this clinic before? */ @183 IFYES 1. /* If seen before, for diagnosis in item 11a? */ @184 REFER 1. /* Was pat referred by oth physician for visit? */ @185 NOFOLLOW 1. /* No follow-up planned */ @186 RETPRN 1. /* Return if needed, P.R.N. */ @187 RETAPPT 1. /* Return at specified time */ @188 TELEPHON 1. /* Telephone follow-up planned */ @189 REFPHYS 1. /* Returned to referring physician */ @190 REFOTHPH 1. /* Referred to other physician/clinic */ @191 ADMITHOS 1. /* Admitted to hospital */ @192 OTHERDIS 1. /* Other disposition */ @193 PATWT 6. /* Patient visit weight (rounded) */ @199 REGION 1. /* Geographic region of hospital */ @200 URBAN 1. /* Metro/non-metro status of location of hospital */ @201 OWNSMG 1. /* Hospital ownership */ @202 HOSPCODE 3. /* Hospital code */ @205 CLINTYPE 1. /* Clinic type */ @206 PATCODE 4. /* Patient code */ @210 VDATEFL 1. /* Was patient's visit date imputed? */ @211 BDATEFL 1. /* Was patient's birth year imputed? */ @212 RACEFL 1. /* Was patient's race imputed? */ @213 SEXFL 1. /* Was patient's sex imputed? */ @214 ETHNICFL 1. /* Was patient's ethnicity imputed? */ @215 PROVFL 1. /* Was provider seen imputed? */ @216 SENBEFL 1. /* Was `Was patient seen before?` imputed? */ @217 IFYESFL 1. /* Was `If seen before...` imputed? */ @218 REFERFL 1. /* Was patient's referral status imputed? */ @219 DISPFL 1. /* Was visit disposition imputed? */ @220 GEN1 $char5. /* Generic name code for medication #1 */ @225 PRESCR1 1. /* Prescription status code for medication #1 */ @226 CONTSUB1 1. /* Controlled substance code for medication #1 */ @227 COMSTAT1 1. /* Composition status code for medication #1 */ @228 DRUGCL1 $char4. /* Drug class for medication #1 */ @232 DRG1ING1 $char5. /* Ingredient code #1 for medication #1 */ @237 DRG1ING2 $char5. /* Ingredient code #2 for medication #1 */ @242 DRG1ING3 $char5. /* Ingredient code #3 for medication #1 */ @247 DRG1ING4 $char5. /* Ingredient code #4 for medication #1 */ @252 DRG1ING5 $char5. /* Ingredient code #5 for medication #1 */ @257 GEN2 $char5. /* Generic name code for medication #2 */ @262 PRESCR2 1. /* Prescription status code for medication #2 */ @263 CONTSUB2 1. /* Controlled substance code for medication #2 */ @264 COMSTAT2 1. /* Composition status code for medication #2 */ @265 DRUGCL2 $char4. /* Drug class for medication #2 */ @269 DRG2ING1 $char5. /* Ingredient code #1 for medication #2 */ @274 DRG2ING2 $char5. /* Ingredient code #2 for medication #2 */ @279 DRG2ING3 $char5. /* Ingredient code #3 for medication #2 */ @284 DRG2ING4 $char5. /* Ingredient code #4 for medication #2 */ @289 DRG2ING5 $char5. /* Ingredient code #5 for medication #2 */ @294 GEN3 $char5. /* Generic name code for medication #3 */ @299 PRESCR3 1. /* Prescription status code for medication #3 */ @300 CONTSUB3 1. /* Controlled substance code for medication #3 */ @301 COMSTAT3 1. /* Composition status code for medication #3 */ @302 DRUGCL3 $char4. /* Drug class for medication #3 */ @306 DRG3ING1 $char5. /* Ingredient code #1 for medication #3 */ @311 DRG3ING2 $char5. /* Ingredient code #2 for medication #3 */ @316 DRG3ING3 $char5. /* Ingredient code #3 for medication #3 */ @321 DRG3ING4 $char5. /* Ingredient code #4 for medication #3 */ @326 DRG3ING5 $char5. /* Ingredient code #5 for medication #3 */ @331 GEN4 $char5. /* Generic name code for medication #4 */ @336 PRESCR4 1. /* Prescription status code for medication #4 */ @337 CONTSUB4 1. /* Controlled substance code for medication #4 */ @338 COMSTAT4 1. /* Composition status code for medication #4 */ @339 DRUGCL4 $char4. /* Drug class for medication #4 */ @343 DRG4ING1 $char5. /* Ingredient code #1 for medication #4 */ @348 DRG4ING2 $char5. /* Ingredient code #2 for medication #4 */ @353 DRG4ING3 $char5. /* Ingredient code #3 for medication #4 */ @358 DRG4ING4 $char5. /* Ingredient code #4 for medication #4 */ @363 DRG4ING5 $char5. /* Ingredient code #5 for medication #4 */ @368 GEN5 $char5. /* Generic name code for medication #5 */ @373 PRESCR5 1. /* Prescription status code for medication #5 */ @374 CONTSUB5 1. /* Controlled substance code for medication #5 */ @375 COMSTAT5 1. /* Composition status code for medication #5 */ @376 DRUGCL5 $char4. /* Drug class for medication #5 */ @380 DRG5ING1 $char5. /* Ingredient code #1 for medication #5 */ @385 DRG5ING2 $char5. /* Ingredient code #2 for medication #5 */ @390 DRG5ING3 $char5. /* Ingredient code #3 for medication #5 */ @395 DRG5ING4 $char5. /* Ingredient code #4 for medication #5 */ @400 DRG5ING5 $char5. /* Ingredient code #5 for medication #5 */ @405 GEN6 $char5. /* Generic name code for medication #6 */ @410 PRESCR6 1. /* Prescription status code for medication #6 */ @411 CONTSUB6 1. /* Controlled substance code for medication #6 */ @412 COMSTAT6 1. /* Composition status code for medication #6 */ @413 DRUGCL6 $char4. /* Drug class for medication #6 */ @417 DRG6ING1 $char5. /* Ingredient code #1 for medication #6 */ @422 DRG6ING2 $char5. /* Ingredient code #2 for medication #6 */ @427 DRG6ING3 $char5. /* Ingredient code #3 for medication #6 */ @432 DRG6ING4 $char5. /* Ingredient code #4 for medication #6 */ @437 DRG6ING5 $char5. /* Ingredient code #5 for medication #6 */ @442 RACER 1. /* Patient race recode: White, Black, Other */ @443 AGEDAYS 3. /* Age in days for patients less than 1 year */ @446 AGER 1. /* Patient age recode */ @500 STRATM 3. /* PSU stratum marker (masked) */ @503 PSUM 5. /* PSU marker (masked) */ @508 YEAR 4. /* Survey year (1996) */ @512 SUBFILE 1. /* Survey identifier (constant=2 for NHAMCS) */ @513 PROSTRAT 2. /* Provider stratum marker */ @515 PROVIDER 4. /* Provider code */ @519 DEPT 1. /* Hospital dept code */ @520 SU 3. /* Hospital sampling unit code */ @523 CLINIC 3. /* Hospital clinic code */ @526 POPPSUM 2. /* Stratum counts of PSUs (masked) */ @528 POPSUM 3. /* # of clinic sampling units in hos (masked) */ @531 POPVISM 6. /* Estimated provider visit volume (masked) */ @537 POPPROVM 6. /* Estimated # of inscope providers in PSU (masked) */ ;