Utah all-payer claims database submissions

Insurance United States

Checks a health plan’s monthly eligibility, medical and dental claims, pharmacy claims and provider files for the Utah All-Payer Claims Database before they’re sent, and checks every claim against the member’s eligibility and the provider file, as the Office of Healthcare Statistics does when it loads them.

From the Utah APCD Data Submission Guide, version 4.2.

Utah all-payer claims database submissions
Rules, test data, a converter for pipe-delimited files and a pipeline snapshot. Zip, 173 KB.
Download the template

See it in Quantemplate

The pipeline

The Utah APCD pipeline in Quantemplate, showing its first 13 of 37 stages: Prepare eligibility, medical claims, pharmacy claims and providers, a Keys stage for each, Coverage by member month, Eligibility months loaded, Join coverage to eligibility, Check eligibility and Medical claim lines. The Uploads tab lists the four test files, for providers, pharmacy claims, medical claims and eligibility, uploaded to stages 4, 3, 2 and 1.

The validations

The test run’s Validations tab: the four rule sets, Member eligibility (ME), Medical and dental claims (MC), Pharmacy claims (PC) and Providers (MP), each with failures, as the test files are built to fail every rule.

Claims against eligibility

Stage 23’s output for the clean data: the 13 medical and dental claim lines, each with the eligibility record joined for its member, insurance type and month of service. Columns show the number of eligibility records, medical, pharmacy and dental coverage, the first and last eligible days, date of birth, payer, and the first and last months in the eligibility file, July and October 2026. The three lines of a dental claim match a dental plan, with dental coverage only. The exchange member’s eligibility ends on the 15th. The last line, a claim for June, before the eligibility file starts, has no match and isn’t checked against eligibility.

What it checks

163 rules 145 Fail 18 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–4 Prepare Detect headers and tidy the eligibility, medical claims, pharmacy claims and provider files
  2. Stages 5–8 Keys Work out each date’s year, month and day, the eligibility month or month of service, and keys for members, claims, claim lines and provider locations
  3. Stages 9–12 Check eligibility Count each member’s records by month and insurance type, with their coverage, find the first and last months in the file, and run the eligibility rules
  4. Stages 13–23 Check medical claims Find each claim’s first line, count line versions, total the provider file by provider, join the member’s eligibility and both providers to each line, and run the medical claim rules
  5. Stages 24–34 Check pharmacy claims The same for pharmacy claims, with the pharmacy and the prescriber
  6. Stages 35–37 Check providers Count the records for each provider and location, and run the provider rules

What’s in the download

The guide isn’t included. Download it from the Office of Healthcare Statistics.

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 Utah APCD pipeline from the utah-apcd-submissions 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