Overview
Code ABF is a qualifier used in UB-04 Field 81 (Code-Code Field) to indicate a Discharge Diagnosis. According to the NUBC UB-04 Field 81 Code-Code Field Qualifier definitions, ABF specifically denotes the discharge diagnosis for the patient’s stay or encounter [1]. This diagnosis is typically reported using ICD-10-CM codes, which are the standard clinical classification system for diagnoses in the United States. The discharge diagnosis represents the condition established after study to be chiefly responsible for the patient’s admission to the hospital or for the outpatient encounter. It is distinct from the principal diagnosis (qualifier 80) and other secondary diagnoses (qualifier P5). On the UB-04, Field 81 is a repeating field that pairs a qualifier code (e.g., ABF) with the actual diagnosis code. The qualifier tells the payer what type of code follows. For ABF, the accompanying code must be a valid ICD-10-CM diagnosis code. This qualifier is essential for accurate claims processing, as it helps payers identify the final diagnosis that justifies the services rendered. The MassHealth UB-04 Billing Guide provides general instructions for completing the UB-04 form but does not specifically list ABF; however, it confirms that all diagnosis codes must be reported using ICD-10-CM and that qualifiers are used in Field 81 [2]. Proper use of ABF ensures that the discharge diagnosis is clearly communicated to the payer, reducing the risk of denials or requests for additional documentation.
When to Use
Use qualifier ABF in UB-04 Field 81 when reporting the discharge diagnosis for an inpatient stay or an outpatient encounter that results in a discharge. This qualifier is appropriate for all claim types where a final diagnosis is determined at the end of the episode of care, including acute inpatient, skilled nursing, rehabilitation, and outpatient hospital services. The discharge diagnosis should be the condition that, after evaluation, is determined to be the primary reason for the patient’s discharge. It may differ from the principal diagnosis (qualifier 80) if the principal diagnosis was modified during the stay. For example, if a patient is admitted for chest pain but is discharged with a diagnosis of acute myocardial infarction, the discharge diagnosis (ABF) would be the MI, while the principal diagnosis (80) might be the presenting symptom. ABF should not be used for other diagnosis types such as admitting diagnosis, external cause of injury, or patient reason for visit. Those have separate qualifiers (e.g., B3 for provider taxonomy, ZZ for generic taxonomy, etc.). The MassHealth UB-04 Guide emphasizes that all diagnosis codes must be reported using the correct qualifier to ensure proper claim adjudication [2]. When submitting electronic claims (e.g., 837I), the equivalent qualifier for discharge diagnosis is often “ABF” as well. Providers should verify payer-specific requirements, as some payers may require the discharge diagnosis to be reported in a specific position (e.g., first diagnosis line). Always use the most specific ICD-10-CM code available for the discharge diagnosis.
Step-by-Step Claim Example
Scenario: A 65-year-old patient is admitted for pneumonia. After treatment, the patient is discharged with a final diagnosis of J15.9 – Unspecified bacterial pneumonia. The provider needs to report this discharge diagnosis on the UB-04 claim.
Step 1: Locate Field 81 on the UB-04 form. This field is a repeating block of two subfields: a two-character qualifier and a code value. The qualifier is entered in the first two positions, and the diagnosis code follows.
Step 2: Enter the qualifier ABF in the first two positions of the first line of Field 81. This tells the payer that the code that follows is the discharge diagnosis.
Step 3: Immediately after the qualifier, enter the ICD-10-CM code J159 (without the decimal point, as per standard UB-04 formatting). The field should appear as: ABFJ159. Note that on a paper UB-04, the qualifier and code are typically separated by a space or placed in adjacent boxes; follow the form’s layout.
Step 4: If there are additional diagnoses, use other qualifiers such as P5 (Patient Diagnosis) for secondary diagnoses or 80 (Principal Diagnosis) for the principal diagnosis. For example, if the principal diagnosis was also J159, you would use qualifier 80 on a separate line.
Step 5: Complete the rest of the claim form according to the MassHealth UB-04 Billing Guide, ensuring all required fields are filled [2]. Submit the claim electronically or on paper if an exemption is granted.
Result: The payer receives the discharge diagnosis clearly identified with qualifier ABF, reducing the chance of a denial due to missing or misidentified diagnosis information.
Common Mistakes & Audit Red Flags
- Using ABF for non-discharge diagnoses: A frequent error is applying ABF to an admitting diagnosis or a condition that was not the final discharge diagnosis. This can lead to claim denials or requests for corrected claims. Always verify that the code entered after ABF is the diagnosis that was present at discharge.
- Omitting the qualifier entirely: Some providers leave Field 81 blank or enter only the diagnosis code without a qualifier. This is non-compliant with NUBC standards and will likely cause the claim to be rejected or pended for manual review [1].
- Mixing qualifiers incorrectly: For example, using ABF for the principal diagnosis when qualifier 80 is required. The principal diagnosis (qualifier 80) is the condition established after study to be chiefly responsible for admission; the discharge diagnosis (ABF) may be the same or different. Using the wrong qualifier can confuse payers and delay payment.
- Entering invalid ICD-10-CM codes: The code after ABF must be a valid, active ICD-10-CM diagnosis code. Using a code that is out of date, invalid for the date of service, or not specific enough (e.g., using an unspecified code when a more specific code exists) can trigger audits or denials.
- Inconsistent coding between ABF and other fields: If the discharge diagnosis on the claim does not match the medical record or the discharge summary, auditors may flag the claim for potential upcoding or documentation issues. Always ensure the code reflects the documented final diagnosis.
- Not following payer-specific requirements: Some payers, including MassHealth, may have specific instructions for reporting discharge diagnoses in electronic claims. The MassHealth UB-04 Guide advises providers to adhere to all payer-specific billing rules [2]. Failure to do so can result in claim rejection.
Related Codes/Fields
The table below lists other common qualifiers used in UB-04 Field 81, as defined by NUBC. These are relevant for understanding how ABF fits into the overall diagnosis reporting structure.
| Qualifier | Meaning | Usage Notes |
|---|---|---|
| 80 | Principal Diagnosis | The condition chiefly responsible for admission; required on all inpatient claims. |
| P5 | Patient Diagnosis | Used for secondary or other diagnoses (e.g., comorbidities). |
| B3 | Health Care Provider Taxonomy Code | Identifies the provider type; not a diagnosis qualifier. |
| ZZ | Provider Taxonomy (generic qualifier) | Alternative taxonomy qualifier. |
| CPT | CPT Category II Code | Performance measurement codes; not diagnosis. |
| HCP | HCPCS Code | Procedure codes; not diagnosis. |
| APR | APR-DRG | All Patient Refined DRG; used for severity adjustment. |
| ABK | Adjustment Reason / internal tracking | Used for claim adjustments. |
| GHC | Group Health Code | Insurance-related qualifier. |
| LOI | Line of Insurance | Identifies insurance type. |
| RX | Prescription | For prescription-related codes. |
Source: NUBC UB-04 Field 81 Code-Code Field Qualifier definitions [1].
When completing Field 81, always use the correct qualifier for each code type. For discharge diagnosis, ABF is the only appropriate qualifier. For principal diagnosis, use 80. For other diagnoses, use P5. Refer to the MassHealth UB-04 Billing Guide for additional instructions on completing the claim form [2].
References
[1] NUBC Field 81 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 ExtractingThis 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)