Testing X12 837P HI01-2: What Diagnosis Code Actually Needs to Handle
HI01-2 holds the actual ICD-10-CM code, and the single most common way test data gets this wrong isn't picking an invalid code — it's formatting a valid one incorrectly, because the decimal point that appears in every printed coding reference doesn't belong in the transmitted value.
HI01-2 is the second component of the composite element inside HI — it carries the ICD-10-CM diagnosis code itself, paired with the qualifier in HI01-1 that states what role that diagnosis plays on the claim.
What this element contains
Example
E119 and I10 are the two HI01-2 values in this claim — both transmitted without decimal points. Synthetic claim data.
Where this trips people up
Test data pulled from a coding reference or spreadsheet often still has the decimal point baked in, since that's how ICD-10-CM is printed and displayed everywhere except on the wire. A code like E11.9 sent as-is with the decimal isn't a plausible-but-wrong diagnosis — it's simply not a valid HI01-2 value, and most validation layers will reject the whole claim rather than just flagging the field, which makes it look like a bigger problem than a one-character formatting slip.