How remaining quantity is calculated
Quantities only change through a ledger: received, administered, reconciled, wasted or discarded.
Every change to an item's quantity writes a ledger row, so the remaining amount can always be explained. The item page shows its history.
- Received is the starting quantity when you create the item.
- Administration deducts when you select the item on a log entry and the units match exactly. For items tracked in mL, the entry's mL volume is deducted. Otherwise the amount is deducted when its unit equals the item's unit. Nothing is converted.
- Reconcile count lets you enter what you actually counted, with a required reason. The difference is stored as an adjustment.
- Record waste removes a quantity (no more than what remains) with a reason, for example spilled.
- Discard removes everything that remains, sets the status to Discarded, and asks you to confirm.
Voiding a log entry reverses its deduction. Editing an item cannot change quantity; use reconcile, waste or discard.
The item page also shows figures marked Calculated, such as how long the remaining supply lasts at your recorded use over the last 30 days, and the value of what remains when you entered both a cost and a package quantity. They are arithmetic on your own records, with the steps shown.
Related
SUBKYU is a record-keeping tool. Nothing here is medical advice. For severe or sudden symptoms, contact emergency services now.