Open an order from a QR code or link
TrueScan can be opened by a link, for example from a QR code. The link carries the reference and, if you want, the fields of the prescription form.
The link
It starts with lutracad:// and carries the reference either as its first part (lutracad://12345) or as a field (lutracad://open?reference=12345). Both work, and either shape can carry extra fields for the form.
What happens
The app creates a new order with that reference and opens it, ready to scan. The form is not opened for you, because you often want to scan first. When you do open the form, the fields from the link are already filled in.
A link without a reference is ignored. If the app is still starting, the order is created as soon as it is ready.
Filling the form from the link
Every field in the link is offered to the form, matched on field name, and anything the form does not have is dropped.