Skip to content
Case study · Built with Claude

A PHI-safe claims analyzer on Claude: Antecedent Health's revenue-integrity engine

EFS Networks used Claude Code to build, in sixteen days, a HIPAA-oriented pipeline that de-identifies CMS-1500 billing claims before Claude Opus 4.6 on Amazon Bedrock reviews them for coding accuracy — the engine now productized by Antecedent Health Inc.

11 / 11

commits co-authored by Claude Code

16 days

first commit to end-to-end pipeline

0

PHI fields sent to the model

2.3M

NCCI edit pairs checked deterministically

At a glance
Customer

Antecedent Health Inc. — Miami, FL (antecedenthealth.com)

Domain

Healthcare revenue integrity — medical billing and coding review

Partner

EFS Networks, Inc. — engineering partner

Claude

Claude Code (Claude Opus 4.6, 1M context); Claude Opus 4.6 on Amazon Bedrock

AWS

Amazon Bedrock, Bedrock Guardrails and Knowledge Bases, Textract, Comprehend Medical, Lambda, DynamoDB, KMS, Cognito, CloudTrail, WAF

Timeline

Built February 19 – March 6, 2026; productization 2026

Status

Working software; in testing with billing-domain experts

The challenge

Medical billing teams review CMS-1500 claims for coding errors — over-coding, under-coding, unbundled procedures, units above Medicare limits — against rule sets that run to millions of entries. Language models are good at reading a claim the way a certified coder would, but a claim is full of protected health information (PHI). Sending it to a model as-is is not an option.

The goal was a system that reads scanned claims, checks them against official CMS reference data and coding guidelines, and returns findings a coder can verify — while guaranteeing the model never sees patient identity.

What EFS brought

EFS Networks, an AWS Advanced Tier partner, designed and built the pipeline on AWS with Claude Code, using a zone-isolated architecture: the services that handle PHI cannot call the model, and the model's role cannot read PHI storage. The engine is now the core of Antecedent Health Inc.'s revenue-integrity product.

How Claude is used

Claude Code built the system

Every commit in the repository — 11 of 11 — is co-authored by Claude Opus 4.6 in Claude Code, most of them with the 1M-token context window. The team ran Claude Code against a session-rules file that required a numbered written plan for each piece of work and a single status file to carry state across sessions; fourteen plans were executed, from the PHI zone design to batch extraction, structured findings and the MFA-protected web interface. The design document is credited to the EFS architect and Claude together, and Claude Code generated the architecture diagram through an AWS diagram MCP server.

Claude reviews the de-identified claim

At runtime Claude Opus 4.6 on Amazon Bedrock acts as a certified-coder-equivalent reviewer. Its instructions are to identify coding-accuracy issues, not to optimize revenue, and to flag over-coding with the same priority as under-coding. It returns structured JSON findings, each with a severity, scores and a regulatory citation.

  • PHI is detected with Amazon Comprehend Medical and replaced with opaque tokens before any model call; the token map lives in KMS-encrypted DynamoDB in a separate zone.
  • Bedrock Guardrails screen both the prompt and the response.
  • Claude is grounded by deterministic enrichment — 97,584 ICD-10-CM FY2025 codes, 2.3 million NCCI procedure-to-procedure edit pairs and 15,095 MUE limits — plus Bedrock Knowledge Base retrieval over the ICD-10-CM guidelines and the Medicare Claims Processing Manual.
  • Tokens are restored to PHI only after the model returns, inside the PHI zone.

Architecture

  • Claim PDFs are read by Amazon Textract (asynchronous, SNS-driven) with 35-zone CMS-1500 field extraction.
  • Comprehend Medical detects PHI; tokenization replaces it before the agent zone.
  • The agent Lambda enriches the claim with CMS reference data, retrieves guideline passages, and calls Claude Opus 4.6 through a VPC endpoint with Guardrails on input and output.
  • Findings are reconciled and stored; coders work in a web UI behind Cognito MFA with session timeouts, per-claim chat and a batch view.
  • Private isolated subnets, four KMS customer-managed keys, CloudTrail, PHI-access audit events and AWS WAF throughout.

Results

MeasureResult
Build timeFirst commit February 19, 2026 → end-to-end pipeline operational March 6, 2026 (16 calendar days)
Engineering~11,300 lines of Python, 68 automated tests, 14 executed build plans — all commits written with Claude Code
PHI exposure to the modelNone by design: IAM zone isolation plus tokenization before every Claude call
Rule coverage per claim97,584 diagnosis codes, 2.3M NCCI edit pairs and 15,095 MUE limits applied before Claude reasons over the claim
Batch extractionA historical claims batch was extracted and de-identified with zero processing failures
Review timeAbout a minute of Claude analysis per claim in the March 2026 demonstration (approximate)

Billing-domain experts who reviewed the system identified the next requirement: scoping each rule to the claim's date of service, since coding rules change on a calendar. That work leads Antecedent Health's 2026–2027 roadmap.

What's next

Antecedent Health is productizing the engine for billing companies and practices, with EFS as engineering partner. Next steps are point-in-time rule versioning, a measured accuracy baseline against coder-reviewed claims, and onboarding the first production customers.

Antecedent Health's software is not a medical device, is not FDA-cleared, and has not been clinically validated. Findings require review by a qualified coder. Accuracy has not yet been measured against a coder-reviewed control set.

Engineering by EFS Networks, Inc., Miami, Florida · efsnetworks.com