/* PROGRAM: ED94INP PURPOSE: INPUT STATEMENT TO CREATE 1994 NHAMCS EMERGENCY DEPARTMENT 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 VYEAR 2. /* Year of visit - 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 PLACE 1. /* Place of occurrence of injury */ @022 CAUSE1 5. /* Cause of injury #1 */ @027 CAUSE2 5. /* Cause of injury #2 */ @032 CAUSE3 5. /* Cause of injury #3 */ @022 CAUSE13D 4. /* Cause of injury #1 - broad */ @027 CAUSE23D 4. /* Cause of injury #2 - broad */ @032 CAUSE33D 4. /* Cause of injury #3 - broad */ @037 RFV1 5. /* Patient's reason for visit #1 */ @042 RFV2 5. /* Patient's reason for visit #2 */ @047 RFV3 5. /* Patient's reason for visit #3 */ @037 RFV13D 4. /* Patient's reason for visit #1 - broad */ @042 RFV23D 4. /* Patient's reason for visit #2 - broad */ @047 RFV33D 4. /* Patient's reason for visit #3 - broad */ @052 DIAG1 6. /* Physician's diagnosis #1 */ @058 DIAG2 6. /* Physician's diagnosis #2 */ @064 DIAG3 6. /* Physician's diagnosis #3 */ @052 DIAG13D 4. /* Physician's diagnosis #1 - broad */ @058 DIAG23D 4. /* Physician's diagnosis #2 - broad */ @064 DIAG33D 4. /* Physician's diagnosis #3 - broad */ @070 URGENT 1. /* Urgency of this visit */ @071 ALCDRUG 1. /* Is visit alcohol or drug related? */ @072 MED 1. /* Were medications/injections ordered/provided? */ @073 NUMMED 1. /* Number of medications coded */ @074 MED1 $char5. /* Medication #1 */ @079 MED2 $char5. /* Medication #2 */ @084 MED3 $char5. /* Medication #3 */ @089 MED4 $char5. /* Medication #4 */ @094 MED5 $char5. /* Medication #5 */ @099 NODIAGSC 1. /* Diagnostic/screening services - None */ @100 BLODPRES 1. /* Blood pressure test */ @101 URINE 1. /* Urinalysis */ @102 HIVSER 1. /* HIV serology */ @103 EKG 1. /* EKG */ @104 CHESTXRY 1. /* Chest x-ray */ @105 EXTRXRAY 1. /* Extremity X-ray */ @106 OTHIMAG 1. /* Other diagnostic imaging */ @107 DIAGSC1 $char4. /* Other diag/screen service #1 - 4 digit */ @107 DIAGSC13 $char3. /* Other diag/screen service #1 - 3 digit */ @107 DIAGSC12 $char2. /* Other diag/screen service #1 - 2 digit */ @111 DIAGSC2 $char4. /* Other diag/screen service #2 - 4 digit */ @111 DIAGSC23 $char3. /* Other diag/screen service #2 - 3 digit */ @111 DIAGSC22 $char2. /* Other diag/screen service #2 - 2 digit */ @115 DIAGSC3 $char4. /* Other diag/screen service #3 - 4 digit */ @115 DIAGSC33 $char3. /* Other diag/screen service #3 - 3 digit */ @115 DIAGSC32 $char2. /* Other diag/screen service #3 - 2 digit */ @122 PROCNONE 1. /* Procedures - none */ @123 ENDOINT 1. /* Endotracheal intubation */ @124 CPR 1. /* CPR */ @125 IVFLUIDS 1. /* IV fluids */ @126 NGTUBE 1. /* NG tube/Gastric lavage */ @127 WOUND 1. /* Wound care */ @128 EYEENT 1. /* Eye/ENT care */ @129 ORTHOPED 1. /* Orthopedic care */ @130 BLADCATH 1. /* Bladder catheter */ @131 LUMBPUNC 1. /* Lumbar puncture */ @132 PROC1 $char4. /* Other procedure #1 - 4 digit */ @132 PROC13D $char3. /* Other procedure #1 - 3 digit */ @132 PROC12D $char2. /* Other procedure #1 - 2 digit */ @136 PROC2 $char4. /* Other procedure #2 - 4 digit */ @136 PROC23D $char3. /* Other procedure #2 - 3 digit */ @136 PROC22D $char2. /* Other procedure #2 - 2 digit */ @140 PROC3 $char4. /* Other procedure #3 - 4 digit */ @140 PROC33D $char3. /* Other procedure #3 - 3 digit */ @140 PROC32D $char2. /* Other procedure #3 - 2 digit */ @144 NOFOLLOW 1. /* No follow-up planned */ @145 EDPRN 1. /* Return to ED, P.R.N. (as needed) */ @146 EDAPPT 1. /* Return to ED - appointment */ @147 REFPHYS 1. /* Return to referring physician */ @148 REFOTHPH 1. /* Refer to other physician/clinic */ @149 ADMITHOS 1. /* Admitted to hospital */ @150 TRANSFER 1. /* Transferred to other facility */ @151 DOA 1. /* DOA/Died in ED */ @152 OTHERDIS 1. /* Other disposition */ @153 RESINT 1. /* Resident/Intern seen */ @154 STAFFPHY 1. /* Staff physician seen */ @155 OTHERPHY 1. /* Other Physician seen */ @156 PHYSASST 1. /* Physician assistant/Nurse prac seen */ @157 RN 1. /* Registered nurse seen */ @158 LPN 1. /* Licensed practical nurse seen */ @159 NURSAID 1. /* Nurse's aide seen */ @160 OTHERPRV 1. /* Other provider seen */ @161 PATWT 5. /* Patient visit weight (rounded) */ @166 REGION 1. /* Geographic region of hospital */ @167 MSA 1. /* Metro/non-metro status of location of hospital */ @168 OWNSMG 1. /* Hospital ownership */ @169 HOSPCODE 3. /* Hospital code */ @172 BDATEFL 1. /* Was patient's birth year imputed? */ @173 SEXFL 1. /* Was patient's sex imputed? */ @174 RACEFL 1. /* Was patient's race imputed? */ @175 ETHNICFL 1. /* Was patient's ethnicity imputed? */ @176 URGENTFL 1. /* Was urgency of visit imputed? */ @177 ALCFL 1. /* Was alcohol/drug related imputed? */ @178 DISPFL 1. /* Was disposition of visit imputed? */ @179 PROVFL 1. /* Was providers seen imputed? */ @180 GEN1 $char5. /* Generic name code for drug #1 */ @185 PRESCR1 1. /* Prescription status code for drug #1 */ @186 CONTSUB1 1. /* Controlled substance code for drug #1 */ @187 COMSTAT1 1. /* Composition status code for drug #1 */ @188 DRUGCL1 $char4. /* Drug class for drug #1 */ @192 DRG1ING1 $char5. /* Ingredient code #1 for drug #1 */ @197 DRG1ING2 $char5. /* Ingredient code #2 for drug #1 */ @202 DRG1ING3 $char5. /* Ingredient code #3 for drug #1 */ @207 DRG1ING4 $char5. /* Ingredient code #4 for drug #1 */ @212 DRG1ING5 $char5. /* Ingredient code #5 for drug #1 */ @217 GEN2 $char5. /* Generic name code for drug #2 */ @222 PRESCR2 1. /* Prescription status code for drug #2 */ @223 CONTSUB2 1. /* Controlled substance code for drug #2 */ @224 COMSTAT2 1. /* Composition status code for drug #2 */ @225 DRUGCL2 $char4. /* Drug class for drug #2 */ @229 DRG2ING1 $char5. /* Ingredient code #1 for drug #2 */ @234 DRG2ING2 $char5. /* Ingredient code #2 for drug #2 */ @239 DRG2ING3 $char5. /* Ingredient code #3 for drug #2 */ @244 DRG2ING4 $char5. /* Ingredient code #4 for drug #2 */ @249 DRG2ING5 $char5. /* Ingredient code #5 for drug #2 */ @254 GEN3 $char5. /* Generic name code for drug #3 */ @259 PRESCR3 1. /* Prescription status code for drug #3 */ @260 CONTSUB3 1. /* Controlled substance code for drug #3 */ @261 COMSTAT3 1. /* Composition status code for drug #3 */ @262 DRUGCL3 $char4. /* Drug class for drug #3 */ @266 DRG3ING1 $char5. /* Ingredient code #1 for drug #3 */ @271 DRG3ING2 $char5. /* Ingredient code #2 for drug #3 */ @276 DRG3ING3 $char5. /* Ingredient code #3 for drug #3 */ @281 DRG3ING4 $char5. /* Ingredient code #4 for drug #3 */ @286 DRG3ING5 $char5. /* Ingredient code #5 for drug #3 */ @291 GEN4 $char5. /* Generic name code for drug #4 */ @296 PRESCR4 1. /* Prescription status code for drug #4 */ @297 CONTSUB4 1. /* Controlled substance code for drug #4 */ @298 COMSTAT4 1. /* Composition status code for drug #4 */ @299 DRUGCL4 $char4. /* Drug class for drug #4 */ @303 DRG4ING1 $char5. /* Ingredient code #1 for drug #4 */ @308 DRG4ING2 $char5. /* Ingredient code #2 for drug #4 */ @313 DRG4ING3 $char5. /* Ingredient code #3 for drug #4 */ @318 DRG4ING4 $char5. /* Ingredient code #4 for drug #4 */ @323 DRG4ING5 $char5. /* Ingredient code #5 for drug #4 */ @328 GEN5 $char5. /* Generic name code for drug #5 */ @333 PRESCR5 1. /* Prescription status code for drug #5 */ @334 CONTSUB5 1. /* Controlled substance code for drug #5 */ @335 COMSTAT5 1. /* Composition status code for drug #5 */ @336 DRUGCL5 $char4. /* Drug class for drug #5 */ @340 DRG5ING1 $char5. /* Ingredient code #1 for drug #5 */ @345 DRG5ING2 $char5. /* Ingredient code #2 for drug #5 */ @350 DRG5ING3 $char5. /* Ingredient code #3 for drug #5 */ @355 DRG5ING4 $char5. /* Ingredient code #4 for drug #5 */ @360 DRG5ING5 $char5. /* Ingredient code #5 for drug #5 */ @365 RACER 1. /* Patient race recode: White, Black, Other */ @366 PATCODE 3. /* Patient code */ @500 STRATM 3. /* PSU stratum marker (masked) */ @503 PSUM 5. /* PSU marker (masked) */ @508 YEAR 4. /* Survey year (1994) */ @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) */ ;