Skip Navigation
Healthcare Cost and Utilization Project logo
KID Description of Data Elements
The KID is set of longitudinal hospital inpatient databases included in the HCUP family. These databases are created by AHRQ through a Federal-State-Industry partnership.
search icon
 
  Home      Databases      Tools & Software      Reports      News & Events      Technical Assistance   
 
NEcode - Number of E codes on this record
 
Documentation Sections:
General Notes
Uniform Values
State Specific Notes
General Notes
 

Prior to 2003, E-codes are included in the diagnosis array (DXn). Beginning in 2003, any separately reported E-codes and any E-codes encountered in the diagnosis array are placed in a separate array specific to E codes (ECODEn). NECODE indicates the total number of external cause of injury codes "E codes" (valid and invalid) that are included in the E code array (ECODEn)Prior to 2003, E-codes are included in the diagnosis array (DXn). Beginning in 2003, any separately reported E-codes and any E-codes encountered in the diagnosis array are placed in a separate array specific to E codes (ECODEn). NECODE indicates the total number of external cause of injury codes "E codes" (valid and invalid) that are included in the E code array (ECODEn)

In the NIS, only the first four E codes are retained on the record. Since the number of E codes on the original record (NEcode) can be greater than the number of E codes available on the NIS record, caution needs to be taken when using NEcode to loop through the E codes. A counter for the loop should not extend past 4. Programming code such as the following example SAS statement is needed to take this into account:

DO I = 1 to MIN(4,NEcode);
Followed by code to process all E codes.
END;

 
Top
 
Uniform Values
VariableDescriptionValueValue Description
NEcodeNumber of E codes on this recordnnNumber of E codes
 
Top
 
 
State Specific Notes
None
 
Top
 
 

Additional information is available on the AHRQ Website.
If you have comments, suggestions, and/or questions, please contact hcup@ahrq.gov.
Are you having problems viewing or printing pages on this Website?
Internet Citation: HCUP KID Description of Data Elements. Healthcare Cost and Utilization Project (HCUP). April 2008
Agency for Healthcare Research and Quality, Rockville, MD. www.hcup-us.ahrq.gov/db/vars/necode/kidnote.jsp.
Last modified 4/2/08