Skip to content
Back

x278

NPM Package

A TypeScript SDK and reference implementation for x278, Backwork's proposed protocol for prior authorization between a provider's agent and a payer's agent.

TypeScript
Healthcare
Prior Authorization
FHIR
AI Agents
Open Source

Key features

  • A payer answers with one of four results, which are approved, denied, info-needed, or pended
  • The provider's agent can attach evidence, wait for review, correct the request, or appeal without starting over
  • An in-memory payer and an HTTP reference payer to build and test against
  • A conformance harness that runs against any transport
  • Helpers for FHIR and Da Vinci PAS, and for signing
  • A protocol SDK and test environment. It is not a certified payer integration

x278 is a proposal for how prior authorization could work when the provider and the payer both run software agents.

How it works

The provider’s agent sends a structured request. The payer’s agent sends back a result the provider can act on. If the payer needs more, it says exactly what, and the provider’s agent attaches it and continues in the same exchange. A denial comes with a coded reason and a path to appeal.

What it is and isn’t

This package is the protocol’s types, a client, a reference payer, and a conformance harness. It is for building and testing agents on either side. It is not a certified payer integration and it does not replace Da Vinci PAS conformance testing.

npm install @backwork/x278
Resume (PDF)