HEALTHCARE COST & UTILIZATION PROJECT

User Support

Do Your own analysis
Explore Expert Research & Limited Datasets

NIS Description of Data Elements

The following links provide data elements descriptions for the National (Nationwide) Inpatient Sample (NIS). Record layouts for the NIS files are available under File Specifications.

Data element descriptions explain how the data element is coded in the HCUP databases and what are the uniform values. The descriptions are cumulative across all years of NIS data from 1988 to the current data year. Please note the following:

  • Not all data elements in the NIS are uniformly coded across States. Please check the "State Specific Notes" section for each data element before analysis.
  • Not all data elements in the NIS are available from every State.
  • Not all data elements are available each year.

For certain data elements such as, but not limited to, patient race and ethnicity (RACE) and total charges (TOTCHG), more than one percent of NIS records have missing values. Users are advised to review frequencies for all data elements planned for use in their analysis and to consider analytic methods for dealing with missing data. The HCUP Methods Series Report #2015-01 provides guidance on alternative approaches to handling missing data in the NIS.

NIS File Structure

Other than data year 2015, which was split into two parts because of the switch from ICD-9-CM to ICD-10-CM/PCS coding, the NIS is an annual, calendar year file. There are three discharge-level files and one hospital-level file:

NIS Discharge-level files

  • Core File is a single file containing commonly used data elements (e.g., age, expected primary payer, ICD-10-CM/PCS codes, total charges).
    • This file is available in all years of the NIS.
    • Linkage between the discharge-level files
      • Prior to the 2012 NIS, the HCUP unique record identifier (KEY) provided the linkage between the discharge-level files.
      • Beginning with the 2012 NIS, the unique NIS record number (KEY_NIS) provides the linkage between the discharge-level files.
  • Severity File is a single file containing additional data elements to aid in identifying the severity of the condition for a specific discharge.
    • This file is available beginning with the 2002 NIS.
  • Diagnosis and Procedure Groups File is a single file containing additional information on the ICD-10-CM diagnoses and ICD-10-PCS procedures that is created by the Agency for Healthcare Research and Quality (AHRQ) software tools.
    • This file is available beginning with the 2005 NIS.
    • For data years 2016-2017, this file was not available in the NIS. Data elements derived from the ICD-10-CM/PCS AHRQ software tools were not included in the NIS because they were still in development and testing.
    • Beginning with data year 2018, this file is available in the NIS and includes data elements derived from the Clinical Classifications Software Refined (CCSR) for ICD-10-CM diagnoses.
    • Beginning with data year 2019, data elements derived from the Elixhauser Comorbidity Software Refined for ICD-10-CM, the CCSR for ICD-10-PCS procedures, and Procedure Classes Refined for ICD-10-CM are also available in this file.
    • Beginning with data year 2023, data elements derived from the Chronic Conditions Indicator Refined (CCIR) for ICD-10-CM are available for the file.

NIS Hospital-level file

  • Hospital File is a single file containing information on hospital characteristics.
    • This file is available in all years of the NIS.
    • Linkage between the Inpatient Core File and the Hospital File
      • Prior to the 2012 NIS, the HCUP hospital identifier (HOSPID) provided the linkage between the NIS Inpatient Core File and the Hospital File.
      • Beginning with the 2012 NIS, the NIS hospital number (HOSP_NIS) provides the linkage between the NIS Inpatient Core File and the Hospital File. The HOSP_NIS values are reassigned each year, so they cannot be used to link hospitals across years.

Users interested in applying AHRQ software tools to the NIS for data years including ICD-10-CM/PCS-coded data to produce data elements currently unavailable in the database files may do so by downloading the respective tool(s) from the Research Tools section of the HCUP User Support (HCUP-US) website. Additionally, users may wish to review the HCUP Software Tools Tutorial, which provides instructions on how to apply the AHRQ software tools to HCUP or other administrative databases.

