DrFinder Self Check-In - version 1.2.0
======================================
(From "Self Check-In for OSCAR" 1.1.0. New in 1.2.0, DrFinder: works with OSCAR Pro, OSCAR and CARLOS;
part of DrFinder EMR eForms - sign in under Settings > DrFinder sign-in; works with DrFinder EMR's
Waiting Room on the doctors' and reception computers, and with DrFinder's QR check-in.)

What it does
- A touchscreen in the waiting room shows "Check in for your appointment".
- The patient types their FIRST NAME and DATE OF BIRTH on the screen's own keyboard.
- If they have an appointment today, it shows as "Here" on the OSCAR schedule, the same as
  reception clicking the status icon. The screen says: "Thank you, Jane. You're checked in for
  your 10:30 am appointment. Please take a seat."
- Otherwise it says what to do:
    too early (more than 60 minutes before)  -> tells them their appointment time
    late (more than 30 minutes after)        -> please check in at reception
    not found                                -> try again; after 3 tries, see reception
    already "Here"                           -> "You're already checked in"
    two patients match (same first name and   -> "Please tap the first letter of your last name"
      date of birth)                             (A to Z); still two -> reception
    cancelled, OSCAR off                     -> please check in at reception
  (The 60 and 30 minutes, and the status it sets, can be changed in Settings.)
- The screen never shows anything from the chart: only the first name the patient typed and
  their appointment time. It keeps no names or dates of birth - only today's times, appointment
  numbers and results, for staff.

