Skip to content

Main content

Pharmacy Visit Cost Cap Gap Tool

Administrative supplied cost/cap arithmetic without interpreting benefit eligibility.

Loading tool…

Description

Apply a supplied cap to eligible visit costs.

Pharmacy administration distinguishes medicine and document identifiers, service records, stock balances and payment conventions from decisions about care. Literal labels and supplied status flags help reconcile records, while medicine identity, appropriate treatment and actual availability require independent verification.

Apply a supplied cap to eligible visit costs.

When to use this tool

Use Pharmacy Visit Cost Cap Gap when reconciling the stated pharmacy record, inventory, timing or financial convention.

How to use the tool and how it works

  1. Enter grossCost, eligibleCost, suppliedCap. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read cappedEligible, unreimbursedCost, capHeadroom. Use the output convention below.

Apply a supplied cap to eligible visit costs. Require 0 <= eligibleCost <= grossCost and cap >= 0; cappedEligible = min(eligible,cap), unreimbursedCost = gross-capped, capHeadroom = max(0,cap-eligible).1

Input fieldMeaning and unitsAccepted input
grossCostGross CostRequired. Finite number; minimum 0.
eligibleCostEligible CostRequired. Finite number; minimum 0.
suppliedCapSupplied CapRequired. Finite number; minimum 0.
Output fieldInterpretationReturned shape
cappedEligibleCapped EligibleRequired. Finite number.
unreimbursedCostUnreimbursed CostRequired. Finite number.
capHeadroommax(0,suppliedCap-eligibleCost), not cap minus the gross cost.Required. Finite number.
json
{
  "input": {
    "grossCost": 100,
    "eligibleCost": 80,
    "suppliedCap": 60
  },
  "output": {
    "cappedEligible": 60,
    "unreimbursedCost": 40,
    "capHeadroom": 0
  }
}

Limitations and assumptions

  • Costs share a currency; eligibility, actual reimbursement and enforceable payment terms are not verified.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Inspect verified medicine and service records and the applicable professional procedures; use appropriate clinical systems and qualified professional judgment for care or supply decisions.

References

  1. Calculation and input contract: clinical-pharmacy/pharmacy-visit-cost-cap-gap — tool.io

Similar or alternative tools