StealThis .dev
Strony Średni

Clinic — In-clinic Dispense Queue

An in-clinic dispensing queue for handing medications to patients at the visit. Each prescription row shows the patient, drug and strength, quantity, prescriber and a status pill that advances To verify to Ready to Dispensed. Filter tabs carry live counts, a search box filters rows instantly by patient, drug or prescriber, and every primary action moves a row forward while recounting tabs and confirming with a calm toast.

Otwórz w Lab
html css vanilla-js
Targety: JS HTML

Kod

In-clinic Dispense Queue

A focused dispensary screen for the moment a clinician hands medication to a patient at the visit. Each row is a table-and-card hybrid: a patient avatar and MRN, the drug with its strength and dosing line, the quantity to count out, the prescriber, and a coloured status pill that reads To verify, Ready or Dispensed. The header carries a live “clinic floor” indicator and a search field.

Filter tabs across the top — All, To verify, Ready and Dispensed — each show a live count and narrow the list to that status. The search box filters rows instantly across patient name, drug and prescriber. Every active row has one clear primary action: Verify promotes a script from To verify to Ready, then Dispense marks it handed to the patient. Each step recolours the status pill, swaps in the next action, gently flashes the row, recalculates the tab counts and confirms with a brief toast.

The layout reflows from a wide multi-column row into a stacked card under ~760px and stays usable down to 360px, with focus-visible outlines and aria labels on the interactive controls. All state lives in the DOM and every interaction is plain vanilla JS — no frameworks, no build step.

Illustrative UI only — not intended for real medical use.