For information on changes to the NIS in data year 2015, refer to the document 2015 Healthcare Cost and Utilization Project (HCUP) National Inpatient Sample: Change in Structure and Data Elements Caused by Transition to ICD-10-CM/PCS.

All NIS data elements are listed in alphabetical order below, showing the NIS file location for years other than 2015 and for 2015. For descriptions of HCUP data elements uniform values, check the corresponding boxes below and then click "View Description of Data Elements".

Check the corresponding boxes and then click

Abbreviations: DX, diagnosis; PR, procedure; Q1, discharge quarter 1; Q3, discharge quarter 3; Q4, discharge quarter 4.

HCUP Data Element Descriptive Title Years File(s) for years other than 2015 File(s) in 2015
Data elements change frequently, and are only current as of the date generated.
1988-1997 Core  
1988+ Core Core
2012+ Core Core
1988-2011 Core  
1988-2011 Hospital  
1988+ Core Core
2002+ Severity Q1Q3 and Q4 Severity
2002+ Severity Q1Q3 and Q4 Severity
2002+ Severity Q1Q3 and Q4 Severity
2002-2009 Severity  
2002-2009 Severity  
2002-2009 Severity  
2002-2009 Severity  
1988-2011 Core  
1988-2011 Core  
2003-2011 Core  
1988-2011 Core  
1998+ Core Core
2014-2015 Q3 Dx_Pr_Grps Q1Q3 Dx_Pr_Grps (not in Q4)
2023 Dx_Pr_Grps  
2023 Dx_Pr_Grps  
2005-2006 Dx_Pr_Grps  
2005-2006 Dx_Pr_Grps  
2005-2015 Q3 Dx_Pr_Grps Q1Q3 Dx_Pr_Grps (not in Q4)
2005-2013 Dx_Pr_Grps  
2002-2015 Q3 Severity Q1Q3 Severity (not in Q4)
2002-2015 Q3 Severity Q1Q3 Severity (not in Q4)
2002-2015 Q3 Severity Q1Q3 Severity (not in Q4)
2002-2015 Q3 Severity Q1Q3 Severity (not in Q4)
2002-2015 Q3 Severity Q1Q3 Severity (not in Q4)
2002-2015 Q3 Severity Q1Q3 Severity (not in Q4)
2002-2015 Q3 Severity Q1Q3 Severity (not in Q4)
2002-2015 Q3 Severity Q1Q3 Severity (not in Q4)
2002-2015 Q3 Severity Q1Q3 Severity (not in Q4)
2002-2015 Q3 Severity Q1Q3 Severity (not in Q4)
2002-2015 Q3 Severity Q1Q3 Severity (not in Q4)
2002-2015 Q3 Severity Q1Q3 Severity (not in Q4)
2002-2015 Q3 Severity Q1Q3 Severity (not in Q4)
2002-2015 Q3 Severity Q1Q3 Severity (not in Q4)
2002-2015 Q3 Severity Q1Q3 Severity (not in Q4)
2002-2015 Q3 Severity Q1Q3 Severity (not in Q4)
2002-2015 Q3 Severity Q1Q3 Severity (not in Q4)
2002-2015 Q3 Severity Q1Q3 Severity (not in Q4)
2002-2015 Q3 Severity Q1Q3 Severity (not in Q4)
2002-2015 Q3 Severity Q1Q3 Severity (not in Q4)
2002-2015 Q3 Severity Q1Q3 Severity (not in Q4)
2002-2015 Q3 Severity Q1Q3 Severity (not in Q4)
2002-2015 Q3 Severity Q1Q3 Severity (not in Q4)
2002-2015 Q3 Severity Q1Q3 Severity (not in Q4)
2002-2015 Q3 Severity Q1Q3 Severity (not in Q4)
2002-2015 Q3 Severity Q1Q3 Severity (not in Q4)
2002-2015 Q3 Severity Q1Q3 Severity (not in Q4)
2002-2015 Q3 Severity Q1Q3 Severity (not in Q4)
2002-2015 Q3 Severity Q1Q3 Severity (not in Q4)
2019+ DX_PR_GRPS  
2019+ DX_PR_GRPS  
1988-1997 Hospital  
1988-1997 Core  
1988+ Core Core
1998+ Core, Hospital Core, Hospital
1988-1997 Hospital  
1988-1997 Hospital  
1988-1997 Hospital  
1998-2004 Subsample  
2000 Core, Hospital  
2000 Subsample  
1988-1997 Core  
2007-2011 Core  
1998-2006 Core  
1998+ Core Core
1988+ Core Core
2006-2011 Core  
1988+ Core Q1Q3 and Q4 Dx_Pr_Grps
2008+ Core Q1Q3 and Q4 Dx_Pr_Grps
1988-1999 Core  
1998-2005 Core  
2006-2014 Core  
1988+ Core Q1Q3 and Q4 Dx_Pr_Grps
2002-2010 Severity  
2002-2007 Severity  
2002-2007 Severity  
2002-2007 Severity  
2002-2007 Severity  
2002-2007 Severity  
2002-2007 Severity  
2002-2010 Severity  
1988-2011 Core  
1988-1997 Core  
1988-1997 Core  
1988-1997 Core  
1988-1997 Core  
1988-2015 Q3 Core Q1Q3 Dx_Pr_Grps (not in Q4)
1998-2015 Q3 Core Q1Q3 Dx_Pr_Grps (not in Q4)
2018+ DX_PR_GRPS  
2018+ DX_PR_GRPS  
2018+ DX_PR_GRPS  
2009-2015 Q3 Dx_Pr_Grps Q1Q3 Dx_Pr_Grps (not in Q4)
1988-1997 Core  
2015-2017 Core Q1Q3 and Q4 Dx_Pr_Grps
1988-1997 Core  
2003-2015 Q3 Core Q1Q3 Dx_Pr_Grps (not in Q4)
2009-2015 Q3 Dx_Pr_Grps Q1Q3 Dx_Pr_Grps (not in Q4)
2005-2006 Dx_Pr_Grps  
2003-2015 Q3 Core Q1Q3 Dx_Pr_Grps (not in Q4)
2002+ Core Core
1998+ Core Core
1993-1997 Hospital  
1993-1997, 2008+ Hospital Hospital
1993-1997 Hospital  
1993-1997 Hospital  
1993-1997 Hospital  
1993-1997 Hospital  
2007+ Core Core
2004-2011 Hospital  
1998+ Hospital Hospital
1998-2011 Hospital  
2012-2022 Core, Hospital Core, Hospital
1998-2011 Hospital  
1998+ Hospital Hospital
2007-2011 Hospital  
2007-2011 Hospital  
2007-2011 Hospital  
2007-2011 Hospital  
2012+ Core, Hospital, Severity, Dx_Pr_Grps Core, Hospital, Q1Q3 and Q4 Severity, Q1Q3 and Q4 Dx_Pr_Grps
2007-2011 Hospital  
1998-2022 Hospital Hospital
2007-2011 Hospital  
2007-2011 Hospital  
1998-2011 Hospital  
1993-2011 Hospital  
2006-2015 Q3 Core Q1Q3 Dx_Pr_Grps (not in Q4)
1993-2011 Hospital  
1998-2011 Core, Hospital, Severity, Dx_Pr_Grps  
1993-2011 Hospital  
1988-2011 Core, Hospital  
1988-2011 Core (1988-2002), Hospital (2002-2011)  
1998-2011 Hospital  
1988-1997 Hospital  
1988-1997 Hospital  
1988-1997 Hospital  
1993-2011 Hospital  
2019+ Core  
2019+ Core  
2015 Q4, 2016+ Core Q4 Dx_Pr_Grps
2015 Q4, 2016 Core Q4 Dx_Pr_Grps
2019+ Core  
2019+ Core  
2015 Q4, 2016+ Core Q4 Dx_Pr_Grps
2015 Q4, 2016 Core Q4 Dx_Pr_Grps
2015 Q4, 2016+ Core Q4 Dx_Pr_Grps
2015 Q4, 2016+ Core Q4 Dx_Pr_Grps
2019+ Core  
1988-2011 Hospital  
1998-2011 Core, Severity, Dx_Pr_Grps  
2012+ Core, Severity, Dx_Pr_Grps Core, Q1Q3 and Q4 Severity, Q1Q3 and Q4 Dx_Pr_Grps
1988-1992 Hospital  
1988+ Core Core
1988-2011 Core  
1988+ Core Q1Q3 and Q4 Dx_Pr_Grps
2009+ Core Q1Q3 and Q4 Dx_Pr_Grps
1988-1999 Core  
1998-2005 Core  
2006-2014 Core  
1988-2000 Core  
2003-2009 Core  
2001-2002 Core  
2003-2009 Core  
2001-2002 Core  
1988-1997 Hospital  
1988-1997 Hospital  
1988+ Hospital Hospital
1988-1997 Hospital  
1988-1997 Hospital  
1988+ Hospital Hospital
2008-2015 Q3 Core Q1Q3 Dx_Pr_Grps (not in Q4)
1988-2015 Q3 Core Q1Q3 Dx_Pr_Grps (not in Q4)
2003-2015 Q3 Core Q1Q3 Dx_Pr_Grps (not in Q4)
1988-2015 Q3 Core Q1Q3 Dx_Pr_Grps (not in Q4)
1998+ Core (2000+), Hospital Core, Hospital
1988-2015 Q3 Core Q1Q3 Dx_Pr_Grps (not in Q4)
2008-2015 Q3 Core Q1Q3 Dx_Pr_Grps (not in Q4)
1988+ Core Core
1988-1997 Core  
1998-2011 Core  
1988-2011 Core  
1988-1997 Core  
1998-2011 Core  
1988-1997 Core  
2005-2015 Q3; 2019+ Dx_Pr_Grps Q1Q3 Dx_Pr_Grps (not in Q4)
2019+ Core  
2019+ DX_PR_GRPS  
2013-2022 Core Core
2023 Core  
2007-2012 Core  
2003-2006 Core  
2007-2011 Core  
2007-2011 Core  
1988-2015 Q3 Core Q1Q3 Dx_Pr_Grps (not in Q4)
1998-2015 Q3 Core Q1Q3 Dx_Pr_Grps (not in Q4)
2019+ DX_PR_GRPS Q1Q3 Dx_Pr_Grps (not in Q4)
2019+ DX_PR_GRPS  
1988+ Core Q1Q3 Dx_Pr_Grps (not in Q4)
2009-2015 Q3 Dx_Pr_Grps Q1Q3 Dx_Pr_Grps (not in Q4)
1988-1997 Core  
1988-1997 Core  
2015-2017 Core Q1Q3 and Q4 Dx_Pr_Grps
1988-1997 Core  
1988-2022 Core Core
1988-1997 Hospital  
1988+ Hospital Hospital
1988-1997 Hospital  
1988+ Hospital Hospital
1988-1997 Core  
1993-1997 Core  
2014-2015 Q3 Core Q1Q3 Dx_Pr_Grps (not in Q4)
1988-1997 Core  
1988-1992 Hospital  
1988-1992 Hospital  
1988-1992 Hospital  
1988-1997 Hospital  
1988-1997 Hospital  
1988-2000 Core  
1998+ Hospital Hospital
1988-2022 Core Core
2023 Core  
1988-2011 Core  
1988-1997 Hospital  
2008+ Core Core
2010+ Core Core
1988+ Core, Hospital Core, Hospital
1998-2002 Core  
2003+ Core Core
1988-1997 Core  
1988-1997 Core  

Abbreviations: DX, diagnosis; PR, procedure; Q1, discharge quarter 1; Q3, discharge quarter 3; Q4, discharge quarter 4.

*Beginning with 2017, external cause codes are at the end of the ICD-10-CM diagnosis array.

Check the corresponding boxes and then click