Ontario Health Card Validation From Schedule Screen

Share this

For Oscar Pro users in Ontario:

Since Oscar Pro is OntarioMD certified, you have access to real-time health card validation directly from the EMR. This means that OSCAR will check if the patient’s health card/version code is valid with the Ministry of Health and you’ll get a response instantly on-screen with the “response code” i.e. 53-EXPIRED, 75-CANCELLED OR VOIDED, 50-VALID. And if the card matches to the MOH database, it will allow you to Update the Oscar demographic of the patient with the name/dob/gender/HC expiry date from the MOH database – it pulls that into OSCAR via the “Update Demographic” button.

There’s an HCV (health card validation) button at the top of the OscarPro schedule screen which will validate all the health cards on the schedule screen, which is handy:

But sometimes you need to quickly validate the health card of an individual patient who has an appointment on the schedule screen, without having to go into their master record and clicking “Validate HC” because that adds 2 clicks each time.

So I’ve setup a way of having a one-touch HCV button as a link on the patient’s appointment from the schedule.


1. Go to administration>Manage eForms>Create new eForm in editor

2. Paste the following code:

<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>HCV - redirect</title>

<!-- This eForm created by Adrian Starzynski, shared under the Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) License https://creativecommons.org/licenses/by-sa/3.0/ -->

function HCVredirect(){


<body onload="HCVredirect();">
<form method="post" action="" name="FormName" id="FormName" >

<input type="hidden" id="hin" name="hin" oscardb=hin>
var loc = "https://YOURCLINIC.kai-oscar.com/CardSwipe/?hc=";
var hin = document.getElementById("hin").value;
var hcvlink = loc + hin;



3. In the code you just pasted above, replace the “YOURCLINIC” part with your clinic’s OscarPro link. This is the URL you go to in order to access your Oscar Pro system in the cloud. This line should look like (replace YOURCLINIC):
var loc = “https://YOURCLINIC.kai-oscar.com/CardSwipe/?hc=”;

4. Put “HCV” as the eForm name and Save the eForm

5. Go to your user Preferences from the OSCAR homescreen

6. Under “eForms to display on appointment screen” select the HCV eForm that was just added and click Update

Now you can click on HCV on the patient’s appointment from the schedule screen and you’ll be forwarded directly to the HCV result page.

Disclaimer: this is not sponsored or endorsed by WELL in any way; it’s simply something I setup as a user of their product.