HCFA-1500 Box 21 - Diagnosis or Nature of Illness or Injury

Image Description

August 10, 2025

On the HCFA-1500 form, Box 21 is used to report the patient’s diagnosis or condition using ICD-10-CM (or ICD-9-CM for older claims) codes. This box supports up to 12 diagnosis codes, which help payers determine the medical necessity of the services billed.

Tip: Enter each diagnosis code without decimals when submitting electronically, but include the decimal when entering on the printed HCFA-1500 form for clarity. Codes must be valid for the date of service and match the coding guidelines for the specific payer.

In our example below, the provider reported two diagnosis codes: J09.X1 (Influenza due to identified novel influenza A virus with pneumonia) and J09.X9 (Influenza due to identified novel influenza A virus with other manifestations).

HCFA-1500 Box 21 - Diagnosis Codes

In the X12 837P 5010 transaction, Box 21 maps to the HI segment in the 2300 Claim Information Loop. The HI segment is used to transmit diagnosis codes and related information in a standardized format.

Sample 837P (5010) – 2300 HI Segment

> Claim Information (2300) HI*ABK:J09X1*ABF:J09X9~

Segment Breakdown:

  • HI01-1: Diagnosis Code Qualifier (ABK = ICD-10-CM Principal Diagnosis)
  • HI01-2: First diagnosis code (J09X1) without the decimal
  • HI02-1: Diagnosis Code Qualifier (ABF = ICD-10-CM Additional Diagnosis)
  • HI02-2: Second diagnosis code (J09X9) without the decimal

Note: The decimal is omitted in the EDI transaction, but should be included on the printed claim form for human readability. Diagnosis codes must be valid for the date of service and must comply with payer requirements.

ICD-10-CM Resources

Our website provides two helpful ICD-10-CM tools for finding and reviewing diagnosis codes:

For additional information on the X12 837 standard, please refer to the official implementation guides published by X12.

HCFA-1500 Form Box Locations

Grab a sample of the HCFA-1500 claim form here - HCFA 02/12 Claim Form


We hope you found this article helpful! Please reach out to us with questions/feedback.