Difference between revisions of "SMS and Email Setup"
Line 7: | Line 7: | ||
Some examples include: | Some examples include: | ||
<ol> | <ol> | ||
<li>Sending an automatic SMS to welcome the patient and confirm their prescription is now being dispensed.</li> | <li>Sending an automatic SMS to welcome the patient and confirm their prescription is now being dispensed.</li> | ||
<li>Sending an automatic SMS to a patient when their prescription is ready.</li> | <li>Sending an automatic SMS to a patient when their prescription is ready.</li> | ||
Line 15: | Line 14: | ||
<li>Sending an email to the dispensary when a certain error note is recorded.</li> | <li>Sending an email to the dispensary when a certain error note is recorded.</li> | ||
</ol> | </ol> | ||
Emailing must also be configured before the "Forgot Password" procedure will work. | |||
=Connecting PTS to your Email server and account= | =Connecting PTS to your Email server and account= |
Revision as of 13:51, 11 July 2024
In PTS 5, any note can be created with the capability to send itself as an SMS or email to patients, wards or the dispensary.
Combined with the natural flexibility of PTS 5's notes utility you will be able to set up SMS and/or other messaging functionality for a variety of situations, to be sent either automatically via an automatic note, or by recording the note manually (such as with a barcode scanner).
Examples
Some examples include:
- Sending an automatic SMS to welcome the patient and confirm their prescription is now being dispensed.
- Sending an automatic SMS to a patient when their prescription is ready.
- Sending an SMS manually to alert the patient to a problem, and call them to the hatch.
- Sending an email to the ward to ask them to call the pharmacy to answer a query.
- Sending an email to the ward when an urgent prescription type becomes ready for collection.
- Sending an email to the dispensary when a certain error note is recorded.
Emailing must also be configured before the "Forgot Password" procedure will work.
Connecting PTS to your Email server and account
As a PTS administrator, go to Setup > Application Settings and do a search for "Email". The pertinent settings are as follows:
EMAILFROM
EMAILPASS
EMAILPORT
EMAILSERV
EMAILSSL
EMAILUSER
The correct settings can be provided by IT. Let them know that you are looking to configure PTS to send emails.
Connecting PTS to your SMS provider
As a PTS administrator, go to Setup > Application Settings and do a search for "SMS". The pertinent settings are as follows:
SMSAPIID
SMSPASSWORD
SMSTYPE
SMSURL
SMSUSER
The correct settings will be provided either by IT or by TMSi if using one of our SMS credit bundles.
TMSi note: SMSUSER is an email address when using txtlocal.
TMSi SMS Credit Bundles
Contact us to purchase SMS credit bundles.
If it's your first purchase we will also set up your SMS API and provide you with the details you'll need to connect your PTS installation to the API.
You'll be able to view your remaining credits via the Contracts & Licenses page at tmsinsight.com.
Other compatible third party providers
- GOV.UK Notify
- Clickatell
- Textlocal
- Email to SMS
- Soprano
- Envoy
GOV.UK Notify
GOV.UK Notify support was implemented in PTS v5.0.3.3. Creating and setting up the GOV.UK Notify account is beyond the scope of this article; please contact your IT department if you're unable to create the account yourself.
Once the account is set up, you need to create an API Key and two templates (one for SMS, one for email) that have "((ptsmessage))" (without quotes but including the double brackets) as the text in the body of the template. The two templates will be given an auto-generated Template ID.
If you intend to use GOV.UK Notify for email then the subject field needs to be set to "((subject))" (without quotes but including the double brackets) in the email template. Also note that the content cannot include any HTML; this may mean that the format of PTS user registration messages may need to be amended in application settings.
As a PTS administrator go to Application Settings and populate the settings as follows:
Application Setting | GOV.UK Notify Setting |
---|---|
SMSAPIID | API Key |
SMSURL | SMS Template ID |
SMSTYPE | GOV.UK Notify |
EMAILFROM | API Key |
EMAILUSER | Email Template ID |
EMAILSERV | GOV.UK Notify |
Patient's phone number and/or email address
To include the fields to capture the patient's phone number and/or email address on the booking in screen, go to Setup > Prescription Types > [click the prescription type] > Demographic Options and enable "Record mobile no." and/or "Record E-Mail". This will add these fields to the booking in screen for the chosen prescription type, but they will not be mandatory fields, and the patient can opt out of receiving any SMS and emails by simply not providing the information to the pharmacist.
Wards and Dispensaries phone numbers and/or email addresses
Notes configured to contact a dispensary or ward will attempt to send the note to any and all users assigned to the location who is set up to receive them. Go to Setup > Users > [click a user] and ensure that the "Phone Number" and "Email" fields are completed and the "Receive text/email alerts" setting is set to yes. See the Users setup guide for more on assigning users to wards and dispensaries. It's not uncommon to have a single generic user account representing wards, so it may be a case of identifying this user account and setting it up appropriately.
Creating an applicable note
See the Notes page to go in-depth on setting up notes.
Suffice to say that it's possible to create a note that optionally autofills certain data (patient's name, their ticket number, etc.) around a template of your choosing. For example a note built as such:
Dear ~, your Prescription (no. #) is ready for collection from the pharmacy.
Would be reinterpreted as:
Dear Joe Bloggs, your Prescription (no. 1471) is ready for collection from the pharmacy.
In addition you could have this particular note auto-record when the prescription is completed/waiting for collection, which you can configure from the Prescription Types setup page. Alternatively you could print its barcode and record the note manually.
Any note or type of note can be configured to send an SMS or email.
Configuring note messaging options to send an SMS or email
Any note can be configured to be sent to either the patient, ward or dispensary as either an SMS or an email.
Once the note is set up and working as expected, go to Setup > Notes > [click the note] > Messaging Options, and configure the messaging options as you see fit. Now whenever the note is recorded, whether automatically or manually, the note text will be sent to any applicable recipients.