/* PROGRAM: OPD93SAS PURPOSE: INPUT STATEMENT TO CREATE 1993 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 2. /* Patient age in years */ @009 SEX 1. /* Patient sex */ @010 RACE 1. /* Patient race */ @011 ETHNIC 1. /* Patient ethnicity */ @012 PRIVINS 1. /* Expected source of payment-Private/Comm */ @013 MEDICARE 1. /* Expected source of payment-Medicare */ @014 MEDICAID 1. /* Expected source of payment-Medicaid */ @015 OTHGOVT 1. /* Expected source of payment-Oth gov't */ @016 HMO 1. /* Expected source of payment-HMO/Oth prepaid */ @017 SELFPAY 1. /* Expected source of payment-Patient paid */ @018 NOCHARGE 1. /* Expected source of payment-No charge */ @019 OTHPAY 1. /* Expected source of payment-Other */ @020 UNKPAY 1. /* Expected source of payment-Unknown */ @021 REFER 1. /* Was pat referred by oth physician for visit? */ @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 DIAG1 6. /* Physician's diagnosis #1 */ @043 DIAG2 6. /* Physician's diagnosis #2 */ @049 DIAG3 6. /* Physician's diagnosis #3 */ @037 DIAG13D 4. /* Physician's diagnosis #1 - broad */ @043 DIAG23D 4. /* Physician's diagnosis #2 - broad */ @049 DIAG33D 4. /* Physician's diagnosis #3 - broad */ @055 SENBEFOR 1. /* Have you/anyone in practice seen pat before? */ @056 IFYES 1. /* If seen before, for diagnosis in item 11a? */ @057 NOTESTS 1. /* Test, procs, therapies ordered/prov-None */ @058 BLODPRES 1. /* Blood pressure */ @059 URINE 1. /* Urinalysis */ @060 SPIROMET 1. /* Spirometry */ @061 ALLERTST 1. /* Allergy testing */ @062 HIVSER 1. /* HIV serology */ @063 OTHERBLD 1. /* Other blood test */ @064 PROC1 $char4. /* Service #1 procedure code - 4 digits */ @064 PROC13D $char3. /* Service #1 procedure code - 3 digits */ @064 PROC12D $char2. /* Service #1 procedure code - 2 digits */ @068 PROC1PER 1. /* Service #1 performed or ordered */ @069 PROC2 $char4. /* Service #2 procedure code - 4 digits */ @069 PROC23D $char3. /* Service #2 procedure code - 3 digits */ @069 PROC22D $char2. /* Service #2 procedure code - 2 digits */ @073 PROC2PER 1. /* Service #2 performed or ordered */ @074 PROC3 $char4. /* Service #3 procedure code - 4 digits */ @074 PROC33D $char3. /* Service #3 procedure code - 3 digits */ @074 PROC32D $char2. /* Service #3 procedure code - 2 digits */ @078 PROC3PER 1. /* Service #3 performed or ordered */ @079 PROC4 $char4. /* Service #4 procedure code - 4 digits */ @079 PROC43D $char3. /* Service #4 procedure code - 3 digits */ @079 PROC42D $char2. /* Service #4 procedure code - 2 digits */ @083 PROC4PER 1. /* Service #4 performed or ordered */ @084 PROC5 $char4. /* Service #5 procedure code - 4 digits */ @084 PROC53D $char3. /* Service #5 procedure code - 3 digits */ @084 PROC52D $char2. /* Service #5 procedure code - 2 digits */ @088 PROC5PER 1. /* Service #5 performed or ordered */ @089 PROC6 $char4. /* Service #6 procedure code - 4 digits */ @089 PROC63D $char3. /* Service #6 procedure code - 3 digits */ @089 PROC62D $char2. /* Service #6 procedure code - 2 digits */ @093 PROC6PER 1. /* Service #6 performed or ordered */ @094 NOCOUNS 1. /* Counseling/education - none */ @095 EXERCISE 1. /* Exercise couns/educ */ @096 CHOLRED 1. /* Cholesterol reduction couns/educ */ @097 WEIGHT 1. /* Weight reduction couns/educ */ @098 SMOKCES 1. /* Smoking cessation couns/educ */ @099 GRWTHDEV 1. /* Growth/Development couns/educ */ @100 INJPREV 1. /* Injury prevention couns/educ */ @101 HIVTR 1. /* HIV transmission couns/educ */ @102 OTHSTDTR 1. /* Other STD transmission couns/educ */ @103 OTHCOUN 1 /* Other counseling */ @104 MED1 $char5. /* Medication #1 */ @109 MED2 $char5. /* Medication #2 */ @114 MED3 $char5. /* Medication #3 */ @119 MED4 $char5. /* Medication #4 */ @124 MED5 $char5. /* Medication #5 */ @129 MED 1. /* Were medications ordered or provided? */ @130 NUMMED 1. /* Number of medications coded */ @131 NOFOLLOW 1. /* No follow-up planned */ @132 RETPRN 1. /* Return to clinic if needed, P.R.N. */ @133 RETAPPT 1. /* Return at specified time */ @134 TELEPHON 1. /* Telephone follow-up planned */ @135 REFPHYS 1. /* Return to referring physician */ @136 REFOTHPH 1. /* Refer to another physician */ @137 ADMITHOS 1. /* Admit to hospital */ @138 OTHERDIS 1. /* Other disposition */ @139 RESINT 1. /* Resident/intern seen */ @140 STAFFPHY 1. /* Staff physician seen */ @141 OTHERPHY 1. /* Other physician seen */ @142 PHYSASST 1. /* Physician assistant/nurse prac seen */ @143 RN 1. /* Registered nurse seen */ @144 LPN 1. /* Licensed practical nurse seen */ @145 NURSAID 1. /* Nurse's aide seen */ @146 OTHERPRV 1. /* Other provider seen */ @147 PATWT 5. /* Patient visit weight (rounded) */ @152 REGION 1. /* Geographic region of physician office */ @153 URBAN 1. /* Metro/non-metro status of location of office */ @154 OWNSMG 1. /* Hospital ownership */ @155 HOSPCODE 3. /* Hospital code */ @158 CLINTYPE 1. /* Clinic type */ @159 BDATEFL 1. /* Was patient's birth year imputed? */ @160 SEXFL 1. /* Was patient's sex imputed? */ @161 REFERFL 1. /* Was patient's referral status imputed? */ @162 SENBEFL 1. /* Was `Was patient seen before?` imputed? */ @163 IFYESFL 1. /* Was `If seen before...` imputed? */ @164 DISPFL 1. /* Was visit disposition imputed? */ @165 PROVFL 1. /* Was provider seen imputed? */ @166 RACEFL 1. /* Was patient's race imputed? */ @167 ETHNICFL 1. /* Was patient's ethnicity imputed? */ @168 VDATEFL 1. /* Was patient's visit date imputed? */ @169 GEN1 $char5. /* Generic name code for medication #1 */ @174 PRESCR1 1. /* Prescription status code for medication #1 */ @175 CONTSUB1 1. /* Controlled substance code for medication #1 */ @176 COMSTAT1 1. /* Composition status code for medication #1 */ @177 DRUGCL1 $char4. /* Drug class for medication #1 */ @181 DRG1ING1 $char5. /* Ingredient code #1 for medication #1 */ @186 DRG1ING2 $char5. /* Ingredient code #2 for medication #1 */ @191 DRG1ING3 $char5. /* Ingredient code #3 for medication #1 */ @196 DRG1ING4 $char5. /* Ingredient code #4 for medication #1 */ @201 DRG1ING5 $char5. /* Ingredient code #5 for medication #1 */ @206 GEN2 $char5. /* Generic name code for medication #2 */ @211 PRESCR2 1. /* Prescription status code for medication #2 */ @212 CONTSUB2 1. /* Controlled substance code for medication #2 */ @213 COMSTAT2 1. /* Composition status code for medication #2 */ @214 DRUGCL2 $char4. /* Drug class for medication #2 */ @218 DRG2ING1 $char5. /* Ingredient code #1 for medication #2 */ @223 DRG2ING2 $char5. /* Ingredient code #2 for medication #2 */ @228 DRG2ING3 $char5. /* Ingredient code #3 for medication #2 */ @233 DRG2ING4 $char5. /* Ingredient code #4 for medication #2 */ @238 DRG2ING5 $char5. /* Ingredient code #5 for medication #2 */ @243 GEN3 $char5. /* Generic name code for medication #3 */ @248 PRESCR3 1. /* Prescription status code for medication #3 */ @249 CONTSUB3 1. /* Controlled substance code for medication #3 */ @250 COMSTAT3 1. /* Composition status code for medication #3 */ @251 DRUGCL3 $char4. /* Drug class for medication #3 */ @255 DRG3ING1 $char5. /* Ingredient code #1 for medication #3 */ @260 DRG3ING2 $char5. /* Ingredient code #2 for medication #3 */ @265 DRG3ING3 $char5. /* Ingredient code #3 for medication #3 */ @270 DRG3ING4 $char5. /* Ingredient code #4 for medication #3 */ @275 DRG3ING5 $char5. /* Ingredient code #5 for medication #3 */ @280 GEN4 $char5. /* Generic name code for medication #4 */ @285 PRESCR4 1. /* Prescription status code for medication #4 */ @286 CONTSUB4 1. /* Controlled substance code for medication #4 */ @287 COMSTAT4 1. /* Composition status code for medication #4 */ @288 DRUGCL4 $char4. /* Drug class for medication #4 */ @292 DRG4ING1 $char5. /* Ingredient code #1 for medication #4 */ @297 DRG4ING2 $char5. /* Ingredient code #2 for medication #4 */ @302 DRG4ING3 $char5. /* Ingredient code #3 for medication #4 */ @307 DRG4ING4 $char5. /* Ingredient code #4 for medication #4 */ @312 DRG4ING5 $char5. /* Ingredient code #5 for medication #4 */ @317 GEN5 $char5. /* Generic name code for medication #5 */ @322 PRESCR5 1. /* Prescription status code for medication #5 */ @323 CONTSUB5 1. /* Controlled substance code for medication #5 */ @324 COMSTAT5 1. /* Composition status code for medication #5 */ @325 DRUGCL5 $char4. /* Drug class for medication #5 */ @329 DRG5ING1 $char5. /* Ingredient code #1 for medication #5 */ @334 DRG5ING2 $char5. /* Ingredient code #2 for medication #5 */ @339 DRG5ING3 $char5. /* Ingredient code #3 for medication #5 */ @344 DRG5ING4 $char5. /* Ingredient code #4 for medication #5 */ @349 DRG5ING5 $char5. /* Ingredient code #5 for medication #5 */ @354 RACER 1. /* Patient race recode: White, Black, Other */ @355 PATCODE 3. /* Patient code */ @500 STRATM 3. /* PSU stratum marker (masked) */ @503 PSUM 5. /* PSU marker (masked) */ @508 YEAR 4. /* Survey year (1993) */ @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) */ ;