/* PROGRAM: OPD92INP PURPOSE: INPUT STATEMENT TO READ 1992 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. PATCODE and masked design variables added 1/2009 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 MEDICARE 1. /* Expected source of payment-Medicare */ @013 MEDICAID 1. /* Expected source of payment-Medicaid */ @014 OTHGOVT 1. /* Expected source of payment-Oth gov't */ @015 PRIVINS 1. /* Expected source of payment-Private/Comm */ @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-Unspecified */ @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 AMB1 $char4. /* Ambulatory surgical procedure # 1 */ @055 AMB13D $char3. /* Ambulatory surgical procedure # 1 - 3 digit */ @055 AMB12D $char2. /* Ambulatory surgical procedure # 1 - 2 digit */ @059 SCHED1 1. /* Was surgical procedure #1 scheduled or performed? */ @060 ANEST1 1. /* Type of anesthesia used for surgical procedure #1 */ @061 AMB2 $char4. /* Ambulatory surgical procedure #2 */ @061 AMB23D $char3. /* Ambulatory surgical procedure #2 - 3 digit */ @061 AMB22D $char2. /* Ambulatory surgical procedure #2 - 2 digit */ @065 SENBEFOR 1. /* Have you/anyone in practice seen pat before? */ @066 IFYES 1. /* If seen before, for diagnosis in item 11a? */ @067 DIAGNONE 1. /* Diagnostic/screening services ordered or provided - None */ @068 BLODPRES 1. /* Blood pressure */ @069 URINE 1. /* Urinalysis */ @070 EKGREST 1. /* EKG - Resting */ @071 EGKEXER 1. /* EKG - Exercise */ @072 MAMMO 1. /* Mammogram */ @073 CHESTXRY 1. /* Chest x-ray */ @074 OTHRAD 1. /* Other radiology */ @075 ALLERTST 1. /* Allergy testing */ @076 SPIROMET 1. /* Spirometry */ @077 PAP 1. /* Pap test */ @078 STREP 1. /* Strep test */ @079 HIVSER 1. /* HIV serology */ @080 CHOLEST 1. /* Cholesterol measure */ @081 OTHLAB 1. /* Other lab */ @082 HEARING 1. /* Hearing test */ @083 VISUAL 1. /* Visual acuity */ @084 MENTSTAT 1. /* Mental health status */ @085 OTHDIAG 1. /* Other diagnostic/screening service */ @086 THERNONE 1. /* Therapeutic services ordered or provided - None */ @087 DIET 1. /* Diet couns/educ */ @088 EXERCISE 1. /* Exercise couns/educ */ @089 CHOLRED 1. /* Cholesterol reduction couns/educ */ @090 WTREDUC 1. /* Weight reduction couns/educ */ @091 DRUGAB 1. /* Drug abuse couns/educ */ @092 ALCAB 1. /* Alcohol abuse couns/educ */ @093 SMOKCES 1. /* Smoking cessation couns/educ */ @094 FAMSOC 1. /* Family/Social couns/educ */ @095 GRWTHDEV 1. /* Growth/Development couns/educ */ @096 FAMPLAN 1. /* Family Planning/Contraceptive couns/educ */ @097 OTHCOUN 1. /* Other counseling/education */ @098 PSYCHOTH 1. /* Psychotherapy */ @099 CORRLENS 1. /* Corrective lenses */ @100 HEARAID 1. /* Hearing aid */ @101 PHYSIOTH 1. /* Physiotherapy */ @102 OTHTHER 1. /* Other therapy */ @103 MED1 $char5. /* Medication #1 */ @108 NEWMED1 1. /* Is medication #1 new for the patient? */ @109 MED2 $char5. /* Medication #2 */ @114 NEWMED2 1. /* Is medication #2 new for the patient? */ @115 MED3 $char5. /* Medication #3 */ @120 NEWMED3 1. /* Is medication #3 new for the patient? */ @121 MED4 $char5. /* Medication #4 */ @126 NEWMED4 1. /* Is medication #4 new for the patient? */ @127 MED5 $char5. /* Medication #5 */ @132 NEWMED5 1. /* Is medication #5 new for the patient? */ @133 MED 1. /* Were medications ordered or provided? */ @134 NUMMED 1. /* Number of medications coded */ @135 RETPRN 1. /* Return to clinic if needed, P.R.N. */ @136 RETAPPT 1. /* Return at specified time */ @137 TELEPHON 1. /* Telephone follow-up planned */ @138 REFPHYS 1. /* Return to referring physician */ @139 REFOTHPH 1. /* Refer to another physician */ @140 ADMITHOS 1. /* Admit to hospital */ @141 NOFOLLOW 1. /* No follow-up planned */ @142 OTHERDIS 1. /* Other disposition */ @143 RESINT 1. /* Resident/intern seen */ @144 STAFFPHY 1. /* Staff physician seen */ @145 OTHERPHY 1. /* Other physician seen */ @146 PHYSASST 1. /* Physician assistant seen */ @147 NURSPRAC 1. /* Nurse practitioner seen */ @148 RN 1. /* Registered nurse seen */ @149 LPN 1. /* Licensed practical nurse seen */ @150 NURSAID 1. /* Nurse's aide seen */ @151 PATWT 5. /* Patient visit weight (rounded) */ @156 REGION 1. /* Geographic region of physician office */ @157 URBAN 1. /* Metro/non-metro status of location of office */ @158 OWNSMG 1. /* Hospital ownership */ @159 HOSPCODE 3. /* Hospital code */ @162 CLINTYPE 1. /* Clinic type */ @163 BDATEFL 1. /* Was patient's birth year imputed? */ @164 SEXFL 1. /* Was patient's sex imputed? */ @165 REFERFL 1. /* Was patient's referral status imputed? */ @166 SENBEFL 1. /* Was `Was patient seen before?` imputed? */ @167 IFYESFL 1. /* Was `If seen before...` imputed? */ @168 DISPFL 1. /* Was visit disposition imputed? */ @169 PROVFL 1. /* Was provider seen imputed? */ @170 RACEFL 1. /* Was patient's race imputed? */ @171 ETHNICFL 1. /* Was patient's ethnicity imputed? */ @172 GEN1 $char5. /* Generic name code for medication #1 */ @177 PRESCR1 1. /* Prescription status code for medication #1 */ @178 CONTSUB1 1. /* Controlled substance code for medication #1 */ @179 COMSTAT1 1. /* Composition status code for medication #1 */ @180 DRUGCL1 $char2. /* Drug class for medication #1 */ @182 DRG1ING1 $char5. /* Ingredient code #1 for medication #1 */ @187 DRG1ING2 $char5. /* Ingredient code #2 for medication #1 */ @192 DRG1ING3 $char5. /* Ingredient code #3 for medication #1 */ @197 DRG1ING4 $char5. /* Ingredient code #4 for medication #1 */ @202 DRG1ING5 $char5. /* Ingredient code #5 for medication #1 */ @207 GEN2 $char5. /* Generic name code for medication #2 */ @212 PRESCR2 1. /* Prescription status code for medication #2 */ @213 CONTSUB2 1. /* Controlled substance code for medication #2 */ @214 COMSTAT2 1. /* Composition status code for medication #2 */ @215 DRUGCL2 $char2. /* Drug class for medication #2 */ @217 DRG2ING1 $char5. /* Ingredient code #1 for medication #2 */ @222 DRG2ING2 $char5. /* Ingredient code #2 for medication #2 */ @227 DRG2ING3 $char5. /* Ingredient code #3 for medication #2 */ @232 DRG2ING4 $char5. /* Ingredient code #4 for medication #2 */ @237 DRG2ING5 $char5. /* Ingredient code #5 for medication #2 */ @242 GEN3 $char5. /* Generic name code for medication #3 */ @247 PRESCR3 1. /* Prescription status code for medication #3 */ @248 CONTSUB3 1. /* Controlled substance code for medication #3 */ @249 COMSTAT3 1. /* Composition status code for medication #3 */ @250 DRUGCL3 $char2. /* Drug class for medication #3 */ @252 DRG3ING1 $char5. /* Ingredient code #1 for medication #3 */ @257 DRG3ING2 $char5. /* Ingredient code #2 for medication #3 */ @262 DRG3ING3 $char5. /* Ingredient code #3 for medication #3 */ @267 DRG3ING4 $char5. /* Ingredient code #4 for medication #3 */ @272 DRG3ING5 $char5. /* Ingredient code #5 for medication #3 */ @277 GEN4 $char5. /* Generic name code for medication #4 */ @282 PRESCR4 1. /* Prescription status code for medication #4 */ @283 CONTSUB4 1. /* Controlled substance code for medication #4 */ @284 COMSTAT4 1. /* Composition status code for medication #4 */ @285 DRUGCL4 $char2. /* Drug class for medication #4 */ @287 DRG4ING1 $char5. /* Ingredient code #1 for medication #4 */ @292 DRG4ING2 $char5. /* Ingredient code #2 for medication #4 */ @297 DRG4ING3 $char5. /* Ingredient code #3 for medication #4 */ @302 DRG4ING4 $char5. /* Ingredient code #4 for medication #4 */ @307 DRG4ING5 $char5. /* Ingredient code #5 for medication #4 */ @312 GEN5 $char5. /* Generic name code for medication #5 */ @317 PRESCR5 1. /* Prescription status code for medication #5 */ @318 CONTSUB5 1. /* Controlled substance code for medication #5 */ @319 COMSTAT5 1. /* Composition status code for medication #5 */ @320 DRUGCL5 $char2. /* Drug class for medication #5 */ @322 DRG5ING1 $char5. /* Ingredient code #1 for medication #5 */ @327 DRG5ING2 $char5. /* Ingredient code #2 for medication #5 */ @332 DRG5ING3 $char5. /* Ingredient code #3 for medication #5 */ @337 DRG5ING4 $char5. /* Ingredient code #4 for medication #5 */ @342 DRG5ING5 $char5. /* Ingredient code #5 for medication #5 */ @357 PATCODE 3. /* Patient code */ @500 STRATM 3. /* PSU stratum marker (masked) */ @503 PSUM 5. /* PSU marker (masked) */ @508 YEAR 4. /* Survey year (1992) */ @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) */ ;