/* PROGRAM: ED03INP PURPOSE: INPUT STATEMENT TO CREATE 2003 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 @1 VMONTH 2. /*Month of Visit */ @3 VYEAR 4. /*Year of Visit */ @7 VDAYR 1. /*Day of Week of Visit - recoded */ @8 AGE 3. /*Patient age in years */ @11 ARRTIME $CHAR4. /*Arrival time */ @15 WAITTIME 3. /*Waiting time to see physician (minutes) */ @18 LOV 4. /*Length of visit (minutes) */ @22 RESIDE 1. /*Does patient reside in nursing home? */ @23 SEX 1. /*Patient sex */ @24 ETHNIC 1. /*Patient ethnicity */ @25 ARRIVE 1. /*Mode of arrival */ @26 RACE 1. /*Patient race */ @27 PAYTYPE 1. /*Expected source of payment for this visit */ @28 TEMPF 4. /*Initial temperature (F) */ @32 PULSE 3. /*Initial pulse */ @35 BPSYS 3. /*Initial BP - Systolic */ @38 BPDIAS 3. /*Initial BP - Diastolic */ @41 ORIENTED 1. /*Oriented x 3 */ @42 IMMED 1. /*Immediacy with which patient should be seen */ @43 PAIN 1. /*Presenting level of pain */ @44 RFV1 5. /*Reason for Visit #1 */ @49 RFV2 5. /*Reason for Visit #2 */ @54 RFV3 5. /*Reason for Visit #3 */ @44 RFV13D 4. /*Patient's reason for visit #1 - broad */ @49 RFV23D 4. /*Patient's reason for visit #2 - broad */ @54 RFV33D 4. /*Patient's reason for visit #3 - broad */ @59 ALCOHOL 1. /*Is visit related to alcohol use? */ @60 VWORKREL 1. /*Is this visit work related? */ @61 SEEN72 1. /*Seen in ED last 72 hours? */ @62 EPISODE 1. /*Episode of care */ @63 INJURY 1. /*Is visit related to injury or poisoning? */ @64 INTENT 1. /*Intentionality of injury */ @65 CAUSE1 $CHAR4. /*Cause of injury #1 */ @69 CAUSE2 $CHAR4. /*Cause of injury #2 */ @73 CAUSE3 $CHAR4. /*Cause of injury #3 */ @65 CAUSE13D $CHAR3. /*Cause of injury #1 - broad */ @69 CAUSE23D $CHAR3. /*Cause of injury #2 - broad */ @73 CAUSE33D $CHAR3. /*Cause of injury #3 - broad */ @77 VCAUSE $CHAR75. /*Verbatim cause of injury */ @152 DIAG1 $CHAR5. /*Physician's diagnosis #1 */ @157 DIAG2 $CHAR5. /*Physician's diagnosis #2 */ @162 DIAG3 $CHAR5. /*Physician's diagnosis #3 */ @152 DIAG13D $CHAR3. /*Physician's diagnosis #1 - broad */ @157 DIAG23D $char3. /*Physician's diagnosis #2 - broad */ @162 DIAG33D $char3. /*Physician's diagnosis #3 - broad */ @167 PRDIAG1 1. /*Is DIAG1 probable, questionable, or ruleout? */ @168 PRDIAG2 1. /*Is DIAG2 probable, questionable, or ruleout? */ @169 PRDIAG3 1. /*Is DIAG3 probable, questionable, or ruleout? */ @170 DIAGSCRN 1. /*Were diag/screen serv ordered or provided? */ @171 MEDSCRNX 1. /*Medical screening exam */ @172 MENSTAT 1. /*Mental status */ @173 EKG 1. /*EKG */ @174 CARDMON 1. /*Cardiac monitor */ @175 EEG 1. /*EEG */ @176 PULSOXIM 1. /*Pulse oximetry */ @177 PREGTEST 1. /*Pregnancy test */ @178 URINE 1. /*Urinalysis */ @179 CHESTXRY 1. /*Chest X-ray */ @180 EXTRXRAY 1. /*Extremity X-ray */ @181 OTHERXRY 1. /*Other X-ray */ @182 ULTRASND 1. /*Ultrasound */ @183 MRICAT 1. /*MRI/CAT scan */ @184 OTHIMAGE 1. /*Other imaging */ @185 CBC 1. /*CBC */ @186 BUN 1. /*BUN */ @187 CREATIN 1. /*Creatinine */ @188 CHOLEST 1. /*Cholesterol */ @189 GLUCOSE 1. /*Glucose */ @190 HGBA 1. /*HgbA1C */ @191 ELECTROL 1. /*Electrolytes */ @192 BAC 1. /*Blood alcohol */ @193 HIVSER 1. /*HIV serology */ @194 OTHERBLD 1. /*Other blood test */ @195 BLOODCX 1. /*Blood culture */ @196 CERVCX 1. /*Cervical/urethral culture */ @197 STOOLCX 1. /*Stool culture */ @198 THROATCX 1. /*Throat culture */ @199 URINECX 1. /*Urine culture */ @200 OTHRTEST 1. /*Other test/service */ @201 TOTDIAG 2. /*Total number of diagnostic services */ @203 PROC 1. /*Were any procedures provided at this visit? */ @204 BLADCATH 1. /*Bladder catheter */ @205 CPR 1. /*CPR */ @206 ENDOINT 1. /*Endotracheal intubation */ @207 EYEENT 1. /*EYE/ENT care */ @208 IVFLUIDS 1. /*IV fluids */ @209 NGTUBE 1. /*NG tube/gastric lavage */ @210 OBGYN 1. /*OB/GYN care */ @211 ORTHO 1. /*Orthopedic care */ @212 THROMBO 1. /*Thrombolytic therapy */ @213 WOUND 1. /*Wound care */ @214 OTHPROC 1. /*Other procedure */ @215 TOTPROC 2. /*Total number of procedures */ @217 MED 1. /*Were medications/injections ordered/provided?*/ @218 MED1 $CHAR5. /*MCL #1 */ @223 MED2 $CHAR5. /*MCL #2 */ @228 MED3 $CHAR5. /*MCL #3 */ @233 MED4 $CHAR5. /*MCL #4 */ @238 MED5 $CHAR5. /*MCL #5 */ @243 MED6 $CHAR5. /*MCL #6 */ @248 MED7 $CHAR5. /*MCL #7 */ @253 MED8 $CHAR5. /*MCL #8 */ @258 NUMMED 1. /*Number of medications coded */ @259 NODISP 1. /*Visit disposition - no answer to item */ @260 NOFU 1. /*No followup planned */ @261 RETPRN 1. /*Return if needed, P.R.N./appt. */ @262 RETREF 1. /*Return to referring physician */ @263 REFOTHMD 1. /*Return to other physician/clinic for followup*/ @264 OUTTRIAG 1. /*Refer out from triage without treatment */ @265 REFALCDR 1. /*Refer to alcohol or drug treatment program */ @266 RETTXSUP 1. /*Refer to non-physician treatment or support */ @267 LEFT 1. /*Left before being seen */ @268 LEFTAMA 1. /*Left AMA */ @269 ADMITOBS 1. /*Admit for 23 hr observation */ @270 ADMITHOS 1. /*Admit to hospital */ @271 ADMITICU 1. /*Admit to ICU/CCU */ @272 TRANSFER 1. /*Transfer to other facility */ @273 DOA 1. /*DOA/died in ED */ @274 OTHDISP 1. /*Other disposition */ @275 NOPROVID 1. /*Provider seen - no answer to item */ @276 STAFFMD 1. /*Staff physician */ @277 RESINT 1. /*Resident/intern */ @278 OTHPHYS 1. /*Other physician */ @279 RN 1. /*RN */ @280 LPN 1. /*LPN */ @281 NURSEPR 1. /*Nurse practitioner */ @282 PHYSASST 1. /*Physician assistant */ @283 EMT 1. /*Emergency med tech */ @284 OTHTECH 1. /*Other technician */ @285 OTHPROV 1. /*Other provider */ @286 PATWT 6. /*Patient visit weight */ @292 REGION 1. /*Geographic region */ @293 MSA 1. /*MSA/nonMSA */ @294 OWNER 1. /*Hospital ownership */ @295 Blank1 1. /*reserved for future use */ @296 Blank2 1. /*reserved for future use */ @297 Blank3 1. /*reserved for future use */ @298 HOSPCODE 3. /*Hospital code */ @301 PATCODE 3. /*Patient code */ @304 BDATEFL 1. /*Was patient birth year imputed? */ @305 SEXFL 1. /*Was patient sex imputed? */ @306 ETHNICFL 1. /*Was patient ethnicity imputed? */ @307 RACEFL 1. /*Was patient race imputed? */ @308 IMMEDFL 1. /*Was immediacy of visit imputed? */ @309 GEN1 $CHAR5. /*Generic code for med #1 */ @314 PRESCR1 1. /*Prescription status code */ @315 CONTSUB1 1. /*Controlled substance code */ @316 COMSTAT1 1. /*Composition status code */ @317 DRUG1CL1 $CHAR4. /*NDC Drug Class #1 for Medication #1 */ @321 DRUG1CL2 $CHAR4. /*NDC Drug Class #2 for Medication #1 */ @325 DRUG1CL3 $CHAR4. /*NDC Drug Class #3 for Medication #1 */ @329 DRG1ING1 $CHAR5. /*Ing. #1 */ @334 DRG1ING2 $CHAR5. /*Ing. #2 */ @339 DRG1ING3 $CHAR5. /*Ing. #3 */ @344 DRG1ING4 $CHAR5. /*Ing. #4 */ @349 DRG1ING5 $CHAR5. /*Ing. #5 */ @354 GEN2 $CHAR5. /*Generic code for med. #2 */ @359 PRESCR2 1. /*Prescription status code */ @360 CONTSUB2 1. /*Controlled substance code */ @361 COMSTAT2 1. /*Composition status code */ @362 DRUG2CL1 $CHAR4. /*NDC Drug Class #1 for Medication #2 */ @366 DRUG2CL2 $CHAR4. /*NDC Drug Class #2 for Medication #2 */ @370 DRUG2CL3 $CHAR4. /*NDC Drug Class #3 for Medication #2 */ @374 DRG2ING1 $CHAR5. /*Ing. #1 */ @379 DRG2ING2 $CHAR5. /*Ing. #2 */ @384 DRG2ING3 $CHAR5. /*Ing. #3 */ @389 DRG2ING4 $CHAR5. /*Ing. #4 */ @394 DRG2ING5 $CHAR5. /*Ing. #5 */ @399 GEN3 $CHAR5. /*Generic code for med. #3 */ @404 PRESCR3 1. /*Prescription status code */ @405 CONTSUB3 1. /*Controlled substance code */ @406 COMSTAT3 1. /*Composition status code */ @407 DRUG3CL1 $CHAR4. /*NDC Drug Class #1 for Medication #3 */ @411 DRUG3CL2 $CHAR4. /*NDC Drug Class #2 for Medication #3 */ @415 DRUG3CL3 $CHAR4. /*NDC Drug Class #3 for Medication #3 */ @419 DRG3ING1 $CHAR5. /*Ing. #1 */ @424 DRG3ING2 $CHAR5. /*Ing. #2 */ @429 DRG3ING3 $CHAR5. /*Ing. #3 */ @434 DRG3ING4 $CHAR5. /*Ing. #4 */ @439 DRG3ING5 $CHAR5. /*Ing. #5 */ @444 GEN4 $CHAR5. /*Generic code for med. #4 */ @449 PRESCR4 1. /*Prescription status code */ @450 CONTSUB4 1. /*Controlled substance code */ @451 COMSTAT4 1. /*Composition status code */ @452 DRUG4CL1 $CHAR4. /*NDC Drug Class #1 for Medication #4 */ @456 DRUG4CL2 $CHAR4. /*NDC Drug Class #2 for Medication #4 */ @460 DRUG4CL3 $CHAR4. /*NDC Drug Class #3 for Medication #4 */ @464 DRG4ING1 $CHAR5. /*Ing. #1 */ @469 DRG4ING2 $CHAR5. /*Ing. #2 */ @474 DRG4ING3 $CHAR5. /*Ing. #3 */ @479 DRG4ING4 $CHAR5. /*Ing. #4 */ @484 DRG4ING5 $CHAR5. /*Ing. #5 */ @489 GEN5 $CHAR5. /*Generic code for med. #5 */ @494 PRESCR5 1. /*Prescription status code */ @495 CONTSUB5 1. /*Controlled substance code */ @496 COMSTAT5 1. /*Composition status code */ @497 DRUG5CL1 $CHAR4. /*NDC Drug Class #1 for Medication #5 */ @501 DRUG5CL2 $CHAR4. /*NDC Drug Class #2 for Medication #5 */ @505 DRUG5CL3 $CHAR4. /*NDC Drug Class #3 for Medication #5 */ @509 DRG5ING1 $CHAR5. /*Ing. #1 */ @514 DRG5ING2 $CHAR5. /*Ing. #2 */ @519 DRG5ING3 $CHAR5. /*Ing. #3 */ @524 DRG5ING4 $CHAR5. /*Ing. #4 */ @529 DRG5ING5 $CHAR5. /*Ing. #5 */ @534 GEN6 $CHAR5. /*Generic code for med. #6 */ @539 PRESCR6 1. /*Prescription status code */ @540 CONTSUB6 1. /*Controlled substance code */ @541 COMSTAT6 1. /*Composition status code */ @542 DRUG6CL1 $CHAR4. /*NDC Drug Class #1 for Medication #6 */ @546 DRUG6CL2 $CHAR4. /*NDC Drug Class #2 for Medication #6 */ @550 DRUG6CL3 $CHAR4. /*NDC Drug Class #3 for Medication #6 */ @554 DRG6ING1 $CHAR5. /*Ing. #1 */ @559 DRG6ING2 $CHAR5. /*Ing. #2 */ @564 DRG6ING3 $CHAR5. /*Ing. #3 */ @569 DRG6ING4 $CHAR5. /*Ing. #4 */ @574 DRG6ING5 $CHAR5. /*Ing. #5 */ @579 GEN7 $CHAR5. /*Generic code for med. #7 */ @584 PRESCR7 1. /*Prescription status code */ @585 CONTSUB7 1. /*Controlled substance code */ @586 COMSTAT7 1. /*Composition status code */ @587 DRUG7CL1 $CHAR4. /*NDC Drug Class #1 for Medication #7 */ @591 DRUG7CL2 $CHAR4. /*NDC Drug Class #2 for Medication #7 */ @595 DRUG7CL3 $CHAR4. /*NDC Drug Class #3 for Medication #7 */ @599 DRG7ING1 $CHAR5. /*Ing. #1 */ @604 DRG7ING2 $CHAR5. /*Ing. #2 */ @609 DRG7ING3 $CHAR5. /*Ing. #3 */ @614 DRG7ING4 $CHAR5. /*Ing. #4 */ @619 DRG7ING5 $CHAR5. /*Ing. #5 */ @624 GEN8 $CHAR5. /*Generic code for med. #8 */ @629 PRESCR8 1. /*Prescription status code */ @630 CONTSUB8 1. /*Controlled substance code */ @631 COMSTAT8 1. /*Composition status code */ @632 DRUG8CL1 $CHAR4. /*NDC Drug Class #1 for Medication #8 */ @636 DRUG8CL2 $CHAR4. /*NDC Drug Class #2 for Medication #8 */ @640 DRUG8CL3 $CHAR4. /*NDC Drug Class #3 for Medication #8 */ @644 DRG8ING1 $CHAR5. /*Ing. #1 */ @649 DRG8ING2 $CHAR5. /*Ing. #2 */ @654 DRG8ING3 $CHAR5. /*Ing. #3 */ @659 DRG8ING4 $CHAR5. /*Ing. #4 */ @664 DRG8ING5 $CHAR5. /*Ing. #5 */ @669 RACER 1. /*Race recode */ @670 AGEDAYS 3. /*Age in days for patients less than one year */ @673 AGER 1. /*Age recode */ @674 CAUSE1R 4. /*Cause of Injury #1 - numeric recode */ @678 CAUSE2R 4. /*Cause of injury #2 - numeric recode */ @682 CAUSE3R 4. /*Cause of injury #3 - numeric recode */ @686 INTENTR 1. /*Intentionality recode */ @687 DIAG1R 6. /*Physician's diagnosis #1 - numeric recode */ @693 DIAG2R 6. /*Physician's diagnosis #2 - numeric recode */ @699 DIAG3R 6. /*Physician's diagnosis #3 - numeric recode */ @705 WHOCOMP 1. /*Who completed the Patient Record forms? */ @706 SETTYPE 1. /*Setting type */ @707 YEAR 4. /*Survey year (2003) */ @711 CSTRATM 8. /*Clustered PSU stratum marker (masked) */ @719 CPSUM 6. /*Clustered PSU marker (masked) */ ;