Skip to content

MODULE 05 · ORDERING

IN BUILD

The nightly order, drafted.

At close, the bot reads the day's billed scripts and live on-hand, then drafts a PO under three rules: items below par per live count, every insulin dispensed today, and branded drugs one-for-one. It nets against in-transit, rounds to pack sizes, groups by wholesaler, and puts a reason code on every line.

TRIGGEREnd-of-day closeINPUTDay's billed scripts + live on-handOUTPUTDraft PO, owner-approvedEXCLUDESControlled substances

TODAY VS. WITH SSVP

What changes the day it installs.

Today — the manual way
  • The order is built from memory and gut at the end of a long day.
  • Insulin and fast-movers get missed; overstock ties up cash.
  • No reason code, no reconciliation against what's already in transit.
With SSVP
  • A PO drafts itself from the day's scripts and the live count.
  • Three rules cover par, insulin, and branded one-for-one replacement.
  • Every line has a reason code; the owner approves and it transmits.

Same counter, same PrimeRx, same pharmacist in charge — the keystrokes just stop being yours.

THE AGENTIC LOOP

Perceive. Reason. Act. Verify.

Four steps, every time. The agent handles the first three; a licensed pharmacist handles the last.
  1. 01

    Close the day

    At store close, the bot reads the day's billed scripts and the live on-hand count.

  2. 02

    Apply the rules

    Items below par, every insulin dispensed today, and branded drugs one-for-one — classified into three bins.

  3. 03

    Compose the PO

    Net against in-transit, round to pack sizes, group by wholesaler, put a reason code on every line.

  4. 04

    Approve & transmit

    The owner approves; the PO transmits via EDI 850 or portal. Tomorrow's scan-in reconciles the receipt.

    PHARMACIST SIGNED

The machine never signs. A licensed pharmacist does — every write is read back and compared before it counts.

WHAT IT RETURNS

The numbers it hands back.

3 rulespar · insulin · branded 1:1
per-linereason codes
EDI 850or portal transmit

UNDER THE HOOD

Why this one holds up.

Why the rule set is smart

Par protects throughput, insulin protects adherence, branded one-for-one protects margin. The PO is only as good as the count behind it — and the count is live.

The morning loop

Tomorrow's delivery is scanned in and reconciled against the PO, closing the receipt and updating the perpetual count.

Want this module running on your PrimeRx?

Book a build call and we'll scope it against your store's real volume — and show you the log it keeps.