Reference·PER Segment·PER04
X12 278 Reference

X12 278 PER04 Field Guide: Communication Number Values and Common Mistakes

Jul 28, 2026 · 4 min read
← PER02

PER04 looks like a phone number field until the qualifier next to it turns it into an email address or a fax line — and a validator that assumes digits-only breaks the moment a real trading partner sends anything else.

Quick answer

PER04 is the actual contact value in the PER segment of an X12 278 — a phone number, fax number, or email address — and what kind of value it is depends entirely on the qualifier code carried in PER03 immediately before it.

What the value looks like, by qualifier

TE
Telephone — PER04 is a phone number, often followed by an EX qualifier and extension
FX
Facsimile — PER04 is a fax number, formatted the same as a phone number
EM
Email — PER04 is an email address rather than a numeric string

Example

Synthetic example Generated by Synthibase
PER*IC*A JOHNSON*TE*8005557321*EX*4482

PER04 holds 8005557321, a phone number, because the preceding qualifier (PER03) is TE. An extension of 4482 follows via the EX qualifier. Synthetic test data.

Where this trips people up

Validation logic that hardcodes a phone-number pattern against PER04 works fine until PER03 carries EM instead of TE, and the same field position now holds an email address that fails a digits-and-dashes regex. The fix isn't a looser pattern — it's reading PER03 first and validating PER04 against whichever format that qualifier actually promises.

How to Test X12 278 PER: A Field-by-Field Breakdown
X12 278 Prior Authorization: Format, Fields, and Testing Guide
Prior Authorization Reform: CMS-0057-F and State Gold-Carding Laws Explained
Test every contact format, not just phone numbers
Synthibase generates synthetic 278 transactions with PER03/PER04 pairs spanning phone, fax, and email, so contact-field validation gets tested against the full set of formats it needs to handle in production.
Start free trial →
This page is written independently by Synthibase for testing and informational purposes. It is not an official publication of HL7 International or X12/Washington Publishing Company, and is not a substitute for reviewing the official standard or your trading partner's companion guide. See our Terms of Service for full legal terms.