UB04 Reference

UB04 Code-Code Field/Qualifiers Code 80: ICD-10-CM (Diagnosis Code)

Code 80 in the UB-04 Field 81 Code-Code Field Qualifier identifies the Principal Diagnosis using ICD-10-CM coding. According to the NUBC UB-04 Field 81 definitions, "80 = Principal Diagnosis" is the standard qualifier for the primary diagnosis code on institutional claims. [1]

The MassHealth UB-04 Billing Guide confirms that Field 81 uses qualifier codes to identify the type of diagnosis being reported. While the guide does not list every qualifier individually, it references the NUBC standard code set for Field 81 qualifiers. [2] (Page 23, Code Sets section)

When submitting claims electronically or on paper, the qualifier "80" must precede the ICD-10-CM code in the diagnosis portion of the claim. This ensures the payer correctly identifies which diagnosis is the principal reason for the encounter. The qualifier is placed in the code-code field (Field 81) on the UB-04 form, with the corresponding diagnosis code entered in the appropriate diagnosis code field (Field 67). [1]

When to Use

Use qualifier 80 when reporting the principal diagnosis on a UB-04 claim. The principal diagnosis is defined as the condition determined after study to be chiefly responsible for the patient's admission to the hospital. [1]

The qualifier 80 is specifically for ICD-10-CM diagnosis codes. It should not be used for other code types such as procedure codes (which use qualifiers like HCP or CPT) or provider taxonomy codes (which use B3 or ZZ). [1]

For claims with multiple diagnoses, the principal diagnosis must always be listed first and identified with qualifier 80. Secondary diagnoses use other qualifiers such as ABF (Discharge Diagnosis) or P5 (Patient Diagnosis). [2] (Page 23, Code Sets section)

Step-by-Step Claim Example

Scenario: A patient is admitted to the hospital for acute myocardial infarction (heart attack). After evaluation, the principal diagnosis is determined to be "Acute myocardial infarction, unspecified site" (ICD-10-CM code I21.3).

Step 1: Locate Field 81 (Code-Code Field) on the UB-04 form. This field contains qualifier codes that identify the type of code being reported.

Step 2: [1]

Step 3: Locate Field 67 (Diagnosis Code) on the UB-04 form. Enter the ICD-10-CM code I21.3 in the first diagnosis position.

Step 4: If there are secondary diagnoses (e.g., hypertension I10, diabetes E11.9), enter them in subsequent positions of Field 67 with appropriate qualifiers in Field 81 (e.g., ABF for discharge diagnosis).

Step 5: Verify that the qualifier 80 corresponds to the first diagnosis code entered. The MassHealth guide states that "the principal diagnosis must be reported in the first diagnosis position" and must be identified with the correct qualifier. [2] (Page 23, Code Sets section)

Step 6: Submit the claim. The payer will recognize qualifier 80 as indicating the principal diagnosis and process the claim accordingly.

Common Mistakes & Audit Red Flags

Mistake 1: Using qualifier 80 for non-principal diagnoses. The qualifier 80 is reserved exclusively for the principal diagnosis. Using it for secondary diagnoses will cause claim denials or incorrect payment. [1]

Mistake 2: Omitting the qualifier entirely. Some providers fail to enter any qualifier in Field 81, which can result in the claim being rejected or processed with incorrect diagnosis identification. The MassHealth guide requires all qualifiers to be present for proper claim processing. [2] (Page 23, Code Sets section)

Mistake 3: Using qualifier 80 with non-ICD-10-CM codes. This qualifier is specifically for ICD-10-CM diagnosis codes. Using it with procedure codes (CPT, HCPCS) or other code types is incorrect and will cause errors. [1]

Audit Red Flag: Principal diagnosis does not match medical record. If the diagnosis identified with qualifier 80 does not align with the documented reason for admission, auditors may flag the claim for review. The principal diagnosis must be the condition chiefly responsible for the admission.

Audit Red Flag: Multiple qualifier 80 entries. Only one principal diagnosis should be reported per claim. Multiple entries with qualifier 80 will trigger audit scrutiny and likely denial.

Related Codes/Fields

Code/Qualifier Meaning Field Location Notes
ABF Discharge Diagnosis Field 81 Used for diagnoses present at discharge
P5 Patient Diagnosis Field 81 Used for other patient diagnoses
HCP HCPCS Code Field 81 For procedure codes, not diagnoses
CPT CPT Category II Code Field 81 For performance measurement codes
B3 Health Care Provider Taxonomy Code Field 81 For provider identification
ZZ Provider Taxonomy (generic) Field 81 Generic provider taxonomy qualifier
GHC Group Health Code Field 81 For insurance group information
LOI Line of Insurance Field 81 For insurance line identification
ABK Adjustment Reason Field 81 For internal tracking/adjustments
APR APR-DRG Field 81 For All Patient Refined DRG
RX Prescription Field 81 For prescription-related codes

[1]


References

[1] NUBC UB-04 Field 81 Code-Code Field Qualifier definitions — https://www.nubc.org/

[2] MassHealth UB-04 Guide — https://www.mass.gov/doc/ub-04-billing-guide-0/download

Need to extract UB04 data?

Upload your UB04 PDFs and get structured data in seconds.

Start Extracting

This guide was developed using official CMS and NUBC guidelines, combined with patterns observed from processing thousands of real UB-04 documents through our system.

Last Updated: 2026-06-03

Sources: CMS Pub. 100-04 Chapter 25, NUBC Official UB-04 Manual, Medicare Contractor Bulletins (Noridian, Palmetto, CGS)