Skip to content

Main content

Pharmacy Package Unit Price Supplement Tool

Calculate pharmacy package unit price supplement from explicit caller-supplied inputs.

Loading tool…

Description

Return gross and net unit prices with an explicit supplement.

Pharmacy administration separates inventory, document identity, authorization, service timing and financial records from clinical decisions. Matching labels or a positive local predicate can reconcile supplied metadata without authenticating medicine, establishing lawful supply or determining appropriate care.

Return gross and net unit prices with an explicit supplement.

When to use this tool

Use Pharmacy Package Unit Price Supplement when checking the stated pharmacy record, inventory, timing, coverage or cost convention.

How to use the tool and how it works

  1. Enter price, units, supplementalFee, reimbursed. 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 grossUnitPrice, netUnitPrice. Use the output convention below.

Return gross and net unit prices with an explicit supplement. Require whole units >= 1 and nonnegative price/fee/reimbursed; gross = (price+fee)/units, net = (price+fee-reimbursed)/units.1

Input fieldMeaning and unitsAccepted input
pricePriceRequired. Finite number; minimum 0.
unitsUnitsRequired. Safe integer; minimum 1.
supplementalFeeSupplemental FeeRequired. Finite number; minimum 0.
reimbursedReimbursedRequired. Finite number; minimum 0.
Output fieldInterpretationReturned shape
grossUnitPriceGross Unit PriceRequired. Finite number.
netUnitPriceNet Unit PriceRequired. Finite number.
json
{
  "input": {
    "price": 20,
    "units": 10,
    "supplementalFee": 2,
    "reimbursed": 5
  },
  "output": {
    "grossUnitPrice": 2.2,
    "netUnitPrice": 1.7
  }
}

Limitations and assumptions

  • Net price can be negative; reimbursement, pricing rules, entitlement and actual invoice treatment 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

Use verified medicine/service records and applicable professional procedures; consult a qualified pharmacist or other appropriate professional for clinical, legal or safe-supply decisions.

References

  1. Calculation and input contract: community-pharmacy/pharmacy-package-unit-price-supplement — tool.io

Similar or alternative tools