Articles ·

A fee schedule lookup is never one row

"What do we get paid for this code?" sounds like a key-value question. It is a question about a date, a place, a contract, a modifier and a rank, and building it as a key-value lookup is a decision you unpick for years.

Somebody asks the obvious question: what does this payer pay for 99214?

The honest answer has at least five qualifiers in it. It depends on the date of service, because the schedule changed in January. On where the service happened, because the rate is geographic. On which contract, because the practice holds three with this payer and two of them are percentages of a third. On the modifiers, because one of them cuts the rate in half. And on what else was billed that day, because this is the second procedure in a session and the second procedure is not paid in full.

A system that modelled this as a table of code and amount will get the right answer most of the time, which is the worst possible failure mode: it is wrong often enough to lose money and right often enough that nobody suspects the lookup.

Model the lookup key honestly

Write down what actually determines the number before designing any storage. For most practices it is:

  • the contract — the specific agreement, not the payer, since one payer has several and a plan maps to one of them;
  • the procedure code, and where applicable the drug or supply code;
  • the modifiers, as an ordered set, because some of them price;
  • the place of service, or at minimum the facility and non-facility distinction;
  • the locality, where the schedule is geographically adjusted;
  • the date of service, which selects the version of all of the above;
  • and the rank of the line within the session, for the reductions that depend on what else was done.

Nothing on that list is optional in the general case, and every one of them is a column somebody will otherwise discover is missing while reconciling a variance.

Effective dating is the part that has to be right

A fee schedule is not a current state. It is a sequence of versions, each with a period during which it applies, and the question you ask it is always "what was true on this date" — not "what is true now".

Two consequences fall out of that, and they are the two most common sources of wrong expected amounts:

The lookup is by date of service, never by today. A claim for a service in November, repriced in February, must get November's rate. Systems that store the current rate and overwrite it on update cannot answer this at all, and cannot explain a figure they produced three months ago.

Rates change retroactively. A contract is signed in March and backdated to January. The correct behaviour is to add a version with an earlier effective date, not to edit the existing one, and then to be able to find every claim already adjudicated under the superseded rate so somebody can decide whether to rebill.

In practice that means two dates on every rate row: the period it applies to, and when it was entered. The first answers "what was the rate for this service". The second answers "what did we think the rate was when we calculated this claim", which is the question you need when a figure in an old report has to be defended. They are not the same question and one pair of dates cannot answer both.

Contracts that are expressed as other contracts

The rate is very often not a number in your table. It is a reference.

  • A percentage of the published government schedule for that year and locality — which means you need the schedule, by year and locality, before you can price a single line.
  • A percentage of a payer's own published schedule, which you may not hold at all.
  • A carve-out: the contract is a percentage of a schedule except for a named list of codes, which are at fixed amounts.
  • A case rate or a per-diem that covers a group of lines with one amount, so no individual line has a rate.
  • Billed charges, capped — the lesser of the charge and the schedule, which is the rule that quietly makes an under-set charge master cost the practice money on every claim.

The design implication is that a rate is better modelled as a small expression than as an amount: a basis, a factor, and an override list. A flat dollar amount is then the degenerate case where the basis is "amount". Building it the other way round — amounts, with percentages bolted on later — is the migration nobody enjoys.

The reductions are rules, not rates

The last qualifier on the list is the awkward one, because it is not a property of the line. Where several procedures are performed in one session, the schedule rate for each is not what gets paid: the highest is paid in full and the others at a reduced percentage, in a defined order, with some codes exempt from the reduction entirely.

The same shape applies to bilateral procedures, to assistant surgeons, to services split between a professional and a technical component, and to multiple units of the same code.

This means the expected amount cannot be computed line by line. It is computed for the claim: price every line, rank them, apply the reductions in order, then sum. Any architecture where the expected amount is a property calculated on a line in isolation will be unable to express this without a rewrite, and that is worth knowing on day one rather than in month nine.

What bites once it is live

The schedule you were given is not the schedule. Payers send spreadsheets. The spreadsheets have merged cells, codes with trailing spaces, amounts as text, two rates in one column separated by a slash, and footnotes that carry half the meaning. Treat loading a fee schedule as an import with validation and a reviewable diff, not a paste.

Nobody can tell you which contract a plan maps to. The plan on the card does not name the contract. Mapping plans to contracts is manual, incomplete, and the single most valuable piece of reference data in the system once it exists.

An expected amount is a claim, not a fact. Store it against the claim as the figure you calculated, with the schedule version you used. When the remittance disagrees, the variance is the point of the whole exercise, and you cannot investigate it if the expected amount was recomputed on read.

Variance is where the money is. The reason to carry all of this is not to print a price. It is to notice that a payer has been paying ninety-three per cent of the contracted rate on one code since July. No denial is generated by underpayment. Nothing in the remittance flags it. It is only visible as a difference against an expected amount somebody calculated.

Zero is a valid rate and null is not. A code the contract does not cover, a bundled code, a code at zero pending review — these are different from "we do not have a rate", and collapsing them makes underpayment analysis meaningless.

How to test it

  • The same claim, priced on two dates either side of a schedule change, gives two different figures, and both are reproducible later.
  • A retroactive rate version does not alter the expected amount already stored on a settled claim, but does appear on the report of claims affected.
  • A claim with three procedures returns reduced amounts on lines two and three, in the right order, and the correct full amount on a code that is exempt from the reduction.
  • A percentage-of-schedule contract and a flat-amount contract both resolve through the same code path.
  • A fee schedule import with a duplicate code, a malformed amount and a code that does not exist is rejected with all three problems reported, not the first one.
  • The underpayment report, run against a synthetic remittance that pays ninety-three per cent on one code, finds it.

What we do

We model the rate as a basis and a factor with an effective period rather than an amount, price the claim rather than the line so the multiple-procedure rules can exist, keep the figure we calculated alongside the schedule version we used, and treat the difference between expected and paid as a work queue rather than a report nobody opens.

Building something that has to talk to a payer?

If any of the above is a problem you currently have, describe it and we will tell you what we would do about it.