/* PROGRAM: ED96SAS PURPOSE: INPUT STATEMENT TO CREATE 1996 ED PUBLIC USE FILE We recommend that you use a MISSOVER option in your INFILE statement. Note that 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 */ @005 VYEAR2 2. /* Year of visit */ @007 TIMEVIS $char4. /* Time of visit - military time */ @011 AGE 3. /* Patient age in years */ @014 RACE 1. /* Patient race */ @015 SEX 1. /* Patient sex */ @016 ETHNIC 1. /* Patient ethnicity */ @017 SMOKCIG 1. /* Does patient smoke cigarettes? */ @018 TYPEPAY 1. /* Type of payment for this visit */ @019 BCBS 1. /* Blue Cross/Blue Shield */ @020 OTHPRIV 1. /* Other private insurance */ @021 MEDICARE 1. /* Medicare */ @022 MEDICAID 1. /* Medicaid */ @023 WORKCOMP 1. /* Worker's Compensation */ @024 OTHINS 1. /* Other insurance */ @025 UNKINS 1. /* Unknown insurance */ @026 RFV1 5. /* Patient's reason for visit #1 */ @031 RFV2 5. /* Patient's reason for visit #2 */ @036 RFV3 5. /* Patient's reason for visit #3 */ @026 RFV13D 4. /* Patient's reason for visit #1 - broad */ @031 RFV23D 4. /* Patient's reason for visit #2 - broad */ @036 RFV33D 4. /* Patient's reason for visit #3 - broad */ @041 INJURY 1. /* Is visit related to injury or poisoning? */ @042 CAUSE1 $char4. /* Cause of injury #1 */ @046 CAUSE2 $char4. /* Cause of injury #2 */ @050 CAUSE3 $char4. /* Cause of injury #3 */ @042 CAUSE13D $char3. /* Cause of injury #1 - broad */ @046 CAUSE23D $char3. /* Cause of injury #2 - broad */ @050 CAUSE33D $char3. /* Cause of injury #3 - broad */ @054 PLACE 1. /* Place of occurrence of injury */ @055 WORKREL 1. /* Is injury work related? */ @056 FIREARM 1. /* Did a firearm produce the injury? */ @057 VIOLENCE 1. /* Is injury violence related? */ @058 PERSON 1. /* Person who caused the injury */ @059 DIAG1 $char5. /* Physician's diagnosis #1 */ @064 DIAG2 $char5. /* Physician's diagnosis #2 */ @069 DIAG3 $char5. /* Physician's diagnosis #3 */ @059 DIAG13D $char3. /* Physician's diagnosis #1 - broad */ @064 DIAG23D $char3. /* Physician's diagnosis #2 - broad */ @069 DIAG33D $char3. /* Physician's diagnosis #3 - broad */ @074 ALCDRUG 1. /* Is visit alcohol or drug related? */ @075 DEPRESS 1. /* Does patient now have - Depression? */ @076 HIVAIDS 1. /* Does patient now have - HIV/AIDS? */ @077 NONE 1. /* Does patient now have - None of above? */ @078 URGENT 1. /* Urgency of this visit */ @079 DIAGSCRN 1. /* Were diagnostic/screen serv ordered/provided? */ @080 MENTSTAT 1. /* Mental status exam */ @081 BLODPRES 1. /* Blood pressure test */ @082 EKG 1. /* EKG */ @083 CARDMON 1. /* Cardiac monitor */ @084 PULSOXIM 1. /* Pulse oximetry */ @085 URINE 1. /* Urinalysis */ @086 PREGTEST 1. /* Pregnancy test */ @087 HIVSER 1. /* HIV serology */ @088 BLOODALC 1. /* Blood alcohol concentration */ @089 OTHERBLD 1. /* Other blood test */ @090 OTHERSCR 1. /* Other diagnostic/screening service */ @091 DIAGSC1 $char4. /* Other diag/screen service #1 */ @091 DIAGSC13 $char3. /* Other diag/screen service #1 - 3 dgt */ @091 DIAGSC12 $char2. /* Other diag/screen service #1 - 2 dgt */ @095 CHESTXRY 1. /* Chest X-ray */ @096 EXTRXRAY 1. /* Extremity X-ray */ @097 OTHERXRY 1. /* Other X-ray */ @098 CATSCAN 1. /* CAT scan */ @099 MRI 1. /* MRI */ @100 ULTRASND 1. /* Ultrasound */ @101 OTHDIAG 1. /* Other diagnostic imaging */ @102 PROC 1. /* Were procedures provided? */ @103 ENDOINT 1. /* Endotracheal intubation */ @104 CPR 1. /* CPR */ @105 IVFLUIDS 1. /* IV fluids */ @106 NGTUBE 1. /* NG tube/Gastric lavage */ @107 LUMBPUNC 1. /* Lumbar puncture */ @108 BLADCATH 1. /* Bladder catheter */ @109 WOUND 1. /* Wound care */ @110 EYEENT 1. /* Eye/ENT care */ @111 ORTHOPED 1. /* Orthopedic care */ @112 OBGYN 1. /* OB/GYN care */ @113 OTHERPRC 1. /* Other procedure */ @114 PROC1 $char4. /* Other procedure #1 */ @118 PROC2 $char4. /* Other procedure #2 */ @114 PROC13 $char3. /* Other procedure #1 - 3 dgt */ @118 PROC23 $char3. /* Other procedure #2 - 3 dgt */ @114 PROC12 $char2. /* Other procedure #1 - 2 dgt */ @118 PROC22 $char2. /* Other procedure #2 - 2 dgt */ @122 TOTDIAG 2. /* Total # of diag services and procedures */ @124 MED 1. /* Were medications/injections ordered/provided? */ @125 NUMMED 1. /* Number of medications coded */ @126 MED1 $char5. /* Medication #1 */ @131 MED2 $char5. /* Medication #2 */ @136 MED3 $char5. /* Medication #3 */ @141 MED4 $char5. /* Medication #4 */ @146 MED5 $char5. /* Medication #5 */ @151 MED6 $char5. /* Medication #6 */ @156 NOFOLLOW 1. /* No follow-up planned */ @157 EDPRN 1. /* Return to ED, P.R.N. (as needed)/Appointment */ @158 REFPHYS 1. /* Returned to referring physician */ @159 REFOTHPH 1. /* Referred to other physician/clinic */ @160 LEFT 1. /* Left before being seen */ @161 ADMITHOS 1. /* Admitted to hospital */ @162 ADMITCCU 1. /* Admitted to ICU/CCU */ @163 TRANSFER 1. /* Transferred to other facility */ @164 DOA 1. /* DOA/Died in ED */ @165 OTHERDIS 1. /* Other disposition */ @166 RESINT 1. /* Resident/Intern seen */ @167 STAFFPHY 1. /* Staff physician seen */ @168 OTHERPHY 1. /* Other Physician seen */ @169 PHYSASST 1. /* Physician assistant seen */ @170 NURSEPR 1. /* Nurse practitioner seen */ @171 RN 1. /* Registered nurse seen */ @172 LPN 1. /* Licensed practical nurse seen */ @173 MEDASST 1. /* Medical assistant seen */ @174 OTHERPRV 1. /* Other provider seen */ @175 PATWT 6. /* Patient visit weight (rounded) */ @181 REGION 1. /* Geographic region of hospital */ @182 URBAN 1. /* Metro/non-metro status of location of hospital */ @183 OWNSMG 1. /* Hospital ownership */ @184 HOSPCODE 3. /* Hospital code */ @187 PATCODE 4. /* Patient code */ @191 VDATEFL 1. /* Was patient's visit date imputed? */ @192 BDATEFL 1. /* Was patient's birth year imputed? */ @193 RACEFL 1. /* Was patient's race imputed? */ @194 SEXFL 1. /* Was patient's sex imputed? */ @195 ETHNICFL 1. /* Was patient's ethnicity imputed? */ @196 PROVFL 1. /* Was providers seen imputed? */ @197 URGENTFL 1. /* Was urgency of visit imputed? */ @198 DISPFL 1. /* Was disposition of visit imputed? */ @199 GEN1 $char5. /* Generic name code for drug #1 */ @204 PRESCR1 1. /* Prescription status code for drug #1 */ @205 CONTSUB1 1. /* Controlled substance code for drug #1 */ @206 COMSTAT1 1. /* Composition status code for drug #1 */ @207 DRUGCL1 $char4. /* Drug class for drug #1 */ @211 DRG1ING1 $char5. /* Ingredient code #1 for drug #1 */ @216 DRG1ING2 $char5. /* Ingredient code #2 for drug #1 */ @221 DRG1ING3 $char5. /* Ingredient code #3 for drug #1 */ @226 DRG1ING4 $char5. /* Ingredient code #4 for drug #1 */ @231 DRG1ING5 $char5. /* Ingredient code #5 for drug #1 */ @236 GEN2 $char5. /* Generic name code for drug #2 */ @241 PRESCR2 1. /* Prescription status code for drug #2 */ @242 CONTSUB2 1. /* Controlled substance code for drug #2 */ @243 COMSTAT2 1. /* Composition status code for drug #2 */ @244 DRUGCL2 $char4. /* Drug class for drug #2 */ @248 DRG2ING1 $char5. /* Ingredient code #1 for drug #2 */ @253 DRG2ING2 $char5. /* Ingredient code #2 for drug #2 */ @258 DRG2ING3 $char5. /* Ingredient code #3 for drug #2 */ @263 DRG2ING4 $char5. /* Ingredient code #4 for drug #2 */ @268 DRG2ING5 $char5. /* Ingredient code #5 for drug #2 */ @273 GEN3 $char5. /* Generic name code for drug #3 */ @278 PRESCR3 1. /* Prescription status code for drug #3 */ @279 CONTSUB3 1. /* Controlled substance code for drug #3 */ @280 COMSTAT3 1. /* Composition status code for drug #3 */ @281 DRUGCL3 $char4. /* Drug class for drug #3 */ @285 DRG3ING1 $char5. /* Ingredient code #1 for drug #3 */ @290 DRG3ING2 $char5. /* Ingredient code #2 for drug #3 */ @295 DRG3ING3 $char5. /* Ingredient code #3 for drug #3 */ @300 DRG3ING4 $char5. /* Ingredient code #4 for drug #3 */ @305 DRG3ING5 $char5. /* Ingredient code #5 for drug #3 */ @310 GEN4 $char5. /* Generic name code for drug #4 */ @315 PRESCR4 1. /* Prescription status code for drug #4 */ @316 CONTSUB4 1. /* Controlled substance code for drug #4 */ @317 COMSTAT4 1. /* Composition status code for drug #4 */ @318 DRUGCL4 $char4. /* Drug class for drug #4 */ @322 DRG4ING1 $char5. /* Ingredient code #1 for drug #4 */ @327 DRG4ING2 $char5. /* Ingredient code #2 for drug #4 */ @332 DRG4ING3 $char5. /* Ingredient code #3 for drug #4 */ @337 DRG4ING4 $char5. /* Ingredient code #4 for drug #4 */ @342 DRG4ING5 $char5. /* Ingredient code #5 for drug #4 */ @347 GEN5 $char5. /* Generic name code for drug #5 */ @352 PRESCR5 1. /* Prescription status code for drug #5 */ @353 CONTSUB5 1. /* Controlled substance code for drug #5 */ @354 COMSTAT5 1. /* Composition status code for drug #5 */ @355 DRUGCL5 $char4. /* Drug class for drug #5 */ @359 DRG5ING1 $char5. /* Ingredient code #1 for drug #5 */ @364 DRG5ING2 $char5. /* Ingredient code #2 for drug #5 */ @369 DRG5ING3 $char5. /* Ingredient code #3 for drug #5 */ @374 DRG5ING4 $char5. /* Ingredient code #4 for drug #5 */ @379 DRG5ING5 $char5. /* Ingredient code #5 for drug #5 */ @384 GEN6 $char5. /* Generic name code for drug #6 */ @389 PRESCR6 1. /* Prescription status code for drug #6 */ @390 CONTSUB6 1. /* Controlled substance code for drug #6 */ @391 COMSTAT6 1. /* Composition status code for drug #6 */ @392 DRUGCL6 $char4. /* Drug class for drug #6 */ @396 DRG6ING1 $char5. /* Ingredient code #1 for drug #6 */ @401 DRG6ING2 $char5. /* Ingredient code #2 for drug #6 */ @406 DRG6ING3 $char5. /* Ingredient code #3 for drug #6 */ @411 DRG6ING4 $char5. /* Ingredient code #4 for drug #6 */ @416 DRG6ING5 $char5. /* Ingredient code #5 for drug #6 */ @421 RACER 1. /* Patient race recode: White, Black, Other */ @422 AGEDAYS 3. /* Age in days for patients less than 1 year */ @425 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 department 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) */ ;