CDC en Español

National Center for Health Statistics  Monitoring the Nation's Health

Injury Data and Resources

  • Email this page

Injury Data LogoInstructions:  Step-by-Step Guide to Accessing NHAMCS-ED Public Use Data Files and Programs to Select Injury Records and Calculate Rates

 

SAS Statements for NHAMCS-ED External Cause of Injury Matrix

 

SAS statements for assigning external cause of injury codes to mechanism and intent of injury based on the ICD-9-CM external cause of injury matrix

 

Run the following statements:

 

IF (CAUSE1 GE 8000 AND CAUSE1 LE 9999) THEN DO;
CAUSEDET=substr(left(CAUSE1),1,3);
CAUSEDT4=substr(left(CAUSE1),1,4);
PERSINJ=substr(left(CAUSE1),4,4);
END;

 

along with SAS Statements for External Cause of Injury Morbidity Matrix in a SAS data step to assign external cause of injury codes to mechanism and intent of injury based on the ICD-9-CM external cause of injury matrix.

 

 

Page Last Modified: October 15, 2008

Our Links

What's New

Quick Links

Related Links

Contact Injury

Special Projects Branch
Office of Analysis and Epidemiology
NCHS, Centers for Disease Control and Prevention
Mailstop P08
nchsinjury@cdc.gov

National Center for Health Statistics
3311 Toledo Road
Hyattsville, MD 20782
Phone: 1-800-232-4636
nchsquery@cdc.gov

Safer Healthier People

Centers for Disease Control and Prevention, 1600 Clifton Rd, Atlanta, GA 30333, U.S.A
Tel: (404) 639-3311 / Public Inquiries: (404) 639-3534 / (800) 311-3435