Support a patient reminder service with SaaSGlue


Create a data sync solution for a patient reminder service with a few simple scripts. Nearly all dental practices rely on text reminders to ensure patients will show up for their scheduled visits. In this article we’ll show you how you can quickly and easily create a reliable data sync solution to integrate your cloud-based reminder service with dental Practice Management Software (PMS).

The diagram below illustrates the data flow model. It assumes that the practice is using a desktop PMS, but the basic pattern works equally well with a cloud PMS. You will need to establish a connection to the PMS data source. There are a number of ways you can do that which we have detailed in this article: Connect to desktop software blog post

Head image

Install the agent

For this pattern to work in a desktop environment you first need to install the SaaSGlue agent on the customer’s machine where the PMS data store is located. The agent is a small software utility that takes minutes to download and install. There are agents for Windows, Mac and Linux and the instructions for installing on each of these OSs can be found in the Agent Download tab of your SaaSGlue account page.

Synchronize the PMS schedule to your service cloud

The first job you’ll create will upload all future PMS schedule data to your cloud. After the initial upload you’ll need to update schedule changes on a regular cadence.

This job will be triggered in two different ways. The initial upload should occur when a new customer account is created. This should trigger an event in your cloud software that will call the SaaGlue API to trigger the Schedule Upload job. This job will be targeted at a specific agent – the one that’s installed on the new customer's machine where the PMS data source resides.

Once the initial upload job is completed you should schedule the job to run at a regular interval during normal business hours. This job can be targeted at a specific agent, but it’s more likely that you’ll use a tag to target the job to a pool of agents – all active subscribers of your service.

You can write this as a single script job. Here's the basic outline of the Schedule Upload job.

  1. Establish a connection to the PMS data source
  2. Run a query for future scheduled appointments
  3. Collect the query results and transform them as needed
  4. Establish a connection to your eServices API
  5. Upload the transformed query results

You may need several versions of this job to accommodate different PMSs and different versions of a PMS. We’ve written another blog post that describes how you can do that with a dynamically routed SaaSGlue job: Data sync for multipl pms version blog post

The initial upload should collect all future scheduled appointments. After the initial upload the job should query only for new and updated appointments.

To facilitate finding just the new and updated appointments you may want to store a file with the date/time stamp of the last query on the agent host machine. Use this as the starting point of the new query and compare the date against the create and update date/time stamps in the PMS appointment table.

When you upload the results to your eService you will need to make sure each appointment is uniquely associated with the client accounts where it came from.

Your eService will send confirmation texts through an SMS gateway to patients’ mobile phones. Alternatively you might send email or messages to a proprietary mobile app, but the principle remains the same.

Upload patient confirmations to the PMS

When a patient returns a confirmation through an SMS response, it will be returned to your cloud service. You can use this to create an event that will trigger the Patient Confirmation SaaSGlue job through the API. At the same time you will pass in the practice ID and appointment ID variables.

This job will be targeted at the specific agent which is installed at the practice with the corresponding practice ID.

The Patient Confirmation job needs only a single script.

  1. Establish a connection to the PMS data source
  2. Find the correct appointment
  3. Mark the appointment with the correct response (confirmed, canceled, etc.)
  4. Establish a connection to the eService API
  5. Report whether the confirmation was successfully saved

Let SaaSGlue handle the rest

With these few simple jobs you have everything you need to handle the data sync between your cloud service and the PMS.

SaaSGlue will execute, monitor and log each job in the cloud and alert you when there’s a problem.


Dental SoftwareData EngineeringIntegration