New in 1.1
- 24 languages. A "Language" button on the first screen; the screen goes back to English after
  each patient. Names are still typed in English letters (that's how OSCAR stores them) and the
  screen says so in the patient's language. Each language can be switched off in Settings.
  The translations should be checked by someone who reads each language before going live.
- Small spelling differences are accepted (one letter, or different vowels: Mohammad / Muhammed),
  only when the date of birth matches exactly and the patient is booked today. An exact name
  always wins over a near one.
- Expected time. After checking in: "Your doctor is running late. You'll likely be seen around
  1:50 pm" (or "Your doctor is running on time"). It follows each doctor's real pace: the doctor's
  DrFinder EMR's Waiting Room (doctor computers) sets an appointment to "Picked" (with doctor) when the doctor
  opens that patient's eChart from the schedule; this screen notes when each visit starts, works
  out how long visits are really taking today (recent ones count most), and runs that through the
  patients booked ahead. It is worked out again for every patient who checks in. Gaps, cancelled
  appointments and patients who haven't turned up are skipped. Rounded up to 5 minutes. Nothing is
  said for a doctor without the add-on, or when no visit has started for over an hour (lunch).
- Forms and doctor's notes. "Do you have a form to be filled in, or do you need a doctor's note
  today?" (and/or words in the appointment's reason, e.g. "insurance form"). For these the screen
  says "Before you sit down, please speak to reception about your form. Some forms and notes are
  not covered by MSP and have a fee." and reception gets an alert.
- Health card check: an expired card (expiry date in OSCAR) or no health card number -> "Please
  also see reception to update your health card" + alert.
- Phone check (off unless switched on): "Is your phone number still the one ending in 81?"
  "No" -> "Please give reception your new phone number" + alert.
- Reception alerts are OSCAR ticklers assigned to "MOA, PARK" (Settings), starting
  "[Self check-in <date> <time>]", e.g. "Has a form / doctor's note to complete: please discuss
  the fee." They show as OSCAR's red "!" next to the patient, and pop up on the MOAs' schedule
  screens that have DrFinder EMR's Waiting Room set to Reception.
- The patient is checked in first; the questions come after, so walking away never undoes a
  check-in. A question nobody answers in 30 seconds counts as "no".

What you need
- A Windows PC with Google Chrome, connected to the touchscreen and to the internet.
- A DrFinder EMR extension account with an eForms seat (Settings > DrFinder sign-in). Without it the
  screen sends patients to reception, with a staff note saying so.
- An OSCAR (or CARLOS) login for the check-in screen. Best: ask KAI for a separate OSCAR user, e.g.
  "Check-in, Self" with a reception-level role, so check-ins show under that name in OSCAR's
  logs. (Any account works; the screen uses whoever is logged in to OSCAR on that PC.)
- A keyboard and mouse for the first setup only.

Set up the waiting-room PC (once, about 10 minutes)
1. Copy this whole folder to the PC, e.g. C:\SelfCheckIn  (if it came as a zip from the internet:
   right-click the zip > Properties > tick Unblock > OK, then extract).
2. Double-click "Set up check-in computer (run once).bat" and follow the steps in its window:
   load the extension, log in to OSCAR, turn it on from the toolbar button, then Settings:
   - Staff PIN (needed to open the staff menu on the screen)
   - Clinic name (shown at the top)
   - "Read OSCAR's statuses" (so it sets the right "Here" status)
   - "Use this schedule view": open the OSCAR schedule showing ALL the doctors, click the
     toolbar button > "Use this schedule view for check-in"
   - Languages, Expected time ("with the doctor" status: Picked), After checking in (which
     questions), Reception alerts (assign to MOA, PARK)
   - Test on today's schedule: "Read today's schedule", then "Try a check-in" with a real
     patient booked today. Nothing is changed by these tests. It also shows the expected time,
     the health card result and the form detection for that patient.
   - "Send a test alert to reception for this patient" adds a real tickler marked TEST (complete
     it in OSCAR afterwards) to check that the MOAs' pop-up works.
3. Close Chrome and double-click "Start check-in screen.bat". The check-in screen fills the
   touchscreen (no address bar, no tabs). From now on it also starts when the PC starts.

Every morning
- If the screen says "Please check in at reception" with a staff note that OSCAR is logged out:
  tap the TOP-LEFT CORNER of the screen 5 times > PIN > "Log in to OSCAR". Log in on the OSCAR page
  that opens; the check-in screen comes back by itself.
- It logs out of OSCAR every evening at 7 pm (change or turn off in Settings), so nobody is
  left logged in to OSCAR overnight on a waiting-room PC.

CARLOS
- Turn it on from the toolbar button while your CARLOS schedule is open (it notices it is CARLOS).
- CARLOS only lets a status move to the next one in its cycle (To Do -> Daysheet printed -> Here),
  so a check-in steps it there; it never skips past "Here".
- Reception alerts: set "Assign to" to a real CARLOS user (there is no "MOA, PARK" in CARLOS).

Updating from Self Check-In for OSCAR 1.1.0
- DrFinder Self Check-In is a new extension (its own settings): install it, set it up as below, then
  remove the old "Self Check-In for OSCAR" from chrome://extensions.

Updating from 1.0.0
- Replace the files inside the "extension" folder with the new ones (same folder, same place),
  then on chrome://extensions press the reload arrow on Self Check-In for OSCAR. Settings are kept.
- Open Settings: press "Read OSCAR's statuses" once more (it now also picks the "with the doctor"
  status), look through the four new sections, Save each.

Staff menu (top-left corner 5 times, then PIN)
- Shows whether OSCAR is connected and today's numbers (checked in / sent to reception / alerts).
- Log in to OSCAR, check the connection, Settings, close the check-in screen.

Tips for the PC
- Windows power settings: never sleep, never turn off the display.
- Have the PC log in to Windows automatically, so the check-in screen comes back after a restart.
- Leave the keyboard unplugged once set up: with only the touchscreen, patients can't leave the
  check-in screen.
- Reception still sees everything as usual on the schedule: checked-in patients turn "Here".
- The screen reads the schedule once a minute (that also keeps OSCAR logged in during the day).

If something isn't right
- Settings > "Read today's schedule" says what it can read from your OSCAR. If status links or
  start times are missing on some appointments, those patients are sent to reception - send a
  screenshot of that message and it can be fixed.
