Implement medical claims adjudication logic including DRG grouping, edit checks, and remittance generation for a health plan

domain: insurance-general · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Ingest the X12 837I institutional claim and parse all required loops: provider, subscriber, patient, diagnosis codes, procedure codes, and revenue codes
  2. Run claim-level and line-level edit checks: NPI validation, duplicate claim detection, timely filing verification, and covered benefit eligibility
  3. Group inpatient claims to a DRG using a DRG grouper library (MS-DRG or AP-DRG depending on payer type) and retrieve the relative weight and geometric mean LOS
  4. Apply the contracted rate logic: DRG-based pricing, per-diem rates, or percent-of-billed charges depending on the provider contract
  5. Generate the X12 835 ERA with correct CARC and RARC codes for any adjustments, denials, or partial payments
  6. Post the adjudicated amounts to the claims ledger and trigger EFT payment to the provider via ACH or virtual card

Known gotchas

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans