Skip to content

Data model

The pricing waterfall

A data model of the steps that resolve a final price, showing how base rates, tariffs and adjustments combine in a set order.

The final price of a charge resolves through an ordered set of steps. Each step takes the running amount, applies one rule, and hands the result to the next, so a base rate becomes a settled price the same way every time. This page sets out that waterfall: base rates, tariffs and adjustments combining in a set order.

Figure 1.Diagram showing the pricing waterfall, from the base rate through the ordered adjustments to tax and the payer and patient split.

The ordered steps

The waterfall runs nine adjustment steps in a fixed sequence. The table lists them in order. The first can raise the amount; the rest hold or lower it.

OrderStepWhat it does
OneTariff tierReplaces the base rate with the payer's contracted tier price.
TwoPackage inclusionSets the line to zero where the item sits inside an active package.
ThreeScheme concessionApplies a government scheme's own price.
FourDiscountApplies an approved discount, held to the site's cap.
FiveSub-limit capHolds the line to a payer's per-category cap, and to a statutory price ceiling.
SixRoom rent proportionApportions room rent by the payer's rule.
SevenCoverage capCaps the payer's cumulative liability at the sum insured or approved amount, passing the excess to the patient.
EightCo-payDeducts the patient's agreed co-pay share.
NineRoundingRounds the line to the nearest rupee.

The adjustment trail

Every step records what it did. Each writes one entry showing the amount before and after, so the move from the gross rate to the net price reads as a sequence of stated adjustments. A correction adds a new entry that supersedes the earlier one, and the earlier entry stays in place, so the trail only ever grows.

The trail is append-only

An adjustment is added rather than rewritten. A re-price supersedes an earlier step with a new entry, so the full derivation of any price stays reconstructable.

Tax and the split

After the adjustments settle the amount, tax is calculated on the adjusted price and recorded as its own line. Vault then computes the split once: how much the payer covers and how much the patient owes. Invoices, account statements and insurance claims read that single split rather than working it out again.

taxableBaseinteger

The adjusted amount that tax is charged on.

taxinteger

The tax for the line, recorded with its rate and code.

payerCoveredinteger

The share the payer carries.

patientResponsibleinteger

The share the patient owes.

Effective dating

Each step resolves against the charge's service date. A rate, a policy or a tax schedule that changes later leaves an already-priced charge as it stood. The price a charge carries is the price that was in force when it was raised.

Read how payers set the tariffs and caps that drive these steps.