Format
Matches `/^[A-Z]\d{2}(\.\d{1,3})?$/` after uppercasing. One uppercase letter, two digits, optional dot + 1–3 more digits.
Examples
- E11.9 (Type 2 diabetes without complications)
- I10 (Essential hypertension)
- "asthma" → resolved to J45.909
icd10_code validatorICD-10-CM `A00` or `A00.0` format, with resolver fallback.
Matches `/^[A-Z]\d{2}(\.\d{1,3})?$/` after uppercasing. One uppercase letter, two digits, optional dot + 1–3 more digits.
Faithful summary of lib/validators.ts. Validators are pure functions and run identically in the worker, the Workbench, and the MCP server.
function validIcd10(value) {
return /^[A-Z]\d{2}(\.\d{1,3})?$/.test(value.toUpperCase())
? OK
: fail('icd10_format', 'expected A00 or A00.0')
}
// Plus the resolver wrapper.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: icd10_code
type: string
validators:
- type: icd10_codeclaims_line_items_v1CPT/ICD-10-coded claim line items.
Fields: icd10_code
Pricing
Schema-only mode (headers + ≤3 sample rows) is free and unlimited; full-data commits are metered. See plans →