Format
Matches `/^\d{5}$/`. Exactly 5 digits.
Examples
- 99213 (Office visit, established patient, 20-29 min)
- 93000 (Electrocardiogram, routine)
- 36415 (Routine venipuncture)
Matches `/^\d{5}$/`. Exactly 5 digits.
Faithful summary of lib/validators.ts. Validators are pure functions and run identically in the worker, the Workbench, and the MCP server.
function validCpt(value) {
return /^\d{5}$/.test(value)
? OK
: fail('cpt_format', 'expected 5 digits')
}Validators attach to a field on a custom template. The cascade runs them after mapping but before commit; failures surface in the per-row validation report.
fields:
- column: cpt_code
type: string
validators:
- type: cpt_codeclaims_line_items_v1CPT/ICD-10-coded claim line items.
Fields: cpt_code
Pricing
Schema-only mode (headers + ≤3 sample rows) is free and unlimited; full-data commits are metered. See plans →