Ocean provides many options to set who can book into your providers' schedules.
You can restrict online booking to only patients who have a chart in your EMR.
- Login to the Ocean Portal. Click the "Menu" button in the top left corner and select "Online Booking". Click the "Settings" button in the top right corner.
- Click Edit next to the booking link you would like to edit.
- Uncheck Do you want to limit online booking to patients with a chart in your EMR?. This will allow any patient to book an appointment online. Please note that you will need to create a new chart in your EMR for these brand new patients. Refer to: Accepting brand new patients for online booking.
You can restrict a provider's schedule to accept only patients from a certain provider(s) at your clinic. This could mean a provider accepting their own patients, or a medical resident accepting another physician's patients.
Note: Please refer to Your EMR and Ocean Online Booking: What you need to know for details on which provider fields Ocean can evaluate to determine the patient's provider in your EMR.
- Login to the Ocean Portal. Click the "Menu" button in the top left corner and select "Online Booking". Click the "Settings" button in the top right corner.
- Click Edit next to the provider's schedule you would like to edit.
-
Below the 'Restrictions' heading, locate the 'Who is allowed to book into this schedule?' setting, and select Patients with Selected Providers. Use the blue 'Add Provider' button to locate the provider(s) whose patients you would like to allow to book into this schedule. Their name(s) will appear below the table under the "Selected Providers" heading.
-
For certain EMRs, you can specify the specific EMR field(s) which Ocean should evaluate to determine if the listed provider is a match. Specific information on the provider field mapping options for each EMR can be found within the Set Up Provider Schedules article.
Relevant EMR Field
PS Suite
Users can download the "Online Booking Patient Settings.cfm" custom form and import it into your PS Suite EMR (by following Steps 2 & 3 in this support article).
When a restriction is applied using the custom form, the relevant Ocean Restriction Term(s) is/are automatically added in the 'Comments' field of the patient chart. When the patient attempts to book online, Ocean checks the 'Comments' field for the presence of any Ocean Restriction Terms. Restrictions can be removed or changed by updating the custom form found in the patient chart, or by directly editing the 'Comments' field of the patient chart
Med Access
Accuro
OSCAR Pro
Ocean Restriction Terms
Term | Restriction |
---|---|
"no ob" or "no online booking" | Prevents the patient from being able to book online. |
"ob#days " or "ob q# days" or "ob q# d" |
Where "#" is a number. This will restrict the patient from booking online again until the "#" of days has passed - e.g. adding "ob7days" will ensure a patient waits 7 days to book another appointment online. If both patient-level restrictions and appointment-level restrictions have been applied, the restriction with the higher value will apply. For example:
|
#+min | Where # is a number. This ensures appointments for this patient are always booked for "#" minutes, regardless of the appointment duration set in the appointment type configuration page. E.g. "30+min" will ensure the patient is always booked for 30 minutes when they book an appointment online. |
You can customize your booking form to include questions prior to allowing patients to select their appointment type. You can apply validation to prevent a patient from booking online if they answer a certain way in your booking form. Two common examples are provided below:
Prevent Booking Based on a "Yes/No" Question
Configuration
Prerequisite
- Ensure that you have reviewed the Basics of JavaScript
- In the newly created Section/Page, create your desired question item with the corresponding 'Yes'/'No' response options.
-
Within the 'Scripting and More' tab for the item created in Step C, note value in the the 'Item reference' field.
For clarity, it is recommended you customize this to a recognizable term related to the respective eForm item - e.g., the term 'covid' was chosen for this example.
-
Add a new eForm item, and set the item 'Type 'to 'Label'.
Within the 'Caption' field, enter the message that should be presented to the patient if they "fail" the screening question above.
- Within the 'Scripting and More' tab for the item created in Step E, set the 'Field validation' setting to 'Javascript condition'.
-
Within the 'Validation Javascript Condition' field, enter a Javascript expression that prevents the patient from being able to proceed.
For example, the expression
covid.r != "Y"
evaluates tofalse
if 'Yes' is chosen in the question above. This logic prevents the patient from proceeding to book online.Optionally enter an additional 'Validation Error Message' to display in-line if the patient attempts to continue booking online.
-
Within the 'Show this field if' setting, enter a Javascript expression that controls the display of the label item.
For example, the expression
covid.r == 'Y'
evaluates totrue
if 'Yes' is chosen in the question above. This triggers the visibility of the label item (i.e., shown only when the patient "fails" the screening question by answering 'Yes').
- Press 'Save Changes' in the bottom right corner of the eForm editor.
Prevent Booking Specific Appointment Type(s) Based on a Patient Demographic
Configuration
Prerequisites
- Ensure that you have already Set Up your Appointment Types Available for Online Booking
- Reviewed the Basics of JavaScript
- Add a new eForm item anywhere below the Appointment Type question. Set the 'Type' to 'Label', and leave the 'Caption' blank.
-
Using the 'Validation Javascript Condition', enter a Javascript condition to be evaluated. If the condition evaluates to
true
, the condition is satisfied.For example, the condition
appointmentType.r == "Senior Flu Shot" && pt.GetAge() >= 65
is used to verify if the patient is 65 years or older after they have selected the 'Senior Flu Shot' appointment type.You can replace the 'Senior Flu Shot' label within the condition with your own Appointment Label, and adjust the age as needed.
Similarly, you can make use of additional ScriptPatient ("pt") Functions to verify other patient properties.
- Within the 'Validation Error Message' setting, enter the error message that should be displayed to a patient when they do not pass the validation condition.
-
Within the 'Show this field if' setting, enter a Javascript expression that controls the display of the label item.
For example, the expression
appointmentType.r == "Senior Flu Shot"
evaluates totrue
if the 'Senior Flu Shot' option is chosen when selecting the type of appointment to book.This triggers the visibility of the label item, however since the 'Caption' field is left blank, it will simply appear as a blank line until the patient attempts to continue booking (at which time they are presented with the 'Validation Error Message' you configured).
- Press 'Save Changes' in the bottom right corner of the eForm editor.