Skip Navigation

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.
 
I10_DXn - ICD-10-CM Diagnosis
 
Documentation Sections:
General Notes
Uniform Values
State Specific Notes
General Notes
 

Beginning in the fourth quarter of 2015, International Classification of Diseases, Tenth Revision, Clinical Modification (ICD-10-CM) diagnoses reported on HCUP records are stored in the data element I10_DXn. In data prior to the fourth quarter of 2015, International Classification of Diseases, Ninth Revision, Clinical Modification (ICD-9-CM) diagnoses reported on HCUP records are stored in the data element DXn.

In the HCUP inpatient databases, the first listed diagnosis is the principal diagnosis defined as the condition established after study to be chiefly responsible for occasioning the admission of the patient to the hospital for care. In the HCUP outpatient databases, the first listed diagnosis is the condition, symptom, or problem identified in the medical record to be chiefly responsible for the outpatient visit.

In the HCUP databases, ICD-10-CM diagnoses are represented by alphanumeric codes with a maximum length of 7 characters and implicit decimals (i.e., decimals not included). The HCUP data elements for ICD-10-CM diagnoses are length 7. The first digit is always character, the second digit is always numeric, and all subsequent digits can be character or numeric. The codes are left-justified in the HCUP databases. For example, the diagnosis code C4A.4 would appear as 'C4A4 ' with trailing blanks in the HCUP data.

The original value of the first listed diagnosis (I10_DX1), whether blank or coded, is retained in the first position of the diagnosis vector. Starting at the first secondary diagnosis (I10_DX2), the diagnoses are shifted during HCUP processing to eliminate blank secondary diagnoses. For example, if I10_DX2 and I10_DX4 contain nonmissing diagnoses and I10_DX3 is blank, then the value of I10_DX4 is shifted into I10_DX3. Secondary diagnoses are never shifted into the first listed position (I10_DX1).

Beginning with the 2017 HCUP databases, external cause of morbidity codes are included with other diagnoses in the diagnosis-related data elements (I10_DXn, I10_NDX, and DXPOAn). These external cause of morbidity codes were retained in separate data elements (I10_ECAUSEn, I10_NECAUSE, and E_POAn) for quarter four of 2015 and all of 2016. Under ICD-9-CM (prior to quarter four of 2015), the separate external cause of injury data elements were retained in the data elements ECODEn, NECODE, and E_POAn.

Diagnoses are compared to a list of ICD-10-CM codes valid for the discharge date. Anticipation of or lags in response to official ICD-10-CM coding changes are permitted for discharges occurring within a window of time (six months before and six months after) around the official ICD-10-CM coding changes (usually October 1). If the diagnosis contains intermittent blank characters or is zero filled, then the diagnosis will be considered invalid.

Diagnoses are compared to the sex of the patient (edit check EDX03) and the patient's age (edit checks EAGE04 and EAGE05) for checking the internal consistency of the record.

Invalid and inconsistent codes are handled in the following way:

  Invalid Diagnosis Inconsistent Code
The value of I10_DXn "invl" "incn"
I10_DXCCSn Set to invalid (.A). Set to inconsistent (.C)

The maximum number of ICD-10-CM diagnoses reported varies by state. HCUP retains all diagnosis fields provided by the data source.

 
Top
 
Uniform Values
VariableDescriptionValueValue Description
I10_DXnICD-10-CM DiagnosisannnnnnDiagnosis code
BlankMissing
invlInvalid: EDX02
incnInconsistent: EAGE04, EAGE05, EDX03
 
Top
 
 
State Specific Notes

California

HIV Test Result Diagnoses

California law prohibits the release of HIV test results in patient-identifiable form to any outside party without the patient's consent. Therefore, records that include certain ICD-10-CM codes that indicate HIV test results were not included in the data supplied for HCUP. California eliminated all occurrences of these codes from the diagnosis fields and packed the diagnosis vectors to cover gaps from such removals.

The number of such diagnoses eliminated from the principal diagnosis position will be smaller than it otherwise might have been due to a practice in California that actively discourages the reporting of codes for HIV test results as a principal diagnosis. During data editing, California flags discharges reporting one of these codes in the principal diagnosis position and then calls the submitting hospital to ask if the principal diagnosis should be changed. Hospitals have the option of deleting the code, changing it, or leaving it in place.



Iowa

The Iowa Hospital Association prohibits the release of two types of discharges:

  • HIV Infections (defined by MDC of 25) and
  • Behavioral Health including chemical dependency care or psychiatric care (defined by a service code of BHV).

These discharges were not included in the source file provided to HCUP and are therefore not included in the HCUP files.



Nebraska

The Nebraska Hospital Association prohibits the release of discharge records for patients with HIV diagnoses. These discharges were not included in the source file provided to HCUP and are therefore not included in the HCUP files.



New York

Beginning in 2008, New York suppressed the identifier for the hospital (DSHOSPID) on records with an indication of induced abortion. These records are retained in the HCUP SID with the DSHOSPID set to "BLNK".



Wisconsin

To comply with statutory requirements, Wisconsin modified diagnosis and procedure codes that explicitly referenced induced termination of pregnancy to eliminate distinctions between induced and spontaneous termination. The following ICD-10-CM codes were modified:

  • Diagnosis Z33.2 was changed to Z31.9,
  • Diagnoses O04x and O07x were changed to O03.9,
  • Procedure 10A07ZZ was changed to 10D17ZZ,
  • Procedure 10A08ZZ was changed to 10D18ZZ,
  • Procedure 10A07ZZ was changed to 10D17ZZ,
  • Procedure 10A08ZZ was changed to 10D18ZZ,
  • Procedure 10A07ZW was changed to 0UCB7ZZ,
  • Procedure 10A00ZZ was changed to 10D00Z0,
  • Procedure 10A03ZZ was changed to 0UC93ZZ,
  • Procedure 10A04ZZ was changed to 0UC94ZZ,
  • Procedure 10A07ZX was changed to 3E0P7GC.

 
Top
 
 

Internet Citation: HCUP KID Description of Data Elements. Healthcare Cost and Utilization Project (HCUP). September 2008. Agency for Healthcare Research and Quality, Rockville, MD. www.hcup-us.ahrq.gov/db/vars/i10_dxn/kidnote.jsp.
Are you having problems viewing or printing pages on this Website?
If you have comments, suggestions, and/or questions, please contact hcup@ahrq.gov.
Privacy Notice, Viewers & Players
Last modified 9/17/08