X12 837P REF*G1 Field Guide: Prior Authorization Number Codes and Common Mistakes
A service that required prior authorization but whose claim omits REF*G1 doesn't fail at the clearinghouse — it sails through structurally clean and gets denied by the payer for lack of authorization on file, days after submission.
REF*G1 is the REF segment carrying qualifier G1, used in an 837P claim to state the prior authorization number a payer issued in advance of a service that required pre-approval.
What this element contains
Example
AUTH88213221 is the synthetic prior authorization number the payer issued before the service was rendered. Synthetic claim data.
Where this trips people up
Test suites built around a single claim template tend to either always include REF*G1 or never include it, when in reality whether it's required depends on the specific service and payer. That means the denial path for a claim that needed authorization but didn't get it — or got the wrong number — usually never gets exercised until a real claim trips it in production.