Virginia workers comp claims EDI Release 3.1

Insurance United States

Checks a claim administrator’s workers’ compensation claims EDI transactions before they go to the Virginia Workers’ Compensation Commission: every first and subsequent report of injury and benefit segment against the Commission’s Release 3.1 requirement tables, each subsequent report against the claim’s first report and earlier reports under the sequencing table, and each benefit segment against its report.

From the Virginia Workers’ Compensation Commission’s EDI Release 3.1 requirement tables, version 1.7.

Virginia workers comp claims EDI Release 3.1
Rules, test data and a pipeline snapshot. Zip, 216 KB.
Download the template

See it in Quantemplate

The pipeline

The Virginia workers comp claims EDI pipeline in Quantemplate, showing its first 12 of 23 stages: Prepare FROI, Prepare SROI and Prepare benefit segments, a keys stage for each, FROI by claim, FROI employers, SROIs by key, SROIs by claim, Benefits by SROI and Benefit types by SROI. The Uploads tab lists the three test files, for benefit segments, SROI and FROI, uploaded to stages 3, 2 and 1.

The validations

The test run’s Validations tab: the three rule sets, 03 Benefit segments, 01 FROI and 02 SROI, each with failures, as the test files are built to fail every rule.

Benefits on each SROI

Stage 20’s output for the clean data, scrolled to the columns joined from each SROI’s benefit segments. Each row’s Benefits SROI Key is its claim number, maintenance type code and date. The change of benefit type on row 2 has two benefit segments, both marked CB, one of them temporary partial. The employer-paid SROIs, rows 5 to 7, show an employer-paid benefit and no payment issue date, so their latest issue day number is 0. The settlement’s PY on row 12 has two segments, one permanent partial. Rows 13 onwards are SROIs without benefit segments, such as the legacy claim’s update report, and show 0.

What it checks

200 rules 198 Fail 2 Warning

A rule set to Fail marks its rows as failed, and any failure blocks Auto Export if you set it up. Warnings are only reported. Validation never removes a row. Every rule and its formula is listed in VALIDATIONS.md in the download.

How the pipeline works

  1. Stages 1–3 Prepare Detect headers and tidy the FROI, SROI and benefit segment files
  2. Stages 4–6 Keys Work out each date’s year, month, day and day number, which FROIs are originals, the dates the sequencing checks compare, and keys for claims, SROIs and benefit types
  3. Stages 7–12 Summaries Add up each claim’s FROIs and SROIs, count the SROIs with each key, and add up each SROI’s benefit segments and each benefit type
  4. Stages 13–14 Check FROI Join the claim’s FROIs to each FROI and run the FROI rules
  5. Stages 15–20 Check SROI Join the claim’s FROIs, its employer on the FROI, the SROIs with the same key, the claim’s SROIs and the SROI’s benefit segments to each SROI, and run the SROI rules
  6. Stages 21–23 Check benefit segments Join each benefit segment’s SROI and the count of its benefit type, and run the benefit segment rules

What’s in the download

The Commission’s tables aren’t included. Download them from the VWC EDI requirements page.

Build it

  1. Install the Quantemplate skills, version 1.0.0 or later, if you haven’t already. Then unzip the download.
  2. With Claude in Chrome signed in to Quantemplate, ask Claude Code:
    Build the Virginia workers comp claims EDI pipeline from the va-wc-edi-claims folder.
  3. Claude creates the datasets and stages, runs the test data and checks every rule’s result. This takes around 5 minutes.

The agent builds through the Quantemplate app’s own API in your browser. That API isn’t published, so if a release changes it, the build stops and tells you what went wrong. Review what the agent builds before you rely on it.

Using real files

Contact the Quantemplate support team, or use your AI agent, to build custom logic for your use case.

Limits