Patient Notifications are automated emails or texts that are sent to patients to inform them that they have VSC documents to fill out. Automated notifications can be sent both to patients with accounts and patients that have not created an account.
The message that will be sent is based on the REMOTE_PATIENT_NOTIFICATION template* that is found under the email templates on the file management tab. This template can be customized so that the message is specific to the clinic using the software. The message should be thoroughly tested before sending it to actual patients.
Notifications are set to go out at a certain time every day, and they work by looking at patients/documents loaded into VSC. They do not look at the schedule. All patients that qualify to receive notifications will receive a message if they have had new documents added in the 24 hours prior to the notification time. They will also receive a notification if they are due for a reminder because of an upcoming document completion date.
When using Rules in combination with automated notifications, it is important that there is some mechanism in place to avoid documents being re-added to patients who have already filled out the document (e.g. a tracking OBS term). If such a mechanism is not in place and Rules are looking at the same day multiple times, documents may be added more than once and patients will be sent messages asking them to fill out documents multiple times.
The following settings affect the sending of notification messages:
These are the email and text templates that are provided with VSC:
Below is the content of the default Remote Patient Notification template. The template uses Thymeleaf (https://www.thymeleaf.org/index.html) to create the email or text message that is being sent. All variables used should be defined in the header. The div that begins with "<div th:if=">${useEmail} == true">" contains the information that will be sent in the email message. The title will be the subject line of the email. The div that begins with "<div th:unless="${useEmail} == true">" contains the information that will be sent in the text. This template should serve as a starting point and can be customized to deliver the desired message for a particular organization.
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" lang="en-us">
<!--/*@thymesVar id="useEmail" type="java.lang.Boolean"*/-->
<!--/*@thymesVar id="firstName" type="String"*/-->
<!--/*@thymesVar id="lastName" type="String"*/-->
<!--/*@thymesVar id="newDocuments" type="java.util.List"*/-->
<!--/*@thymesVar id="upcomingDocuments" type="java.util.List"*/-->
<!--/*@thymesVar id="isPortalPatient" type="java.lang.Boolean"*/-->
<!--/*@thymesVar id="guestLoginEnabled" type="java.lang.Boolean"*/-->
<!--/*@thymesVar id="invitePatient" type="java.lang.Boolean"*/-->
<!--/*@thymesVar id="pin" type="String"*/-->
<!--/*@thymesVar id="loginUrl" type="String"*/-->
<!--/*@thymesVar id="registrationUrl" type="String"*/-->
<!--/*@thymesVar id="unsubscribeUrl" type="String"*/-->
<!--/*@thymesVar id="isForceSend" type="java.lang.Boolean"*/-->
<title>Visual Signature Capture - Documents to Complete</title>
<body>
<div th:if="${useEmail} == true">
Hello <span data-th-text="${firstName}"></span> <span data-th-text="${lastName}"></span>,
<br/><br/>
<div th:if="${not #lists.isEmpty(newDocuments)}">
New documents have been added to your Visual Signature Capture account.
<br/><br/>
<div th:if="${not #lists.isEmpty(upcomingDocuments)}">
Additionally, one or more documents must be completed within the next day.
<br/><br/>
</div>
</div>
<div th:unless="${not #lists.isEmpty(newDocuments)}">
<div th:if="${not #lists.isEmpty(upcomingDocuments)}">
A friendly reminder that one or more documents in your Visual Signature Capture account must be completed within the next day.
<br/><br/>
</div>
</div>
<div th:if="${isPortalPatient} == true">
<a th:href="${loginUrl}">Home Signature Login</a>
<br/><br/>
If your email client does not support HTML and you are unable to click the link above, you may use the following URL:
<br/>
<p data-th-text="${loginUrl}"></p>
<div th:unless="${isForceSend} == true">
<br/><br/>
If you do not wish to receive these emails, you may <a th:href="${unsubscribeUrl}">click here</a> to unsubscribe from all notifications.
</div>
</div>
<div th:if="${invitePatient} == true">
You may complete these documents from any location via our home signature service.
<div th:if="${guestLoginEnabled} == true">
Use this service with the following PIN:
<br/>
<b data-th-text="${pin}"></b>
<br/><br/>
And access the home signature service via the following link:
<br/><br/>
<a th:href="${registrationUrl}">Home Signature Access</a>
</div>
<div th:unless="${guestLoginEnabled} == true">
You can register for this service using the following PIN:
<br/>
<b data-th-text="${pin}"></b>
<br/><br/>
And following the registration process at the following link:
<br/><br/>
<a th:href="${registrationUrl}">Home Signature Registration</a>
</div>
<br/><br/>
If your email client does not support HTML and you are unable to click the link above, you may use the following URL:
<br/>
<p data-th-text="${registrationUrl}"></p>
<div th:unless="${isForceSend} == true">
<br/><br/>
If you do not wish to receive these emails, you may <a th:href="${unsubscribeUrl}">click here</a> to unsubscribe from all notifications.
</div>
</div>
</div>
<div th:unless="${useEmail} == true">
<div th:if="${not #lists.isEmpty(newDocuments)}">
New documents have been added to your VSC account.
<div th:if="${not #lists.isEmpty(upcomingDocuments)}">
Additionally, one or more documents must be completed within the next day.
</div>
</div>
<div th:unless="${not #lists.isEmpty(newDocuments)}">
<div th:if="${not #lists.isEmpty(upcomingDocuments)}">
One or more documents in your VSC account must be completed within the next day.
</div>
</div>
<div th:if="${invitePatient} == true">
Complete here:
<p data-th-text="${registrationUrl}"></p>
<div th:if="${guestLoginEnabled} == true">
Use the PIN:
<b data-th-text="${pin}"></b>
</div>
<div th:unless="${guestLoginEnabled} == true">
Register using the PIN:
<b data-th-text="${pin}"></b>
</div>
</div>
</div>
</body>
</html>