X12 835 SVC01-1 (Product/Service ID Qualifier): Format, Values, and Testing Notes
SVC01-1 is a single two-character code, but it decides how every downstream system interprets the procedure code sitting right next to it. Get the qualifier wrong in test data and you get a parser that quietly misreads real production files.
SVC01-1 is the first component of the SVC01 composite and identifies the code set used in SVC01-2. HC means the value is a HCPCS or CPT procedure code, NU signals a revenue-code-only line with no procedure, and N4 marks an NDC drug code. A parser that hardcodes HC instead of reading this qualifier will misparse any revenue-code-only or drug-billed line.
What this element contains
Example
The HC before the first colon in SVC01 is SVC01-1 — it tells the parser that 99213 is a CPT code, not a revenue code or NDC.
Where this trips people up
A lot of homegrown 835 parsers assume every SVC01 composite starts with HC and slice the string accordingly, because that is true in almost all of their sample files. The first NU or N4 line that shows up in production either gets silently mis-mapped as a procedure code or throws an unhandled exception. If your synthetic test data only ever generates HC-qualified lines, this bug stays invisible until a real revenue-code-only institutional remit hits the pipeline.