Scan to register

A camera at the desk reads the ID barcode and the insurance QR, and fills the health-record registration. A credential format nobody has seen before is learned once and recognised from then on.

Status: Prototype. Built and tested end to end, not yet running in production.

The document is read at the desk; the fields land in the health record without retyping.

What it reads

  • The national ID barcode — document number, sex and date of birth are reliable; accented names are best-effort, because the barcode is plain ASCII.
  • The insurance credential QR, which each provider designs differently.
  • A photo instead of a live camera, when the phone or the network will not cooperate. If the barcode will not decode, a vision model reads the card image.

Learning an unknown credential

An unrecognised QR goes through four stages, and the model is the last one, not the first: known providers, then rules learned from earlier scans, then a structural reading of the raw fields, and only then a model call. Whatever the model works out is saved as a rule, so the next patient with that card parses instantly and for free.

Patients can register themselves

The same reader runs on the patient’s own phone, which focuses on a dense barcode far better than a desk webcam. A self-registration lands in a queue at the desk, where reception confirms it into the health record.

Next: Health-record handoff