This Tampermonkey userscript works alongside the HCV setup described on OscarGalaxy, and it tackles the number of steps it takes front-desk staff to check a patient in, especially when the magnetic stripe won’t read.
The script turns the 2D barcode on the back of an Ontario health card into a “swipe” on the schedule page, so Oscar’s normal swipe window pops up whether the card is swiped or scanned. It runs an HCV check straight away and shows the result in green or red with the response code. If the card’s version code, effective date or renew/end date doesn’t match the chart, it flags the differences, and one click updates the chart, saves it through Oscar’s own Update button and closes the window. For new patients, Create New Record opens Add Patient already filled in from the card. Add to Walk-In opens a booking in the walk-in column at the next available time, with the patient already loaded, so staff only add the reason.
The walk-in column, appointment length and HCV server address are all set in a short CONFIG section at the top of the script. It was tested on our Oscar version, so test it on yours first. You’ll need a good 2D scanner; I use a Datalogic QD2500. The card barcodes are full of hidden NUL padding plus binary data that needs filtering out, and I’m happy to share my scanner configuration.