/* PROGRAM: ED92INP PURPOSE: INPUT STATEMENT TO READ 1992 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. PATCODE variable and masked design variables added 8/2008 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 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 REASON 1. /* Major reason for this visit */ @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 OTHBLOOD 1. /* Other blood test */ @104 EKG 1. /* EKG */ @105 MENTSTAT 1. /* Mental status exam */ @106 CHESTXRY 1. /* Chest x-ray */ @107 EXTRXRAY 1. /* Extremity X-ray */ @108 CTMRI 1. /* CT Scan/MRI */ @109 OTHIMAG 1. /* Other diagnostic imaging */ @110 OTHDIAG 1. /* Other diagnostic/screening service */ @111 PROCNONE 1. /* Procedures - none */ @112 ENDOINT 1. /* Endotracheal intubation */ @113 CPR 1. /* CPR */ @114 IVFLUIDS 1. /* IV fluids */ @115 NGTUBE 1. /* NG tube/Gastric lavage */ @116 WOUND 1. /* Wound care */ @117 EYEENT 1. /* Eye/ENT care */ @118 ORTHOPED 1. /* Orthopedic care */ @119 BLADCATH 1. /* Bladder catheter */ @120 LUMBPUNC 1. /* Lumbar puncture */ @121 OTHPROC 1. /* Other procedure */ @122 EDPRN 1. /* Return to ED, P.R.N. (as needed) */ @123 EDAPPT 1. /* Return to ED - appointment */ @124 REFPHYS 1. /* Return to referring physician */ @125 REFOTHPH 1. /* Refer to other physician/clinic */ @126 ADMITHOS 1. /* Admitted to hospital */ @127 TRANSFER 1. /* Transferred to other facility */ @128 DOA 1. /* DOA/Died in ED */ @129 LEFTAMA 1. /* Left AMA (against medical advice) */ @130 NOFOLLOW 1. /* No follow-up planned */ @131 OTHERDIS 1. /* Other disposition */ @132 RESINT 1. /* Resident/Intern seen */ @133 STAFFPHY 1. /* Staff physician seen */ @134 OTHERPHY 1. /* Other Physician seen */ @135 PHYSASST 1. /* Physician assistant seen */ @136 NURSPRAC 1. /* Nurse practitioner */ @137 RN 1. /* Registered nurse seen */ @138 LPN 1. /* Licensed practical nurse seen */ @139 NURSAID 1. /* Nurse's aide seen */ @140 PATWT 5. /* Patient visit weight (rounded) */ @146 REGION 1. /* Geographic region of hospital */ @147 MSA 1. /* Metro/non-metro status of location of hospital */ @147 OWNSMG 1. /* Hospital ownership */ @149 HOSPCODE 3. /* Hospital code */ @152 BDATEFL 1. /* Was patient's birth year imputed? */ @153 SEXFL 1. /* Was patient's sex imputed? */ @154 RACEFL 1. /* Was patient's race imputed? */ @155 ETHNICFL 1. /* Was patient's ethnicity imputed? */ @156 URGENTFL 1. /* Was urgency of visit imputed? */ @157 ALCFL 1. /* Was alcohol/drug related imputed? */ @158 DISPFL 1. /* Was disposition of visit imputed? */ @159 PROVFL 1. /* Was providers seen imputed? */ @160 GEN1 $char5. /* Generic name code for drug #1 */ @165 PRESCR1 1. /* Prescription status code for drug #1 */ @166 CONTSUB1 1. /* Controlled substance code for drug #1 */ @167 COMSTAT1 1. /* Composition status code for drug #1 */ @168 DRUGCL1 $char2. /* Drug class for drug #1 */ @170 DRG1ING1 $char5. /* Ingredient code #1 for drug #1 */ @175 DRG1ING2 $char5. /* Ingredient code #2 for drug #1 */ @180 DRG1ING3 $char5. /* Ingredient code #3 for drug #1 */ @185 DRG1ING4 $char5. /* Ingredient code #4 for drug #1 */ @190 DRG1ING5 $char5. /* Ingredient code #5 for drug #1 */ @195 GEN2 $char5. /* Generic name code for drug #2 */ @200 PRESCR2 1. /* Prescription status code for drug #2 */ @201 CONTSUB2 1. /* Controlled substance code for drug #2 */ @202 COMSTAT2 1. /* Composition status code for drug #2 */ @203 DRUGCL2 $char2. /* Drug class for drug #2 */ @205 DRG2ING1 $char5. /* Ingredient code #1 for drug #2 */ @210 DRG2ING2 $char5. /* Ingredient code #2 for drug #2 */ @215 DRG2ING3 $char5. /* Ingredient code #3 for drug #2 */ @220 DRG2ING4 $char5. /* Ingredient code #4 for drug #2 */ @225 DRG2ING5 $char5. /* Ingredient code #5 for drug #2 */ @230 GEN3 $char5. /* Generic name code for drug #3 */ @235 PRESCR3 1. /* Prescription status code for drug #3 */ @236 CONTSUB3 1. /* Controlled substance code for drug #3 */ @237 COMSTAT3 1. /* Composition status code for drug #3 */ @238 DRUGCL3 $char2. /* Drug class for drug #3 */ @240 DRG3ING1 $char5. /* Ingredient code #1 for drug #3 */ @245 DRG3ING2 $char5. /* Ingredient code #2 for drug #3 */ @250 DRG3ING3 $char5. /* Ingredient code #3 for drug #3 */ @255 DRG3ING4 $char5. /* Ingredient code #4 for drug #3 */ @260 DRG3ING5 $char5. /* Ingredient code #5 for drug #3 */ @265 GEN4 $char5. /* Generic name code for drug #4 */ @270 PRESCR4 1. /* Prescription status code for drug #4 */ @271 CONTSUB4 1. /* Controlled substance code for drug #4 */ @272 COMSTAT4 1. /* Composition status code for drug #4 */ @273 DRUGCL4 $char2. /* Drug class for drug #4 */ @275 DRG4ING1 $char5. /* Ingredient code #1 for drug #4 */ @280 DRG4ING2 $char5. /* Ingredient code #2 for drug #4 */ @285 DRG4ING3 $char5. /* Ingredient code #3 for drug #4 */ @290 DRG4ING4 $char5. /* Ingredient code #4 for drug #4 */ @295 DRG4ING5 $char5. /* Ingredient code #5 for drug #4 */ @300 GEN5 $char5. /* Generic name code for drug #5 */ @305 PRESCR5 1. /* Prescription status code for drug #5 */ @306 CONTSUB5 1. /* Controlled substance code for drug #5 */ @307 COMSTAT5 1. /* Composition status code for drug #5 */ @308 DRUGCL5 $char2. /* Drug class for drug #5 */ @310 DRG5ING1 $char5. /* Ingredient code #1 for drug #5 */ @315 DRG5ING2 $char5. /* Ingredient code #2 for drug #5 */ @320 DRG5ING3 $char5. /* Ingredient code #3 for drug #5 */ @325 DRG5ING4 $char5. /* Ingredient code #4 for drug #5 */ @330 DRG5ING5 $char5. /* Ingredient code #5 for drug #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 department code */ @520 SU 3. /* Hospital sampling unit code */ @523 CLINIC 3. /* Hosp emergency service area/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) */ ;