What you’re looking at
Scanning has no screen of its own — it is the till and the sales list, listening. On POS, the search card reads “Search or scan (name, generic, brand, barcode)…” with a camera button beside it whose tooltip is Scan barcode with camera. The camera opens the Scan medication barcode dialog — “Point the camera at the product barcode to add it to the cart.” — with Choose camera and a torch button. Nothing on the page indicates a handheld scanner is connected, because nothing needs to: a wedge scanner is picked up at page level whether or not a field has focus. On Sales the equivalent box reads “Search or scan receipt…” and its camera button is Scan a receipt barcode with the camera, opening Scan receipt barcode. A brand-new pharmacy can scan, but nothing will match: a barcode only resolves once it is saved on a catalogue entry, so a fresh workspace answers every scan with No medication matches that barcode.Three ways to scan
A handheld or countertop scanner
The search box
The camera
Make a product scannable
A product is only scannable once its barcode is saved on its catalogue entry. The inventory Add item sheet has a Barcode / UPC (optional) field with two helpers: Scan pack, which reads the code straight off the box, and Generate…, which mints an internal code for anything unbarcoded — a repackaged item, a local product, a bulk line you split yourself. Print shelf and pack labels from the inventory row action Print barcode label, which takes a Copies count. See Inventory.Scan a receipt to find a sale
On the Sales page, the same scanner pulls up a transaction. Scan the barcode at the bottom of a customer’s receipt into “Search or scan receipt…”, or use the camera button — Scan a receipt barcode with the camera — which opens Scan receipt barcode: “Point the camera at the barcode at the bottom of the receipt.”- A completed sale opens straight into its amendment sheet, ready for a return or a discount — see Returns, voids and amendments.
- A sale in any other state opens its receipt instead, with a toast naming the state: Sale {number} is {status} — opening its receipt.
- Anything that is not one of our receipts is refused with That barcode is not a ClinikEHR receipt.
Who can do this
Role decides where you can scan. A Cashier reaches POS and Sales, so both scan boxes are available to them; saving a barcode onto a product is not, because Inventory is not in their sidebar.- Enforcement is opt-in, per person. A colleague never saved in the permissions sheet is unrestricted. The sheet warns “Saving starts enforcing”.
- A denied action is recorded; an allowed one is not. Scanning a receipt is never refused; what the scan opens can be. Without Refund or void a sale the amendment sheet reads “Needs authorisation — amending a completed sale is reserved for your Pharmacist-in-Charge.”
Check it worked
- A toast reads Scanned: {product name}, and the line is in the cart. The toast appears only when the product was actually added, so a refusal never looks like a success.
- Scanning the same code again increases the quantity rather than adding a second line.
- After a scan, focus returns to the search box ready for the next one.
Common issues
The scanner types into the box but nothing is added
The scanner types into the box but nothing is added
Scanning does nothing while a dialog is open
Scanning does nothing while a dialog is open
'Camera access requires HTTPS. Open this page over a secure connection to scan.'
'Camera access requires HTTPS. Open this page over a secure connection to scan.'
'Camera permission denied. Allow camera access in your browser settings to scan.'
'Camera permission denied. Allow camera access in your browser settings to scan.'
'No camera device was found on this machine.'
'No camera device was found on this machine.'
Every scan lands in the wrong field
Every scan lands in the wrong field
FAQ
Do I need a special scanner?
Do I need a special scanner?
How does the till tell a scan from typing?
How does the till tell a scan from typing?
What about products with no barcode on the box?
What about products with no barcode on the box?
Can I scan while offline?
Can I scan while offline?
Will scanning work on a tablet with no scanner?
Will scanning work on a tablet with no scanner?